/* 
 * Rahmatia Computer Training Institute (RCTI) Brand Style System
 * Tailored exactly to the official RCTI logo & banner.
 * Colors: Deep Navy (#1b365d), Forest Green (#006a4e), Crimson Red (#f42a41), Ivory Cream (#fdfcf3).
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+Bengali:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Extremely clean light-themed Green & White system */
    --color-slate-50: #f0f4f8;  /* Premium soft ice-blue canvas background */
    --color-slate-100: #e1e8f0; /* Soft desaturated secondary wash */
    --color-slate-200: #d0dae6; /* Cohesive bluish-tint divider line */
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0b2240; /* Reference Deep Navy Blue */
    --color-slate-950: #0b2240; /* Deep Navy Blue */
    
    /* Brand Accent Colors - NAVY & ORANGE */
    --color-accent: #ff5722; /* Vibrant DCTC Orange */
    --color-accent-hover: #e64a19;
    --color-accent-light: #fff3f0; /* Crisp soft orange wash */
    
    --color-indigo: #0b2240; /* Deep Navy as Primary Base */
    --color-indigo-hover: #071529;
    --color-indigo-light: #f0f4f8;
    
    --color-navy: #0b2240; /* Heading Navy Blue */
    --color-gold: #ff5722; /* Accents and Seals Orange */
    --color-card-bg: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', 'Noto Sans Bengali', sans-serif;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
    
    /* Shadows - Premium Modern Soft Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 15px rgba(0, 106, 78, 0.1);
    --shadow-glow-indigo: 0 0 15px rgba(0, 106, 78, 0.1);
    
    /* Transitions & Borders - Premium Modern Edge */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 10px;
    --border-radius-xl: 16px;
    --border-hairline: 1px solid rgba(0, 106, 78, 0.12);
    --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Core Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-slate-50); /* Soft Cream banner tint background! */
    color: #222222;
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language & Typography Utilities */
[lang="bn"], .bengali-text {
    font-family: var(--font-bengali);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-slate-900); /* Deep navy headings */
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* Container & Layout Utilities */
.inner-container {
    width: 96%;
    max-grow: 1;
    max-width: 1440px; /* Fluid high-resolution width that spans gaps nicely */
    margin: 0 auto;
    padding: 0 15px;
}

.flex-space {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pulsing "LIVE" indicator */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin-right: 8px;
}

/* Custom Buttons - Solid Traditional Blocks */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    gap: 8px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-orange {
    background-color: var(--color-accent);
    color: white;
    border: 1px solid var(--color-accent);
}

.btn-orange:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-outline {
    border: 1px solid #006a4e;
    color: #006a4e;
    background: transparent;
}

.btn-outline:hover {
    background-color: #006a4e;
    color: white;
}

.btn-indigo {
    background-color: #006a4e;
    color: white;
    border: 1px solid #006a4e;
}

.btn-indigo:hover {
    background-color: var(--color-indigo-hover);
    border-color: var(--color-indigo-hover);
}

.btn-small {
    padding: 8px 18px;
    font-size: 13.5px;
}

/* ==========================================================================
   1. Top Mini Utility Bar
   ========================================================================== */
.top-bar {
    background-color: #0b2240; /* Deep Navy background */
    color: #ffffff; /* White text */
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 2px solid #ff5722; /* Vibrant Orange border accent */
}

.top-bar a {
    color: #ffffff !important;
}

.top-bar a:hover {
    color: #ff5722 !important;
}

.top-contact svg {
    color: #ff5722 !important; /* DCTC orange SVGs */
}

.top-contact {
    display: flex;
    gap: 20px;
}

.top-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-socials {
    display: flex;
    gap: 12px;
}

.top-socials a {
    color: var(--color-slate-500);
    transition: var(--transition-base);
    font-size: 14px;
}

.top-socials a:hover {
    color: var(--color-accent);
}

.search-box {
    display: flex;
    background: var(--color-slate-100);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-slate-200);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--color-slate-800);
    padding: 5px 12px;
    font-size: 12px;
    outline: none;
    width: 140px;
    transition: var(--transition-base);
}

.search-box input:focus {
    width: 180px;
    background: var(--color-slate-200);
}

