/* BoltSign Website Styles */

/* Base Styles and Variables */
:root {
    --primary: #DA0032;
    --secondary: #303163;
    --text-dark: #333;
    --text-light: #767676;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border-color: #eaeaea;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --font-family: 'Figtree', sans-serif;

    /* Consistent spacing variables */
    --header-padding: 18px 0;
    --footer-padding: 50px 0 25px;
    --section-padding: 70px 0;
    --container-padding: 0 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.bs-main-content {
    min-height: calc(100vh - 80px - 400px);
    /* Subtract header and footer heights */
    padding-top: 0px;
    padding-bottom: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b30029;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-family);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1,
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.accent {
    color: var(--primary);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-large {
    padding: 12px 25px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b30029;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--secondary);
}

.btn-light:hover {
    background-color: var(--bg-light);
}

/* Header/Navigation */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: var(--header-padding);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    color: var(--secondary);
}

.logo-accent {
    color: var(--primary);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons .btn {
    margin-left: 10px;
}

/* Mega Menu Styles */
.nav-mega-item {
    position: relative;
}

.nav-mega-item>a {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 600;
}

.nav-mega-item>a i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-mega-item:hover>a i {
    transform: rotate(180deg);
}

/* .mega-menu {
    position: absolute;
    top: 100%;
    left: -80px;
    width: 650px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 25px;
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
/*
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}*/

.mega-menu {
    position: absolute;
    top: 100%;
    left: -80px;
    margin-top: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 20px;
    display: grid;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    width: max-content;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
}

.mega-menu-image {
    max-width: 175px;
}

.mega-menu-image.full-width {
    max-width: 100%;
    max-height: 150px;
}

.mega-menu.cols-1 {
    --columns: 1;
    left: 0px;
}

.mega-menu.cols-2 {
    --columns: 2;
}

.mega-menu.cols-3 {
    --columns: 3;
}

.mega-menu.cols-4 {
    --columns: 4;
}

.mega-menu.full-width-item {
    grid-column: 1 / -1;
    /* Span from first column to last column */
}

.mega-menu h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.mega-menu-list {
    list-style: none;
}

.mega-menu-list li {
    margin-bottom: 8px;
    margin-left: 0;
}

.mega-menu-list a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.mega-menu-list a i {
    margin-right: 8px;
    font-size: 14px;
    color: var(--primary);
}

.mega-menu-list a:hover {
    color: var(--primary);
}

.nav-mega-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile menu button */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: var(--section-padding);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    margin-bottom: 20px;
}

