/* ============================================================
   MMU Website - Main Stylesheet
   ============================================================ */

:root {
    --primary: #8B1A1A;
    --primary-dark: #6B1212;
    --primary-light: #A82424;
    --secondary: #1A3A6B;
    --accent: #D4AF37;
    --dark: #1a1a1a;
    --gray-900: #1f2937;
    --gray-800: #374151;
    --gray-700: #4b5563;
    --gray-600: #6b7280;
    --gray-500: #9ca3af;
    --gray-400: #d1d5db;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
    font-size: 15.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 26, 26, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-header { max-width: 720px; margin-bottom: 50px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { font-size: 38px; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { color: var(--gray-600); font-size: 16.5px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(139, 26, 26, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 26, 26, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}
.btn-secondary:hover { background: #122850; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-outline-dark {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

.btn-gold {
    background: var(--accent);
    color: var(--dark);
}
.btn-gold:hover { background: #c19c2a; transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 13.5px; }
.btn-lg { padding: 17px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
    background: var(--dark);
    color: var(--gray-400);
    font-size: 13px;
    padding: 9px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left span { margin-right: 24px; }
.top-bar-left i { color: var(--accent); margin-right: 6px; }
.top-bar-right { display: flex; gap: 14px; }
.top-bar-right a {
    color: var(--gray-400);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    font-size: 12px;
}
.top-bar-right a:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   Main Header
   ============================================================ */
.main-header {
    background: var(--white);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo-img { height: 68px; width: auto; }
.header-admission-btn { display: flex; gap: 12px; }

.btn-admission-header, .btn-result-header {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.btn-admission-header { background: var(--primary); color: var(--white); }
.btn-admission-header:hover { background: var(--primary-dark); }
.btn-result-header { background: var(--secondary); color: var(--white); }
.btn-result-header:hover { background: #122850; }

/* ============================================================
   Navigation
   ============================================================ */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.nav-inner { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 6px;
    color: var(--white);
    padding: 16px 20px;
    font-weight: 500;
    font-size: 14.5px;
    white-space: nowrap;
}
.nav-menu > li > a i { font-size: 10px; }
.nav-menu > li:hover > a, .nav-menu > li.active > a {
    background: rgba(0,0,0,0.18);
}

.dropdown {
    position: absolute;
    top: 100%; left: 0;
    background: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px 0;
    border-top: 3px solid var(--accent);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block;
    padding: 11px 22px;
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 500;
}
.dropdown li a:hover { background: var(--gray-100); color: var(--primary); padding-left: 26px; }
.dropdown-header {
    padding: 10px 22px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    opacity: 0.7;
}
.mega-dropdown { min-width: 300px; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 18px 16px;
}
.mobile-menu-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; }

/* ============================================================
   Hero Slider
   ============================================================ */
.hero-slider { position: relative; }
.hero-slide {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,15,20,0.82) 0%, rgba(15,15,20,0.45) 55%, rgba(15,15,20,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; color: var(--white); }
.hero-content .tag {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-content h1 { font-size: 50px; color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-slider .swiper-pagination-bullet { background: var(--white); opacity: 0.5; width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--accent); }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    width: 50px; height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.hero-slider .swiper-button-next:after, .hero-slider .swiper-button-prev:after { font-size: 18px; }

/* ============================================================
   Quick Stats Bar
   ============================================================ */
.stats-bar-wrap {
    background: var(--gray-100);
    padding: 50px 0;
    border-bottom: 1px solid var(--gray-300);
}
.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    text-align: center;
}
.stat-item { padding: 0 14px; border-right: 1px solid var(--gray-300); }
.stat-item:last-child { border-right: none; }
.stat-item .icon { font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.stat-item h3 { font-size: 32px; color: var(--gray-900); margin-bottom: 4px; }
.stat-item p { color: var(--gray-600); font-size: 13.5px; font-weight: 500; }

/* ============================================================
   Quick Link Cards
   ============================================================ */
.ql-cards-wrap {
    background: var(--white);
    padding: 60px 0;
}
.ql-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ql-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-300);
    border-bottom: 4px solid transparent;
}
.ql-card:hover { transform: translateY(-6px); border-bottom-color: var(--primary); box-shadow: var(--shadow-lg); }
.ql-card .ql-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.ql-card:nth-child(2) .ql-icon { background: linear-gradient(135deg, var(--secondary), #2a4d8f); }
.ql-card:nth-child(3) .ql-icon { background: linear-gradient(135deg, #b45309, #d97706); }
.ql-card:nth-child(4) .ql-icon { background: linear-gradient(135deg, #16a34a, #15803d); }
.ql-card h4 { font-size: 17px; margin-bottom: 10px; }
.ql-card p { color: var(--gray-600); font-size: 13.5px; margin-bottom: 20px; line-height: 1.6; }

/* ============================================================
   About Section
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.about-badge {
    position: absolute;
    bottom: -25px; right: -25px;
    background: var(--primary);
    color: var(--white);
    padding: 22px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.about-badge h3 { color: var(--white); font-size: 30px; }
.about-badge p { font-size: 12.5px; opacity: 0.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.about-feature i { color: var(--primary); font-size: 20px; margin-top: 3px; }
.about-feature h5 { font-size: 14.5px; margin-bottom: 3px; }
.about-feature p { font-size: 13px; color: var(--gray-600); }

/* ============================================================
   Colleges / Programmes Grid
   ============================================================ */
.colleges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.college-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--gray-300);
}
.college-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.college-card-img { height: 170px; overflow: hidden; position: relative; }
.college-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.college-card:hover .college-card-img img { transform: scale(1.08); }
.college-card-body { padding: 22px; }
.college-card-body h4 { font-size: 16px; margin-bottom: 8px; min-height: 42px;}
.college-card-body p { font-size: 13px; color: var(--gray-600); margin-bottom: 14px; }
.college-card-link { color: var(--primary); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.college-card-link:hover { gap: 10px; }

/* ============================================================
   News / Announcements
   ============================================================ */
.news-tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.news-tab-btn {
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--gray-200);
    color: var(--gray-700);
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
}
.news-tab-btn.active, .news-tab-btn:hover { background: var(--primary); color: var(--white); }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
    display: flex;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid var(--gray-300);
    align-items: center;
}
.news-item:first-child { padding-top: 0; }
.news-date-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    width: 72px; height: 72px;
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.news-date-box .day { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date-box .month { font-size: 11px; text-transform: uppercase; color: var(--gray-600); font-weight: 600; }
.news-content { flex: 1; }
.news-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 6px;
}
.news-content h4 { font-size: 16px; margin-bottom: 4px; }
.news-content p { font-size: 13.5px; color: var(--gray-600); }
.news-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.news-item:hover .news-arrow { background: var(--primary); color: var(--white); }

/* ============================================================
   Vice Chancellor Message
   ============================================================ */
.vc-section { background: var(--gray-100); }
.vc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center; }
.vc-img-wrap { position: relative; }
.vc-img-wrap img { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); width: 100%; }
.vc-quote-icon {
    position: absolute; top: -20px; left: -20px;
    width: 60px; height: 60px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-md);
}
.vc-content h3 { font-size: 26px; margin-bottom: 4px; }
.vc-content .vc-title { color: var(--primary); font-weight: 600; margin-bottom: 20px; display: block; }
.vc-content p { color: var(--gray-700); margin-bottom: 16px; font-size: 15.5px; }
.vc-signature { margin-top: 20px; font-family: var(--font-heading); font-style: italic; font-size: 20px; color: var(--gray-900); }

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); font-size: 30px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 15.5px; }
.cta-btns { display: flex; gap: 14px; }

/* ============================================================
   Placements Logo Strip
   ============================================================ */
.placements-strip { background: var(--white); padding: 50px 0; border-top: 1px solid var(--gray-300); }
.placement-logos { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 30px; opacity: 0.75; }
.placement-logos .logo-placeholder {
    background: var(--gray-200);
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    color: var(--gray-600);
    font-size: 14px;
}

/* ============================================================
   Gallery Grid
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; height: 220px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(139,26,26,0.85), transparent 60%);
    display: flex; align-items: flex-end; padding: 18px;
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 14px; }

/* ============================================================
   Page Banner (Inner Pages)
   ============================================================ */
.page-banner {
    background: linear-gradient(rgba(15,15,20,0.78), rgba(15,15,20,0.78)), url('/public/images/L1_162977_187060.webp');
    background-size: cover;
    background-position: center;
    padding: 70px 0 36px;
    text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 38px; margin-bottom: 12px; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; color: rgba(255,255,255,0.8); font-size: 14px; }
.breadcrumb a { color: var(--accent); font-weight: 500; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ============================================================
   Result Page
   ============================================================ */
.result-search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 50px;
    max-width: 680px;
    margin: -90px auto 0;
    position: relative;
    z-index: 10;
}
.result-search-card .icon-top {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 32px;
    margin: 0 auto 22px;
    box-shadow: 0 10px 30px rgba(139,26,26,0.3);
}
.result-search-card h2 { text-align: center; font-size: 26px; margin-bottom: 8px; }
.result-search-card > p { text-align: center; color: var(--gray-600); margin-bottom: 32px; font-size: 14.5px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--gray-800); }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--gray-100);
}
.form-control:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(139,26,26,0.08); }
textarea.form-control { resize: vertical; min-height: 120px; }

.result-status-msg { padding: 16px 20px; border-radius: 8px; margin-top: 20px; font-size: 14.5px; display: none; }
.result-status-msg.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; display: block; }
.result-status-msg.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; display: block; }
.result-status-msg.loading { background: #eff6ff; color: var(--secondary); border: 1px solid #bfdbfe; display: block; }

.result-card-output {
    margin-top: 28px;
    padding: 26px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    display: none;
}
.result-card-output.show { display: block; }
.result-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--gray-300); font-size: 14.5px; }
.result-info-row:last-of-type { border-bottom: none; }
.result-info-row span:first-child { color: var(--gray-600); font-weight: 500; }
.result-info-row span:last-child { font-weight: 600; color: var(--gray-900); }

