/* Section spacing adjustments for mobile */
/* @media (max-width: 991px) { */
    /* section {
        padding-top: 50px!important;
    } */

    /* .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .my-5 {
        margin-top: 2.5rem !important;
        margin-bottom: 2.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    } */

    /* .container {
        padding-left: 20px;
        padding-right: 20px;
    } */
/* } */

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
}


 /* Disclaimer Banner */
.disclaimer-banner {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.disclaimer-track {
    display: flex;
    width: 200%;
    animation: marquee 15s linear infinite;
    will-change: transform;
}

.disclaimer-content {
    /* width: 50%; */
    padding-right: 10%;
    font-size: 0.9rem;
}

/* PERFECT CONTINUOUS LOOP */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* Pause animation on hover */
.disclaimer-banner:hover .disclaimer-track {
    animation-play-state: paused;
}

img.company-logo {
    position: relative;
    width: 11%;
    margin-right: 0.5rem;
}

/* Navbar */
.navbar {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(45, 27, 143, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(45, 27, 143, 0.15);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-primary-dark) !important;
}

.navbar-brand span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    position: relative;
    transition: color 0.3s ease;
    line-height: 1.3;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-primary) !important;
}

.nav-link:hover::after {
    width: 80%;
}

/* Dropdown Arrow beside text */
.nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-link.dropdown-toggle::after {
    border: none;
    content: '▾'; /* '\F282'; */
    font-family: 'bootstrap-icons';
    font-size: 0.75rem;
    margin-left: 0;
    /* margin-top: 2px; */
    display: inline-block;
    left: 10%;
    transform: translateX(-50%);

    top: 30px;
}

/* Dropdown hover animation */
.nav-link.dropdown-toggle:hover::after {
    /* transform: translateY(2px); */
    transform: rotate(180deg);
    top: 40px;
}

/* .nav-item.dropdown.show .nav-link.dropdown-toggle:hover::after {
    transform: rotate(180deg);
} */

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(45, 27, 143, 0.15);
    border-radius: 12px;
    padding: 10px;
    /*margin-top: 10px;*/
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(63, 43, 189, 0.1) 0%, rgba(90, 70, 230, 0.1) 100%);
    color: var(--brand-primary);
    transform: translateX(5px);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-secondary);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.dropdown-item:hover::before {
    height: 70%;
}

.dropdown-item i {
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-secondary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(63, 43, 189, 0.4);
    color: #fff;
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    background: var(--gradient-secondary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(63, 43, 189, 0.3);
}

/* Hero Section */
.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text-content {
    flex: 0 0 60%;
    max-width: 60%;
}

.hero-image-content {
    flex: 0 0 30%;
    max-width: 40%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(45, 27, 143, 0.3);
}

/* Decorative elements for hero */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
}

