@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Hind+Siliguri:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #007C41;
    --primary-dark: #005a2f;
    --primary-deep: #06381e;
    --primary-light: #e8f5e9;
    --accent: #D4AF37;
    --accent-dark: #b89326;
    --accent-light: #fff8e1;
    --text-main: #232B2B;
    --text-muted: #5A6A6A;
    --bg-light: #F8FAF9;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 6px rgba(0, 124, 65, 0.08);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 28px rgba(0, 124, 65, 0.14);
    --font-bangla: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-bangla);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.65;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-bangla);
    font-weight: 700;
    color: #1a3325;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

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

.edu-topbar {
    background: linear-gradient(90deg, #06381e 0%, #005a2f 100%);
    color: #ffffff;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-topbar a {
    color: #e2f0d9;
    transition: color 0.2s;
}
.edu-topbar a:hover {
    color: var(--accent);
}

.edu-topbar-item {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    gap: 5px;
    white-space: nowrap;
    font-size: 12.5px;
}
.edu-topbar-item i {
    color: var(--accent);
}

.edu-campus-pill {
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.edu-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    margin-left: 6px;
    font-size: 12px;
    color: #fff;
    transition: 0.3s;
}
.edu-social-icons a:hover {
    background: var(--accent);
    color: #000;
}

/* Topbar Language Dropdown */
.edu-topbar {
    position: relative;
    z-index: 1030;
}

.edu-topbar .dropdown {
    position: relative;
    display: inline-block;
}

.edu-topbar .dropdown .dropdown-toggle {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
}

.edu-topbar .dropdown .dropdown-toggle:hover,
.edu-topbar .dropdown .dropdown-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.edu-topbar .dropdown .dropdown-menu {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 4px;
    z-index: 9999;
}

@media (min-width: 768px) {
    .edu-topbar .dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.edu-topbar .dropdown-item {
    font-size: 12.5px;
    padding: 7px 14px;
    color: #334155 !important;
    transition: all 0.2s;
    cursor: pointer;
}

.edu-topbar .dropdown-item:hover,
.edu-topbar .dropdown-item.active {
    background-color: #007C41 !important;
    color: #ffffff !important;
}

/* DESKTOP HEADER BRANDING SECTION (PRESTIGIOUS LOOK) */
.edu-campus-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
}

.edu-header-branding {
    background: #ffffff;
    padding: 14px 0 12px 0;
    border-bottom: 2px solid #e5ece6;
    position: relative;
}

/* Emblem Logo & Titles */
.edu-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.edu-logo-anchor {
    display: block;
    flex-shrink: 0;
}

.edu-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.08));
    transition: transform 0.3s ease;
}
.edu-logo-img:hover {
    transform: scale(1.03);
}

.edu-logo-text-group {
    display: flex;
    flex-direction: column;
}

.edu-title-bn {
    font-size: 27px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.3px;
}
.edu-title-bn a {
    color: var(--primary);
    text-decoration: none;
}
.edu-title-bn a:hover {
    color: var(--primary-dark);
}

.edu-title-sub {
    font-size: 12px;
    color: #63776b;
    font-weight: 500;
    margin-top: 2px;
}

/* Center Column: Islamic Calligraphy Arch Card (Desktop) */
.edu-ayat-center-card {
    background: linear-gradient(135deg, #fdfbf7 0%, #f4f9f6 100%);
    border: 1px solid #d3e5d9;
    border-radius: var(--radius-md);
    padding: 7px 18px 8px 18px;
    box-shadow: 0 3px 10px rgba(0, 124, 65, 0.04);
    max-width: 420px;
    width: 100%;
}

.edu-ayat-arabic {
    font-family: var(--font-arabic);
    font-size: 16.5px;
    color: var(--primary-deep);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.edu-ayat-trans {
    font-size: 11px;
    color: #475569;
    font-style: italic;
    line-height: 1.25;
}

/* Desktop Quick Contact Cards in Header */
.edu-header-quick-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f7faf8;
    padding: 7px 14px;
    border-radius: var(--radius-md);
    border: 1px solid #dbeae0;
    text-align: left;
}
.edu-header-quick-card .icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e6f4ec;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.edu-header-quick-card .title-text {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}
.edu-header-quick-card .phone-text {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    text-decoration: none;
}
.edu-header-quick-card .phone-text:hover {
    color: var(--primary);
}

.edu-btn-contact {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 8px 14px;
    transition: 0.3s;
}

/* NAVIGATION BAR (DESKTOP) */
.edu-navbar {
    background: linear-gradient(180deg, #007C41 0%, #006635 100%);
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 102, 53, 0.18);
    position: sticky;
    top: 0;
    z-index: 999;
}

.edu-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.edu-nav-item {
    position: relative;
    flex-shrink: 0;
}

.edu-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 9px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.edu-nav-link:hover,
.edu-nav-item.active .edu-nav-link {
    background-color: var(--primary-deep);
    color: #ffe082 !important;
    border-bottom: 3px solid var(--accent);
}

/* Dropdown Menu */
.edu-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    border-top: 3px solid var(--accent);
}

