/* ============================================
   SWASTIK CAREER ACADEMY - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a3a6b;
    --primary-dark: #0f2347;
    --primary-light: #2554a0;
    --secondary: #f5a623;
    --secondary-dark: #d4890f;
    --accent: #e74c3c;
    --green: #27ae60;
    --text-dark: #1a1a2e;
    --text-mid: #444;
    --text-light: #777;
    --white: #ffffff;
    --light-bg: #f4f7fc;
    --border: #e0e8f5;
    --shadow: 0 4px 20px rgba(26, 58, 107, 0.12);
    --shadow-lg: 0 10px 40px rgba(26, 58, 107, 0.18);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ============ TOP BAR ============ */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 13px;
    font-family: var(--font-body);
    position: relative;
    z-index: 1000;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.topbar-right {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-shrink: 0;
}
.topbar-right a, .topbar-timing {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.topbar-right a:hover { color: var(--secondary); }

/* Notice Ticker */
.notice-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    max-width: 500px;
}
.notice-label {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-items {
    display: flex;
    gap: 60px;
    animation: ticker 25s linear infinite;
    white-space: nowrap;
}
.ticker-item { color: rgba(255,255,255,0.9); font-size: 12.5px; }
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ============ HEADER ============ */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 20px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.logo-tagline {
    font-size: 11px;
    color: var(--secondary-dark);
    font-style: italic;
    font-weight: 600;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary);
    background: var(--light-bg);
}
.btn-enquire {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
}
.btn-enquire:hover { background: #c0392b !important; transform: translateY(-1px); }

/* Dropdown */
.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-body);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { color: var(--primary); background: var(--light-bg); padding-left: 24px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.hamburger span {
    width: 25px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: var(--primary-dark);
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #0f2347;
}
/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.7);
}
.dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.3);
}

/* ============ STATS BAR ============ */
.stats-bar {
    background: var(--primary);
    color: var(--white);
    padding: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    text-align: center;
    padding: 22px 15px;
    border-right: 1px solid rgba(255,255,255,0.15);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--secondary);
    transition: width 0.4s ease;
}
.stat-item:hover::after { width: 60%; }
.stat-num {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--secondary);
    line-height: 1;
    display: block;
    letter-spacing: 1px;
}
.stat-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-header {
    text-align: center;
    margin-bottom: 55px;
}
.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 15px;
}
.section-title span { color: var(--secondary-dark); }
.section-desc {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 15px auto 0;
    width: fit-content;
}
.divider::before, .divider::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--secondary);
}
.divider i { color: var(--secondary); font-size: 16px; }

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.about-image-badge .num {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1;
    display: block;
}
.about-image-badge .lbl { font-size: 13px; font-weight: 700; }
.about-label { color: var(--secondary-dark); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.about-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 18px;
}
.about-content p { color: var(--text-mid); margin-bottom: 15px; font-size: 15.5px; }
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}
.about-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-mid);
}
.about-feat-item i { color: var(--green); font-size: 16px; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(26,58,107,0.3); }
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-heading);
    border: 2px solid var(--primary);
    transition: var(--transition);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ============ COURSES ============ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.course-card-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}
.course-card-top::before {
    content: '';
    position: absolute;
    right: -20px; top: -20px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.course-icon {
    width: 55px; height: 55px;
    background: rgba(255,255,255,0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 14px;
}
.course-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.course-card-top h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.course-body { padding: 22px 24px; }
.course-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 600;
}
.course-meta i { color: var(--primary); }
.course-features { margin-bottom: 20px; }
.course-features span {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 3px 3px 3px 0;
}
.course-enroll {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.course-enroll:hover { background: var(--secondary-dark); color: var(--white); }
.view-all-wrap { text-align: center; margin-top: 40px; }

/* ============ FACILITIES ============ */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.facility-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.facility-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}
.facility-icon {
    width: 65px; height: 65px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin: 0 auto 16px;
    transition: var(--transition);
}
.facility-card:hover .facility-icon {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    transform: scale(1.1);
}
.facility-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.facility-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.6; }

/* ============ TESTIMONIALS ============ */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}
.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--primary);
    opacity: 0.08;
    position: absolute;
    top: 10px; left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
}
.stars { color: var(--secondary); font-size: 14px; margin-bottom: 14px; }
.testimonial-text {
    font-size: 14.5px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.author-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.author-exam { font-size: 13px; color: var(--secondary-dark); font-weight: 600; }

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}
.cta-section p { font-size: 17px; opacity: 0.88; margin-bottom: 35px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-white:hover { background: var(--secondary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ============ NOTICES ============ */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.notice-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.notice-item:hover { transform: translateX(4px); }
.notice-item.important { border-left-color: var(--accent); }
.notice-icon {
    width: 42px; height: 42px;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}
.notice-item.important .notice-icon { color: var(--accent); }
.notice-content h5 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.4;
}
.notice-date { font-size: 12px; color: var(--text-light); }
.notice-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* ============ PAGE HERO ============ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -60px; bottom: -60px;
    width: 200px; height: 200px;
    border: 40px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}
.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    opacity: 0.8;
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { opacity: 0.6; }

/* ============ CONTACT FORM ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}
.contact-detail h5 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
    font-size: 15px;
    color: var(--text-mid);
}
.contact-detail a:hover { color: var(--primary); }
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 25px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 7px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--light-bg);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-submit:hover { background: var(--primary-light); transform: translateY(-1px); }
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14.5px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============ MAP ============ */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
    margin-top: 30px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,107,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 28px; }

