/* ============================================
   IMCS - Institute Management System
   Complete Stylesheet (Maroon & Gold Theme)
   ============================================ */

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Maroon & Gold Theme Colors */
    --primary: #800000;        /* Maroon */
    --primary-light: #a52a2a;  /* Light Maroon/Brown */
    --primary-dark: #5c0000;   /* Dark Maroon */
    
    --accent: #D4AF37;         /* Gold Standard */
    --accent-light: #F4D03F;   /* Bright Gold */
    
    /* Utility Colors */
    --secondary: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1f2937;
    --bg-darker: #111827;
    --bg-card: #ffffff;
    
    /* Text */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #f1f5f9;
    
    /* Borders */
    --border-color: #e2e8f0;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 20px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: #000000;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.top-info i {
    color: var(--accent); /* Gold Icons */
}

.top-info a {
    color: var(--text-muted);
}

.top-info a:hover {
    color: var(--accent-light);
}

.top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.top-social a:hover {
    background: var(--accent); /* Gold Hover */
    color: #000;
    transform: translateY(-2px);
}

/* ============================================
   Main Header
   ============================================ */
.main-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--accent); /* Gold Subtitle */
    font-family: 'Poppins', sans-serif;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu li a {
    display: block;
    padding: 10px 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent); /* Gold Underline */
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: white;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 1001;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.mobile-menu-header span {
    font-weight: 600;
    font-size: 18px;
    color: white;
}

.close-menu {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: white;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
    transition: var(--transition);
}

.mobile-nav li a:hover,
.mobile-nav li a.active {
    background: var(--primary);
    color: white;
}

.mobile-contact {
    padding: 20px;
    border-top: 1px solid #333;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 600px;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent; /* Image will now be fully visible */
    border: 4px solid #D4AF37; /* Added Gold Border */
    box-sizing: border-box;
    z-index: 1; /* Ensure border is above image */
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-text {
    max-width: 650px;
}

.slide-text h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    /* Add shadow for readability */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); 
}

.slide-text p {
    font-size: 18px;
    color: var(--text-muted); /* Or white */
    margin-bottom: 30px;
    line-height: 1.8;
    /* Add shadow for readability */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent); /* Gold Hover */
    border-color: var(--accent);
    color: #000;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--accent); /* Gold Active Dot */
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent); /* Gold Icons */
    margin: 0 auto 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 80px 0;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(128, 0, 0, 0.1); /* Light Maroon bg */
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--primary); /* Maroon Check */
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-placeholder {
    height: 450px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.5);
}

.image-placeholder span {
    font-size: 18px;
    opacity: 0.8;
}

/* ============================================
   Courses Section
   ============================================ */