.search-box button {
    background: var(--color-accent);
    border: none;
    color: white;
    padding: 5px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   2. Main Header Navigation
   ========================================================================== */
.main-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 2px solid #006a4e; /* Clean government green border */
    transition: var(--transition-base);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: #ffffff;
}

/* ==========================================================================
   2.5. Official Printed Banner Replica Layout
   ========================================================================== */
.official-banner-replica {
    display: none !important; /* Completely hide this busy academic banner to achieve a 100% clean minimal UI */
}
.banner-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}
.banner-emblem {
    flex-shrink: 0;
}
.circle-emblem {
    width: 110px;
    height: 110px;
    background-color: #006a4e; /* Green boundary */
    border-radius: 50%;
    border: 5px solid #d97706; /* Gold/Yellow outer circle */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.circle-emblem::after {
    content: '';
    position: absolute;
    width: 76px;
    height: 76px;
    background-color: #006a4e; /* Green center circle */
    border-radius: 50%;
    border: 3px solid #d97706;
    z-index: 1;
}
.emblem-r {
    font-family: sans-serif;
    font-size: 55px;
    font-weight: 900;
    color: #ffffff;
    z-index: 2;
    margin-bottom: 5px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}
.banner-texts {
    flex-grow: 1;
    text-align: center;
}
.banner-texts h2 {
    font-family: var(--font-bengali);
    font-size: 32px;
    color: #1b365d; /* Classic dark blue header */
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}
.banner-approvals {
    color: #006a4e; /* Government Green subhead */
    font-family: var(--font-bengali);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.banner-meta-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: var(--font-bengali);
    color: #006a4e; /* Green text */
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.banner-address-bar {
    font-family: var(--font-bengali);
    color: #333333;
    font-size: 13.5px;
    font-weight: 600;
}
.banner-red-stripe {
    height: 10px;
    background-color: #d97706; /* Thick gold stripe at bottom */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-svg {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #006a4e; /* Government green */
    color: white;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 24px;
    color: #006a4e;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 11px;
    color: #006a4e; /* Government Green subtitle */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

/* Navigation Links & Dropdowns */
.nav-links ul {
    display: flex;
    list-style: none;
    gap: 8px; /* Balanced spacing */
    align-items: center;
}

.nav-links ul li {
    position: relative;
}

.nav-links ul li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
}

.nav-links ul li > a:hover,
.nav-links ul li > a.active {
    color: var(--color-indigo);
    background-color: var(--color-indigo-light); /* Soft clean green highlight tint! */
}

/* Dropdown Menu CSS - Clean & Rounded */
.nav-links ul li .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    border: 1px solid rgba(0, 106, 78, 0.1);
    border-radius: var(--border-radius-md);
    padding: 8px 0;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: 1010;
}

.nav-links ul li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}

.nav-links ul li .dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition-base);
}

.nav-links ul li .dropdown a:hover {
    background-color: var(--color-indigo-light);
    color: var(--color-indigo);
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #006a4e;
}

/* ==========================================================================
   3. Traditional Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(rgba(11, 34, 64, 0.88), rgba(11, 34, 64, 0.94)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?q=80&w=1200&auto=format&fit=crop') no-repeat center center / cover !important;
    color: #ffffff !important;
    padding: 100px 0 110px 0 !important;
    position: relative;
    border-bottom: none !important;
    overflow: hidden;
}

/* Dimmed background blobs hidden */
.hero-section::before,
.hero-section::after {
    display: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 5;
}

.hero-text {
    width: 55%;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 87, 34, 0.15);
    color: #ff5722;
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 87, 34, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h2 {
    font-size: 50px !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    color: #ffffff !important; /* All White text */
}

.hero-text p {
    font-size: 16.5px !important;
    color: #cbd5e1 !important; /* Soft white/gray subtitle */
    margin-bottom: 35px !important;
    line-height: 1.7 !important;
    max-width: 580px !important;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    position: relative;
}

/* CSS Dot Grid Decor below Hero buttons */
.decor-dots {
    width: 80px;
    height: 48px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.3) 15%, transparent 15%);
    background-size: 10px 10px;
    position: absolute;
    bottom: -70px;
    left: 10px;
    opacity: 0.85;
    z-index: 2;
}

