﻿:root {
    --navy-blue: #0B1F3A;
    --blue: #1e293b;
    --white-ivory: #F8F9FA;
    --teal-accent: #2DB8A3;
    --profit-success: #27ae60;
    --loss-error: #C0392B;
    --grey: #b0b0b0;
    --gold: #ffb000;
    --navy-blue-dark: #1e3a8a;
    --profit-highlight: #ef4444;
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --secondary-orange: #f59e0b;
    --secondary-orange-dark: #d97706;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    --neutral-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}



html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white-ivory);
    overflow-x: hidden;
}

.animated-heading {
    background: linear-gradient(45deg, var(--white-ivory), var(--white-ivory), var(--teal-accent));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    will-change: background-position;
}

.static-heading {
    color: var(--navy-blue-dark);
    font-weight: 700;
    position: relative;
}

    .static-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
        border-radius: 2px;
    }

.btn-text-change {
    position: relative;
    overflow: hidden;
}

    .btn-text-change .btn-text {
        display: inline-block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .btn-text-change .btn-text-hover {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(30px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        font-size: 14px;
    }

    .btn-text-change:hover .btn-text {
        transform: translateY(-30px);
        opacity: 0;
    }

    .btn-text-change:hover .btn-text-hover {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }

.blue-heading {
    color: var(--teal-accent);
    font-weight: 700;
    position: relative;
}

.simple-heading {
    color: var(--navy-blue-dark);
    font-weight: 700;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-section {
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--navy-blue-dark) 50%, var(--blue) 100%);
    position: relative;
    overflow: visible; /* important: allow marquee to sit slightly outside */
    min-height: 42vh;

    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 50px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.2)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.15)"/></svg>');
        animation: sparkle 20s linear infinite;
        will-change: transform;
    }

    /* Center the button in hero section */
    .hero-section .btn-enhanced {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    background: var(--navy-blue-dark);
    color: var(--white-ivory);
    border: none;
}

    .btn-enhanced::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .btn-enhanced:hover::before {
        left: 100%;
    }

    .btn-enhanced:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }



.image-section {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 90%;
}

.office-image {
    object-fit: cover;
    min-height: 100%;
}

.floating-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 90%;
}

.feature-item {
    background: rgba(248, 249, 250, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feature-icon.teal {
        background-color: var(--teal-accent);
    }

    .feature-icon.profit {
        background-color: var(--profit-success);
    }

.feature-content {
    flex: 1;
}

    .feature-content h6 {
        font-weight: 600;
        color: var(--navy-blue);
    }

.content-container {
    display: flex;
    align-items: center;
    height: 480px;
}

.trading-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1rem;
    flex-shrink: 0;
}

    .feature-icon.teal {
        background: linear-gradient(135deg, var(--teal-accent), #20b2aa);
    }

    .feature-icon.profit {
        background: linear-gradient(135deg, var(--profit-highlight), var(--profit-success));
    }

.feature-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--navy-blue-dark);
}

.feature-content small {
    color: #6c757d;
    font-size: 0.875rem;
}

