/* =============================================
   TRIBES OF FOREX - CLEAN CSS (Blue-Purple Dark Theme)
   Refactored: No duplicates, organized, fully responsive
   ============================================= */

/* ---------------------------------------------
   GLOBAL VARIABLES & RESET
--------------------------------------------- */
:root {
    --accent-blue: #00aaff;
    --accent-purple: #a78bfa;
    --dark-blue: #0a2540;
    --deep-purple: #1e1b4b;
    --bg-dark: #0f172a;
    --text-light: #e0f2fe;
    --text-muted: #94a3b8;
    --warning-yellow: #ffd700; /* kept for contrast */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------------------------------------------
   NAVBAR
--------------------------------------------- */
.navbar {
    position: fixed;           /* or sticky – ensure it's positioned */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;             /* base z-index – we'll lower it later for popups */
    transition: transform 0.3s ease;
}

/* Hidden state – slide up out of view */
.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.171) !important;
    box-shadow: 0 4px 20px rgba(0, 170, 255, 0.25);
}

.navbar-brand {
    background: linear-gradient(90deg, #00aaff, #a78bfa);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.navbar-nav{
    background: linear-gradient(90deg, #00aaff, #a78bfa);
    background-clip: text;
}


.nav-link {
    color: #00aaff !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-purple) !important;
}

.btn-warning {
    background: linear-gradient(90deg, #00aaff, #a78bfa) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
    transition: all 0.4s ease;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.7);
}

/* ---------------------------------------------
   HERO SECTION
--------------------------------------------- */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0a2540;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.644) 0%,
        rgba(30, 27, 75, 0.61) 45%,
        rgba(10, 37, 64, 0.575) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 18vh;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 6.2rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 0.95;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #a78bfa, #00aaff, #a78bfa);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-flow 6s linear infinite;
    margin-top: 5rem; /* adjust as needed */
}

@keyframes gradient-flow {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}


.hero-title1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 0.95;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #bcaaf1, #00aaff, #bcaaf1);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-flow 6s linear infinite;
}

@keyframes gradient-flow {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}



/* ---------------------------------------------
   QUOTE SECTION
--------------------------------------------- */
#quote {
    background: linear-gradient(135deg, #0a2540, #1e1b4b) !important;
    border-top: 3px solid var(--accent-blue);
    border-bottom: 3px solid var(--accent-purple);
}

#quote1 {
    background: linear-gradient(135deg, #030014 )!important;
}

video {
    border-radius: 20px;   /* smooth rounded edges */
}

/* ---------------------------------------------
   GENERAL SECTIONS
--------------------------------------------- */
section {
    padding: 10px 0;
}

.bg-dark, .bg-black {
    background: #0f172a !important;
}

.text-warning {
    color: var(--accent-blue) !important;
}

.lead {
    font-size: 1.25rem;
    color: #bae6fd;
}

/* ---------------------------------------------
   REELS
--------------------------------------------- */


.reel-video {
    aspect-ratio: 8 / 14;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--accent-purple);
    box-shadow: 0 0 35px rgba(167, 139, 250, 0.4);
    transition: transform 0.4s ease;
}

.reel-video:hover {
    transform: scale(1.05);
}

.reel-video video {
    width: 110%;
    height: 110%;
    object-fit: fill;
}

