/* =====================================================
   TRADMINT - COMPLETE NEW TRADING PLATFORM CSS
   Modern Design with Yellow & Black Theme
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ========== ROOT & RESET ========== */
/* :root {
    --yellow-primary: #FDB913;
    --yellow-light: #FFD54F;
    --yellow-glow: rgba(253, 185, 19, 0.2);
    --black-bg: #000000;
    --dark-bg: #ffffff;
    --dark-card: #111111;
    --dark-border: #1f1f1f;
    --white: #ffffff;
    --text-light: #e8e8e8;
    --text-gray: #9e9e9e;
} */

:root {
    /* Brand */
    --yellow-primary: #f59e0b;       /* primary orange */
    --yellow-light: #fb923c;         /* accent orange */
    --yellow-glow: rgba(245, 158, 11, 0.25);

    /* Backgrounds */
    --black-bg: #1a1a2e;             /* dark text / headings */
    --dark-bg: #ffffff;             /* page background */
    --dark-card: #fffbeb;            /* card background */
    --dark-border: #e2e8f0;          /* border color */

    /* Text */
    --white: #ffffff;
    --text-light: #4a5568;           /* normal text */
    --text-gray: #718096;            /* muted text */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--black-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== STEP SECTION ========== */
.process-section {
    background: linear-gradient(180deg, #fff7db 0%, #ffffff 100%);
    padding: 100px 0;
}

.process-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 12px;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-card {
    background: #ffffff; /* solid white for contrast */
    border-radius: 30px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    border: 3px solid #fde68a; /* light yellow border */
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 25px 60px rgba(245, 158, 11, 0.25);
}

.process-card img {
    width: 90px;
    margin-bottom: 20px;
}

.process-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.process-card p {
    font-size: 14px;
    color: #6b7280;
}

.step {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #fb923c);
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
}


/* ========== STEP SECTION ========== */


/* ========== HERO SECTION ========== */
.hero-section-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black-bg);
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(253,185,19,0.05) 100%);
    z-index: 2;
}

