:root {
    --primary-color: #0b0e38;
    --accent-color-1: #bbea60;
    --accent-color-2: #1ce0e6;
    --secondary-color: #1A1A1A;
    --text-color: #333333;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Matches the header offset we set in JavaScript */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    /* Add subtle diagonal lines */
    background-image: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.02),
        rgba(0, 0, 0, 0.02) 1px,
        transparent 1px,
        transparent 20px /* Adjust spacing */
    );
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d3748;
    position: relative;
    padding-bottom: 0.5rem;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

form {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

form input[type="submit"]:hover {
    background: #45a049;
}

footer {
    background: var(--primary-color);
    padding: 6rem 5% 3rem;
    position: relative;
    color: var(--white); /* Adding explicit text color */
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.05) 0%, rgba(28, 224, 230, 0.05) 100%);
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-details h3,
.footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    color: var(--white); /* Adding explicit text color */
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: fixed;
    width: 100%;
    background: rgba(11, 14, 56, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(11, 14, 56, 0.95);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-search-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.nav-search-btn:hover {
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-height: 60px;
    padding: 5px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 180px;
}

/* Remove the filter if your logo is already white or light colored */
/* .logo-img {
    filter: brightness(0) invert(1);
} */

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    display: none; /* Hide text by default */
}


.cta-button {
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
}

@media (max-width: 768px) {
    .cta-button {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}


.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 234, 96, 0.3);
    background: linear-gradient(135deg, var(--accent-color-2) 0%, var(--accent-color-1) 100%);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 50px);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    color: var(--white);
    background-color: #050505;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    background-image: url('/images/astro_condos.jpg');
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    will-change: transform;
    transform: translateZ(0);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform: none !important;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 8rem 5rem 6rem;
    z-index: 3;
    gap: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 450px;
}

.highlight-text {
    width: 100%;
    max-width: 450px;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.1) 0%, rgba(28, 224, 230, 0.1) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(187, 234, 96, 0.2);
}

.highlight-text p {
    font-size: 1.1rem;
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
}

.highlight-text p::before {
    content: "✓";
    color: var(--accent-color-1);
    margin-right: 10px;
    font-weight: bold;
}

.cta-group {
    margin: 0;
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 450px;
    align-self: flex-start;
}

.primary-cta {
    background: linear-gradient(135deg, #bbea60 0%, #1ce0e6 100%);
    color: var (--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(187, 234, 96, 0.3);
}

.secondary-cta {
    background: transparent;
    color: var(--white);
    border: 2px solid #bbea60;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.1) 0%, rgba(28, 224, 230, 0.1) 100%);
    border-color: #1ce0e6;
    transform: translateY(-2px);
}

.primary-cta, .secondary-cta {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 180px;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex: 1;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-cta:hover, .secondary-cta:hover {
    transform: translateY(-2px);
}

.primary-cta:active, .secondary-cta:active {
    transform: translateY(1px);
}

.stats-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
    transform: translateY(-20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    margin-top: -50px;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white);
}

@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 5%;
        gap: 1.5rem;
        transform: translateY(0);
        margin-top: -1px;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }

    .stat:nth-last-child(-n+1) {
        border-bottom: none;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

/* Featured Project Section */
.featured-project {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
}

.property-image {
    position: relative;
    width: 100%;
    height: 250px;
}

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

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.favorite-btn svg {
    color: #666;
    transition: all 0.3s ease;
}

.favorite-btn:hover svg {
    color: #ff4444;
    transform: scale(1.1);
}

.property-info {
    padding: 1.5rem;
}

.property-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.property-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.property-stats .value {
    font-weight: 600;
    color: var(--primary-color);
}

.property-stats .label {
    font-size: 0.85rem;
    color: #666;
}

.property-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.split-options {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.split-options:hover {
    background: #f5f5f5;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.agent-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-details {
    flex-grow: 1;
}

.agent-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.agent-title {
    font-size: 0.85rem;
    color: #666;
}

.contact-agent {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color-1);
    border-radius: 6px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-agent:hover {
    background: var(--accent-color-1);
    color: var(--white);
}

.request-tour {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.request-tour:hover {
    background: #1a1a1a;
}

.tour-timing {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--white);
    padding-top: 4rem;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    flex: 1;
    max-width: calc(25% - 1.125rem); /* Ensures equal width for all 4 cards */
    min-width: 250px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(187, 234, 96, 0.1);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 180px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    opacity: 1; /* Changed from 0 to 1 to make it always visible */
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    opacity: 1; /* This can be removed since it's always visible now, but keeping for consistency */
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3.5rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.benefit-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

.benefit-card:nth-child(1) h3::before {
    background-image: url('/images/icons/entry.svg');
}

.benefit-card:nth-child(2) h3::before {
    background-image: url('/images/icons/returns.svg');
}

.benefit-card:nth-child(3) h3::before {
    background-image: url('/images/icons/digital.svg');
}

.benefit-card:nth-child(4) h3::before {
    background-image: url('/images/icons/management.svg');
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    padding-right: 1rem;
}

/* Update responsive breakpoints to maintain layout until smaller screens */
@media (max-width: 1200px) {
    .benefits-grid {
        flex-wrap: wrap;
    }
    
    .benefit-card {
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .benefit-card {
        max-width: 100%;
    }
}

/* Investment Details Section */
.investment-details {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.05) 0%, rgba(28, 224, 230, 0.05) 100%);
    position: relative;
}

.investment-details h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color-1);
}

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

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-left: 2rem;
}