.screen-content {
    animation: none;
}

    .screen-content.active {
        opacity: 1;
        animation: fadeIn 0.6s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.phone-screen .screen-content:nth-child(1) {
    animation-delay: 0s;
}

.phone-screen .screen-content:nth-child(2) {
    animation-delay: 0.2s;
}

.phone-screen .screen-content:nth-child(3) {
    animation-delay: 0.4s;
}

.mission-vision-section {
    background: var(--white-ivory);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: left;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-blue-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-description {
    color: var(--grey);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
}

.cards-container {
    position: relative;
    min-height: 450px;
}

.mission-vision-card {
    position: absolute;
    width: 280px;
    height: 380px;
    background: var(--blue);
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--white-ivory);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(30, 41, 59, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .mission-vision-card .card-header {
        display: flex;
        align-items: center;
        gap: 40px; /* spacing between icon and title */
        justify-content: center;
        margin-bottom: 5px;
    }

.vision-card {
    top: -10px;
    left: 0;
    z-index: 2;
}

.mission-card {
    top: 40px;
    left: 300px;
    z-index: 1;
}

.image-section {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.office-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-icon-container {
    width: 70px;
    height: 70px;
    background: var(--teal-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.mission-card .card-icon-container {
    background: var(--profit-success);
}

.card-icon-container i {
    font-size: 1.8rem;
    color: var(--white-ivory);
}

.mission-vision-card:hover .card-icon-container {
    transform: scale(1.1) rotate(5deg);
}

.mission-vision-card .missioncard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.card-content {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0.9;
}

.nav-arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--white-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

    .nav-arrow:hover {
        background: var(--teal-accent);
        color: var(--white-ivory);
        transform: scale(1.1);
    }

    .nav-arrow i {
        font-size: 1.2rem;
        color: var(--navy-blue-dark);
    }

    .nav-arrow:hover i {
        color: var(--white-ivory);
    }

.nav-left {
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
}

.nav-right {
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

.decorative-element {
    position: absolute;
    background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
    border-radius: 10px;
}

.deco-1 {
    width: 100px;
    height: 20px;
    top: 20px;
    right: 20%;
    opacity: 0.1;
}

.deco-2 {
    width: 150px;
    height: 30px;
    bottom: 20px;
    left: 10%;
    opacity: 0.08;
}

.key-highlights {
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--navy-blue-dark) 50%, var(--blue) 100%) !important;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0 !important;
    margin-top: 0 !important;
}

.cta-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #DFF0EA !important;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #333 !important;
        margin-bottom: 1.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        color: #666 !important;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-button {
    background-color: #00796B !important;
    border: none !important;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white !important;
}

    .cta-button:hover {
        background-color: #005a52 !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 121, 107, 0.3);
    }

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

    .glass-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s;
        opacity: 0;
    }

    .glass-card:hover::before {
        opacity: 1;
        transform: rotate(45deg) translate(50%, 50%);
    }

    .glass-card:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-15px) rotateX(5deg);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

.reason-card-title {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.reason-card-subtitle {
    color: var(--navy-blue-dark);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.reason-card-description {
    color: var(--grey);
    font-size: 0.85rem;
    line-height: 1.3;
}

.full-width-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.card-label {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

    .card-label.label-premium {
        background: linear-gradient(45deg, #667eea, #764ba2);
    }

    .card-label.label-featured {
        background: linear-gradient(45deg, #f093fb, #f5576c);
    }

    .card-label.label-popular {
        background: linear-gradient(45deg, #4facfe, #00f2fe);
    }

    .card-label.label-trusted {
        background: linear-gradient(45deg, #43e97b, #38f9d7);
    }

    .card-label.label-verified {
        background: linear-gradient(45deg, #fa709a, #fee140);
    }

    .card-label.label-support {
        background: linear-gradient(45deg, #a8edea, #fed6e3);
        color: #333;
    }

.marquee-container {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
    gap: 30px;
    padding: 20px 0;
}

    .marquee-content:hover {
        animation-play-state: paused;
    }

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reason-card-marquee {
    flex-shrink: 0;
    width: 280px;
    white-space: normal;
    transition: all 0.3s ease;
}

    .reason-card-marquee:hover {
        z-index: 10;
    }

.reason-card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reason-card-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.reason-card-description {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
}

.card-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.search-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
    width: 250px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    border-radius: 50px;
    padding: 10px 40px 10px 40px;
    border: 1px solid var(--navy-blue-dark);
    background-color: var(--white-ivory);
    color: var(--navy-blue-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    padding-right: 40px;
}

    .search-input:focus {
        outline: none;
        border-color: var(--teal-accent);
        box-shadow: 0 0 5px rgba(45, 184, 163, 0.3);
    }

    .search-input::placeholder {
        color: var(--text-muted);
        opacity: 0.7;
    }

.blog-news-section, .testimonials-section {
    background: var(--white-ivory);
    padding: 30px 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy-blue-dark);
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--navy-blue-dark);
        border-radius: 1px;
    }

.blog-custom-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

    .blog-custom-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s;
        opacity: 0;
    }

.blog-img-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
}

    .blog-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .blog-img-wrapper:hover img {
        transform: scale(1.1);
    }

.blog-content {
    padding: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    color: var(--navy-blue-dark);
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 6px;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    color: var(--grey);
    font-size: 0.8rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.category-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy-blue-dark);
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--navy-blue-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    margin-top: auto;
}

    .see-more-btn:hover {
        color: var(--teal-accent);
        transform: translateX(3px);
    }

    .see-more-btn::after {
        content: '→';
        transition: transform 0.3s ease;
    }

    .see-more-btn:hover::after {
        transform: translateX(3px);
    }

.testimonial-custom-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

    .testimonial-custom-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s;
        opacity: 0;
    }

    .testimonial-custom-card:hover::before {
        opacity: 1;
        transform: rotate(45deg) translate(50%, 50%);
    }

    .testimonial-custom-card:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-15px) rotateX(5deg);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

.testimonial-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--teal-accent);
    margin-bottom: 10px;
}

.testimonial-quote {
    color: var(--grey);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--teal-accent), var(--navy-blue-dark));
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(45deg, var(--navy-blue-dark), var(--navy-blue));
    }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--teal-accent);
    width: 0;
    z-index: 1000;
    transition: width 0.3s ease;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background: var(--white-ivory);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.modal-title {
    font-size: 1.6rem;
    color: var(--navy-blue-dark);
    margin-bottom: 15px;
}

.modal-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
    text-align: justify;
    padding-right: 15px;
}

.modal-subheading {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    text-align: left;
    color: var(--navy-blue-dark);
}

