:root {
    --bg-color: #001236;
    --primary-gold: #E2B755;
    --text-dark: #000330;
    --white: #ffffff;
    --gradient-gold: linear-gradient(
        -90deg,
        #D6A94C 17%,   /* Deep Bronze Shadow */
        #f7ECAD 53%,  /* Polished Gold */
        #CE9F46 98%  /* Mid-Tone Luster */
    );
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Ensure all images are contained */
img {
    max-width: 100%;
    height: auto;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo img {
    height: 50px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.btn-join {
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    color: var(--text-dark);
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 8% 50px;
}

.container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* Badges */
.badge-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    margin-top: 1rem;    
}

.badge-outline {
    border: 1px solid var(--primary-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--primary-gold); /* FIXED: gradient doesn't work with color */
}

.badge-filled {
    background: var(--white); /* FIXED: Changed from background-color to background */
    color: var(--text-dark);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 800;
}

/* Heading & Text */
.gradient-text {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Added for better browser support */
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #cccccc;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #aaaaaa;
    margin-bottom: 15px;
}

.hero-subtext strong {
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero3m {
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-view {
    display: inline-block;
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    color: var(--text-dark);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
}

/* Visuals (Right Side) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
}

.main-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.quote-card {
    position: absolute;
    bottom: 40px; /* Adjusted positioning */
    left: -50px;
    background: transparent; /* Remove solid background */
    padding: 10px 20px;
    border: 2px solid var(--primary-gold); /* Gold outline */
    border-radius: 20px;
    width: 380px;
    box-shadow: none; /* Removed heavy shadow for cleaner look */
}
.quote-card p{
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

/* Positioning the Icons on the Border */
.quote-icon {
    font-size: 6rem;
    position: absolute;
    color: var(--white);
    font-family: serif;
    background: var(--bg-color); /* Matches background to "cut" the border */
    padding: 0 10px;
    height: 40px;
    line-height: 80px;
}

.quote-icon.top {
    top: -25px;
    left: 20px;
}

.quote-icon.bottom {
    bottom: -40px;
    right: 20px;
    line-height: 40px; /* Adjusts the closing quote position */
}

.quote-card p {
    font-family: serif; /* Matches the elegant style in the image */
    font-style: italic;
    font-weight: 400;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.quote-author {
    display: block;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    width: fit-content;
    margin-left: auto;
    padding-bottom: 2px;
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive fix for Mobile */
@media (max-width: 768px) {
    .quote-card {
        position: relative;
        left: 0;
        width: 100%;
        margin-top: 40px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        text-align: left; /* CHANGED: Left aligned instead of center */
    }
    .hero-subtext {
        margin-left: 0; /* REMOVED: Removed auto margins */
        margin-right: 0; /* REMOVED: Removed auto margins */
    }
    .badge-container {
        justify-content: flex-start; /* CHANGED: Left aligned */
    }
    .quote-card {
        position: relative;
        left: 0;
        margin-top: 20px;
        width: 100%;
    }
    .navbar {
        padding: 20px 4%;
    }
    .nav-links {
        display: none; /* Hide links on mobile for simplicity */
    }
}

/* Additional mobile fixes for hero section */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start; /* Changed from left to flex-start */
        padding-top: 120px; /* Added more top padding for navbar */
        text-align: left; /* Ensure text alignment */
    }
    
    .gradient-text,
    .hero-description,
    .hero-subtext,
    .badge-container {
        text-align: left; /* Force left alignment */
        width: 100%;
    }


    .main-img {
        display: none !important;
    }

}

.badge-pill {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #E2B755; /* The gold border color */
    border-radius: 50px;         /* Creates the pill shape */
    padding: 4px;                /* Space between border and white pill */
    margin-bottom: 25px;
}

.badge-text {
        background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;    font-size: 28px;
    font-weight: 800;
    font-size: 24px;             /* Adjusted to match image scale */
    padding: 0 15px;
    letter-spacing: 1px;
}

.badge-highlight {
    background: #ffffff; /* FIXED: Changed from background-color to background */
    color: #000330;              /* Your background dark color */
    font-weight: 800;
    font-size: 24px;
    padding: 8px 25px;           /* Vertical and horizontal padding */
    border-radius: 40px;         /* Inner pill shape */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 480px) {
    .badge-text, .badge-highlight {
        font-size: 18px;
        padding: 5px 12px;
    }
    .hero{
        align-items: flex-start; /* Changed from left to flex-start */
        text-align: left;
        padding: 100px 5% 50px; /* Added horizontal padding */
    }
    .gradient-text {
        font-size: 1.7rem; /* Better scaling on mobile */
        text-align: left;
        line-height: 2rem;
    }
    .hero-description, .hero-subtext {
        font-size: 0.85rem !important; /* Better scaling on mobile */
        text-align: left;
    }
      .main-img {
        display: none !important;
    }


}

/* Hide mobile-only elements by default */
.mobile-only { display: none; }

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 100;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
    border-radius: 2px;
}

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
    .gradient-text { font-size: 2.5rem; }
    .hero-description { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    /* Navbar Mobile Fixes */
    .menu-toggle { 
        display: flex; 
        position: relative;
        z-index: 101; /* Stay above the menu drawer */
    }
    
    .nav-desktop-btn { display: none; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        height: 100vh;
        width: 100%; /* Full width looks cleaner on mobile */
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centers links vertically */
        align-items: center;    /* Centers links horizontally */
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        padding: 20px;
    }

    .nav-links.active { 
        right: 0; 
    }

    /* Fix the text stacking issue seen in your image */
    .nav-links a { 
        margin: 15px 0; 
        font-size: 28px; /* Larger for better touch targets */
        font-weight: 600;
        text-align: center;
        width: 100%;
        display: block; /* Ensures they take up their own line */
    }

    /* Specific styling for the Join Us button inside the mobile menu */
    .nav-links .btn-join.mobile-only { 
        display: inline-block; 
        width: auto; /* Prevents it from stretching full width */
        min-width: 200px;
        margin-top: 30px;
        padding: 15px 40px;
        font-size: 20px;
    }

    /* Close icon / Hamburger animation */
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Hero Content Adjustments */
    .container {
        grid-template-columns: 1fr;
        padding-top: 60px;
    }

    .gradient-text {
        font-size: 2rem;
        text-align: left; /* Ensure left alignment */
    }

    .hero-description {
        font-size: 1.1rem;
        text-align: left; /* Ensure left alignment */
    }
    
    /* Force left alignment for all hero content */
    .hero > .container {
        text-align: left;
    }
    .quote-card{
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .gradient-text { 
        font-size: 1.8rem; 
        text-align: left; /* Force left alignment */
    }
    .hero-description { 
        font-size: 1.1rem; 
        text-align: left; /* Force left alignment */
    }
    .btn-view { 
        width: 100%; 
        text-align: center; 
    }
        .quote-card{
        margin-top: 3rem;
    }
}

/*==================================================
2Nd section 
===================================================*/

/* Stats Section Styling */
.stats-section {
    padding: 80px 8%;
    background-color: #ffffff; /* As per image background */
    color: var(--bg-color);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-image img {
    width: 100%;
    border-radius: 30px; /* Rounded corners like the image */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stats-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #001236;
}



.stats-description {
    font-size: 1.1rem;
    color: var(--bg-color);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Counter Grid */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.counter-item {
    border-left: 2px solid #E2B755; /* The gold vertical line */
    padding-left: 15px;
}

.counter-number, .counter-text {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: #E2B755;
}

.counter-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E2B755;
}

.counter-label {
    font-size: 0.9rem;
    color: #000330;
    font-weight: 600;
}

.btn-view-more {
    display: inline-block;
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    color: #000330;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(226, 183, 85, 0.4);
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-image {
        order: 1;
    }
    
    .stats-content {
        order: 2;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stats-title {
        font-size: 1.8rem;
    }
    .stats-image{
        display: none !important;
    }
}


/*==================================================
Shoping Section
===================================================*/

    /* Scoped styles to prevent affecting your existing website */
    #gstock-unique-section {
        background-color: var(--bg-color);
        padding: 60px 20px;
        font-family: 'inter', sans-serif;
        display: flex;
        justify-content: center;
        color: #ffffff;
    }

    #gstock-unique-section .gstock-container {
        max-width: 1200px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    /* Left Side: Text Content */
    #gstock-unique-section .gstock-text-content {
        flex: 1;
        min-width: 320px;
    }

    #gstock-unique-section .gstock-title {
        background: var(--gradient-gold); /* FIXED: Changed from color to background */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: clamp(28px, 5vw, 42px);
        font-weight: 800;
        margin-bottom: 25px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    #gstock-unique-section .gstock-description {
        font-size: 18px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 40px;
        max-width: 550px;
    }

    #gstock-unique-section .gstock-btn {
        display: inline-block;
        background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
        color: #010626;
        padding: 14px 35px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        transition: transform 0.2s, background 0.2s;
    }

    #gstock-unique-section .gstock-btn:hover {
        background: #f0cc84; /* Changed to solid color for hover */
        transform: translateY(-2px);
    }

    /* Right Side: Image Grid Collage */
    #gstock-unique-section .gstock-image-grid {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        min-width: 320px;
    }

    #gstock-unique-section .gstock-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px; /* Matches the curved corners in your image */
        display: block;
    }

    /* specific grid positioning to match your layout */
    .gstock-img-1 { grid-row: 1 / span 2; } /* Large Tall Left */
    .gstock-img-2 { grid-row: 1 / span 1; } /* Top Small Right */
    .gstock-img-3 { grid-row: 2 / span 2; } /* Large Tall Right */
    .gstock-img-4 { grid-row: 3 / span 1; } /* Bottom Small Left */

    /* Responsive adjustments */
    @media (max-width: 992px) {
        #gstock-unique-section .gstock-container {
            flex-direction: column;
            text-align: center;
        }
        #gstock-unique-section .gstock-description {
            margin: 0 auto 40px auto;
        }
        #gstock-unique-section .gstock-image-grid {
            width: 100%;
            max-width: 500px;
        }
    }

    @media (max-width: 480px) {
        #gstock-unique-section .gstock-image-grid {
            gap: 10px;
        }
        #gstock-unique-section .gstock-img-wrapper img {
            border-radius: 15px;
        }
        #gstock-unique-section .gstock-description{
            text-align: left !important;
        }
         #gstock-unique-section .gstock-title{
            text-align: left !important;
         }
         #gstock-unique-section .gstock-btn{
            width: 100% !important;
            text-align: center !important;
         }
    }


