:root {
    --bg-body: #020617;
    --card-bg: rgba(15, 23, 42, 0.9);
    --text-main: #f1f5f9;
    --text-sub: #94a3b8;
    --accent: #00ff88;
    --dot-color: rgba(255, 255, 255, 0.15);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-opacity: 0.08;
    --bkash-pink: #e2136e;
}

[data-bs-theme="light"] {
    /* --bg-body: #f8fafc; */
    --bg-body: #faf0f0;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #0f172a;
    --text-sub: #475569;
    --accent: #10b981;
    --dot-color: rgba(0, 0, 0, 0.08);
    --border-color: rgba(0, 0, 0, 0.08);
    --glow-opacity: 0.05;
}

body {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    background-color: var(--bg-body);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 25px 25px;
    color: var(--text-main);
    transition: all 0.4s ease;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 40%), var(--mouse-glow),
            transparent 80%);
    opacity: var(--glow-opacity);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(to bottom, var(--text-main) 40%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-container {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), transparent);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.1);
    margin-top: 40px;
}

.video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
}

.trust-icons i {
    font-size: 2rem;
    color: var(--text-sub);
    opacity: 0.7;
    transition: 0.3s;
}

.trust-icons i:hover {
    color: var(--accent);
    opacity: 1;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    transition: 0.3s;
    height: auto;
}

.glass-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.achievement-list i {
    color: var(--accent);
    margin-right: 10px;
}

.btn-bkash {
    background-color: var(--bkash-pink);
    color: white;
    font-weight: 700;
    border: none;
    padding: 15px;
    border-radius: 12px;
    width: 100%;
    transition: 0.3s;
}

.btn-bkash:hover {
    transform: scale(1.02);
}

.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 50%;
    height: 3px;
    background: var(--accent);
    position: absolute;
    bottom: -10px;
    left: 25%;
}

footer {
    background: rgba(0, 0, 0, 0.05);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

/*logo*/
.logo-box {
    display: flex;
    align-items: center;
    height: 100px;
}

.nav-logo {
    height: 100px;
    width: auto;
    object-fit: contain;

    /* 🔥 Visual zoom without breaking layout */
    transform: scale(1.8);
    transform-origin: left center;
}

/* Clock Styling */
.clock-display {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.05);
}

#clock-text {
    font-variant-numeric: tabular-nums;
    /* Prevents text jumping when numbers change */
    letter-spacing: 1px;
}

/* Mobile Responsive Logo */
@media (max-width: 576px) {
    .nav-logo {
        height: 35px;
    }

    .clock-display {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}


.img-fluid {
    max-width: 100%;
    height: auto;
    width: 800px;
    object-fit: cover;
    border-radius: 24px;
}

.instructor-image-container {
    position: relative;
    display: inline-block;
    border-radius: 40px;
    /* High radius for that specific look */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.instructor-image-container img {
    display: block;
    max-height: 480px;
    object-fit: cover;
    width: 800px;
}

.instructor-img-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}



.stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 10px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .instructor-img-wrapper {
        margin-bottom: 30px;
    }

    .hero-title {
        text-align: center;
    }
}

.badge-instructor {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-item h2 {
    color: #6366f1;
    /* Using a soft indigo/blue for numbers */
}

.stat-box h3 {
    color: #6366f1;
    /* Using a soft indigo/blue for numbers */
}

/* For the second image's specific text color flow */
[data-bs-theme="dark"] .stat-item h2 {
    color: var(--accent);
}

[data-bs-theme="dark"] .stat-box h3 {
    color: var(--accent);
}


/* Text Sliding Change
/* The 'window' that hides the words not being shown */
.sliding-window {
    height: 1.2em;
    width: auto;
    /* This must match your font line-height */
    line-height: 1.2em;
    overflow: hidden;
    display: inline-block;
    padding: 0 15px;
    -webkit-text-fill-color: #00FD87;
    /* Overrides the gradient in hero-title */
}

/* The vertical list that actually moves */
.sliding-list {
    display: flex;
    flex-direction: column;
    animation: slideUp 4s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

.sliding-item {
    display: block;
    height: 1.2em;
    white-space: nowrap;
    color: #000 !important;
}

/* Keyframes for 2 words + 1 loop item (3 total items) */
@keyframes slideUp {

    /* 1. EDITING (Stays 0% to 30%) */
    0%,
    30% {
        transform: translateY(0);
    }

    /* 2. AUDIO (Stays 33% to 63%) */
    33%,
    63% {
        transform: translateY(-1.2em);
    }

    /* 3. CAPCUT (Stays 66% to 96%) */
    66%,
    96% {
        transform: translateY(-2.4em);
    }

    /* 4. Loop back to EDITING (Seamless transition) */
    100% {
        transform: translateY(-3.6em);
    }

    /* Quickly resets back to start */
}


/* Adjustment for the hero-title to allow inline blocks */
.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    /* Remove previous gradient if it interferes with the purple box */
    -webkit-text-fill-color: initial;
    color: var(--text-main);
}


/*---Course-Module---/

  /* Curriculum List Styling */
.curriculum-list li {
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

/* The Tick Sign (Icon) */
.curriculum-list li i {
    font-size: 1.3rem;
    margin-right: 15px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.3));
}

