/* ==========================================================================
   Project: সংস্কৃতি-সমন্বিত সাধারণ শিক্ষা কার্যক্রম
   Official Domain: saregamabd.com
   Master CSS: Vibrant Bengali Cultural Palette & Responsive Design (Desktop + Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #006a4e;          /* Rich Bengal Emerald Green */
    --primary-dark: #004d38;
    --primary-light: #e6f4f0;
    --accent: #e11d48;           /* Festive Alta / Crimson Red */
    --accent-hover: #be123c;
    --accent-light: #ffe4e6;
    --secondary: #0284c7;        /* River Sky Blue */
    --secondary-light: #e0f2fe;
    --gold: #f59e0b;             /* Marigold / Basanti Gold */
    --gold-dark: #d97706;
    --gold-light: #fef3c7;
    --purple: #7c3aed;           /* Royal Cultural Violet */
    --purple-light: #ede9fe;
    --orange: #ea580c;           /* Terracotta Orange */
    --orange-light: #ffedd5;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-bengali: 'Hind Siliguri', 'Noto Sans Bengali', 'Noto Sans Devanagari', 'Outfit', 'SolaimanLipi', 'Kalpurush', 'Vrinda', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-en: 'Outfit', sans-serif;
    --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.12), 0 6px 12px -3px rgba(15, 23, 42, 0.05);
    --shadow-hover: 0 22px 40px -8px rgba(0, 106, 78, 0.18);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

body, button, input, optgroup, select, textarea, .form-control, .form-select, .btn, table, th, td, .badge, h1, h2, h3, h4, h5, h6, label {
    font-family: var(--font-bengali);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-bengali);
    font-weight: 700;
    color: var(--dark);
}

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

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

/* ----------------- Multi-Color Cultural Top Strip ----------------- */
.cultural-top-strip {
    height: 5px;
    background: linear-gradient(90deg, #006a4e 0%, #10b981 20%, #f59e0b 40%, #e11d48 60%, #7c3aed 80%, #0284c7 100%);
    width: 100%;
}

/* ----------------- Topbar & Navigation ----------------- */
.top-bar {
    background: linear-gradient(90deg, #091326 0%, #063729 50%, #1e1b4b 100%);
    color: #e2e8f0;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #e2e8f0;
}

.top-bar a:hover {
    color: #fbbf24;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 106, 78, 0.08);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.28rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 60px);
}

.brand-title-text {
    line-height: 1.25;
    background: linear-gradient(90deg, #006a4e, #047857, #be123c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary) 0%, #059669 60%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.45rem;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0, 106, 78, 0.28);
}

.brand-subtitle {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    display: block;
    -webkit-text-fill-color: var(--text-muted);
}

.navbar-toggler-custom {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(0, 106, 78, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition);
}

.navbar-toggler-custom:hover,
.navbar-toggler-custom:focus {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 106, 78, 0.25);
}

.nav-link {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main) !important;
    padding: 8px 13px !important;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.1), rgba(245, 158, 11, 0.12));
}

.nav-link.active {
    box-shadow: inset 0 -2px 0 var(--primary);
}