.hero-decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -30px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .navbar .dropdown {
        position: relative;
    }

    .navbar .dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px; /* 👈 this is the bridge */
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        /* transform: translateY(12px); */
        transition: opacity 0.25s ease, transform 0.25s ease;
        /* margin-top: 15px; */
        pointer-events: none;
        top: calc(100% + 10px);
        left: 0;
        transform: translateY(-10px);
    }

    .navbar .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 991px) {
    /* Mobile Navbar */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-link:hover::after {
        width: 100%;
        /* left: 40%; */
    }

    .nav-link.dropdown-toggle::after{
        left: 0px;
    }

    /* .nav-link::after{
        left: 20px;
    } */

    .nav-link {
        padding: 0.5rem 0 !important;
    }

    .navbar-brand {
        flex-shrink: 1;
    }

    .brand-text {
        font-size: 18px;
        line-height: 1;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(248, 247, 255, 0.5);
        margin-top: 5px;
        padding: 5px 0;
        animation: none;
    }

    .dropdown-item {
        padding: 8px 30px;
    }

    .dropdown-item::before {
        display: none;
    }

    .dropdown-item:hover {
        transform: translateX(10px);
        background: rgba(63, 43, 189, 0.05);
    }

    /* Hero Mobile Layout */
    .hero-section {
        padding: 60px 0 0;
    }

    .hero-content-wrapper {
        flex-direction: column;
        gap: 0px;
    }

    .hero-text-content,
    .hero-image-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    img.hero-image{
        display:  none;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-decoration {
        display: none;
    }

    /* Button Adjustments */
    .hero-buttons {
        flex-direction: column;
        gap: 10px !important;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-gradient,
    .btn-outline-gradient {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .disclaimer-text {
        font-size: 0.8rem;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 40px 0 0;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .btn-gradient,
    .btn-outline-gradient {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

.hero-section {
    background: var(--gradient-primary);
    color: #fff;
    padding: 20px 0 20px;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    /* margin: 0 0 2rem; */
    line-height: 1.7;
}

img.hero-image {
    position: relative;
    width: 130%;
    top: 90px;
    right: 100%;
    /* top: 30px; */
    /* left: 90px; */
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
}

/* ============================================
TRADING VIEW SECTION - FIXED
============================================ */

.trading-view {
    background: #1a1a2e;
    padding: 20px 0;
    width: 100%;
    overflow: hidden;
}

.tradingview-widget-container {
    width: 100% !important;
    height: 46px !important;
    pointer-events: none;
    overflow: hidden;
}

.tradingview-widget-container iframe {
    width: 100% !important;
    /* height: 46px !important; */
    display: block;
    border: none;
    margin: 0;
    padding: 0;
}


/* Membership Cards */
.membership-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(45, 27, 143, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.membership-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(63, 43, 189, 0.15);
    border-color: var(--brand-primary-light);
}

.membership-card:hover::before {
    transform: scaleX(1);
}

.membership-card.recommended {
    border: 2px solid var(--brand-primary);
    background: linear-gradient(135deg, #fff 0%, #f8f7ff 100%);
}

.recommended-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-secondary);
    color: #fff;
    padding: 8px 45px;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(63, 43, 189, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(79, 50, 214, 0.2);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
    margin-bottom: 10px;
}

.card-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 35px;
    color: #555;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    background: var(--gradient-secondary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Portfolio Cards */
.portfolio-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 27, 143, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(63, 43, 189, 0.15);
}

.portfolio-header {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 10%);
    background-size: 30px 30px;
}

.portfolio-body {
    padding: 30px;
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
    margin-bottom: 12px;
}

.portfolio-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.volatility-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.portfolio-header img{
    width: 50%;
    /* height: 50px; */
    /* object-fit: contain; */
}

/* Mutual Funds Section */
.mf-section {
    background: linear-gradient(135deg, #f8f7ff 0%, #fff 100%);
    padding: 100px 0;
}

.mf-illustration {
    position: relative;
}

.mf-circle {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: var(--gradient-primary);
    padding: 20px;
    border-radius: 20px;
    color: white;
}

#contactModal .modal-body {
    padding-top: 0px;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px;
    border-radius: 8px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* About Section */
/* .about-section {
    padding: 100px 0;
} */

.stat-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(45, 27, 143, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(63, 43, 189, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    font-weight: 600;
    margin-top: 10px;
}

/* Founder Section */
.founder-section {
    background: var(--gradient-primary);
    color: #fff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* .founder-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
} */

.founder-image-container {
    position: relative;
}

.founder-image {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(45, 27, 143, 0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(63, 43, 189, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--brand-primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f7ff;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--brand-primary);
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #666;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--brand-primary-dark);
    color: #fff;
    padding: 60px 0 10px;
}

.footer h5 {
    color: var(--brand-accent);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--brand-accent);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
}

.footer .sebi-info {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.footer .sebi-info a {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .membership-card {
        margin-bottom: 30px;
    }
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}





.page-wrapper {
    padding: 80px 0;
}

.page-title {
    color: var(--page-heading-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    color: var(--page-heading-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.page-content p,
.page-content li {
    color: var(--page-text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.page-content ul {
    padding-left: 1.2rem;
}

.page-card {
    background: #fff;
    border-radius: 14px;
    /*padding: 40px;*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}








/* ============================================
   HERO SECTION - FIXED FOR ALL SCREEN SIZES
   ============================================ */
/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 3rem;
    }
    
    /* img.hero-image {
        max-width: 450px;
    } */
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* img.hero-image {
        max-width: 380px;
    } */
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-text-content {
        flex: 0 0 55%;
        max-width: 55%;
    }
    
    .hero-image-content {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* img.hero-image {
        max-width: 350px;
    } */
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0 0;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        gap: 0px;
    }
    
    .hero-text-content,
    .hero-image-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* img.hero-image {
        max-width: 400px;
    } */
    
    .hero-decoration {
        display: none;
    }
    
    /* Button Adjustments */
    .hero-buttons {
        flex-direction: column;
        gap: 10px !important;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        margin: 0 auto;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .hero-section {
        padding: 50px 0 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* img.hero-image {
        max-width: 320px;
    } */
    
    .btn-gradient,
    .btn-outline-gradient {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .tradingview-widget-container {
        height: 80px !important;
    }
}

/* Mobile Small (below 576px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 40px 0 0;
    }
    
    /* .hero-content-wrapper {
        gap: 20px;
    } */
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }
    
    /* img.hero-image {
        max-width: 280px;
        border-width: 3px;
        border-radius: 15px;
    } */
    
    .btn-gradient,
    .btn-outline-gradient {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Extra Small Mobile (below 400px) */
@media (max-width: 399px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    /* img.hero-image {
        max-width: 250px;
    } */
}



/* Form Modal */
/* Base modal improvements */
#contactModal .modal-content {
    border-radius: 16px;
}

/* Form spacing */
#contactModal .form-control {
    padding: 12px 14px;
    font-size: 15px;
}

/* Button */
#contactModal .btn {
    border-radius: 12px;
}

/* ---------- MOBILE OPTIMIZATION ---------- */
@media (max-width: 768px) {

    /* Full-width modal on mobile */
    #contactModal .modal-dialog {
        margin: 0.75rem;
        max-width: 100%;
    }

    /* Limit height & enable scroll */
    #contactModal .modal-content {
        max-height: 90vh;
        overflow: hidden;
    }

    #contactModal .modal-body {
        overflow-y: auto;
        padding: 1rem;
    }

    /* Header spacing */
    #contactModal .modal-header {
        padding: 1rem;
    }

    /* Labels smaller */
    #contactModal .form-label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    /* Inputs bigger touch targets */
    #contactModal .form-control {
        font-size: 16px; /* prevents iOS zoom */
        padding: 14px;
    }

    /* Button fixed feel */
    #contactModal button[type="submit"] {
        font-size: 16px;
        padding: 14px;
    }

    #contactModal .modal-body {
        padding-top: 0px;
    }
}