/* CSS Stripes Decor next to Hero image */
.decor-stripes {
    width: 60px;
    height: 80px;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12) 2px, transparent 2px, transparent 10px);
    position: absolute;
    left: -40px;
    top: 40%;
    z-index: 1;
}

/* Flat Stats Grid */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.stat-item h3 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ff5722 !important; /* DCTC vibrant orange */
    line-height: 1 !important;
    margin-bottom: 6px !important;
}

.stat-item h3 span {
    color: #ffffff !important;
}

.stat-item p {
    font-size: 12px !important;
    color: #cbd5e1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0 !important;
}

/* Square Hero Showcase Panel */
.hero-image-panel {
    width: 40%;
    display: flex;
    justify-content: center;
    position: relative;
}

.curved-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
}

.curved-frame {
    width: 100% !important;
    height: 380px !important;
    border-radius: var(--border-radius-lg) !important; /* Premium rounded square shape */
    overflow: hidden !important;
    border: 3px solid rgba(255, 255, 255, 0.25) !important; /* Soft white hairline outline */
    position: relative !important;
    z-index: 2 !important;
    box-shadow: var(--shadow-xl) !important;
    transition: var(--transition-smooth) !important;
}

.curved-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Premium Floating Badge Overlay */
.floating-overlay-card {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: #ffffff;
    border: 1px solid rgba(0, 106, 78, 0.2); /* Soft Green outline */
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-icon {
    font-size: 24px;
}

.floating-info h5 {
    color: #006a4e;
    font-size: 13.5px;
    font-weight: 700;
}

.floating-info p {
    color: #d97706; /* Prestigious Gold */
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 0;
}

/* Decorative backdrop frame - Soft Dash */
.curved-frame-backdrop {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    border: 2px dashed rgba(0, 106, 78, 0.35); /* Subtle green dashed overlay */
    z-index: 1;
}

/* ==========================================================================
   4. Bento Grid (Feature Highlights Section)
   ========================================================================== */
.bento-section {
    padding: 80px 0;
    background-color: var(--color-slate-50);
}

.bento-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.bento-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.bento-header p {
    color: var(--color-slate-500);
    font-size: 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(210px, auto);
    gap: 24px;
}

.bento-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    border: var(--border-hairline);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-indigo);
}

.bento-card.col-2 {
    grid-column: span 2;
}

.bento-card.row-2 {
    grid-row: span 2;
    justify-content: space-between;
}

/* Inner card elements */
.bento-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    background-color: var(--color-indigo-light);
    color: var(--color-indigo);
    font-size: 22px;
    margin-bottom: 20px;
}

.bento-card:nth-child(2) .bento-icon {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
}

.bento-card:nth-child(3) .bento-icon {
    background-color: var(--color-teal-light);
    color: var(--color-teal);
}

.bento-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.bento-card p {
    color: var(--color-slate-500);
    font-size: 13.5px;
    line-height: 1.6;
}

.bento-card .bento-link {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: var(--color-indigo);
    transition: var(--transition-base);
}

.bento-card .bento-link:hover {
    color: var(--color-indigo-hover);
    gap: 10px;
}

/* Distinctive card accents */
.bento-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    padding: 4px 12px;
    border-radius: var(--border-radius-xl);
    font-size: 11px;
    font-weight: 700;
}

/* Beautiful BG grid accent */
.bento-decor-grid {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--color-slate-900) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

/* ==========================================================================
   5. Interactive Certificate Verifier Section
   ========================================================================== */
.verifier-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #006a4e;
    border-bottom: 1px solid #006a4e;
}

.verifier-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.verifier-info {
    width: 45%;
}

.verifier-info h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.verifier-info p {
    color: var(--color-slate-500);
    font-size: 15px;
    margin-bottom: 24px;
}

.verifier-points {
    list-style: none;
}

.verifier-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-slate-700);
}

.verifier-points li svg {
    color: var(--color-teal);
}

/* Interactive Card Box */
.verifier-card-box {
    width: 55%;
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: var(--border-hairline);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.verifier-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-teal);
}