.reel-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 37, 64, 0.9);
    color: var(--accent-blue);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid var(--accent-purple);
}

 .instagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    width: 100%;
  }

  .instagram-link {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50px;
    padding: 2px; /* for gradient border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  }

  .instagram-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s ease;
  }

  .instagram-link:hover .instagram-content {
    background: rgba(255, 255, 255, 0.95);
  }

  .instagram-icon {
    color: #E4405F;
    transition: transform 0.3s ease;
  }

  .instagram-link:hover .instagram-icon {
    transform: scale(1.1);
  }

  .instagram-text {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #262626;
    letter-spacing: 0.3px;
  }

  .arrow-icon {
    color: #262626;
    transition: transform 0.3s ease;
  }

  .instagram-link:hover .arrow-icon {
    transform: translateX(5px);
  }

  @media (max-width: 600px) {
    .instagram-content {
      padding: 10px 20px;
      gap: 8px;
    }
    .instagram-text {
      font-size: 0.9rem;
    }
  }


/* ====================== FIXED & ENHANCED CSS Money managment ====================== */
/* ---- SECTION BACKGROUND (image + blur, no effect on inner elements) ---- */
    .money-management-section {
        position: relative;
        width: 100%;
        min-height: 400px;          /* adjust as needed */
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
        /* Ensure any overflow is hidden so pseudo-element stays contained */
        overflow: hidden;
        background: transparent;     /* we use pseudo-element for bg */
    }

    /* Blurred background image (pseudo-element) */
    .money-management-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(assets/Images/gif2.gif);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(5px);          /* small blur effect */
        transform: scale(1.02);     /* avoids white edges on blur */
        z-index: 0;
        opacity: 0.9;
    }

    /* ---- MEDIUM CONTAINER (clickable card) ---- */
    .money-management-section .risk-trigger-card {
        position: relative;
        width: 340px;               /* medium size */
        max-width: 85vw;
        min-height: 200px;
        background: rgba(10, 15, 25, 0.85);   /* solid dark background with slight transparency */
        border-radius: 2rem;
        cursor: pointer;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.3s ease;
        box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6);
        z-index: 2;                 /* above the section's blurred background */
        backdrop-filter: blur(2px); /* optional extra depth */
    }

    /* hover effect */
    .money-management-section .risk-trigger-card:hover {
        transform: scale(1.02);
        box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.8);
    }

    /* COLOUR MIXTURE ANIMATION (overlay on the container) */
    .money-management-section .risk-trigger-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(125deg,
            rgba(255, 80, 120, 0.6),
            rgba(255, 180, 40, 0.6),
            rgba(80, 200, 255, 0.6),
            rgba(200, 80, 240, 0.6),
            rgba(255, 80, 120, 0.6));
        background-size: 400% 400%;
        z-index: 1;
        pointer-events: none;       /* allows clicking through to the card */
        border-radius: 2rem;
        animation: richColorMix 12s ease infinite;
        mix-blend-mode: overlay;    /* blends with the solid background for vibrant effect */
    }

    /* keyframes for colour mixture animation */
    @keyframes richColorMix {
        0% { background-position: 0% 50%; }
        25% { background-position: 50% 25%; }
        50% { background-position: 100% 50%; }
        75% { background-position: 50% 75%; }
        100% { background-position: 0% 50%; }
    }

    /* inner text styling */
    .money-management-section .trigger-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem 1.5rem;
        color: #ffffff;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .money-management-section .trigger-content h3 {
        font-size: 1.85rem;
        margin: 0 0 0.5rem 0;
        font-weight: 800;
        background: linear-gradient(135deg, #fff, #ffe6b0);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        text-shadow: none;
    }

    .money-management-section .trigger-content p {
        font-size: 0.9rem;
        margin-bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        padding: 0.3rem 1rem;
        border-radius: 40px;
        backdrop-filter: blur(4px);
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .money-management-section .click-hint {
        margin-top: 12px;
        font-size: 0.75rem;
        background: rgba(0, 0, 0, 0.5);
        display: inline-block;
        padding: 4px 12px;
        border-radius: 50px;
    }

    /* ---- MODAL CUSTOMISATIONS (to match the original table style) ---- */
    .modal-content {
        background: #0f1219;
        border: 1px solid #ffc10740;
        border-radius: 1.2rem;
    }
    .modal-header {
        border-bottom-color: #ffc10730;
        background: #0a0e14;
    }
    .modal-footer {
        border-top-color: #ffc10730;
        background: #0a0e14;
    }
    .table-dark {
        background-color: #11151f;
    }
    .table-warning {
        background-color: #ffc107 !important;
        color: #0a0f18;
    }
    .risk-note {
        background: #1a1f2b;
        padding: 12px 16px;
        border-radius: 14px;
        margin-top: 20px;
        border-left: 4px solid #ffc107;
        font-size: 0.85rem;
    }

    /* responsive tweaks */
    @media (max-width: 480px) {
        .money-management-section .risk-trigger-card {
            width: 280px;
            min-height: 170px;
        }
        .money-management-section .trigger-content h3 {
            font-size: 1.5rem;
        }
    }
/* ---------------------------------------------
   STATS
--------------------------------------------- */
/* Enhanced Visibility for Notes & Stats Section */
.bg-dark {
    background-color: #0f0f0f !important;   /* Very dark background */
}

#stats .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgb(0, 0, 22);   /* Glow effect on numbers */
    transition: all 0.6s ease;
}