.result-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: var(--gray-700);
}
.result-info-box h5 { color: var(--secondary); margin-bottom: 10px; font-size: 15px; }
.result-info-box ul { padding-left: 18px; list-style: disc; }
.result-info-box li { margin-bottom: 6px; }

/* ============================================================
   Admissions / Programme Tables
   ============================================================ */
.prog-filter-bar { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.prog-filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 13.5px;
}
.prog-filter-btn.active, .prog-filter-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--white); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
table.data-table { width: 100%; border-collapse: collapse; background: var(--white); }
table.data-table th { background: var(--primary); color: var(--white); padding: 16px 18px; text-align: left; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
table.data-table td { padding: 15px 18px; border-bottom: 1px solid var(--gray-300); font-size: 14px; }
table.data-table tr:hover td { background: var(--gray-100); }
table.data-table tr:last-child td { border-bottom: none; }

.admission-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 30px 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--gray-300); }
.step-number { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin: 0 auto 16px; }
.step-card h4 { font-size: 15.5px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--gray-600); }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-info-card { display: flex; gap: 18px; padding: 22px; background: var(--gray-100); border-radius: var(--radius-md); align-items: flex-start; }
.contact-info-card .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info-card h5 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 13.5px; color: var(--gray-600); }
.contact-form-card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 36px; border: 1px solid var(--gray-300); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ============================================================
   Admin Panel Styles
   ============================================================ */