.detail-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 50%;
}

detail-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    border-radius: 50%;
}

detail-card ul {
    list-style: none;
    padding: 0;
}

detail-card ul li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-color);
}

detail-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
    transition: transform 0.3s ease;
}

detail-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color-1);
}

detail-card ul li:hover {
    transform: translateX(5px);
}

detail-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color-1);
    font-weight: bold;
}

detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .investment-details {
        padding: 4rem 0;
    }
    
    .investment-details h2 {
        font-size: 2rem;
    }
}

/* Sign Up Section */
.signup-section {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(11, 14, 56, 0.9), rgba(11, 14, 56, 0.9)),
                url('/images/signup-bg.jpg') center/cover no-repeat fixed;
    color: var(--white);
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.1) 0%, rgba(28, 224, 230, 0.1) 100%);
}

.signup-section .container {
    position: relative;
    z-index: 2;
}

.signup-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.signup-section p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.signup-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color-1);
    outline: none;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color-1);
    outline: none;
}

/* Custom Checkbox for Signup Form */
.checkbox-group {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    top: 2px;
}

.checkbox-label:hover .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-color: var(--accent-color-1);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
    box-shadow: 0 0 0 3px rgba(187, 234, 96, 0.3);
}

/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    animation: modalFadeIn 0.3s ease;
}

.success-modal .modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(1);
    animation: modalSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(187, 234, 96, 0.2);
}

.success-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.success-modal .modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.success-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-modal .modal-close:hover {
    background: rgba(187, 234, 96, 0.1);
    color: var(--accent-color-1);
}

.success-modal p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.success-modal .modal-ok {
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(187, 234, 96, 0.3);
}