#stats .stat-number:hover {
    transform: scale(1.08);
    text-shadow: 0 0 25px rgba(7, 255, 222, 0.6);
}

.list-group-item {
    background-color: rgba(11, 153, 219, 0.089) !important;
    border-left: 4px solid #23cffa !important;
    margin-bottom: 12px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: rgba(35, 255, 255, 0.534) !important;
    transform: translateX(8px);
}

.text-warning {
    color: #23cffa !important;
}

/* Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
}
/* ---------------------------------------------
   TESTIMONIALS CAROUSEL
--------------------------------------------- */
.carousel-item p {
    font-size: 1.35rem;
    color: #bae6fd;
}

.carousel-control-prev, .carousel-control-next {
    filter: brightness(0) invert(1);
}





/* ---------------------------------------------
   REVIEWS SECTION (Two‑column layout)
--------------------------------------------- */
.review-section {
    max-width: 1100px;
    margin: 60px auto;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h2 {
    color: #a78bfa;
    font-size: 2rem;
    margin-bottom: 8px;
}

.average-rating {
    font-size: 1.35rem;
    font-weight: 700;
    color: #67e8f9;
    background: rgba(103, 232, 249, 0.15);
    padding: 10px 24px;
    border-radius: 9999px;
    border: 1px solid #67e8f9;
    display: inline-block;
}

.reviews-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left side – form */
.review-form {
    background: rgba(30, 27, 75, 0.85);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.review-form h3 {
    color: #bae6fd;
    margin-bottom: 20px;
    text-align: center;
}

.stars {
    font-size: 38px;
    color: #555;
    cursor: pointer;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star {
    transition: all 0.3s ease;
}

.star:hover,
.star.active {
    color: #ffd700;
    transform: scale(1.25);
}

#selected-rating {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    margin: 10px 0;
    background: #1e2937;
    border: 2px solid #64748b;
    border-radius: 12px;
    color: #e0f2fe;
    font-size: 1.02rem;
}

input:focus, textarea:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.25);
    outline: none;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.error {
    color: #f87171;
    font-size: 0.95rem;
    margin: 4px 0 10px;
}

#submit-btn {
    background: linear-gradient(90deg, #00aaff, #a78bfa);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.4s ease;
}

#submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.5);
}

/* Right side – reviews list */
.reviews-container {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 12px;
}

.review {
    background: rgba(30, 27, 75, 0.7);
    border: 1px solid #64748b;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.review:hover {
    border-color: #a78bfa;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.25);
}

.review strong {
    color: #ffd700;
    font-size: 1.3rem;
}

.review small {
    color: #94a3b8;
    display: block;
    margin: 6px 0 10px;
    font-size: 0.95rem;
}

.review p {
    color: #e0f2fe;
    margin: 0;
    line-height: 1.55;
}

/* Scrollbar (global for reviews & elsewhere) */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#a78bfa, #00aaff);
    border-radius: 10px;
}

/* ---------------------------------------------
   FOOTER
--------------------------------------------- */
footer {
    background: #0a1428 !important;
    -webkit-text-fill-color: #f1f3f8d9;
    border-top: 2px solid var(--accent-purple);
}

/* ---------------------------------------------
   FLOATING TELEGRAM BUTTON
--------------------------------------------- */
/* Floating Social Buttons Container */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Individual Floating Button */
.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.15) rotate(12deg);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.5);
}