.subheadline {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bolt-animation {
    position: relative;
}

.bolt {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: var(--section-padding);
}

.feature-cards,
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-card {
    background: transparent !important;
    box-shadow: none !important;
}

.grid-card.use-case-image {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
}

.section-grid {
    background-color: white !important;
}

.grid-card.use-case-image img {
    border-radius: 20px !important;
}

.feature-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(218, 0, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(218, 0, 50, 0.2);
    border-radius: 50%;
    z-index: -1;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Why BoltSign Section */
.why-boltsign {
    padding: var(--section-padding);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-prop {
    display: flex;
    gap: 20px;
}

.value-icon {
    font-size: 24px;
    color: var(--primary);
}

.value-content h3 {
    margin-bottom: 10px;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Demo CTA Section */
.demo-cta {
    padding: var(--section-padding);
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-toggle span {
    margin: 0 10px;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.save-badge {
    background-color: var(--primary);
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 10px;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-table {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.pricing-table:hover {
    transform: translateY(-10px);
}

.pricing-table.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-table.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
}

.pricing-header {
    margin-bottom: 30px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-right: 5px;
    align-self: flex-start;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 5px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: start;
}

.pricing-features i.fa-check {
    color: #28a745;
    margin-right: 10px;
}

.pricing-features i.fa-times {
    color: #dc3545;
    margin-right: 10px;
}

.pricing-cta {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 350px;
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.quote-mark {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* Security Section */
.security {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}


.security-icon {
    font-size: 24px;
    color: var(--secondary);
}

.security-feature h3 {
    margin-bottom: 10px;
}

.security-feature p {
    margin-bottom: 0;
}

.security-cta {
    margin-top: 60px;
    text-align: center;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background-color: var(--secondary);
}

.final-cta h2 {
    color: var(--white);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Footer Section */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: var(--footer-padding);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-size: 1.05rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
}

.footer-col ul {
    padding: 0;
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 15px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.badge i {
    margin-right: 6px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    transition: color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Common Page Styles */
.page-hero {
    padding: var(--section-padding);
    background-color: white;
    margin-bottom: 3rem;    position: relative;

    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/media/img/common/boltsign-pattern-1.svg);
    background-repeat: repeat;
    background-size: 15%;
    opacity: 0.05;
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1; /* Ensure the content stays above the background */
}

.cta-section {
    padding: var(--section-padding);
    background-color: var(--secondary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn {
    min-width: 200px;
}

.btn-outline.btn-white {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline.btn-white:hover {
    background-color: var(--white);
    color: var(--secondary);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9fd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background-color: var(--white);
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
}

/* Summary sections for homepage */
.section-summary {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-summary:last-of-type {
    border-bottom: none;
}

.summary-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.summary-card {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.summary-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.summary-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.summary-cta {
    margin-top: 30px;
}

.steps-summary {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.step-summary {
    flex: 1;
    text-align: center;
}

.pricing-cards-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
}

.pricing-card-summary {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

.pricing-card-summary.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.security-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.security-highlight {
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.security-highlight i {
    color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -40px;
        left: 35px;
        width: 2px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-padding: 14px 0;
        --footer-padding: 40px 0 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 60px;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .value-prop {
        flex-direction: column;
    }

    .value-icon {
        margin-bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .section {
        padding: 40px 0;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-tables {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        transform: none;
    }

    .pricing-table.featured {
        transform: none;
    }

    .pricing-table.featured:hover {
        transform: translateY(-10px);
    }

    .footer-links {
        gap: 20px;
    }

    .summary-cards,
    .feature-cards,
    .pricing-cards-summary {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.values-grid,
.team-grid,
.investors-grid,
.offices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3,
.team-member p {
    padding: 0 20px;
}

.team-member h3 {
    margin: 20px 0 5px;
}

.member-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    padding-bottom: 20px;
    font-size: 0.9rem;
}

.investor {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.investor img {
    max-width: 120px;
    max-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.investor:hover img {
    opacity: 1;
}

.office {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.office i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.office h3 {
    margin-bottom: 5px;
}

.office p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.section {
    padding: var(--section-padding);
}

/* Make About page responsive */
@media (max-width: 1024px) {

    .values-grid,
    .team-grid,
    .investors-grid,
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 480px) {

    .values-grid,
    .team-grid,
    .investors-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.contact-option {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-10px);
}

.contact-option i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-option h3 {
    margin-bottom: 10px;
}

.contact-option p {
    margin-bottom: 20px;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Make Contact page responsive */
@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Common subtitle class for consistent styling */
.subtitle-text {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Page Hero Sections - Updated for better contrast */
.features-hero,
.security-hero,
.why-hero,
.comparison-hero,
.how-it-works-hero,
.pricing-hero,
.legal-hero,
.legality-hero,
.page-hero {
    padding: var(--section-padding);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.features-hero h1,
.security-hero h1,
.why-hero h1,
.comparison-hero h1,
.how-it-works-hero h1,
.pricing-hero h1,
.legal-hero h1,
.legality-hero h1,
.page-hero h1 {
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 15px;
}

.features-hero p,
.security-hero p,
.why-hero p,
.comparison-hero p,
.how-it-works-hero p,
.pricing-hero p,
.legal-hero p,
.legality-hero p,
.page-hero p {
    color: var(--secondary);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.features-hero::before,
.security-hero::before,
.why-hero::before,
.comparison-hero::before,
.how-it-works-hero::before,
.pricing-hero::before,
.legal-hero::before,
.legality-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/media/img/common/boltsign-pattern-1.svg);
    background-repeat: repeat;
    background-size: 15%;
    opacity: 0.05;
    z-index: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #303163 0%, #1A1A36 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons a {
    min-width: 200px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons a {
        width: 100%;
        max-width: 250px;
        margin-bottom: 15px;
    }
}

input[type="text"]:focus, 
input[type="text"]:active {
  border: var(--primary) 1px solid;
  outline: none;
}
input[type="text"] {
  font-family: var(--font-family);
  cursor: pointer;
}
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    /* Thinner height */
    background: transparent;
    outline: none;
    margin: 10px 0;
    border-radius: 16px;
    
}

/* WebKit Track (Chrome, Safari) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Firefox Track */
input[type="range"]::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Thumb - WebKit */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow);
    margin-top: -6px;
    /* Align vertically with 4px track + 1px border */
    transition: transform 0.2s, background 0.3s;
}

/* Thumb - Firefox */
input[type="range"]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow);
    border: none;
    transition: transform 0.2s, background 0.3s;
}

/* Focus Styles */
input[type="range"]:focus::-webkit-slider-thumb,
input[type="range"]:focus::-moz-range-thumb {
    transform: scale(1.1);
}

/* Style the floater */
.cta-floater {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000; /* Ensure it's on top of other elements */
    border-radius: 16px;
    padding: 0px;
  }
  
  .cta-floater img {
    width: 250px; /* Adjust the width as needed */
    border-radius: 16px;
    height: auto;
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Mild shadow */
  }
  
  .close-button {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 18px;
    cursor: pointer;
  }
  
  .close-button:hover {
    color: red; /* Optional: add a hover effect */
  }

/* Legality Guide - Country Search */
.country-selection {
    margin: 30px 0;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-container input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.country-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.country-item:hover {
    background-color: #f5f5f5;
}

.country-item img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    object-fit: cover;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.popular-countries {
    margin-top: 30px;
}

.popular-countries h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.country-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.country-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-btn:hover, .country-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.country-btn img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    object-fit: cover;
}

/* Country Details Section */
.country-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.country-flag {
    margin-right: 20px;
}

.country-flag img {
    width: 60px;
    height: 45px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.country-name h2 {
    margin: 0 0 5px;
}

.legal-status, .legal-model {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.legal-status.valid, .legal-model.valid {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.legal-status i, .legal-model i {
    margin-right: 5px;
}

.country-info-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-card ul {
    margin: 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .country-info-content {
        grid-template-columns: 1fr;
    }
    
    .country-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .country-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* External Links */
a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a[target="_blank"]:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

a[target="_blank"] i.fa-external-link-alt {
    font-size: 0.8em;
    margin-right: 5px;
    opacity: 0.7;
}

.resources-content a[target="_blank"],
.info-card a[target="_blank"] {
    margin-bottom: 8px;
    display: inline-flex;
}

.text-center{
    text-align: center;
}

.text-justify{
    text-align: justify;
}