/*==================================================
3M Slider
===================================================*/

/* Core Elements Section Base */
.core-elements-section {
    background-color: #000330; /* Dark navy background */
    padding: 60px 0 0 0;
    width: 100%;
    overflow: hidden;
}

/* Header Pill Styling */
.core-header-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.core-pill {
    border: 1.5px solid #E2B755;
    border-radius: 50px;
    padding: 10px 40px;
    display: inline-block;
}

.core-pill-text {
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

/* Marquee Gold Bar Styling */
.marquee-wrapper {
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    padding: 20px 0;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.marquee-group span {
    font-size: 24px;
    font-weight: 700;
    color: #000330; /* Dark text on gold */
    padding: 0 30px;
    font-family: 'Inter', sans-serif;
}

.marquee-group .sep {
    opacity: 0.3;
    font-weight: 300;
    padding: 0;
}

/* Animation Logic */
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* Pause on hover for better UX */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .core-pill {
        padding: 8px 25px;
    }
    .core-pill-text {
        font-size: 18px;
    }
    .marquee-group span {
        font-size: 18px;
        padding: 0 15px;
    }
    .marquee-wrapper {
        padding: 15px 0;
    }
}


/*==================================================
3M Detail
===================================================*/


/* Section Base */
.details-3m-section {
    background-color: #000330; /* Dark navy background */
    padding: 80px 8%;
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

/* Card Styling */
.detail-card {
    flex: 1;
    min-width: 300px; /* Ensures cards don't get too thin */
    background-color: transparent;
    border: 2px solid #E2B755; /* Gold border */
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(226, 183, 85, 0.2);
}

/* Typography inside Cards */
.detail-title {
        background: var(--gradient-gold); /* FIXED: Changed from color to background */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.detail-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Read More Button */
.card-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-read-more {
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    color: #000330;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-read-more:hover {
    background: #ffffff; /* Solid color for hover */
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .details-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .details-3m-section {
        padding: 50px 5%;
    }
    
    .detail-card {
        flex: none;
        width: 100%; /* Full width cards on mobile */
        min-width: unset;
        padding: 30px 20px;
    }

    .detail-title {
        font-size: 20px;
    }

    .btn-read-more{
        width: 100% !important;
    }
.card-footer {
 text-align: center !important;
}
}



/*==================================================
Why to buy 
===================================================*/



/* Section Base */
.what-to-buy-section {
    background-color: #ffffff; /* Clean white background */
    padding: 80px 8%;
}

.buy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text wider than image on desktop */
    gap: 60px;
    align-items: center;
}

/* Typography and List */
.buy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000330; /* Dark navy */
    margin-bottom: 30px;
}

.buy-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buy-item {
    background-color: #CCCCFF; /* Light purple background */
    padding: 20px 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.buy-item p {
    color: #000330;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

.buy-item:hover {
    transform: translateX(10px);
}

/* Image Visual */
.buy-visual img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .buy-container {
        grid-template-columns: 1fr; /* Stack on tablet/mobile */
        gap: 40px;
    }
    
    .buy-title {
        text-align: center;
        font-size: 2rem;
    }

    .buy-visual {
        order: -1; /* Image moves above text on mobile */
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .what-to-buy-section {
        padding: 50px 5%;
    }
    
    .buy-item {
        padding: 15px 20px;
    }

    .buy-item p {
        font-size: 1rem;
    }
      .btn-read-more{
        width: 100% !important;
    }
    .card-footer {
    text-align: center !important;
}
.buy-visual{
    display: none !important;
}
}

/*==================================================
Wealth section
===================================================*/

/* Section Base */
.when-to-buy-section {
    background-color: var(--bg-color);
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

.when-title {
    text-align: center;
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* The Grid Layout */
.when-container {
    max-width: 1200px;
    margin: 0 auto;
}

.when-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

/* Content Boxes */
.when-box {
    background-color: transparent; 
    border: 2px solid #E2B755; /* Gold border style */
    border-radius: 20px;
    padding: 40px 30px; /* Matching 3M card padding */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.when-box p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.when-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    z-index: 1000;
}

/* Specific Box Offsets to match design */
.box-1 { margin-right: 50px; margin-top: 20px; }
.box-2 { margin-left: 50px; }
.box-3 { margin-right: 50px; }
.box-4 { margin-left: 50px; margin-top: -20px; }

/* The Grouped Mobile Image */
.when-visual {
    position: absolute;

    transform: translate(-50%, -50%);
    width: 350px; /* Adjust based on your actual image width */
    z-index: 5;
    pointer-events: none; /* Allows hovering boxes behind it */
    margin-left: 21rem;
}

.when-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* Footer Button */
.when-footer {
    text-align: center;
    margin-top: 60px;
}
/* --- RESPONSIVE DESIGN (ONLY CHANGES MOBILE) --- */

@media (max-width: 1024px) {
    /* Maintain the laptop's central focus on tablets but scale down */
    .laptop-img {
        width: 100%;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .when-to-buy-section {
        padding: 60px 5%;
        /* Create the dark-to-light blue glow from the design */
        background: radial-gradient(circle at top right, #001f4d 0%, #000330 100%);
    }

    .when-title {
        font-size: 2.2rem;
        text-align: left; /* Aligns with the mobile design header */
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .when-grid {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Tighter gap for mobile cards */
    }

    /* Change boxes to the semi-transparent glass style */
    .when-box {
        background: rgba(255, 255, 255, 0.05); /* Transparent fill */
        backdrop-filter: blur(10px); /* Glass effect */
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid var(--primary-gold); /* Subtle white border */
        padding: 25px;
        margin: 0 !important; /* Remove all desktop offsets */
        border-radius: 12px;
    }

    /* Position the Laptop as a background element as seen in Mobile design */
    .when-visual {
        position: absolute;
        top: 15%;
        right: -25%; /* Pushes laptop partially off-screen */
        width: 100%;
        z-index: 1; /* Sits behind text boxes */
        opacity: 0.7; /* Faded look from design */
        pointer-events: none;
    }

    .laptop-img {
        width: 350px;
        height: auto;
        margin-left: 7rem !important;
        overflow: hidden !important;
        margin-top: 11rem !important;
    }

    .when-box-column {
        gap: 15px;
        z-index: 10; /* Ensures text stays above the background laptop */
    }

    .when-footer {
        margin-top: 40px;
    }

    .btn-view-more {
        width: 100%; /* Full width button on mobile */
        text-align: center;
    }
}


/*==================================================
Wealth section
===================================================*/





.wealth-master-program {
    background-color: #000330;
    padding: 100px 8%;
    color: #ffffff;
}

.program-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.program-title {
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.program-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Concept Cards Grid */
.main-concepts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.concept-card {
    background: linear-gradient(145deg, #001f4d, #000c24);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-wrapper img { width: 35px; }

.concept-card h3 {
    text-align: center;
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.concept-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.coverage-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
}

.coverage-box h3 {
        background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Checkmark Style using CSS */
.check-list li::before {
    content: '✔';
    background: var(--gradient-gold);
    color: #000330;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Mentor Box - The Gold Card */
.mentor-box {
    background: var(--gradient-gold); /* FIXED: Changed from background-color to background */
    color: var(--bg-color);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.mentor-box h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--bg-color);
}

.mentor-details {
    margin-top: auto;
    margin-bottom: 20px;
    color: var(--bg-color);
}

.mentor-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bg-color);
}

.mentor-title {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--bg-color);
}

.btn-dark {
    background-color: #000330;
    color: var(--primary-gold);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 45px;
    display: inline-block;
    width: fit-content;
    font-weight: bold;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .main-concepts-grid {
        grid-template-columns: 1fr;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wealth-master-program { padding: 60px 5%; }
    .program-title { font-size: 2rem; text-align: left !important; }
    .check-list li { font-size: 1rem; }
    .program-subtitle{ text-align: left !important;}
}




/*==================================================
Freedom section
===================================================*/


/* Section Wrapper */
.freedom-section {
    background-color:var(--bg-color);
    padding: 100px 8%;
    color: #ffffff;
}

.freedom-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.freedom-title {
    background: var(--gradient-gold); /* FIXED: Changed from color to background */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.freedom-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Container and Cards */
.freedom-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.freedom-vission {
    flex: 1;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    /* Soft blue glow border as seen in design */
    transition: transform 0.3s ease;
    padding: 4px;
}
.freedom-card {
    flex: 1;
    background : var(--gradient-gold);
    border-radius: 20px;
    overflow: hidden;
    /* Soft blue glow border as seen in design */
    transition: transform 0.3s ease;
    padding: 4px;
}

.freedom-card:hover {
    transform: translateY(-10px);
}
.freedom-vission:hover {
    transform: translateY(-10px);
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.card-body {
    padding: 40px;
    color: #000330; /* Dark text for white background */
}

.card-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--bg-color);
}

.card-mission {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color:#001236;
}

.card-text {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    opacity: 0.85;
        color:var(--bg-color);

}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .freedom-container {
        gap: 30px;
    }
    .card-title { font-size: 1.6rem; }
    .card-text { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .freedom-section { padding: 60px 5%; }
    
    .freedom-container {
        flex-direction: column; /* Stack cards vertically */
    }

    .freedom-title { font-size: 1.8rem; text-align: left !important; }

    .card-image img {
        height: 200px;
    }

    .card-body {
        padding: 30px 20px;
    }
    .freedom-subtitle{
        text-align: left !important;
    }
}


/*==================================================
CTA
===================================================*/



.cta-swipe-section {
    background-color:var(--bg-color);
    padding: 60px 5%;
    display: flex;
    justify-content: center;
}

.swipe-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

.swipe-track {
    background-color: #ffffff;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
    overflow: hidden;
}

.swipe-handle {
    width: 110px;
    height: 110px;
    background-color: #000330;
    border-radius: 50%;
    position: absolute;
    left: -5px;
    z-index: 10;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.1s ease-out;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.swipe-handle:active {
    cursor: grabbing;
}

.swipe-handle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
}

.swipe-text {
    margin-left: 120px;
    user-select: none;
    pointer-events: none;
}

.swipe-text p {
    color: #000330;
    font-size: 24px;
    margin: 0;
}

.swipe-text strong {
    font-weight: 900;
}

.swipe-hint {
    color: #a0a0a0;
    font-size: 18px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swipe-track { height: 80px; }
    .swipe-handle { width: 90px; height: 90px; }
    .swipe-text p { font-size: 16px; }
    .swipe-hint { font-size: 14px; }
    .swipe-text { margin-left: 100px; }
}




/*==================================================
F&Q
===================================================*/



.faq-section {
    background-color: #000330;
    padding: 100px 8%;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

/* The small arrow box from your design */
.arrow-box {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-box i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

/* Active State Styles */
.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .arrow-box {
    background: var(--primary-gold); /* Changes to gold when open */
    border-color: #E2B755;
}

.faq-item.active .arrow-box i {
    color: #000330;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: all 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 10px 30px 30px 30px;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .arrow-box {
        width: 30px;
        height: 30px;
    }
}



/*==================================================
Footer
===================================================*/




/* Footer Section Base with Split Background */
.main-footer {
    /* Top 50% is Navy, Bottom 50% is Gold */
    background: linear-gradient(to bottom, #000330 50%, #E2B755 50%);
    padding: 0 5% 20px;
    width: 100%;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* The Navy Inner Card */
.footer-inner-card {
    background-color: var(--bg-color);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 60px 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    /* Ensure it sits nicely in the middle of the split */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Brand Section */
.footer-brand {
    flex: 1;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 18px;
    opacity: 0.8;
    transition: 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    color: #E2B755;
}

/* Links Columns */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

/* Newsletter */
.footer-newsletter {
    flex: 1.2;
    max-width: 350px;
}

.footer-newsletter p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.subscribe-field {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2px;
}

.subscribe-field input {
    background: transparent;
    border: none;
    padding: 12px;
    color: #ffffff;
    width: 100%;
    outline: none;
}

.subscribe-field button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Copyright Text on Gold Background */
.footer-bottom-text {
    padding-top: 30px;
    color: #000330;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    text-align: left;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .footer-inner-card {
        padding: 40px;
        flex-wrap: wrap;
    }
    .footer-newsletter {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-footer {
        /* On mobile, usually a 50/50 split looks better shifted */
        background: linear-gradient(to bottom, #000330 30%, #E2B755 30%);
    }
    
    .footer-inner-card {
        flex-direction: column;
        gap: 40px;
        border-radius: 30px;
        text-align: center;
    }

    .footer-brand, .social-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons { flex-direction: row; }

    .footer-links {
        width: 100%;
    }

    .subscribe-field {
        max-width: 100%;
    }
}







/*==================================================
Animations
===================================================*/

/* ==================================================
   Scroll Animation Classes
   ==================================================== */

/* Base animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }

/* Fade in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up animation */
.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-up.animated {
    opacity: 1;
    transform: scale(1);
}

/* Rotate in animation */
.rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Slide up with bounce */
.slide-up-bounce {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-up-bounce.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Blur in animation */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s ease,
                filter 0.8s ease,
                transform 0.8s ease;
}

.blur-in.animated {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Gold gradient border animation */
.gold-border-reveal {
    position: relative;
    overflow: hidden;
}

.gold-border-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0.1;
    transition: left 1.2s ease;
    z-index: -1;
}

.gold-border-reveal.animated::before {
    left: 0;
}

/* Letter by letter animation for headings */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    animation: textReveal 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes textReveal {
    to {
        left: 100%;
    }
}

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 183, 85, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(226, 183, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(226, 183, 85, 0);
    }
}

.pulse-animation {
    animation: pulse-gold 2s infinite;
}

/* ==================================================
   Animation Utilities
   ==================================================== */

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

/* Prevent animation on initial load */
.no-animation {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}