/* Instagram Button */
.floating-ig {
    background: linear-gradient(135deg, #f56040, #c13584, #833ab4, #405de6);
    box-shadow: 0 0 30px rgba(245, 96, 64, 0.6);
}

.floating-ig:hover {
    box-shadow: 0 0 45px rgba(245, 96, 64, 0.9);
}

/* Twitter (X) Button */
.floating-x {
    background: linear-gradient(135deg, #000000, #1DA1F2);
    box-shadow: 0 0 30px rgba(29, 161, 242, 0.6);
}

.floating-x:hover {
    box-shadow: 0 0 45px rgba(29, 161, 242, 0.9);
}


/* Facebook Button */
.floating-fb {
    background: linear-gradient(135deg, #1877f2, #0a66c2);
    box-shadow: 0 0 30px rgba(24, 119, 242, 0.6);
}

.floating-fb:hover {
    box-shadow: 0 0 45px rgba(24, 119, 242, 0.9);
}

/* Optional: Keep your Telegram button style */
.floating-help {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
}

.floating-tg:hover {
    transform: scale(1.15) rotate(12deg);
    box-shadow: 0 0 45px rgba(167, 139, 250, 0.9);
}


/* ---------------------------------------------
   TUTORIAL SECTION
--------------------------------------------- */


/* =============================================
   TUTORIAL SECTION - Keep your previous animations
============================================= */

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: 0;
}

.tutorial-section {
    padding: 3rem 1rem;
}

.section-title {
    color: #ffdd99;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.card-tutorial {
    position: relative;
    border-radius: 1.5rem;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.card-tutorial::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, #00aaff, #7b2ff7, #00aaff);
    background-size: 300% 300%;
    opacity: 0.25;
    animation: gradientMove 8s ease infinite;
    z-index: 0;
}

.card-tutorial::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: inherit;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-tutorial:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 0 30px rgba(0, 170, 255, 0.6),
        0 0 60px rgba(123, 47, 247, 0.6),
        0 15px 40px rgba(0, 0, 0, 0.6);
}

.card-tutorial .card-body {
    text-align: center;
    padding: 1.8rem;
    position: relative;
    z-index: 2;
}

.card-tutorial .card-title {
    color: #ffdd99;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card-tutorial .card-text {
    color: #b9c7d9;
    font-size: 0.9rem;
}


/* Smooth rounded images with purple border */
.broker-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;           /* Circular smooth look */
    border: 4px solid #6366f1;    /* Purple border */
    padding: 5px;
    background: #0a0f1c;          /* Dark background */
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5); /* Purple glow */
    object-fit: contain;
    transition: all 0.3s ease;
}

.broker-img:hover {
    transform: scale(1.08);
    border-color: #a5b4fc;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.7);
}

/* Purple Right Arrow */
.arrow {
    font-size: 42px;
    color: #8b5cf6;               /* Purple color */
    font-weight: bold;
    margin: 0 15px;
    vertical-align: middle;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}


/* ====================== SPECIAL PLAY BUTTON ====================== */
.btn-play-tutorial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(0, 0, 0, 0.85);
    border: 3px solid #99b9ff;
    border-radius: 50px;
    color: #7b2ff7;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 221, 153, 0.5);
}

.btn-play-tutorial:hover {
    background: #7b2ff7;
    color: #0a0f1a;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 40px rgba(255, 221, 153, 0.8);
}

.btn-play-tutorial i {
    font-size: 2.5rem;
}

.tutorial-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}