.edu-nav-item:hover .edu-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edu-dropdown-menu li a {
    display: block;
    padding: 9px 18px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.edu-dropdown-menu li:last-child a {
    border-bottom: none;
}

.edu-dropdown-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding-left: 22px;
}

/* Admission Button in Nav */
.edu-nav-cta {
    background: linear-gradient(135deg, #d4af37 0%, #c49d28 100%) !important;
    color: #0b2e1b !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 7px 18px !important;
    margin-left: auto;
    border-bottom: none !important;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.edu-nav-cta:hover {
    background: linear-gradient(135deg, #f5cc4b 0%, #d4af37 100%) !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(212, 175, 55, 0.45);
}

/* MOBILE HEADER BAR (< 992px) */
.edu-mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    width: 100%;
}

.edu-mobile-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 7px 13px;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.edu-mobile-toggle-btn:hover, .edu-mobile-toggle-btn:focus {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.edu-mobile-brand-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

/* Mobile Offcanvas Drawer */
.edu-offcanvas {
    width: 300px !important;
    background: #ffffff;
}

.edu-offcanvas-header {
    background: linear-gradient(135deg, #007C41 0%, #004d28 100%);
    color: #ffffff;
    padding: 16px;
}

.edu-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edu-mobile-menu-list .menu-item {
    border-bottom: 1px solid #f1f5f9;
}

.edu-mobile-menu-list .menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
}
.edu-mobile-menu-list .menu-link:hover,
.edu-mobile-menu-list .menu-link.active {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.edu-mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.edu-mobile-submenu li a {
    display: block;
    padding: 10px 18px 10px 34px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}
.edu-mobile-submenu li a:hover {
    color: var(--primary);
    padding-left: 38px;
}

/* MARQUEE / NOTICE TICKER */
.edu-marquee-bar {
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 600;
    color: #634306;
    overflow: hidden;
}

.edu-ticker-label {
    background: #d32f2f;
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 12px;
}

/* HERO BANNER / SLIDER */
.edu-hero-slider {
    position: relative;
    overflow: hidden;
    background: #002e18;
}

.edu-slide-item {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.edu-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(6, 46, 24, 0.9) 0%, rgba(0, 124, 65, 0.7) 50%, rgba(0, 0, 0, 0.45) 100%);
}

.edu-slide-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 720px;
    padding: 40px 15px;
}

.edu-slide-badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edu-slide-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.edu-slide-desc {
    font-size: 16.5px;
    color: #e2f0d9;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Overlay carousel controls so they don't add extra space below the slider */
.edu-hero-carousel .owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 !important;
    pointer-events: none;
}

.edu-hero-carousel .owl-nav button.owl-prev,
.edu-hero-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    pointer-events: auto;
    z-index: 3;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.edu-hero-carousel .owl-nav button.owl-prev { left: 18px; }
.edu-hero-carousel .owl-nav button.owl-next { right: 18px; }

.edu-hero-carousel .owl-nav button.owl-prev:hover,
.edu-hero-carousel .owl-nav button.owl-next:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #0b2e1b !important;
}

.edu-hero-carousel .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    margin: 0 !important;
    pointer-events: none;
}
.edu-hero-carousel .owl-dots .owl-dot { pointer-events: auto; }
.edu-hero-carousel .owl-dots .owl-dot span {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.25s ease;
}
.edu-hero-carousel .owl-dots .owl-dot.active span,
.edu-hero-carousel .owl-dots .owl-dot:hover span {
    width: 22px;
    border-radius: 10px;
    background: var(--accent);
}

/* FEATURE CARDS (HIGHLIGHTS) */
.edu-features-wrap {
    margin-top: -45px;
    position: relative;
    z-index: 10;
}

.edu-feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 22px 18px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.edu-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.edu-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.edu-feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a3325;
}

.edu-feature-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* SECTION HEADERS */
.edu-section {
    padding: 60px 0;
}

.edu-section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.edu-section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: var(--primary-light);
    padding: 3px 14px;
    border-radius: 20px;
}

.edu-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0b341c;
    position: relative;
    padding-bottom: 12px;
    margin: 0;
}