.hero-bg-animated {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(253,185,19,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253,185,19,0.05) 0%, transparent 50%);
    z-index: 1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-section-new .container {
    position: relative;
    z-index: 3;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(253,185,19,0.1);
    border: 1px solid rgba(253,185,19,0.3);
    border-radius: 50px;
    color: var(--yellow-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow-primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title-new {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-new {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-stats-inline {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-inline-item {
    display: flex;
    flex-direction: column;
}

.stat-inline-item strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--yellow-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-inline-item span {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: var(--yellow-primary);
    color: var(--black-bg);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--yellow-primary);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(253,185,19,0.4);
    color: var(--black-bg);
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover i {
    transform: translateX(5px);
}

/* ========== ABOUT SECTION ========== */
.about-section-new {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

.about-image-wrapper-new {
    position: relative;
    padding: 30px;
}

.about-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(253,185,19,0.2) 0%, transparent 70%);
    filter: blur(60px);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.about-img-new {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    border: 1px solid var(--dark-border);
    transition: all 0.4s ease;
}

.about-img-new:hover {
    transform: scale(1.02);
}

.about-floating-card {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    border: 2px solid var(--yellow-primary);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    box-shadow: 0 15px 40px rgba(253,185,19,0.3);
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(253,185,19,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-primary);
    font-size: 1.5rem;
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-card-text strong {
    font-size: 1.2rem;
    color: var(--yellow-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.floating-card-text span {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.about-content-new {
    padding-left: 40px;
}

.section-tag-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(253,185,19,0.08);
    border: 1px solid rgba(253,185,19,0.2);
    border-radius: 50px;
    color: var(--yellow-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-icon {
    color: var(--yellow-primary);
}

.section-heading-new {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient-new {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-para-new {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 1rem;
}

.feature-check-item i {
    color: var(--yellow-primary);
    font-size: 1.2rem;
}

.about-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-new {
    display: inline-block;
    padding: 16px 40px;
    background: var(--yellow-primary);
    color: var(--black-bg);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--yellow-primary);
    transition: all 0.3s ease;
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(253,185,19,0.4);
    color: var(--black-bg);
}

.btn-outline-new {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--yellow-primary);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--yellow-primary);
    transition: all 0.3s ease;
}

.btn-outline-new:hover {
    background: var(--yellow-primary);
    color: var(--black-bg);
}

/* ========== WHY US SECTION ========== */
.why-us-section-new {
    padding: 120px 0;
    background: var(--dark-card);
    position: relative;
}

.why-us-section-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(253,185,19,0.02) 80px, rgba(253,185,19,0.02) 81px),
        repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(253,185,19,0.02) 80px, rgba(253,185,19,0.02) 81px);
    pointer-events: none;
}

.why-card-new {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 35px 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253,185,19,0.1), transparent);
    transition: left 0.6s;
}

.why-card-new:hover::before {
    left: 100%;
}

.why-card-new:hover {
    transform: translateY(-8px);
    border-color: var(--yellow-primary);
    box-shadow: 0 20px 50px rgba(253,185,19,0.2);
}

.why-card-icon {
    width: 70px;
    height: 70px;
    background: rgba(253,185,19,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-primary);
    font-size: 2rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.why-card-new:hover .why-card-icon {
    background: var(--yellow-primary);
    color: var(--black-bg);
    transform: scale(1.1) rotate(5deg);
}

.why-card-new h4 {
    font-size: 1.4rem;
    color: var(--yellow-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card-new p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.why-center-image {
    text-align: center;
    position: relative;
}

.why-center-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 50px rgba(253,185,19,0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========== INSTRUMENTS SECTION ========== */
.instruments-section-new {
    padding: 120px 0;
    background: var(--dark-bg);
}

.instrument-card-new {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.instrument-card-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--yellow-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.instrument-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--yellow-primary);
    box-shadow: 0 25px 60px rgba(253,185,19,0.25);
}

.instrument-card-new:hover::after {
    transform: scaleX(1);
}

.instrument-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(253,185,19,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.instrument-card-new:hover .instrument-icon-box {
    background: rgba(253,185,19,0.15);
    border-color: var(--yellow-primary);
    transform: scale(1.1);
}

.instrument-icon-box img {
    width: 60px;
    height: 60px;
}

.instrument-content {
    text-align: center;
    flex: 1;
}

.instrument-content h5 {
    font-size: 1.5rem;
    color: var(--yellow-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.instrument-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.instrument-arrow {
    width: 45px;
    height: 45px;
    background: rgba(253,185,19,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-primary);
    margin: 0 auto;
    transition: all 0.4s ease;
}

.instrument-card-new:hover .instrument-arrow {
    background: var(--yellow-primary);
    color: var(--black-bg);
    transform: translateX(5px);
}

/* ========== IB SECTION ========== */
.ib-section-new {
    padding: 120px 0;
    background: var(--dark-card);
    position: relative;
}

.ib-card-new {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 40px 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ib-card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253,185,19,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.ib-card-new:hover .ib-card-shine {
    opacity: 1;
}

.ib-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--yellow-primary);
    box-shadow: 0 25px 60px rgba(253,185,19,0.25);
}

.ib-card-header {
    margin-bottom: 25px;
}

.ib-icon-new {
    width: 80px;
    height: 80px;
    background: rgba(253,185,19,0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ib-card-new:hover .ib-icon-new {
    background: rgba(253,185,19,0.15);
    transform: scale(1.1);
}

.ib-icon-new img {
    width: 50px;
    height: 50px;
}

.ib-card-body p {
    font-size: 1.05rem;
    color: var(--black-bg);
    line-height: 1.7;
    margin: 0;
}

.ib-card-new:hover .ib-card-body p {
    color: var(--text-light);
}

/* ========== OWL CAROUSEL ========== */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(253,185,19,0.1) !important;
    border: 2px solid var(--yellow-primary) !important;
    border-radius: 50%;
    color: var(--yellow-primary) !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -70px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -70px;
}

.owl-carousel .owl-nav button:hover {
    background: var(--yellow-primary) !important;
    color: var(--black-bg) !important;
}

.owl-dots {
    text-align: center;
    margin-top: 40px;
}

.owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(253,185,19,0.2);
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: var(--yellow-primary);
    width: 35px;
    border-radius: 6px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-section-new {
        min-height: 80vh;
        padding: 80px 0;
    }

    .about-content-new {
        padding-left: 0;
        margin-top: 40px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-buttons {
        flex-direction: column;
    }

    .btn-primary-new,
    .btn-outline-new {
        width: 100%;
        text-align: center;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .hero-stats-inline {
        gap: 25px;
    }

    .stat-inline-item strong {
        font-size: 1.5rem;
    }

    .why-card-left,
    .why-card-right {
        margin-bottom: 20px;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-light);
}

/* ========== SELECTION ========== */
::selection {
    background: var(--yellow-primary);
    color: var(--black-bg);
}

/* new css */

/* =====================================================
   TRADMINT - ENHANCED SECTIONS CSS
   Complete styling for all sections with modern design
===================================================== */

/* ========== STATS/COUNTER SECTION ========== */
.stats-clean-section {
    background: var(--black-bg);
    position: relative;
    padding: 100px 0 !important;
}

.stats-clean-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(253,185,19,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(253,185,19,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-clean-section .container {
    position: relative;
    z-index: 2;
}

.clean-box {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.clean-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow-primary), var(--yellow-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.clean-box:hover::before {
    transform: scaleX(1);
}

.clean-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(253,185,19,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.clean-box:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.clean-box:hover {
    transform: translateY(-15px);
    border-color: rgba(253,185,19,0.5);
    box-shadow: 
        0 25px 60px rgba(253,185,19,0.2),
        0 0 0 1px rgba(253,185,19,0.1) inset;
}

.clean-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    filter: drop-shadow(0 10px 20px rgba(253,185,19,0.3));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.clean-box:hover .clean-icon {
    transform: scale(1.15) rotateY(360deg);
}

.clean-box h3 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.clean-box p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.clean-box:hover p {
    color: var(--text-light);
}

/* ========== HOW IT WORKS / TIMELINE SECTION ========== */
.page-section {
    padding: 120px 0;
    background: var(--dark-bg);
    position: relative;
}

.page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(253,185,19,0.01) 100px, rgba(253,185,19,0.01) 101px),
        repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(253,185,19,0.01) 100px, rgba(253,185,19,0.01) 101px);
}

.page-section .bg-secondary {
    background: rgba(253,185,19,0.1) !important;
    border: 1px solid rgba(253,185,19,0.3);
}

.page-section .text-primary {
    color: var(--yellow-primary) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.page-section .display-6 {
    color: var(--yellow-primary);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-section p {
    color: var(--black-bg) !important;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========== TIMELINE - FIXED FOR PROPER LEFT-RIGHT LAYOUT ========== */
/* ========== TIMELINE - FIXED FOR PROPER LEFT-RIGHT LAYOUT ========== */
.timeline {
    position: relative !important;
    padding: 50px 0 !important;
    list-style: none !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* VERTICAL CENTER LINE */
.timeline:before {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 3px !important;
    margin-left: -1.5px !important;
    content: "" !important;
    background: linear-gradient(180deg, #FDB913, rgba(253,185,19,0.3)) !important;
    z-index: 0 !important;
}

.timeline > li {
    position: relative !important;
    min-height: 150px !important;
    margin-bottom: 100px !important;
}

.timeline > li:after,
.timeline > li:before {
    display: table !important;
    content: " " !important;
}

.timeline > li:after {
    clear: both !important;
}

/* ========== LEFT SIDE PANELS (Normal <li>) ========== */
.timeline > li .timeline-panel {
    position: relative !important;
    width: 45% !important;
    float: left !important;
    text-align: right !important;
    padding: 0 30px 0 0 !important;
}

/* Arrow pointing right */
.timeline > li .timeline-panel:before {
    content: "" !important;
    position: absolute !important;
    top: 26px !important;
    right: -15px !important;
    left: auto !important;
    display: inline-block !important;
    border-top: 15px solid transparent !important;
    border-left: 15px solid rgba(253,185,19,0.1) !important;
    border-right: 0 !important;
    border-bottom: 15px solid transparent !important;
}

.timeline > li .timeline-panel:after {
    content: "" !important;
    position: absolute !important;
    top: 27px !important;
    right: -14px !important;
    left: auto !important;
    display: inline-block !important;
    border-top: 14px solid transparent !important;
    border-left: 14px solid #0a0a0a !important;
    border-right: 0 !important;
    border-bottom: 14px solid transparent !important;
}

/* ========== CENTER CIRCLES ========== */
.timeline > li .timeline-image {
    position: absolute !important;
    z-index: 100 !important;
    left: 50% !important;
    top: 0 !important;
    width: 120px !important;
    height: 120px !important;
    margin-left: -60px !important;
    text-align: center !important;
    border: 5px solid #FDB913 !important;
    border-radius: 100% !important;
    background: #111111 !important;
    box-shadow: 0 0 30px rgba(253,185,19,0.5), 0 0 60px rgba(253,185,19,0.3) !important;
    transition: all 0.4s ease !important;
    overflow: hidden !important;
}

.timeline > li:hover .timeline-image {
    transform: scale(1.15) !important;
    box-shadow: 0 0 50px rgba(253,185,19,0.7), 0 0 80px rgba(253,185,19,0.4) !important;
}

.timeline > li .timeline-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* ========== RIGHT SIDE PANELS (Inverted <li>) ========== */
.timeline > li.timeline-inverted > .timeline-panel {
    width: 45% !important;
    float: right !important;
    text-align: left !important;
    padding: 0 0 0 30px !important;
}

/* Arrow pointing left */
.timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto !important;
    left: -15px !important;
    border-left: 0 !important;
    border-right: 15px solid rgba(253,185,19,0.1) !important;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto !important;
    left: -14px !important;
    border-left: 0 !important;
    border-right: 14px solid #0a0a0a !important;
}

/* ========== CONTENT STYLING ========== */
.timeline-heading h4,
.timeline-heading .subheading {
    margin: 0 !important;
    color: #FDB913 !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 20px rgba(253,185,19,0.3) !important;
}

.timeline-body p {
    font-size: 1.1rem !important;
    color: #9e9e9e !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* ========== CONNECTOR DOTS ========== */
.timeline > li::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50px !important;
    width: 12px !important;
    height: 12px !important;
    background: #FDB913 !important;
    border-radius: 50% !important;
    margin-left: -6px !important;
    z-index: 5 !important;
    box-shadow: 0 0 0 4px rgba(253,185,19,0.2) !important;
}

/* ========== HOVER EFFECTS ========== */
.timeline > li:hover .timeline-panel {
    background: rgba(253,185,19,0.03) !important;
    border-radius: 12px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.timeline > li.timeline-inverted:hover .timeline-panel {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* ========== BUTTON STYLING ========== */
.page-section .btn-primary {
    background: #FDB913 !important;
    border: 2px solid #FDB913 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 16px 50px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
}

.page-section .btn-primary:hover {
    background: transparent !important;
    color: #FDB913 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(253,185,19,0.4) !important;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 991px) {
    .timeline:before {
        left: 60px !important;
        margin-left: 0 !important;
    }

    .timeline > li .timeline-image {
        left: 60px !important;
        margin-left: 0 !important;
        width: 100px !important;
        height: 100px !important;
    }

    .timeline > li .timeline-panel,
    .timeline > li.timeline-inverted > .timeline-panel {
        width: calc(100% - 140px) !important;
        float: right !important;
        text-align: left !important;
        padding: 0 0 0 140px !important;
    }

    .timeline > li .timeline-panel:before,
    .timeline > li.timeline-inverted > .timeline-panel:before {
        left: -15px !important;
        right: auto !important;
        border-left: 0 !important;
        border-right: 15px solid rgba(253,185,19,0.1) !important;
    }

    .timeline > li .timeline-panel:after,
    .timeline > li.timeline-inverted > .timeline-panel:after {
        left: -14px !important;
        right: auto !important;
        border-left: 0 !important;
        border-right: 14px solid #0a0a0a !important;
    }

    .timeline > li::before {
        left: 60px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .timeline:before {
        left: 50px !important;
    }

    .timeline > li .timeline-image {
        left: 50px !important;
        width: 80px !important;
        height: 80px !important;
        border-width: 3px !important;
    }

    .timeline > li .timeline-panel,
    .timeline > li.timeline-inverted > .timeline-panel {
        width: calc(100% - 120px) !important;
        padding: 0 0 0 120px !important;
    }

    .timeline-heading h4,
    .timeline-heading .subheading {
        font-size: 1.5rem !important;
    }

    .timeline-body p {
        font-size: 1rem !important;
    }

    .timeline > li::before {
        left: 50px !important;
        width: 10px !important;
        height: 10px !important;
        margin-left: -5px !important;
    }
}

@media (max-width: 576px) {
    .timeline:before {
        left: 40px !important;
    }

    .timeline > li .timeline-image {
        left: 40px !important;
        width: 70px !important;
        height: 70px !important;
    }

    .timeline > li .timeline-panel,
    .timeline > li.timeline-inverted > .timeline-panel {
        width: calc(100% - 100px) !important;
        padding: 0 0 0 100px !important;
    }

    .timeline-heading h4,
    .timeline-heading .subheading {
        font-size: 1.3rem !important;
    }

    .timeline > li::before {
        left: 40px !important;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline > li {
    opacity: 0 !important;
    animation: fadeInUp 0.6s ease-out forwards !important;
}

.timeline > li:nth-child(1) { animation-delay: 0.1s !important; }
.timeline > li:nth-child(2) { animation-delay: 0.2s !important; }
.timeline > li:nth-child(3) { animation-delay: 0.3s !important; }
.timeline > li:nth-child(4) { animation-delay: 0.4s !important; }

/* ========== CUSTOMER SUPPORT SECTION ========== */
.customer {
    background: linear-gradient(38deg, rgb(244 158 49) 0%, rgb(255 255 255 / 85%) 100%),
                url('../img/forex-video.mp4') center/cover;
    position: relative;
    overflow: hidden;
}

.customer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0,0,0,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.2) 0%, transparent 50%);
    animation: pulseOverlay 8s ease-in-out infinite;
}

@keyframes pulseOverlay {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.customer .container {
    position: relative;
    z-index: 2;
}

.customer h1 {
    color: var(--black-bg) !important;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.customer p {
    color: var(--black-bg) !important;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.customer .btn-primary {
    background: var(--black-bg);
    border: 2px solid var(--black-bg);
    color: var(--yellow-primary);
    font-weight: 700;
    padding: 16px 50px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.customer .btn-primary:hover {
    background: transparent;
    color: var(--black-bg);
    border-color: var(--black-bg);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ========== FUNDING METHOD SECTION ========== */
.funding-method {
    background: var(--dark-card);
    position: relative;
}

.funding-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(253,185,19,0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(253,185,19,0.03) 0%, transparent 50%);
}

.funding-method .bg-secondary {
    background: rgba(253,185,19,0.1) !important;
    border: 1px solid rgba(253,185,19,0.3);
}

.funding-method .text-primary {
    color: var(--yellow-primary) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.funding-method .display-6 {
    color: var(--yellow-primary);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.funding-method p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.funding-method img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s ease;
    padding: 20px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
}

.funding-method img:hover {
    filter: grayscale(0%) brightness(1);
    transform: translateY(-10px) scale(1.05);
    border-color: var(--yellow-primary);
    box-shadow: 0 20px 50px rgba(253,185,19,0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-bg);
    border-top: 2px solid var(--dark-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow-primary), transparent);
}

.footer h5 {
    color: var(--yellow-primary) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--yellow-primary);
}

.footer p,
.footer .btn-link {
    color: var(--text-gray) !important;
    transition: all 0.3s ease;
}

.footer .btn-link:hover {
    color: var(--yellow-primary) !important;
    padding-left: 10px;
}

.footer .btn-link i {
    color: var(--yellow-primary);
}

.copyright {
    background: var(--black-bg);
    border-top: 1px solid var(--dark-border);
    padding: 25px 0;
}

.copyright a {
    color: var(--yellow-primary) !important;
    font-weight: 700;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--yellow-primary) !important;
    border: 2px solid var(--yellow-primary) !important;
    color: var(--black-bg) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(253,185,19,0.4);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(253,185,19,0.6);
}

/* ========== GLOBAL BUTTON STYLES ========== */
.btn-primary {
    background: var(--yellow-primary) !important;
    border: 2px solid var(--yellow-primary) !important;
    color: var(--black-bg) !important;
    font-weight: 700;
    padding: 14px 40px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: transparent !important;
    color: var(--yellow-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(253,185,19,0.4);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 991px) {
    .timeline:before {
        left: 60px;
    }

    .timeline > li > .timeline-panel {
        width: calc(100% - 140px);
        padding: 0 20px 0 120px;
    }

    .timeline > li > .timeline-image {
        left: 60px;
        width: 100px;
        height: 100px;
        margin-left: 0;
    }

    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 0 120px;
    }

    .clean-box {
        margin-bottom: 30px;
    }

    .stats-clean-section {
        padding: 60px 0 !important;
    }

    .page-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .clean-box h3 {
        font-size: 2.5rem;
    }

    .timeline-heading h4 {
        font-size: 1.5rem;
    }

    .customer h1 {
        font-size: 2rem !important;
    }

    .funding-method img {
        margin-bottom: 20px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clean-box,
.timeline > li {
    animation: fadeInUp 0.6s ease-out forwards;
}

.clean-box:nth-child(1) { animation-delay: 0.1s; }
.clean-box:nth-child(2) { animation-delay: 0.2s; }
.clean-box:nth-child(3) { animation-delay: 0.3s; }
.clean-box:nth-child(4) { animation-delay: 0.4s; }

/* ========== SMOOTH SCROLLING ========== */
html {
    scroll-behavior: smooth;
}

/* ========== LOADING STATES ========== */
.clean-box,
.timeline-panel,
.funding-method img {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* new css end*/

/* header css */
/* =====================================================
   TRADMINT - HEADER & NAVIGATION FIX CSS
   Fixes for topbar, navigation, and timeline sections
===================================================== */

/* ========== TOPBAR FIXES ========== */
.topbar {
    background: #000000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(253, 185, 19, 0.1);
    position: relative;
    z-index: 1000;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-left span,
.topbar-left a {
    color: #e8e8e8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar-left a:hover {
    color: #FDB913;
}

.topbar-left i {
    color: #FDB913;
}

.topbar-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-btn {
    background: transparent;
    border: 1px solid rgba(253, 185, 19, 0.3);
    color: #FDB913;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-btn:hover {
    background: rgba(253, 185, 19, 0.1);
    border-color: #FDB913;
    color: #FDB913;
}

.top-btn-outline {
    background: #FDB913;
    border: 1px solid #FDB913;
    color: #000000;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-btn-outline:hover {
    background: transparent;
    color: #FDB913;
    transform: translateY(-2px);
}

/* ========== MAIN NAVIGATION FIXES ========== */
.main-nav {
    background: #0a0a0a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(253, 185, 19, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-nav .navbar {
    padding: 15px 0;
}

.main-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: #e8e8e8;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    height: 2px;
    background: #FDB913;
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: calc(100% - 36px);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #FDB913;
}

.dropdown-menu {
    background: #111111;
    border: 1px solid rgba(253, 185, 19, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
    color: #e8e8e8;
    font-size: 0.9rem;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(253, 185, 19, 0.1);
    color: #FDB913;
    padding-left: 25px;
}

.navbar-toggler {
    border: 2px solid #FDB913;
    padding: 8px 12px;
    border-radius: 4px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.2);
}

/* ========== TIMELINE VERTICAL LINE FIX ========== */
.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    content: "";
    background: linear-gradient(180deg, #FDB913 0%, rgba(253, 185, 19, 0.3) 100%);
    z-index: 1;
}

.timeline > li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 50%;
    width: 120px;
    height: 120px;
    margin-left: -60px;
    text-align: center;
    border: 5px solid #FDB913;
    border-radius: 100%;
    background: #111111;
    box-shadow: 0 0 30px rgba(253, 185, 19, 0.4);
    transition: all 0.4s ease;
}

.timeline > li:hover .timeline-image {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(253, 185, 19, 0.6);
    border-color: #FFD54F;
}

/* Timeline Text Alignment Fix */
.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 100px 0 20px;
    text-align: left;
}

.timeline-heading h4 {
    margin-top: 0;
    color: #FDB913;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-body p {
    font-size: 1.1rem;
    color: #9e9e9e;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========== INSTRUMENTS CAROUSEL ARROW FIXES ========== */
.instruments-carousel-new .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(253, 185, 19, 0.1) !important;
    border: 2px solid #FDB913 !important;
    border-radius: 50%;
    color: #FDB913 !important;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instruments-carousel-new .owl-nav button.owl-prev {
    left: -25px;
}

.instruments-carousel-new .owl-nav button.owl-next {
    right: -25px;
}

.instruments-carousel-new .owl-nav button:hover {
    background: #FDB913 !important;
    color: #000000 !important;
    transform: translateY(-50%) scale(1.1);
}

.instruments-carousel-new .owl-nav button span {
    line-height: 1;
}

/* ========== RESPONSIVE FIXES ========== */
@media (max-width: 991px) {
    .topbar {
        padding: 10px 0;
    }
    
    .topbar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .topbar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .topbar-right {
        flex-direction: column;
        width: 100%;
    }
    
    .top-btn,
    .top-btn-outline {
        width: 100%;
        padding: 10px 20px;
    }
    
    .main-logo {
        height: 40px;
    }
    
    .navbar-collapse {
        background: #0a0a0a;
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
        border: 1px solid rgba(253, 185, 19, 0.2);
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(253, 185, 19, 0.1);
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        background: #000000;
        border: none;
        padding: 10px 0 10px 20px;
        margin-top: 0;
        box-shadow: none;
    }
    
    /* Timeline Mobile Fix */
    .timeline:before {
        left: 60px;
    }
    
    .timeline > li > .timeline-panel {
        width: calc(100% - 140px);
        padding: 0 20px 0 120px;
    }
    
    .timeline > li > .timeline-image {
        left: 60px;
        width: 100px;
        height: 100px;
        margin-left: 0;
    }
    
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 0 120px;
    }
    
    .timeline-heading h4 {
        font-size: 1.5rem;
    }
    
    .timeline-body p {
        font-size: 1rem;
    }
    
    /* Instruments Carousel Mobile */
    .instruments-carousel-new .owl-nav button.owl-prev {
        left: 5px;
    }
    
    .instruments-carousel-new .owl-nav button.owl-next {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .topbar-left span,
    .topbar-left a {
        font-size: 0.8rem;
    }
    
    .main-logo {
        height: 35px;
    }
    
    .timeline > li > .timeline-image {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .timeline-heading h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .topbar {
        display: none; /* Hide topbar on very small screens to save space */
    }
    
    .main-nav .navbar {
        padding: 10px 0;
    }
}

/* ========== ADDITIONAL GLOBAL FIXES ========== */
/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fix for any overflow issues */
body {
    overflow-x: hidden;
}

/* Make sure all sections are visible */
section,
div[class*="section"] {
    position: relative;
    z-index: 1;
}

/* Prevent layout shifts */
* {
    box-sizing: border-box;
}

/* Fix for images that might overflow */
img {
    max-width: 100%;
    height: auto;
}

/* ========== Z-INDEX HIERARCHY FIX ========== */
.topbar {
    z-index: 1001;
}

.main-nav {
    z-index: 1000;
}

.hero-section-new {
    z-index: 1;
}

.back-to-top {
    z-index: 999;
}

/* ========== LOADING FIX ========== */
/* Ensure elements load properly */
.stats-clean-section,
.page-section,
.instruments-section-new {
    opacity: 1 !important;
}

.clean-box,
.timeline > li {
    opacity: 1 !important;
}