/* --- Root Variables & Setup --- */
:root {
    --primary-color: #005a9c; /* Deep Blue */
    --secondary-color: #ffc107; /* Yellow Accent */
    --tertiary-color: #00b0ff; /* Light Blue for AI */
    --background-color: #f8f8f8;
    --text-color: #333;
    --card-bg: #ffffff;
    --font-heading: 'Hind Siliguri', sans-serif;
    --font-body: 'Noto Sans Bengali', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

p.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* --- Buttons & Links --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    text-align: center;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.primary-btn:hover {
    background-color: #ffda62;
    transform: translateY(-2px);
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    margin-top: 15px;
    width: 100%;
    font-weight: 600;
}

.add-to-cart-btn:hover {
    background-color: #004b82;
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.large-btn {
    font-size: 1.2rem;
    padding: 15px 30px;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
/* New style for the language switcher button */
.lang-switcher-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}
.lang-switcher-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    /* ... existing media query styles ... */
    
    .lang-switcher-btn {
        margin-right: 10px; /* Adjust spacing on mobile */
    }
}
/* ... rest of the existing styles ... */

/* --- Header & Navbar --- */
.navbar {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.nav-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo h1 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin: 0;
    color: white;
}

.navbar .logo p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--secondary-color);
}

.navbar nav ul {
    list-style: none;
    display: flex;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s, border-bottom 0.3s;
}

.navbar nav a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Nav Tools (Cart & Phone) */
.nav-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}
.phone-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 15px;
}
.phone-link i {
    color: var(--secondary-color);
    margin-right: 5px;
}
.cart-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}
.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.75rem;
    font-weight: bold;
}
.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    padding: 10px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 90, 156, 0.8), rgba(0, 90, 156, 0.8)), url('https://via.placeholder.com/1200x500/005a9c/FFFFFF?text=Coding+Background') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* --- Level Sections --- */
.level-section {
    padding: 100px 0;
    position: relative;
}

.level-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.level-1-bg { background-color: #e3f2fd; }
.level-2-bg { background-color: #fffde7; }
.level-3-bg { background-color: #f3e5f5; }

.level-card {
    display: flex;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 50px;
}
.level-card .details,
.level-card .ai-info {
    padding: 30px;
    flex: 1;
}

.level-card .details {
    border-right: 1px solid #eee;
}

.level-card .ai-info {
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.level-card .ai-info h3 {
    color: var(--tertiary-color);
}
.level-card .ai-info p {
    margin-bottom: 10px;
}

.syllabus ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}
.syllabus ul li {
    margin-bottom: 5px;
    padding-left: 25px;
    position: relative;
}
.syllabus ul li i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Track Grid (Level 2 & 3) */
.track-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.track-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.track-card h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}
.track-card .syllabus {
    margin-top: 20px;
}

.combo-offer {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    margin: 50px auto 0;
    max-width: 700px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.combo-offer h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.combo-offer .save-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: red;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
}

/* --- Pricing Section --- */
.pricing-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.pricing-table {
    overflow-x: auto;
    margin-top: 30px;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table th, .pricing-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.pricing-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.pricing-table .price-cell {
    font-weight: 700;
    color: var(--primary-color);
}
.pricing-table .highlight {
    color: red;
}
.combo-row {
    background-color: #fffbe6;
}

/* --- Offers Section --- */
.offers-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}
.offers-section h2 {
    color: white;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.offer-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    transition: background 0.3s;
}
.offer-card h3 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}
.offer-card i {
    margin-right: 8px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #e0f7fa;
    text-align: center;
    padding: 60px 0;
}
.cta-section h2 {
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    background: #222;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-col i {
    margin-right: 10px;
    color: var(--secondary-color);
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 8px;
}

.footer-col.motto-text {
    text-align: right;
}
.footer-col.motto-text h4 {
    color: var(--secondary-color);
}
.footer-col.motto-text p {
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #888;
}

/* --- Cart Modal Styling --- */
.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none; /* Controlled by JS */
}

.cart-content {
    background: white;
    width: 400px;
    max-width: 90%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 25px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.cart-content h3 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

#cart-items-list {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.item-name {
    font-weight: 500;
}

.remove-item {
    color: red;
    cursor: pointer;
    margin-left: 10px;
}

.cart-summary {
    padding: 15px;
    background: var(--background-color);
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.checkout-btn {
    background-color: #25d366;
    color: white;
    width: 100%;
    font-size: 1.1rem;
    padding: 15px 0;
    border-radius: 8px;
}
.checkout-btn:hover {
    background-color: #128c7e;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .navbar nav {
        margin-right: 20px;
    }
    .phone-link {
        display: none; /* Hide phone number in small space */
    }
}

@media (max-width: 768px) {
    /* Navbar Toggle */
    .navbar .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        order: 3;
    }
    .navbar nav.open {
        max-height: 400px;
    }

    .navbar nav ul {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        background: #004b82;
        border-radius: 5px;
    }

    .navbar nav ul li {
        margin: 5px 0;
    }
    .hamburger {
        display: block;
        order: 2;
    }
    .nav-tools {
        order: 1;
    }
    .logo {
        order: 0;
        flex-grow: 1;
    }

    /* General Layout */
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }

    .level-card {
        flex-direction: column;
    }
    .level-card .details {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .track-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col.motto-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}


/* --- Root Variables & Setup --- (Existing CSS content) */
/* ... existing styles ... */

/* --- Header & Navbar --- (No changes needed) */
/* ... existing styles ... */

/* --- Hero & Level Sections --- (No changes needed) */
/* ... existing styles ... */

/* --- NEW: Trial, Mentor, and Support Section Styles --- */

.trial-section, .support-section {
    padding: 80px 0;
    background-color: #e3f2fd; /* Light blue background */
}

.support-section {
    background-color: #f3e5f5; /* Light purple background */
}

.cta-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 90, 156, 0.1);
}
.cta-card h2 {
    margin-bottom: 15px;
}

.mentor-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mentor-card {
    text-align: center;
    padding: 30px;
}

.mentor-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: inline-block;
    transition: transform 0.3s;
}
.mentor-card:hover .mentor-icon {
    transform: scale(1.1) rotate(10deg);
}

.mentor-card h3 {
    margin-bottom: 10px;
}

.support-pricing {
    margin: 25px 0;
    font-size: 1.1rem;
}
.support-pricing .discount {
    color: #d32f2f;
    font-weight: 700;
    margin-top: 5px;
}

/* --- Pricing & Other Sections --- (Existing) */
/* ... existing styles ... */


/* --- Media Queries (Update for mentor grid) --- */
@media (max-width: 768px) {
    /* ... existing media query styles ... */
    .mentor-grid {
        grid-template-columns: 1fr;
    }
}
/* ... existing media query styles ... */

/* --- Level Sections (Add styles for requirements) --- */
.level-section {
    padding: 100px 0;
    position: relative;
}

.requirements-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.requirements-wrapper h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.req-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.req-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.req-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.req-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