/* ---------------------------------------------
   RESPONSIVE MEDIA QUERIES (consolidated)
--------------------------------------------- */
@media (max-width: 992px) {
    .reviews-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .plan-card.popular {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 6.2rem;
        margin-top: 20rem; /* adjust as needed */

    }
    .review-section {
        padding: 30px 20px;
        margin: 40px 15px;
    }
    .plan-price {
        font-size: 2.8rem;
    }
    .plan-features {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3vh 4vw;
    }
    .hero-inner {
        max-width: 96vw;
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 576px) {
    .trigger-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .money-trigger {
        font-size: 1.6rem;
    }
    .modal-body {
        padding: 1rem;
    }
}


 

    /* First Slider - Moving LEFT (original direction) */
.slider-left {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.slider-left .slide-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 25s linear infinite;
}

/* Second Slider - Moving RIGHT (fixed reverse direction) */
.slider-right {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-right .slide-track {
    display: flex;
    width: max-content;
    animation: scrollRight 28s linear infinite;
}

/* Pause on hover */
.slider-left:hover .slide-track,
.slider-right:hover .slide-track {
    animation-play-state: paused;
}

/* Slide spacing */
.slide {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

/* 90px Circular Logo */
.slide img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 2.5px solid rgba(0, 170, 255, 0.35);
    transition: all 0.4s ease;
    filter: brightness(0.92) 
            drop-shadow(0 0 10px rgba(0, 170, 255, 0.65))
            drop-shadow(0 0 18px rgba(0, 170, 255, 0.4));
}

.slide img:hover {
    transform: scale(1.12);
    filter: brightness(1.18) 
            drop-shadow(0 0 15px rgba(0, 170, 255, 0.9));
    border-color: #00ccff;
}

/* Fade Edges */
.slider-left::before, .slider-right::before,
.slider-left::after, .slider-right::after {
    content: "";
    position: absolute;
    top: 0;
    width: 110px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-left::before, .slider-right::before {
    left: 0;
    background: linear-gradient(to right, #0a0f1a, transparent);
}

.slider-left::after, .slider-right::after {
    right: 0;
    background: linear-gradient(to left, #0a0f1a, transparent);
}

/* ====================== FIXED SMOOTH ANIMATIONS ====================== */

@keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0%   { transform: translateX(-50%); }   /* Important fix */
    100% { transform: translateX(0); }
}



/* Main Ticker Container - Blue & Purple Theme */
        .ticker-container {
            width: 100%;
            overflow: hidden;
            background: linear-gradient(90deg, #0a2540, #1e0b4b, #2a0a4a); /* Deep blue to rich purple */
            border-top: 4px solid #6366f1;     /* Vibrant indigo-purple */
            border-bottom: 4px solid #3b82f6;   /* Bright blue */
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
            padding: 10px 0;
        }


        /* Force TradingView widget to blend with blue-purple background */
        .tradingview-widget-container {
            background: transparent !important;
        }

        /* Target inner widget background to remove any white/gray */
        .tradingview-widget-container iframe,
        .tradingview-widget-container div {
            background: transparent !important;
        }

        /* =============================================
   COMPACT MOBILE RESPONSIVENESS (Smaller & Tighter)
   ============================================= */

@media (max-width: 576px) {
    body {
        font-size: 14.5px;
        line-height: 1.5;
    }
/* Hero Section */
    .hero {
        min-height: 100vh;
        padding-top: 50px;
    }

    .hero-content {
        padding-top: 8vh;
        padding-bottom: 4vh;
    }

    .hero-title {
        font-size: clamp(1.3rem, 8vw, 2.4rem);
        line-height: 1.05;
        margin-top: 12rem; /* adjust as needed */

    }

    .hero-title1 {
        font-size: clamp(1.25rem, 4.8vw, 1.7rem);
        margin-bottom: 1.2rem;
    }


    /* Navbar */
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 6px 10px !important;
    }

    /* ====================== 
       REELS - MADE SMALLER 
       ====================== */
    .reel-video {
        max-width: 88vw;           /* Smaller width */
        height: 420px;             /* Fixed smaller height */
        margin: 15px auto;
        border-radius: 12px;
    }

    /* Reviews Section */
    .review-section {
        margin: 25px 10px;
        padding: 20px 15px;
        border-radius: 14px;
    }

    .reviews-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-form,
    .reviews-container {
        padding: 16px;
    }
/* =============================================
   TUTORIAL SECTION - MORE COMPACT FOR MOBILE
   ============================================= */

@media (max-width: 576px) {

    /* ====================== 
       TUTORIAL SECTION - SMALLER & TIGHTER
       ====================== */
    .card-tutorial {
        margin-bottom: 0.8rem;
        border-radius: 12px;
        overflow: hidden;
    }

    .card-tutorial .card-body {
        padding: 0.85rem 0.8rem;     /* Reduced padding */
    }

    /* Image / Logo - Made Smaller */
    .card-tutorial img,
    .card-tutorial .card-img-top {
        height: 100px;               /* Smaller height */
        object-fit: cover;
        border-radius: 10px 10px 0 0;
    }

    /* Title - Smaller */
    .card-tutorial h5,
    .card-tutorial .card-title {
        font-size: 1.08rem;          /* Smaller title */
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    /* Description - Smaller */
    .card-tutorial p,
    .card-tutorial .card-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }

    /* Buttons / Links inside tutorial (if any) */
    .card-tutorial .btn,
    .card-tutorial a {
        font-size: 0.9rem;
        padding: 0.45rem 1rem;
    }
}

/* Extra Small Phones - Even more compact */
@media (max-width: 380px) {
    .card-tutorial img,
    .card-tutorial .card-img-top {
        height: 100px;               /* Even smaller image/logo */
    }

    .card-tutorial h5,
    .card-tutorial .card-title {
        font-size: 1.02rem;
    }

    .card-tutorial .card-body {
        padding: 0.75rem 0.7rem;
    }
}

/* Optional: If you have logos inside tutorial cards */
@media (max-width: 576px) {
    .card-tutorial .logo-img {
        height: 38px;                /* Smaller logos */
        width: auto;
        margin-bottom: 8px;
    }
}
    
    /* Reels - Smaller */
    .reel-video {
        max-width: 90vw;
        margin: 0 auto;
    }

    /* Floating Buttons */
    .floating-social {
        bottom: 18px;
        right: 12px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.65rem;
    }

}

/* Money Management Card */
    .money-management-section .risk-trigger-card {
        width: 90vw;
        max-width: 320px;
        min-height: 160px;
    }

    .money-management-section .trigger-content h3 {
        font-size: 1.45rem;
    }


/* Extra Small Phones (Very tight screens) */
@media (max-width: 380px) {
    body {
        font-size: 14px;
    }

    .hero-title {
        font-size: clamp(1.1rem, 9.5vw, 2.1rem);
        margin-top: 12rem; /* adjust as needed */

    }

    .hero-title1 {
        font-size: clamp(1.15rem, 4.5vw, 1.55rem);
    }

    .money-management-section .risk-trigger-card {
        width: 94vw;
        max-width: 310px;
        min-height: 155px;
    }

    .review-section {
        margin: 20px 8px;
        padding: 18px 14px;
    }

    .instagram-content {
        padding: 8px 14px;
        gap: 6px;
    }

    .instagram-text {
        font-size: 0.92rem;
    }
}

/* Tablet adjustments (Slightly reduced) */
@media (min-width: 577px) and (max-width: 992px) {
    .hero-title {
        font-size: clamp(1.9rem, 5.5vw, 3rem);
    }

    .review-section {
        margin: 40px auto;
        padding: 30px;
    }
}





/* ============================================= */
/* MODERN BLUE-PURPLE MARQUEE (Index + Join Page) */
/* ============================================= */

.dev-marquee {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    overflow: hidden;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    position: relative;
    z-index: 100;
}

.join-marquee {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: white;
    overflow: hidden;
    padding: 14px 0;
    font-size: 16.5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
    position: relative;
    z-index: 100;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Pause on hover */
.dev-marquee:hover .marquee-track,
.join-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .dev-marquee, .join-marquee {
        font-size: 15px;
        padding: 12px 0;
    }
    .marquee-track {
        animation-duration: 18s; /* Faster on mobile */
    }
}

/* ============================================= */
/* TOP MARQUEE - ALWAYS ABOVE NAVBAR (Blue-Purple) */
/* ============================================= */

.dev-marquee {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    overflow: hidden;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    position: relative;
    z-index: 9999;           /* Always on top */
    width: 100%;
}

.join-marquee {
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    color: white;
    overflow: hidden;
    padding: 14px 0;
    font-size: 16.5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
    position: relative;
    z-index: 9999;           /* Always on top */
    width: 100%;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marqueeScroll 25s linear infinite;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Pause when hovering */
.dev-marquee:hover .marquee-track,
.join-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Mobile friendly */
@media (max-width: 480px) {
    .dev-marquee, .join-marquee {
        font-size: 15px;
        padding: 12px 0;
    }
    .marquee-track {
        animation-duration: 18s;
    }
}