/* ----------------- Buttons ----------------- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 106, 78, 0.28);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #004d38 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 106, 78, 0.38);
}

.btn-accent-custom {
    background: linear-gradient(135deg, #e11d48 0%, #f97316 100%);
    color: #ffffff !important;
    border: none;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.32);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-accent-custom:hover {
    background: linear-gradient(135deg, #be123c 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.45);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 106, 78, 0.2);
}

/* ----------------- Hero Slider & Banner ----------------- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: #091326;
}

.hero-slide-item {
    min-height: 560px;
    padding: 75px 0 85px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(4, 38, 28, 0.94) 0%, rgba(15, 23, 42, 0.82) 52%, rgba(136, 19, 55, 0.72) 100%);
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-orb.orb-1 {
    width: 320px;
    height: 320px;
    background: rgba(16, 185, 129, 0.25);
    top: -60px;
    left: -60px;
}

.hero-glow-orb.orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(245, 158, 11, 0.22);
    bottom: -50px;
    right: 10%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 740px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(16, 185, 129, 0.25));
    border: 1px solid rgba(251, 191, 36, 0.5);
    backdrop-filter: blur(8px);
    color: #fde68a;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-desc {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 26px;
    line-height: 1.75;
    max-width: 640px;
}

.hero-Highlights-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    color: #f8fafc;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    transition: var(--transition);
}

.hero-slider-section .carousel-control-prev {
    left: 20px;
}

.hero-slider-section .carousel-control-next {
    right: 20px;
}

.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: 1;
}

.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: var(--transition);
}

.hero-slider-section .carousel-indicators .active {
    width: 30px;
    border-radius: 10px;
    background-color: #fbbf24;
}

/* ----------------- Live Notice Ticker Bar ----------------- */
.notice-ticker-bar {
    background: linear-gradient(90deg, #fff1f2 0%, #fefce8 50%, #ecfdf5 100%);
    border-bottom: 2px solid rgba(0, 106, 78, 0.12);
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.ticker-badge {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.25);
    flex-shrink: 0;
}

.ticker-content {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerMove 28s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 36px;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.94rem;
}

.ticker-item i {
    color: var(--accent);
    margin-right: 6px;
}

@keyframes tickerMove {
    0% { transform: translateX(15%); }
    100% { transform: translateX(-100%); }
}

/* ----------------- Statistics Section (Colorful Cards) ----------------- */
.stats-section {
    background: linear-gradient(135deg, #042f2e 0%, #0f172a 50%, #1e1b4b 100%);
    color: white;
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}

.stat-box {
    text-align: center;
    padding: 26px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-box.stat-emerald::after { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-box.stat-amber::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-box.stat-purple::after { background: linear-gradient(90deg, #8b5cf6, #c084fc); }
.stat-box.stat-rose::after { background: linear-gradient(90deg, #f43f5e, #fb7185); }

.stat-box:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.stat-emerald .stat-icon { background: linear-gradient(135deg, #059669, #10b981); }
.stat-amber .stat-icon { background: linear-gradient(135deg, #d97706, #f59e0b); }
.stat-purple .stat-icon { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.stat-rose .stat-icon { background: linear-gradient(135deg, #e11d48, #f43f5e); }

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #ffffff;
    line-height: 1.1;
}

.stat-label {
    font-size: 1.02rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* ----------------- Section Styling & Colorful Mesh Backgrounds ----------------- */
.section-padding {
    padding: 75px 0;
}

.bg-mesh-warm {
    background: radial-gradient(circle at 10% 20%, rgba(254, 243, 199, 0.55) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255, 228, 230, 0.55) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(230, 244, 240, 0.5) 0%, transparent 60%),
                #ffffff;
}

.bg-mesh-cool {
    background: radial-gradient(circle at 0% 0%, rgba(224, 242, 254, 0.65) 0%, transparent 45%),
                radial-gradient(circle at 100% 100%, rgba(237, 233, 254, 0.65) 0%, transparent 45%),
                #f8fafc;
}

.bg-mesh-festive {
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 50%, #fff1f2 100%);
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-badge {
    background: linear-gradient(90deg, rgba(0, 106, 78, 0.12), rgba(225, 29, 72, 0.12));
    color: var(--primary);
    border: 1px solid rgba(0, 106, 78, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.section-badge.badge-rose {
    background: var(--accent-light);
    color: var(--accent);
    border-color: rgba(225, 29, 72, 0.2);
}

.section-badge.badge-amber {
    background: var(--gold-light);
    color: var(--gold-dark);
    border-color: rgba(217, 119, 6, 0.25);
}

.section-badge.badge-purple {
    background: var(--purple-light);
    color: var(--purple);
    border-color: rgba(124, 58, 237, 0.2);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 16px;
    color: var(--dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
    border-radius: 4px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.06rem;
    max-width: 640px;
    margin: 12px auto 0;
}

/* ----------------- About Section Enhancements ----------------- */
.about-image-frame {
    position: relative;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.15), rgba(245, 158, 11, 0.2), rgba(225, 29, 72, 0.15));
}

.about-image-frame img {
    border-radius: 18px;
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.about-floating-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(0, 106, 78, 0.35);
    max-width: 260px;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.about-floating-top {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 106, 78, 0.3);
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: #ffffff;
}

/* ----------------- 6 Colorful Cultural Wings Cards ----------------- */
.cultural-item-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cultural-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: var(--transition);
}

.cultural-item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.cultural-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    transition: var(--transition);
}

.cultural-item-card:hover .cultural-icon {
    transform: rotate(-6deg) scale(1.08);
}

/* Color Themes for Cultural Activities */
.cultural-item-card.theme-rose { background: linear-gradient(180deg, #fff1f2 0%, #ffffff 45%); border-color: #fecdd3; }
.cultural-item-card.theme-rose::before { background: linear-gradient(90deg, #e11d48, #fb7185); }
.cultural-item-card.theme-rose .cultural-icon { background: linear-gradient(135deg, #e11d48, #f43f5e); color: #fff; box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25); }
.cultural-item-card.theme-rose .cultural-link { color: #e11d48; }

.cultural-item-card.theme-amber { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 45%); border-color: #fde68a; }
.cultural-item-card.theme-amber::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.cultural-item-card.theme-amber .cultural-icon { background: linear-gradient(135deg, #d97706, #f59e0b); color: #fff; box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25); }
.cultural-item-card.theme-amber .cultural-link { color: #d97706; }

.cultural-item-card.theme-emerald { background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 45%); border-color: #a7f3d0; }
.cultural-item-card.theme-emerald::before { background: linear-gradient(90deg, #006a4e, #10b981); }
.cultural-item-card.theme-emerald .cultural-icon { background: linear-gradient(135deg, #006a4e, #10b981); color: #fff; box-shadow: 0 8px 20px rgba(0, 106, 78, 0.25); }
.cultural-item-card.theme-emerald .cultural-link { color: #006a4e; }

.cultural-item-card.theme-purple { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 45%); border-color: #ddd6fe; }
.cultural-item-card.theme-purple::before { background: linear-gradient(90deg, #6d28d9, #a855f7); }
.cultural-item-card.theme-purple .cultural-icon { background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25); }
.cultural-item-card.theme-purple .cultural-link { color: #6d28d9; }

.cultural-item-card.theme-sky { background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 45%); border-color: #bae6fd; }
.cultural-item-card.theme-sky::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.cultural-item-card.theme-sky .cultural-icon { background: linear-gradient(135deg, #0284c7, #0ea5e9); color: #fff; box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25); }
.cultural-item-card.theme-sky .cultural-link { color: #0284c7; }

.cultural-item-card.theme-orange { background: linear-gradient(180deg, #fff7ed 0%, #ffffff 45%); border-color: #fed7aa; }
.cultural-item-card.theme-orange::before { background: linear-gradient(90deg, #ea580c, #fb923c); }
.cultural-item-card.theme-orange .cultural-icon { background: linear-gradient(135deg, #ea580c, #f97316); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25); }
.cultural-item-card.theme-orange .cultural-link { color: #ea580c; }

.cultural-link {
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

/* ----------------- Course Cards ----------------- */
.custom-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 106, 78, 0.35);
}

.card-img-wrap {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-card:hover .card-img-wrap img {
    transform: scale(1.08);
}

.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.course-badge.badge-color-1 { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.course-badge.badge-color-2 { background: linear-gradient(135deg, #d97706, #f59e0b); }
.course-badge.badge-color-3 { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.course-badge.badge-color-4 { background: linear-gradient(135deg, #0284c7, #0ea5e9); }
.course-badge.badge-color-5 { background: linear-gradient(135deg, #ea580c, #f97316); }

.course-duration-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body-custom {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title-custom a {
    color: var(--dark);
}

.card-title-custom a:hover {
    color: var(--primary);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
    flex: 1;
}

/* ----------------- 3-Step Admission Journey Section ----------------- */
.journey-step-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.journey-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

/* ----------------- Teachers Section ----------------- */
.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.teacher-card::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--accent));
}

.teacher-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.teacher-img-wrap {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e6f4f0, #fef3c7);
}

.teacher-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-img-wrap img {
    transform: scale(1.06);
}

.teacher-info {
    padding: 20px 14px;
}

.teacher-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.teacher-specialty {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.teacher-qual {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ----------------- Notices, News & Events ----------------- */
.board-panel {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.notice-item {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary);
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.notice-item:nth-child(even) {
    border-left-color: var(--accent);
}

.notice-item:hover {
    transform: translateX(5px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.news-card-horizontal {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    align-items: center;
    background: #f8fafc;
    transition: var(--transition);
}

.news-card-horizontal:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(225, 29, 72, 0.3);
}

.news-thumb {
    width: 95px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.event-ribbon-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.event-ribbon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--primary));
}

.event-ribbon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-date-badge {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    text-align: center;
    min-width: 78px;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 106, 78, 0.25);
}

.event-date-badge.badge-warm {
    background: linear-gradient(135deg, #e11d48, #f97316);
    box-shadow: 0 6px 15px rgba(225, 29, 72, 0.25);
}

.event-date-badge.badge-purple {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    box-shadow: 0 6px 15px rgba(109, 40, 217, 0.25);
}

.event-date-day {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.event-date-month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ----------------- Gallery ----------------- */
.gallery-grid-item {
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background: #e2e8f0;
    border: 3px solid #ffffff;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.92));
    color: white;
    padding: 28px 14px 14px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-grid-item:hover .gallery-caption {
    opacity: 1;
}

/* ----------------- Colorful CTA Banner ----------------- */
.cta-festive-banner {
    background: linear-gradient(125deg, #004d38 0%, #0f172a 50%, #881337 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.cta-festive-banner::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    top: -80px;
    right: -50px;
    border-radius: 50%;
}

/* ----------------- Footer ----------------- */
.site-footer {
    background: #090e17;
    color: #94a3b8;
    padding: 65px 0 24px;
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, #006a4e, #f59e0b, #e11d48, #7c3aed) 1;
}

.footer-title {
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 3px;
}

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

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

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet & Mobile Optimization)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.15rem;
    }
    .hero-slide-item {
        min-height: 470px;
        padding: 55px 0 65px;
    }
    .navbar-collapse {
        background: #ffffff;
        padding: 18px;
        border-radius: 16px;
        margin-top: 12px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14);
        border: 1px solid var(--border-color);
    }
    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        margin-bottom: 4px;
    }
    .nav-link.active {
        box-shadow: none;
        border-left: 4px solid var(--primary);
    }
    .section-padding {
        padding: 55px 0;
    }
    .about-image-frame img {
        height: 340px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-section .carousel-control-prev,
    .hero-slider-section .carousel-control-next {
        display: none;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .stat-number {
        font-size: 1.9rem;
    }
    .stat-icon {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    .board-panel {
        padding: 20px 16px;
    }
    .cta-festive-banner {
        padding: 34px 22px;
        text-align: center;
    }
    /* Always show gallery caption subtly on touch screens */
    .gallery-caption {
        opacity: 1;
        padding: 18px 10px 10px;
    }
    .gallery-grid-item {
        height: 175px;
    }
    .teacher-img-wrap {
        height: 185px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.02rem;
        gap: 9px;
    }
    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    .brand-subtitle {
        font-size: 0.65rem;
    }
    .hero-slide-item {
        min-height: 430px;
        padding: 40px 0 55px;
    }
    .hero-tag {
        font-size: 0.82rem;
        padding: 5px 13px;
    }
    .hero-title {
        font-size: 1.65rem;
        line-height: 1.32;
    }
    .hero-desc {
        font-size: 0.96rem;
        margin-bottom: 20px;
    }
    .hero-cta-group {
        width: 100%;
    }
    .hero-cta-group .btn {
        flex: 1 1 auto;
        padding: 11px 16px !important;
        font-size: 0.92rem !important;
    }
    .hero-pill {
        font-size: 0.78rem;
        padding: 5px 11px;
    }
    .stat-box {
        padding: 18px 10px;
    }
    .stat-label {
        font-size: 0.88rem;
    }
    .about-image-frame img {
        height: 260px;
    }
    .about-floating-badge {
        position: static;
        max-width: 100%;
        margin-top: 12px;
    }
    .cultural-item-card {
        padding: 24px 18px;
    }
    .teacher-img-wrap {
        height: 160px;
    }
    .teacher-info {
        padding: 14px 10px;
    }
    .teacher-name {
        font-size: 1rem;
    }
    .teacher-specialty {
        font-size: 0.75rem;
        padding: 3px 9px;
    }
}