/* NOTICE BOARD & EVENTS WIDGET */
.edu-notice-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.edu-notice-header {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.edu-notice-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 420px;
    overflow-y: auto;
}

.edu-notice-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: background 0.2s;
}

.edu-notice-item:hover {
    background: #f8faf9;
}

.edu-notice-date {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-align: center;
    min-width: 58px;
    flex-shrink: 0;
}
.edu-notice-date .day {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.edu-notice-date .month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.edu-notice-content h5 {
    font-size: 15px;
    margin: 0 0 4px 0;
    font-weight: 600;
    line-height: 1.4;
}
.edu-notice-content h5 a {
    color: #1e293b;
}
.edu-notice-content h5 a:hover {
    color: var(--primary);
}
.edu-notice-meta {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* PRINCIPAL'S MESSAGE CARD */
.edu-principal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 24px;
    height: 100%;
}

.edu-principal-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.edu-principal-quote {
    font-style: italic;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-top: 14px;
    border-left: 3px solid var(--primary);
    padding-left: 14px;
}

/* COURSES & DEPARTMENTS CARDS */
.edu-course-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.edu-course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.edu-course-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.edu-course-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.edu-course-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.edu-course-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0b341c;
}

.edu-course-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* PHOTO GALLERY */
.edu-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.edu-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.edu-gallery-item:hover img {
    transform: scale(1.08);
}

.edu-gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 90, 47, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.edu-gallery-item:hover .edu-gallery-overlay {
    opacity: 1;
}

.edu-gallery-overlay h6 {
    color: #fff;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

/* ADMISSION CALL TO ACTION (CTA) */
.edu-admission-cta {
    background: linear-gradient(135deg, #007C41 0%, #004d28 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.edu-admission-cta h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.edu-admission-cta p {
    color: #e2f0d9;
    font-size: 16px;
    margin-bottom: 24px;
}

.edu-btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #c49d28 100%);
    color: #0b341c !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transition: all 0.25s;
}

.edu-btn-gold:hover {
    background: linear-gradient(135deg, #f5cc4b 0%, #d4af37 100%);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.edu-btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: all 0.25s;
}

.edu-btn-outline:hover {
    background: #ffffff;
    color: var(--primary-dark) !important;
}

/* FOOTER */
.edu-footer {
    background-color: #082817;
    color: #cbd5e1;
    padding-top: 55px;
    border-top: 4px solid var(--accent);
}

.edu-footer h5 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.edu-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent);
}

.edu-footer p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.edu-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.edu-footer-links li {
    margin-bottom: 8px;
}
.edu-footer-links a {
    color: #94a3b8;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.edu-footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.edu-footer-bottom {
    background: #04140b;
    padding: 16px 0;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* INNER PAGE ELEMENTS */
.edu-page-banner {
    background: linear-gradient(135deg, #005a2f 0%, #007C41 100%);
    padding: 40px 0;
    color: #ffffff;
    margin-bottom: 35px;
}
.edu-page-banner h1 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 8px;
}
.edu-breadcrumb {
    font-size: 14px;
    color: #e2f0d9;
    margin: 0;
}
.edu-breadcrumb a {
    color: #ffeb3b;
}

.edu-content-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}

/* ENHANCED MOBILE & TABLET RESPONSIVE RULES */
@media (max-width: 991px) {
    .edu-title-bn { font-size: 24px; }
    .edu-title-ar { font-size: 20px; }
    .edu-slide-item { min-height: 380px; }
    .edu-slide-title { font-size: 26px; }
    .edu-features-wrap { margin-top: 15px; }
    .edu-section { padding: 45px 0; }
    .edu-header-quick-card { display: none !important; }
}