.verifier-card-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.verifier-card-box p.subtext {
    font-size: 13px;
    color: var(--color-slate-400);
    margin-bottom: 24px;
}

.verifier-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.verifier-form input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-slate-300);
    font-size: 14px;
    outline: none;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.verifier-form input:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px var(--color-teal-light);
}

/* Live dynamic results viewport */
.verification-results-area {
    margin-top: 10px;
}

.verify-alert {
    padding: 16px;
    border-radius: var(--border-radius-md);
    font-size: 13.5px;
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.verify-alert.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-alert.success-banner {
    background-color: var(--color-teal-light);
    border: 1px solid #a7f3d0;
    color: #065f46;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   6. Premium Course Grid Section
   ========================================================================== */
.courses-section {
    padding: 80px 0;
    background-color: white;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.courses-title-area h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.courses-title-area p {
    color: var(--color-slate-500);
    font-size: 15px;
}

/* Course Categories Navigation Filters */
.course-filters {
    display: flex;
    gap: 8px;
    list-style: none;
}

.filter-btn {
    background-color: var(--color-slate-100);
    border: none;
    color: var(--color-slate-600);
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--color-indigo);
    color: white;
}

/* Grid Configuration */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: var(--border-hairline);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.course-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.price-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--color-accent);
    color: white;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.course-category-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-slate-400);
    margin-bottom: 10px;
    font-weight: 600;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-content h4 {
    font-size: 16px;
    color: var(--color-slate-900);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
}

.rating {
    font-size: 12px;
    color: var(--color-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating span {
    color: var(--color-slate-400);
    font-size: 11px;
    margin-left: 6px;
    font-weight: 500;
}

.card-content p {
    font-size: 12.5px;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin-bottom: 18px;
}

.enroll-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px dashed var(--color-slate-200);
    margin-top: auto;
}

.enroll-btn-text {
    font-weight: 700;
    font-size: 13px;
    color: var(--color-indigo);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-base);
}

.course-card:hover .enroll-btn-text {
    color: var(--color-accent);
    gap: 8px;
}

/* ==========================================================================
   7. Admission/Tuition Cost Calculator Widget
   ========================================================================== */
.calculator-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #006a4e;
    border-bottom: 1px solid #006a4e;
}

.calc-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.calc-info {
    width: 45%;
}

.calc-info h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.calc-info p {
    color: var(--color-slate-500);
    font-size: 15px;
    margin-bottom: 30px;
}

.calc-guarantees {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.guarantee-box {
    background: white;
    padding: 16px;
    border-radius: var(--border-radius-md);
    border: var(--border-hairline);
    text-align: center;
}

.guarantee-box span {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.guarantee-box h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-slate-900);
}

.guarantee-box p {
    font-size: 11px;
    color: var(--color-slate-400);
    margin-bottom: 0;
    margin-top: 4px;
}

/* Calculator Card Form */
.calc-card {
    width: 55%;
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: var(--border-hairline);
    padding: 40px;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-slate-700);
}

.calc-group select,
.calc-group input {
    padding: 12px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-slate-300);
    background-color: var(--color-slate-50);
    outline: none;
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.calc-group select:focus,
.calc-group input:focus {
    border-color: var(--color-indigo);
    background-color: white;
}

.calc-bill {
    background: var(--color-indigo-light);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 24px;
    border: 1px dashed rgba(79, 70, 229, 0.3);
}

.bill-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-slate-600);
    margin-bottom: 10px;
}

.bill-item.discount {
    color: var(--color-teal);
    font-weight: 600;
}

.bill-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-slate-900);
    padding-top: 15px;
    border-top: 1px solid rgba(79, 70, 229, 0.2);
    margin-top: 15px;
}

.bill-total span.price {
    color: var(--color-indigo);
}

.calc-action-btn {
    width: 100%;
    margin-top: 20px;
}

/* ==========================================================================
   8. Alternating Info Strips (Bilingual Feature Banners)
   ========================================================================== */
.info-strip {
    padding: 80px 0;
}

.banner-dark-blue {
    background-color: var(--color-indigo-light);
    color: var(--color-slate-800);
    position: relative;
    overflow: hidden;
    border-top: var(--border-hairline);
    border-bottom: var(--border-hairline);
}