/* ============ RESULTS ============ */
.results-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.result-photo {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--secondary);
    background: var(--light-bg);
}
.result-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 12px;
    border: 3px solid var(--secondary);
}
.result-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--primary); }
.result-exam { font-size: 13px; color: var(--secondary-dark); font-weight: 600; margin-top: 4px; }
.result-year { font-size: 12px; color: var(--text-light); margin-top: 3px; }

/* ============ ABOUT PAGE ============ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-photo {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}
.team-info { padding: 20px; }
.team-name { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.team-subject { font-size: 13px; color: var(--secondary-dark); font-weight: 600; }
.team-exp { font-size: 13px; color: var(--text-light); margin-top: 8px; }

/* ============ FOOTER ============ */
.site-footer { background: #0d1b36; color: rgba(255,255,255,0.8); }
.footer-top { padding: 65px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo img { height: 50px; filter: brightness(1.2); }
.footer-logo h3 { font-family: var(--font-heading); font-size: 18px; color: var(--white); font-weight: 700; }
.footer-col p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 2px;
    background: var(--secondary);
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
}
.footer-links a i { font-size: 10px; color: var(--secondary); }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    align-items: flex-start;
}
.footer-contact-list i { color: var(--secondary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--secondary); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); transform: translateY(-2px); }
.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 16px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 10px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: #25d366;
    color: white;
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 500;
    transition: var(--transition);
    animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: 500;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ============ ADMIN STYLES ============ */
.admin-body {
    background: #f0f2f5;
    font-family: var(--font-body);
}
.admin-sidebar {
    position: fixed;
    left: 0; top: 0;
    width: 250px;
    height: 100vh;
    background: var(--primary-dark);
    color: var(--white);
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}
.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-sidebar-header img { height: 40px; }
.admin-sidebar-header span { font-family: var(--font-heading); font-size: 15px; font-weight: 600; }
.admin-nav { padding: 15px 0; }
.admin-nav-item > a, .admin-nav-item > span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    color: rgba(255,255,255,0.75);
    font-size: 14.5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}
.admin-nav-item > a:hover,
.admin-nav-item.active > a {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--secondary);
    padding-left: 19px;
}
.admin-nav-item i { font-size: 16px; width: 20px; text-align: center; }
.admin-main {
    margin-left: 250px;
    min-height: 100vh;
}
.admin-topbar {
    background: var(--white);
    padding: 15px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.admin-page-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary); }
.admin-content { padding: 28px; }
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
}
.admin-card-header h3 { font-family: var(--font-heading); font-size: 19px; color: var(--primary); font-weight: 700; }
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 16px;
}
.admin-stat-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}
.bg-blue { background: linear-gradient(135deg, #1a3a6b, #2554a0); }
.bg-orange { background: linear-gradient(135deg, #f5a623, #d4890f); }
.bg-green { background: linear-gradient(135deg, #27ae60, #1e8449); }
.bg-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.admin-stat-num { font-family: var(--font-display); font-size: 34px; color: var(--primary); line-height: 1; }
.admin-stat-lbl { font-size: 13px; color: var(--text-light); font-weight: 600; margin-top: 3px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
    background: var(--light-bg);
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.admin-table tr:hover td { background: var(--light-bg); }
.badge-active { background: #d4edda; color: #155724; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.badge-inactive { background: #f8d7da; color: #721c24; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.btn-sm { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; gap: 5px; }
.btn-edit { background: #fff3cd; color: #856404; }
.btn-edit:hover { background: #f5a623; color: var(--white); }
.btn-delete { background: #f8d7da; color: #721c24; }
.btn-delete:hover { background: var(--accent); color: var(--white); }
.btn-add { background: var(--primary); color: var(--white); padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; font-family: var(--font-heading); display: inline-flex; align-items: center; gap: 7px; transition: var(--transition); }
.btn-add:hover { background: var(--primary-light); }
.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.admin-login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.admin-login-box .login-logo { text-align: center; margin-bottom: 30px; }
.admin-login-box .login-logo img { height: 70px; margin: 0 auto 10px; }
.admin-login-box .login-logo h2 { font-family: var(--font-heading); font-size: 22px; color: var(--primary); }
.admin-login-box .login-logo p { font-size: 14px; color: var(--text-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-track { grid-template-columns: 1fr 1fr; }
    .results-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .topbar-left { display: none; }
    .topbar-right { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .topbar-right .topbar-timing { display: none; }
    .logo img { height: 50px; }
    .logo-name { font-size: 17px; }
    .logo-tagline { display: none; }
    .hamburger { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 80px 0 30px;
        z-index: 998;
    }
    .main-nav.open { right: 0; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list > li > a { padding: 14px 20px; border-radius: 0; border-bottom: 1px solid var(--border); }
    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
        border-top: none;
        border-left: 3px solid var(--primary);
    }
    .btn-enquire { margin: 15px 20px; border-radius: 8px !important; }
    .hero-slider { height: 260px; }
    .slider-btn { width: 36px; height: 36px; font-size: 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
    .section { padding: 55px 0; }
    .section-title { font-size: 30px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-badge { right: 0; bottom: -15px; }
    .courses-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-track { grid-template-columns: 1fr; }
    .notices-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-section h2 { font-size: 30px; }
    .page-hero h1 { font-size: 30px; }
    .admin-sidebar { transform: translateX(-250px); }
    .admin-main { margin-left: 0; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero-slider { height: 210px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .facilities-grid { grid-template-columns: 1fr 1fr; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