.courses-section {
    background: var(--bg-primary);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-placeholder i {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary); /* Maroon Badge */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.course-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.course-meta .fee {
    font-weight: 600;
    color: var(--primary); /* Maroon Price */
}

.btn-enquiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: var(--bg-secondary);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-enquiry:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   Why Choose Section
   ============================================ */
.why-section {
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 35px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(128, 0, 0, 0.1); /* Light Maroon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: white;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Teachers Section
   ============================================ */
.teachers-section {
    background: var(--bg-primary);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.teacher-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.teacher-image {
    height: 200px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-placeholder i {
    font-size: 60px;
    color: var(--text-muted);
}

.teacher-info {
    padding: 20px;
}

.teacher-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.teacher-info .designation {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.teacher-info p {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.teacher-info i {
    color: var(--primary);
}

/* ============================================
   News Section
   ============================================ */
.news-section {
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-date {
    background: var(--primary);
    color: white;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.news-date .day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.news-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.news-meta i {
    margin-right: 5px;
}

/* ============================================
   Offers Section
   ============================================ */
.offers-section {
    background: var(--bg-primary);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
    border: 2px solid transparent;
}

.offer-card:hover {
    border-color: var(--accent); /* Gold Border */
}

.offer-badge {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.offer-badge .discount {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.offer-badge .off {
    font-size: 12px;
    text-transform: uppercase;
}

.offer-content {
    padding: 20px;
    flex: 1;
}

.offer-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.offer-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.offer-validity {
    font-size: 13px;
    color: var(--primary); /* Maroon */
}

.offer-validity i {
    margin-right: 5px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #000 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #000;
}

.cta-section .btn-primary:hover {
    background: white;
    color: var(--primary);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: #000;
    color: var(--text-light);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: var(--accent);
    color: #000;
}

.footer-logo .logo-title {
    color: white;
}

.footer-logo .logo-subtitle {
    color: var(--accent);
}

.footer-about {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent); /* Gold Line */
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 10px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact span,
.footer-contact a {
    color: #aaa;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 14px;
    color: #666;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
}

.modal-close {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.enquiry-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-group input[readonly] {
    background: var(--bg-secondary);
}

/* ============================================
   Toast
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3000;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast.error {
    background: var(--danger);
}

.toast-icon {
    font-size: 20px;
}

/* ============================================
   Scroll Top
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #000 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: #aaa;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--accent);
}

/* ============================================
   Results Page
   ============================================ */
.result-search-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.search-box h3 {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    gap: 15px;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
}

.result-display {
    padding: 60px 0;
}

.result-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.result-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.result-header h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 5px;
}

.result-header p {
    opacity: 0.9;
}

.result-body {
    padding: 30px;
}

.result-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.result-info h4 {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.result-info p {
    font-size: 15px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.result-table th,
.result-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.result-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.summary-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
}

.summary-item .value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.summary-item .label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Downloads Page
   ============================================ */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.download-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: rgba(128, 0, 0, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.download-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.download-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-meta span {
    font-size: 13px;
    color: var(--text-muted);
}

.download-btn {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    color: var(--primary-dark);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    color: white;
}

.contact-info-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.contact-info-card p {
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item-content a:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent);
    color: #000;
}

.contact-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   Animations
   ============================================ */
.animate-fadeUp {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .courses-grid,
    .why-grid,
    .news-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .slide {
        height: 500px;
    }
    
    .slide-text h1 {
        font-size: 32px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .floating-card {
        display: none;
    }
    
    .courses-grid,
    .why-grid,
    .news-grid,
    .offers-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .result-info-grid,
    .result-summary {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .top-info span:nth-child(n+2) {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .slide-text h1 {
        font-size: 24px;
    }
    
    .slide-text p {
        font-size: 14px;
    }
    
    .stats-section {
        margin-top: 0;
        padding: 40px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-bar,
    .main-header,
    .footer-top,
    .scroll-top,
    .whatsapp-float,
    .modal {
        display: none !important;
    }
    
    .main-footer {
        background: white;
        color: black;
    }
    
    .footer-bottom {
        border-color: #ccc;
    }
}

/* Modern Additions */
.section-padding { padding: 80px 0; }
.bg-light { background: #f8fafc; }

/* Marquee News */
.news-marquee {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
}
.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}
.marquee-content span {
    padding: 0 50px;
    font-size: 15px;
    font-weight: 500;
}
.marquee-content span i { margin-right: 10px; opacity: 0.8; color: var(--accent); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Modern Cards */
.mod-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}
.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(128,0,0,0.12);
    border-color: var(--accent);
}

/* Course Card Overlay */
.course-overlay {
    position: relative;
}
.course-overlay img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}
.course-overlay .overlay-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 20px 20px;
    color: white;
}
.course-overlay .price-tag {
    position: absolute;
    top: 15px; right: 15px;
    background: var(--accent);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #C5A028 100%);
    color: #000;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.offer-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: pulse 10s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Footer Modern */
.mod-footer {
    background: #000;
    color: #ccc;
    padding: 80px 0 30px;
}
.mod-footer h4 { color: var(--accent); margin-bottom: 20px; font-size: 18px; }
.mod-footer ul li { margin-bottom: 10px; }
.mod-footer ul li a { color: #ccc; transition: 0.3s; }
.mod-footer ul li a:hover { color: var(--accent); padding-left: 5px; }