.banner-dark-blue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.banner-white {
    background-color: white;
    color: var(--color-slate-800);
}

.row-reverse .inner-container {
    flex-direction: row-reverse;
}

.strip-text {
    width: 48%;
}

.strip-text h3 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.banner-dark-blue .strip-text h3 {
    color: var(--color-slate-900);
}

.strip-text p {
    color: var(--color-slate-500);
    margin-bottom: 28px;
    font-size: 15.5px;
    line-height: 1.75;
}

.banner-white .strip-text p {
    color: var(--color-slate-500);
}

.strip-image {
    width: 46%;
}

.strip-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.banner-dark-blue .strip-image img {
    border: 4px solid var(--color-indigo-light);
}

/* ==========================================================================
   9. Frequently Asked Questions (FAQ Accordions)
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.faq-header p {
    color: var(--color-slate-500);
    font-size: 15px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background-color: var(--color-slate-50);
    border: var(--border-hairline);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-card:hover {
    border-color: var(--color-indigo);
    background-color: var(--color-indigo-light);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-slate-900);
    user-select: none;
}

.faq-chevron {
    transition: var(--transition-base);
    color: var(--color-indigo);
}

.faq-card.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-card.active .faq-answer {
    max-height: 1000px; /* Large value to allow expansion */
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer-content {
    padding: 0 24px 20px 24px;
    color: var(--color-slate-600);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   9.5. Home Page Gallery Grid
   ========================================================================== */
.home-gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 106, 78, 0.1);
}
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.home-gallery-item {
    border: 1px solid rgba(0, 106, 78, 0.12);
    border-radius: var(--border-radius-md);
    height: 220px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.home-gallery-item:hover {
    border-color: var(--color-indigo);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.home-gallery-item:hover img {
    transform: scale(1.04);
}
.home-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 106, 78, 0.9);
    backdrop-filter: blur(2px);
    padding: 12px;
    color: white;
    text-align: center;
}
.home-gallery-overlay h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* ==========================================================================
   10. Professional Contact & Address Section
   ========================================================================== */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #006a4e;
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--color-slate-500);
    font-size: 15px;
}

.contact-box {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: var(--border-hairline);
    overflow: hidden;
}

.contact-form-side {
    width: 60%;
    padding: 50px;
}

.contact-form-side h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-slate-700);
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-slate-300);
    border-radius: var(--border-radius-md);
    background-color: var(--color-slate-50);
    outline: none;
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background-color: white;
    box-shadow: 0 0 0 4px var(--color-accent-light);
}

.contact-info-side {
    width: 40%;
    background-color: var(--color-indigo-light);
    color: var(--color-slate-800);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-left: var(--border-hairline);
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-side h3 {
    color: var(--color-indigo);
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-info-side p.desc {
    color: var(--color-slate-600);
    font-size: 13px;
    margin-bottom: 30px;
}

.info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 18px;
    flex-shrink: 0;
}

.info-card-detail h5 {
    color: var(--color-slate-800);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-card-detail p {
    color: var(--color-slate-600);
    font-size: 13px;
    margin-bottom: 0;
}

.info-card-detail a:hover {
    color: var(--color-accent);
}

.contact-social-strip {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-slate-200);
}

.contact-social-strip h5 {
    color: var(--color-slate-500);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links a {
    width: 36px;
    height: 36px;
    background: rgba(79, 70, 229, 0.06);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-indigo);
    transition: var(--transition-base);
}

.contact-social-links a:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   11. Gorgeous Multi-Column Footer
   ========================================================================== */
.footer-dark {
    background-color: #ffffff;
    color: var(--color-slate-600);
    padding: 80px 0 30px 0;
    font-size: 14px;
    border-top: 1px solid var(--color-slate-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--color-slate-200);
}

.footer-col-about {
    padding-right: 40px;
}

.footer-col-about .logo-area {
    margin-bottom: 20px;
}

.footer-col-about .logo-icon-svg {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
}

.footer-col-about .logo-text h1 {
    color: var(--color-slate-900);
}

.footer-col-about p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--color-slate-500);
}