.success-modal .modal-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(187, 234, 96, 0.4);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { transform: scale(0.7) translateY(-20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .success-modal .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

/* Error Modal Styles */
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    animation: modalFadeIn 0.3s ease;
}

.error-modal .modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(239, 68, 68, 0.25);
    transform: scale(1);
    animation: modalSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.error-modal .modal-header h3 {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.error-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.error-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.error-modal p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.error-modal .modal-ok {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.error-modal .modal-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

@media (max-width: 480px) {
    .error-modal .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    color: var(--primary-color);
    padding: 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 0 auto;
    display: block;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(187, 234, 96, 0.3);
}

.success-message {
    background: rgba(0, 255, 0, 0.1);
    color: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    animation: slideUp 0.3s ease;
}

/* Footer Styling */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-column p {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.footer-social a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card, .detail-card, .audience-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .story-content, .detail-card, .benefit-card {
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.story-content { animation-delay: 0.2s; }
.stats-bar { animation-delay: 0.4s; }

.detail-card:nth-child(1) { animation-delay: 0.2s; }
.detail-card:nth-child(2) { animation-delay: 0.3s; }
.detail-card:nth-child(3) { animation-delay: 0.4s; }
.detail-card:nth-child(4) { animation-delay: 0.5s; }

/* Smooth transitions */
.detail-card, .benefit-card, .audience-card, .faq-item {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.benefit-card:hover,
.detail-card:hover,
.audience-card:hover {
    transform: translateY(-10px);
}

/* Interactive elements */
button, a {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item p {
    transition: all 0.3s ease;
}

/* Scroll-based animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button 30px from the bottom */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap other items */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--accent-color-1); /* Set a background color */
    color: var(--primary-color); /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50%; /* Circular shape */
    font-size: 18px; /* Increase font size */
    width: 50px;
    height: 50px;
    line-height: 18px; /* Center the arrow */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
    background-color: var(--accent-color-2); /* Add a dark-grey background on hover */
    transform: scale(1.1);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--animation-delay, 0ms);
}

.reveal-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.reveal-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-color);
        padding: 80px 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .form-group {
        flex-direction: column;
    }

    .hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding-bottom: 2rem;
    }

    .hero-image {
        height: 50vh;
        clip-path: none;
    }

    .hero-content {
        padding: 6rem 2rem;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 2rem;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-info {
        flex-direction: column;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 40vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .hero-content {
        padding: 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        position: relative;
        padding: 1.5rem;
    }

    .stat {
        padding: 0.5rem;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid var(--accent-color-1);
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .primary-cta, .secondary-cta {
        width: 100%;
        min-width: unset;
    }

    .highlight-text {
        text-align: left;
    }
}

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

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .highlight-text {
        padding: 1rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Story Section */
.story-section {
    display: flex;      
    gap: 4rem;
    align-items: center;
    max-width: none;
    margin: 0 auto 6rem;
    padding: 0;
    background: none;
    text-align: left;
    @media (max-width: 430px) {
        flex-wrap: wrap;
    }
}



.story-section .container {
    position: relative;
    z-index: 2;
}

.story-image {    
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    @media (max-width: 430px)  {
        display: flex;
        justify-content: center;
        width: 100%;       
    }
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    @media (max-width: 430px) {
        height: auto;
        width: 90%;        
        border-radius: 20px;
    }
}

.story-content {
    padding-right: 2rem;
    width: 50%;
    @media (max-width: 768px) {
      width: 100%;  
    }
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Audience Section */
.audience-section {
    margin: 6rem 0;
    padding: 4rem 0;
    background: var(--white);
}

.audience-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.audience-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(187, 234, 96, 0.1);
    position: relative;
    overflow: hidden;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color-1);
}

.audience-card::before {
    content: '';
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    opacity: 0.1;
    border-radius: 50%;
    flex-shrink: 0;
}

.audience-card-icon {
    position: absolute;
    left: 2rem;
    top: 2rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color-1);
    font-size: 2rem;
}

.audience-card-content {
    flex: 1;
}

.audience-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.audience-card p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-card {
        padding: 1.75rem;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.benefits-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    flex: 1;
    max-width: calc(25% - 1.125rem); /* Ensures equal width for all 4 cards */
    min-width: 250px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(187, 234, 96, 0.1);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 180px;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    opacity: 1; /* Changed from 0 to 1 to make it always visible */
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    opacity: 1; /* This can be removed since it's always visible now, but keeping for consistency */
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3.5rem; /* Increased padding to prevent overlap */
    min-height: 2rem; /* Ensure consistent height for title area */
    display: flex;
    align-items: center;
}

.benefit-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem; /* Increased size for better visibility */
    height: 2.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

.benefit-card:nth-child(1) h3::before {
    background-image: url('/images/icons/entry.svg');
}

.benefit-card:nth-child(2) h3::before {
    background-image: url('/images/icons/returns.svg');
}

.benefit-card:nth-child(3) h3::before {
    background-image: url('/images/icons/digital.svg');
}

.benefit-card:nth-child(4) h3::before {
    background-image: url('/images/icons/management.svg');
}

.benefit-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-left: 0; /* Reset margin to align with title */
    padding-right: 1rem;
}

/* Update responsive breakpoints to maintain layout until smaller screens */
@media (max-width: 1200px) {
    .benefits-grid {
        flex-wrap: wrap;
    }
    
    .benefit-card {
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .benefit-card {
        max-width: 100%;
    }
}

/* Objections Section */
.objections-section {
    margin: 4rem 0;    
    padding: 4rem 0;
}

.objections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.objection-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color-2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.objection-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 5%;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(187, 234, 96, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.faq-item h3:hover {
    color: var(--accent-color-1);
}

.faq-item h3:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color-1);
    border-radius: 8px;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;
    padding: 0 1.5rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.active p {
    height: auto;
    opacity: 1;
    padding: 0 1.5rem 1.5rem;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .faq-item h3:focus {
        outline: 2px solid currentColor;
    }
}

.faq-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(187, 234, 96, 0.02) 0%, rgba(28, 224, 230, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/images/pattern-bg.svg') repeat;
    opacity: 0.05;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(187, 234, 96, 0.1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    transform: translateZ(0);
}

.faq-item:hover {
    transform: translateZ(10px) translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    padding-right: 2.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-color-2);
}

.faq-item.active h3 {
    color: var(--accent-color-1);
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.8;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(187, 234, 96, 0.2);
    display: none;
    font-size: 1.1rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.active p {
    display: block;
    animation: fadeIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .faq-section h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .faq-item {
        padding: 1.5rem 2rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .story-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .story-image {
        height: 300px;
    }

    .story-content {
        padding-right: 0;
    }

    .audience-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .story-text {
        font-size: 1.1rem;
    }
    
    .audience-card,
    .objection-card,
    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Add smooth loading for images */
.hero::before,
.story-section,
.audience-card::before,
.signup-section {
    transition: opacity 0.3s ease;
    will-change: opacity;
}

/* Add loading state */
.loading {
    opacity: 0;
}

/* Add loaded state */
.loaded {
    opacity: 1;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}


/* MAIN CAROUSEL AREA */
        

        /* THUMBNAILS PLACED ELSEWHERE */
        .thumbnail-section {
            margin-top: 40px;            
            display: flex;     
            overflow: hidden;
        }

        .thumbnail-carousel {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;            
            width: 400px;
            
        }

        .thumbnail-carousel img {
            display: flex;
            width: 70px;
            height: 70px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.6;
            border-radius: 8px;
            transition: all 0.25s ease;
        }

        .thumbnail-carousel img:hover {
            opacity: 1;
            transform: scale(1.05);
        }

        .thumbnail-carousel img.active {
            border: 3px solid #bbea60;
            opacity: 1;
        }

        #country option{
            color: green; /* dropdown background */
        }
        .g-recaptcha{
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .charts-section{
            display: flex;
            
        }