.admin-body { background: var(--gray-100); font-family: var(--font-body); min-height: 100vh; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 20px; }
.admin-login-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 46px; max-width: 420px; width: 100%; }
.admin-login-card img { height: 70px; margin: 0 auto 20px; }
.admin-login-card h2 { text-align: center; font-size: 22px; margin-bottom: 6px; }
.admin-login-card > p { text-align: center; color: var(--gray-600); font-size: 13.5px; margin-bottom: 30px; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--dark); color: var(--gray-400); flex-shrink: 0; }
.admin-sidebar-header { padding: 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; }
.admin-sidebar-header img { height: 40px; }
.admin-sidebar-header span { color: var(--white); font-weight: 700; font-size: 14px; }
.admin-nav { padding: 18px 12px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 8px; margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--gray-400); }
.admin-nav a i { width: 18px; }
.admin-nav a:hover, .admin-nav a.active { background: var(--primary); color: var(--white); }
.admin-main { flex: 1; display: flex; flex-direction: column; }
.admin-topbar { background: var(--white); padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); }
.admin-topbar h1 { font-size: 20px; }
.admin-user-chip { display: flex; align-items: center; gap: 12px; }
.admin-user-chip .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.admin-content { padding: 30px; flex: 1; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 30px; }
.admin-stat-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--primary); }
.admin-stat-card:nth-child(2) { border-left-color: var(--secondary); }
.admin-stat-card:nth-child(3) { border-left-color: var(--accent); }
.admin-stat-card:nth-child(4) { border-left-color: var(--success); }
.admin-stat-card h3 { font-size: 28px; margin-bottom: 4px; }
.admin-stat-card p { font-size: 13px; color: var(--gray-600); }
.admin-stat-card .icon { font-size: 30px; color: var(--gray-300); }