.footer-col h4 {
    color: var(--color-slate-900);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    margin-top: 8px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: var(--color-slate-600);
    font-size: 13.5px;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-base);
    font-size: 11px;
    color: var(--color-accent);
}

.footer-col ul li a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-col-contact p {
    margin-bottom: 12px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col-contact p svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.footer-newsletter h5 {
    color: var(--color-slate-600);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
    background: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    padding: 4px;
}

.footer-newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-slate-800);
    padding: 8px 12px;
    font-size: 13px;
    flex-grow: 1;
}

.footer-newsletter-form button {
    background-color: var(--color-accent);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}

.footer-newsletter-form button:hover {
    background-color: var(--color-accent-hover);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 12px;
    color: var(--color-slate-500);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--color-slate-500);
}

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

/* ==========================================================================
   12. Interactive Modal Popup & Certificate Print Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-container {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header-accent {
    padding: 24px;
    background: var(--color-indigo);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-accent.success-header {
    background: var(--color-teal);
}

.modal-header-accent h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.modal-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-base);
}

.modal-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

/* Custom Alert / Confirmation Popup Design */
.alert-popup-content {
    text-align: center;
    padding: 10px 0;
}

.alert-popup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.alert-popup-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.alert-popup-content p {
    color: var(--color-slate-500);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Premium Digital Certificate Design Block */
.certificate-modal-container {
    max-width: 820px;
}

.certificate-print-frame {
    background-color: #fdfdfa;
    border: 20px solid #ffffff;
    box-shadow: inset 0 0 0 2px #d97706, 0 0 20px rgba(0,0,0,0.08);
    padding: 40px;
    position: relative;
    background-image: radial-gradient(rgba(217, 119, 6, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    font-family: var(--font-primary);
}

/* Corner ornamental elements */
.cert-corner {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 4px solid #d97706;
    pointer-events: none;
}

.cert-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.cert-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.cert-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.cert-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.cert-title-block {
    text-align: center;
    margin-bottom: 20px;
}

.cert-logo-dummy {
    font-size: 32px;
    margin-bottom: 10px;
}

.cert-title-block h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 4px;
}

.cert-title-block p.sub {
    font-size: 11px;
    color: #475569;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cert-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #d97706;
    margin: 25px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cert-statement {
    text-align: center;
    color: #334155;
    font-size: 14px;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

.cert-student-name {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 15px 0;
    border-bottom: 2px solid #e2e8f0;
    display: inline-block;
    padding-bottom: 4px;
}

.cert-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    padding: 0 20px;
}

.cert-meta-group {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.cert-meta-group span {
    color: #1e293b;
    font-weight: 700;
}

.cert-seal-block {
    text-align: center;
    position: relative;
}

.cert-seal {
    width: 75px;
    height: 75px;
    background: radial-gradient(circle, #fcd34d 0%, #d97706 100%);
    border: 2px dashed #ffffff;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
    transform: rotate(-10deg);
}

.cert-signature-block {
    text-align: center;
    border-top: 1px solid #94a3b8;
    padding-top: 5px;
    width: 140px;
}

.cert-signature {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: bold;
    color: #1e3a8a;
    font-size: 16px;
    margin-bottom: 2px;
}

.cert-signature-block p {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.cert-print-action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   13. Responsive Styles & Adjustments
   ========================================================================== */
@media (max-width: 1200px) {
    .inner-container {
        width: 92%;
    }
    
    .hero-text h2 {
        font-size: 40px;
    }
    
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none; /* Hide top bar on tablet/mobile to keep it clean */
    }
    
    .banner-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .banner-texts h2 {
        font-size: 24px;
    }
    .banner-meta-grid {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-smooth);
        padding: 40px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links ul li .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        padding-left: 20px;
        background-color: var(--color-slate-50);
        margin-top: 5px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-text p {
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-panel {
        width: 100%;
        max-width: 440px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-card.col-2 {
        grid-column: span 1;
    }
    
    .verifier-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .verifier-info,
    .verifier-card-box {
        width: 100%;
    }
    
    .courses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .course-filters {
        flex-wrap: wrap;
    }
    
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calc-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .calc-info,
    .calc-card {
        width: 100%;
    }
    
    .info-strip .inner-container {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .strip-text,
    .strip-image {
        width: 100%;
    }
    
    .contact-box {
        flex-direction: column;
    }
    
    .contact-form-side,
    .contact-info-side {
        width: 100%;
        padding: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-text h2 {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .home-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-row,
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .certificate-print-frame {
        padding: 20px;
    }
    
    .cert-main-title {
        font-size: 20px;
        margin: 15px 0;
    }
    
    .cert-student-name {
        font-size: 20px;
    }
    
    .cert-footer-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* ==========================================================================
   20. STRICT GREEN & WHITE GLOBAL OVERRIDES (Eradicating Crimson Red)
   ========================================================================== */
/* Force all elements with inline red color to premium Navy or Green */
[style*="color: #f42a41"], 
[style*="color:#f42a41"],
[style*="color: rgb(244, 42, 65)"] {
    color: var(--color-slate-950) !important; /* Forest Green! */
}

/* Important highlight badges get gold or navy accents instead of red */
span[style*="color: #f42a41"], 
strong[style*="color: #f42a41"], 
#certGrade[style*="color: #f42a41"], 
#modalStudentName[style*="color: #f42a41"],
.bengali-text[style*="color: #f42a41"] {
    color: var(--color-gold) !important;
}

/* Force all elements with inline red background to Green or Gold */
[style*="background-color: #f42a41"], 
[style*="background-color:#f42a41"],
[style*="background: #f42a41"] {
    background-color: var(--color-indigo) !important;
}

[style*="background-color: #f42a41"].price-tag, 
[style*="background-color:#f42a41"].price-tag {
    background-color: var(--color-gold) !important;
    color: #ffffff !important;
}

/* Force notice red badges to Green */
span[style*="background-color: #f42a41"] {
    background-color: var(--color-indigo) !important;
}

/* Force borders with red to green or gold */
[style*="border: 2px dashed #f42a41"], 
[style*="border:2px dashed #f42a41"] {
    border-color: rgba(0, 106, 78, 0.35) !important;
}

[style*="border: 2px solid #f42a41"], 
[style*="border: 1px solid #f42a41"], 
#verifyError[style*="border: 1px solid #f42a41"] {
    border-color: var(--color-gold) !important;
}

/* ESTD card background overrides to soft green wash */
[style*="background: #fff0f1"], 
[style*="background:#fff0f1"] {
    background: var(--color-accent-light) !important;
    border: 1px solid rgba(0, 106, 78, 0.2) !important;
}

[style*="background: #fff0f1"] h4, 
[style*="background: #fff0f1"] p {
    color: var(--color-slate-950) !important;
}

/* Universal Modern Edge Radiuses - Bypassing blocky HTML inline styles */
.btn, 
button, 
input, 
select, 
textarea, 
.card, 
.bento-card, 
.price-tag, 
.badge, 
.modal-container {
    border-radius: var(--border-radius-md) !important;
}

.modal-container {
    border-radius: var(--border-radius-lg) !important;
}

.modal-header-accent {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
}

/* ==========================================================================
   21. PREMIUM MINIMALIST UI OVERRIDES (Spacious & Clean Aesthetics)
   ========================================================================== */

/* Universal Clean Subpage Hero Banners */
.about-hero, 
.courses-hero, 
.admission-hero, 
.gallery-hero, 
.contact-hero, 
.verification-hero {
    background-color: var(--color-slate-50) !important; /* Soft premium ice-blue canvas background */
    padding: 60px 0 !important;
    text-align: center !important;
    border-bottom: 1px solid var(--color-slate-200) !important; /* Cohesive bluish-tint divider line */
}

.about-hero h2, 
.courses-hero h2, 
.admission-hero h2, 
.gallery-hero h2, 
.contact-hero h2, 
.verification-hero h2 {
    font-size: 32px !important;
    color: var(--color-navy) !important; /* Rich Navy Blue */
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

.about-hero p, 
.courses-hero p, 
.admission-hero p, 
.gallery-hero p, 
.contact-hero p, 
.verification-hero p {
    color: var(--color-slate-600) !important;
    margin-top: 12px !important;
    font-size: 14.5px !important;
    letter-spacing: 0.1px !important;
}

/* Minimalist Card Overrides across all sections */
.card, 
.teacher-card, 
.course-card, 
.bento-card, 
.tuition-card, 
.step-card {
    background: #ffffff !important;
    border: 1px solid var(--color-slate-200) !important; /* Bluish-tint divider outline */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.25s ease !important;
}

.card:hover, 
.teacher-card:hover, 
.course-card:hover, 
.bento-card:hover, 
.tuition-card:hover, 
.step-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px -5px rgba(11, 34, 64, 0.06) !important; /* Soft Deep Navy shadow wash */
    border-color: rgba(255, 87, 34, 0.25) !important; /* Brand orange hover border highlight */
}

/* Clean up double borders and horizontal rules */
.hero-section {
    border-bottom: 1px solid var(--color-slate-200) !important; /* Cohesive bluish hairline */
}

/* ==========================================================================
   22. SPLIT VIDEO CTA BLOCK (Reference Screenshot 2)
   ========================================================================== */
.split-cta-section {
    display: flex;
    align-items: stretch;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: 80px auto;
    max-width: 1280px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.split-cta-image {
    width: 50%;
    position: relative;
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?q=80&w=800&auto=format&fit=crop') no-repeat center center / cover;
}

.split-cta-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    background-color: #ff5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.split-cta-play:hover {
    transform: translate(-50%, -50%) scale(1.12);
    background-color: #e64a19;
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.6);
}

.split-cta-play svg {
    fill: #ffffff;
    margin-left: 4px;
}

.split-cta-content {
    width: 50%;
    background-color: #0b2240;
    color: #ffffff;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.split-cta-content h3 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.split-cta-content p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.8;
}

.split-cta-decor {
    width: 55px;
    height: 100px;
    background: repeating-linear-gradient(45deg, #ff5722, #ff5722 3px, transparent 3px, transparent 12px);
    position: absolute;
    left: -28px;
    bottom: 40px;
    z-index: 4;
}

@media (max-width: 991px) {
    .split-cta-section {
        flex-direction: column;
        margin: 50px 15px;
    }
    .split-cta-image, .split-cta-content {
        width: 100%;
    }
    .split-cta-image {
        min-height: 280px;
    }
    .split-cta-decor {
        display: none;
    }
}

/* ==========================================================================
   23. GLOBAL HIGHLIGHT THEME OVERRIDES (100% NAVY & ORANGE CONSISTENCY)
   ========================================================================== */

/* Re-route inline-styled green background elements to DCTC Deep Navy */
[style*="background-color: #006a4e"],
[style*="background: #006a4e"],
[style*="background-color:#006a4e"],
[style*="background:#006a4e"] {
    background-color: #0b2240 !important; /* Deep Navy */
    background: #0b2240 !important;
}

/* Re-route inline-styled red background elements to DCTC Orange */
[style*="background-color: #f42a41"],
[style*="background: #f42a41"],
[style*="background-color:#f42a41"],
[style*="background:#f42a41"] {
    background-color: #ff5722 !important; /* Orange */
    background: #ff5722 !important;
}

/* Re-route inline-styled green text to DCTC Deep Navy */
[style*="color: #006a4e"],
[style*="color:#006a4e"] {
    color: #0b2240 !important;
}

/* Re-route inline-styled red text to DCTC Orange */
[style*="color: #f42a41"],
[style*="color:#f42a41"] {
    color: #ff5722 !important;
}

/* Buttons globally styled */
.btn-indigo, .btn-primary {
    background-color: #0b2240 !important;
    border-color: #0b2240 !important;
    color: #ffffff !important;
}

.btn-indigo:hover, .btn-primary:hover {
    background-color: #ff5722 !important;
    border-color: #ff5722 !important;
}

.btn-orange {
    background-color: #ff5722 !important;
    border-color: #ff5722 !important;
    color: #ffffff !important;
}

.btn-orange:hover {
    background-color: #e64a19 !important;
    border-color: #e64a19 !important;
}

.btn-outline {
    border: 1px solid #0b2240 !important;
    color: #0b2240 !important;
    background: transparent !important;
}

.btn-outline:hover {
    background-color: #0b2240 !important;
    color: #ffffff !important;
}