@media (max-width: 767px) {
    /* Mobile Topbar */
    .edu-topbar {
        font-size: 12px;
        padding: 5px 0;
    }
    .edu-topbar-item {
        margin-right: 8px;
        margin-bottom: 2px;
    }
    .edu-campus-pill {
        display: none;
    }

    /* Mobile Header Branding */
    .edu-header-branding {
        padding: 10px 0;
    }
    .edu-ayat-box {
        padding: 6px 12px;
        margin-bottom: 10px;
    }
    .edu-quran-ayat {
        font-size: 16px;
    }
    .edu-brand-tagline {
        font-size: 12px;
    }
    .edu-logo-wrapper {
        gap: 10px;
    }
    .edu-logo-img {
        height: 60px;
    }
    .edu-title-bn {
        font-size: 20px;
    }
    .edu-title-ar {
        font-size: 18px;
    }

    /* Hero Slider */
    .edu-slide-item {
        min-height: 320px;
    }
    .edu-slide-content {
        padding: 25px 10px;
    }
    .edu-slide-title {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    .edu-slide-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    .edu-slide-badge {
        font-size: 11px;
        padding: 3px 10px;
        margin-bottom: 10px;
    }
    .edu-btn-gold, .edu-btn-outline {
        padding: 8px 18px;
        font-size: 14px;
    }
    .edu-hero-carousel .owl-nav button.owl-prev,
    .edu-hero-carousel .owl-nav button.owl-next {
        top: auto;
        bottom: 4px;
        transform: none;
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .edu-hero-carousel .owl-nav button.owl-prev { left: 8px; }
    .edu-hero-carousel .owl-nav button.owl-next { right: 8px; }
    .edu-hero-carousel .owl-dots { bottom: 10px; }

    /* Feature Cards */
    .edu-features-wrap {
        margin-top: 15px;
    }
    .edu-feature-card {
        padding: 16px;
    }
    .edu-feature-title {
        font-size: 16px;
    }

    /* Sections & Titles */
    .edu-section {
        padding: 35px 0;
    }
    .edu-section-title-wrap {
        margin-bottom: 25px;
    }
    .edu-section-title {
        font-size: 22px;
    }
    .edu-section-subtitle {
        font-size: 12px;
    }

    /* Principal & Notice Boxes */
    .edu-principal-card {
        padding: 18px;
    }
    .edu-notice-header {
        padding: 10px 14px;
    }
    .edu-notice-header h4 {
        font-size: 16px;
    }
    .edu-notice-item {
        padding: 10px 12px;
        gap: 10px;
    }

    /* Inner Page Elements */
    .edu-page-banner {
        padding: 25px 0;
        margin-bottom: 20px;
    }
    .edu-page-banner h1 {
        font-size: 24px;
    }
    .edu-content-card {
        padding: 18px;
        margin-bottom: 20px;
    }

    /* Tables Responsiveness on Mobile */
    .table-responsive {
        border-radius: var(--radius-sm);
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive table {
        min-width: 540px;
    }

    /* CTA Section */
    .edu-admission-cta {
        padding: 24px 18px;
        text-align: center;
    }
    .edu-admission-cta h3 {
        font-size: 22px;
    }
    .edu-admission-cta p {
        font-size: 14px;
    }

    /* Form Inputs prevent iOS auto zoom */
    .form-control, .form-select {
        font-size: 16px !important;
    }
}

/* MOBILE BOTTOM STICKY ACTION BAR (< 992px) */
@media (max-width: 991px) {
    body {
        padding-bottom: 64px !important;
    }

    .edu-mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #ffffff;
        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #e2e8e3;
    }

    .edu-mobile-bottom-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
        transition: 0.2s ease;
        position: relative;
    }

    .edu-mobile-bottom-link i {
        font-size: 18px;
        margin-bottom: 2px;
        transition: 0.2s ease;
    }

    .edu-mobile-bottom-link.active,
    .edu-mobile-bottom-link:hover {
        color: var(--primary);
    }

    .edu-mobile-bottom-link.active i {
        transform: translateY(-2px);
    }

    /* Floating Center CTA (ভর্তি ফরম) */
    .edu-bottom-cta {
        margin-top: -14px;
    }

    .edu-bottom-cta-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #007C41 0%, #D4AF37 100%);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        box-shadow: 0 4px 10px rgba(0, 124, 65, 0.35);
        border: 2px solid #ffffff;
        margin-bottom: 3px;
        transition: 0.3s ease;
    }

    .edu-bottom-cta:hover .edu-bottom-cta-circle {
        transform: scale(1.08);
    }

    .edu-bottom-cta span {
        color: var(--primary-deep);
        font-weight: 700;
    }
}

/* ARABIC RTL SUPPORT */
body.lang-ar {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic), 'Amiri', 'Hind Siliguri', serif;
}

body.lang-ar .edu-nav-list {
    flex-direction: row;
}

body.lang-ar .edu-nav-cta {
    margin-right: auto !important;
    margin-left: 0 !important;
}

body.lang-ar .edu-dropdown-menu {
    left: auto;
    right: 0;
    text-align: right;
}

body.lang-ar .edu-dropdown-menu li a:hover {
    padding-left: 18px;
    padding-right: 22px;
}

body.lang-ar .edu-topbar-item {
    margin-right: 0;
    margin-left: 12px;
}

body.lang-ar .edu-social-icons a {
    margin-left: 0;
    margin-right: 6px;
}

body.lang-ar .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
}