/* Hover Interaction */
.curriculum-list li:hover {
    background: rgba(0, 255, 136, 0.04);
    padding-left: 35px;
    /* Smooth slide effect */
    color: var(--accent);
}

.curriculum-list li:hover i {
    transform: scale(1.2);
}


/*----Software---*/
/* Base Styles */
.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.software-description {
    max-width: 500px;
    line-height: 1.6;
}

.sw-display-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px 15px;
    width: 160px;
    /* Fixed width for desktop */
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sw-display-box img {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.sw-display-box span {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.sw-display-box:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.08);
}

.sw-display-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

.software-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.bg-accent {
    background-color: var(--accent) !important;
}


/*----After this course student can section design----//
/* Duration Section Styling */
.duration-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.duration-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.1);
}

/* Icon Container */
.duration-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.duration-card:hover .duration-icon {
    background: var(--accent);
    color: #000;
    transform: rotateY(180deg);
}

/* Typography Tweaks */
.display-6 {
    font-size: 2.2rem;
    letter-spacing: -1px;
}

.text-accent {
    color: var(--accent) !important;
}

/* Background glow effect for the cards */
.duration-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Responsive Adjustments --- */

/* Small Mobile Devices (e.g. iPhone SE) */
/* --- Responsive Breakpoints --- */

@media (max-width: 576px) {
    .glass-card {
        padding: 30px 15px !important;
        /* Less padding to give content room */
        margin: 0 10px;
    }

    .software-tag {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    /* Ensures the boxes stay side-by-side on most phones */
    .d-flex.justify-content-center.gap-3 {
        gap: 10px !important;
    }
}

/* For extremely small devices */
@media (max-width: 360px) {
    .sw-display-box {
        flex: 1 1 120px;
        min-width: 110px;
    }

    .sw-display-box img {
        width: 40px;
        height: 40px;
    }
}


/*---Minimum requirement---/
/* Base Styles */
.requirement-card {
    padding: 25px !important;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
}

.req-content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.requirement-card:hover {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.04);
    transform: translateY(-5px);
}

.req-icon-box {
    min-width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-main);
    flex-shrink: 0;
    /* Prevents icon from shrinking */
}

.req-icon-box.accent-bg {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
}

.border-accent-subtle {
    border: 1px dashed rgba(0, 255, 136, 0.3) !important;
}

/* --- Responsive Adjustments --- */

@media (max-width: 576px) {
    .req-content-wrapper {
        flex-direction: column;
        /* Stack vertically on mobile */
        text-align: center;
        gap: 15px;
    }

    .requirement-card {
        padding: 20px !important;
        margin: 0 5px;
    }

    .req-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .requirement-card h5 {
        font-size: 1.1rem;
    }

    .req-text-content p {
        font-size: 0.85rem;
    }
}


/*---Bonus---*/


.bonus-mini-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px !important;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.bonus-mini-card i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bonus-mini-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.bonus-mini-card:hover {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-5px);
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .bonus-mini-card {
        padding: 15px !important;
    }

    .bonus-mini-card span {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}




/*---Student Slider----/


 /* Feedback Slider Styles */
.feedback-slider .carousel-indicators {
    bottom: -50px;
}

.feedback-slider .carousel-indicators [data-bs-target] {
    background-color: var(--accent);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.star-rating {
    color: #ffcc00;
    font-size: 0.9rem;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #020617;
    font-size: 1.2rem;
    margin-bottom: 15px;
}




/*---Footer----/


  /* Footer Styling */
footer {
    background: rgba(1, 4, 18, 0.95);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-sub);
}

.footer-title {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-sub);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-main);
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    color: #000;
}



/*--payment box---*/

.payment-box {
    background: var(--bkash-pink);
    padding: 25px;
    border-radius: 18px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 55px;
    /* Ideal footer logo size */
    width: auto;
    object-fit: contain;

    /* Fix for logo extra padding */
    transform: scale(1.4);
    transform-origin: left center;
}

/* Custom Input for Dark Theme */
.custom-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease !important;
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1) !important;
    color: var(--text-main) !important;
    outline: none;
}