.admin-card { background: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-300); }
.admin-card-header h3 { font-size: 17px; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: var(--secondary); border: 1px solid #bfdbfe; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 11.5px; font-weight: 700; }
.badge-success { background: #f0fdf4; color: var(--success); }
.badge-danger { background: #fef2f2; color: var(--danger); }
.badge-warning { background: #fffbeb; color: var(--warning); }
.badge-info { background: #eff6ff; color: var(--secondary); }

.btn-icon-sm { width: 34px; height: 34px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: var(--gray-200); color: var(--gray-700); }
.btn-icon-sm:hover { background: var(--primary); color: var(--white); }
.btn-icon-sm.danger:hover { background: var(--danger); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.pagination a, .pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--white); border: 1px solid var(--gray-300); font-size: 14px; font-weight: 600; }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   Back to Top
   ============================================================ */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* ============================================================
   Footer
   ============================================================ */
.main-footer { background: var(--dark); color: var(--gray-400); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { height: 56px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-about p { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; color: var(--gray-500); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--accent); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 13.5px; color: var(--gray-500); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a i { font-size: 9px; color: var(--accent); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-item i { color: var(--accent); margin-top: 4px; width: 16px; }
.contact-item p { font-size: 13.5px; color: var(--gray-500); }
.contact-item a { color: var(--gray-500); }
.contact-item a:hover { color: var(--white); }

.footer-accreditation { background: rgba(255,255,255,0.03); padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.accreditation-items { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.acc-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.acc-badge { font-weight: 800; font-size: 15px; color: var(--accent); }
.acc-item span:last-child { font-size: 11.5px; color: var(--gray-500); }

.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--gray-500); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 13px; color: var(--gray-500); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .stats-grid-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .stat-item { border-right: none; }
    .ql-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .colleges-grid { grid-template-columns: repeat(2, 1fr); }
    .vc-grid { grid-template-columns: 1fr; }
    .vc-img-wrap { max-width: 320px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admission-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-left span:nth-child(3) { display: none; }
    .header-admission-btn { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-menu.show { display: flex; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { padding: 15px 24px; width: 100%; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border-radius: 0; background: rgba(0,0,0,0.15); border-top: none; }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { color: var(--white); padding-left: 40px; }
    .dropdown li a:hover { background: rgba(0,0,0,0.2); padding-left: 44px; }

    .hero-content h1 { font-size: 28px; }
    .hero-slide { height: 480px; }
    .stats-grid-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .ql-cards-grid { grid-template-columns: 1fr 1fr; }
    .colleges-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 26px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .admission-steps { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .result-search-card { padding: 30px 22px; }
    .admin-sidebar { position: fixed; left: -260px; top: 0; bottom: 0; z-index: 200; transition: var(--transition); }
    .admin-sidebar.show { left: 0; }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .news-item { flex-wrap: wrap; }
    .about-features { grid-template-columns: 1fr; }
    .vc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .ql-cards-grid { grid-template-columns: 1fr; }
    .stats-grid-row { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 24px; }
    .hero-slide { height: 420px; }
}