.modal-btn {
    background: var(--primary-blue);
    color: var(--white-ivory);
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin: 0 auto;
}

    .modal-btn:hover {
        background: var(--primary-blue-dark);
    }

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 380px;
    width: 85%;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.popup h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.popup p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-input {
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

    .popup-input:focus {
        outline: none;
        border-color: var(--primary-blue);
    }

.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.popup-submit {
    background: var(--primary-blue);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    flex: 1;
}

    .popup-submit:hover {
        background: var(--primary-blue-dark);
    }

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none; /* Remove underline */
}

    .whatsapp-btn i {
        font-size: 1rem;
        color: white; /* Ensure icon is white */
    }

    .whatsapp-btn:hover {
        background: #1DB954;
    }

        .whatsapp-btn:hover i {
            color: white; /* Ensure icon remains white on hover */
        }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0 20px 0; /* Reduced padding-bottom */
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-vision-section {
        padding: 50px 0 20px 0; /* Reduced padding-bottom */
        display: flex;
        flex-direction: column;
    }

    .mission-vision-card {
        padding: 20px 15px;
        margin-bottom: 5px;
    }

    .card-icon-container {
        width: 60px;
        height: 60px;
    }

        .card-icon-container i {
            font-size: 1.5rem;
        }

    .key-highlights {
        padding: 30px 0 20px 0 !important; /* Reduced padding-bottom */
    }

    .image-section {
        height: 300px;
        margin-bottom: 1.5rem;
    }

    .cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        min-height: auto; /* Remove forced height */
    }


    .mission-vision-card {
        position: relative;
        width: 100%;
        max-width: 380px;
        height: auto;
        left: auto;
        top: auto;
    }
    .nav-arrow {
        display: none;
    }

    .reason-card-marquee {
        width: 250px;
    }

    .marquee-content {
        gap: 20px;
    }

    .cta-section {
        padding: 40px 0 20px 0; /* Reduced padding-bottom */
    }

    .blog-news-section, .testimonials-section {
        padding: 30px 0 20px 0; /* Reduced padding-bottom */
    }

    .full-width-section {
        padding: 40px 0 20px 0; /* Reduced padding-bottom */
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Button width and height reductions, horizontal layout */
    .btn-enhanced {
        padding: 8px 15px;
        font-size: 0.9rem;
        max-width: 200px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        max-width: 200px;
    }

    .modal-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
        max-width: 180px;
    }

    .popup-submit,
    .whatsapp-btn {
        padding: 6px 10px; /* Reduced padding to decrease height */
        font-size: 0.9rem;
        max-width: 160px; /* Slightly increased from 180px to fit horizontal layout */
    }

    .popup-buttons {
        flex-direction: row; /* Horizontal layout */
        gap: 8px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .popup-buttons {
        flex-direction: row; /* Maintain horizontal layout */
        gap: 6px;
        justify-content: center;
    }

    .popup-submit,
    .whatsapp-btn {
        flex: none;
        padding: 5px 8px; /* Further reduced padding for smaller height */
        font-size: 0.85rem;
        max-width: 140px; /* Adjusted for smaller screens */
    }

    /* Button width reductions */
    .btn-enhanced {
        padding: 6px 12px;
        font-size: 0.85rem;
        max-width: 160px;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.9rem;
        max-width: 160px;
    }

    .modal-btn {
        padding: 5px 10px;
        font-size: 0.85rem;
        max-width: 150px;
    }

    .modal-text p {
        /*text-align: left;*/ /* or justify if you prefer, but wrapping works better with left */
        word-wrap: break-word; /* old syntax (still works) */
        overflow-wrap: break-word; /* modern syntax */
        white-space: normal; /* ensures wrapping instead of keeping words in one line */
        line-height: 1.6;
    }

}
/* MARQUEE SECTION */
.hot-deal-marquee {
    position: absolute;
    bottom: -1px; /* creates 1px visible gap below hero section */
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    background: linear-gradient(135deg, var(--teal-accent), var(--navy-blue-dark));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Marquee animation and text styling remain same */
.hot-deal-marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 40px; /* spacing between deals */
    animation: marquee 25s linear infinite;
}


    .hot-deal-marquee-content:hover {
        animation-play-state: paused;
    }

.hot-deal-badge {
    position: absolute;
    top: -20px;
    left: 20px;
    background: var(--gold);
    color: var(--navy-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

    .hot-deal-badge::before {
        content: "★";
        font-size: 1.2rem;
        margin-right: 5px;
        color: var(--navy-blue-dark);
    }

.hot-deal-text {
    color: var(--white-ivory);
    font-size: 1.1rem;
    margin-right: 20px;
    white-space: nowrap;
}

.hot-deal-btn {
    background-color: var(--secondary-orange);
    color: var(--white-ivory);
    border: none;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .hot-deal-marquee {
        padding: 4px 0; /* smaller height */
    }

    .hot-deal-marquee-content {
        animation: marquee 12s linear infinite;
        padding-left: 80px;
        gap: 10px;
    }

    .hot-deal-badge {
        font-size: 0.5rem;
        top: -10px;
        left: 10px;
        padding: 2px 6px;
        border-radius: 8px;
    }

        .hot-deal-badge::before {
            font-size: 0.8rem;
        }

    .hot-deal-text {
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .hot-deal-btn {
        padding: 3px 6px;
        font-size: 0.45rem;
    }
}