/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */

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

:root {
  /* Color Palette */
  --primary: #0a4c2a;        /* Elegant Forest Green */
  --primary-light: #15733f;  /* Medium Emerald Green */
  --primary-dark: #07351d;   /* Deep Dark Green */
  --secondary: #e5a93b;      /* Bright Gold/Amber */
  --secondary-hover: #c98c25;
  --accent: #2e8b57;         /* SeaGreen Accent */
  --dark: #0f172a;           /* Dark Slate Body Heading */
  --text: #334155;           /* Neutral Slate Body Text */
  --text-muted: #64748b;     /* Muted Grey */
  --bg-main: #f8fafc;        /* Cool Slate Off-white */
  --bg-card: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  
  /* Layout & Shadows */
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
  --hover-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --header-shadow: 0 4px 20px rgba(10, 76, 42, 0.06);
  --border-radius-sm: 8px;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================
   RESET & GLOBAL STYLES
   ========================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1.25rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================
   COMMON COMPONENTS & BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(10, 76, 42, 0.25);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(229, 169, 59, 0.25);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

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

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

/* ==========================================
   TOP BAR
   ========================================== */

.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-udise {
  background-color: rgba(255, 255, 255, 0.12);
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */

header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   HERO SLIDER
   ========================================== */

.hero {
  position: relative;
  height: 75vh;
  min-height: 550px;
  background-color: #000;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  background-color: var(--secondary);
  color: var(--dark);
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Slider Indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  right: 50px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--secondary);
  transform: scale(1.2);
}

/* ==========================================
   PAGE HERO (Subpages header)
   ========================================== */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(229, 169, 59, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================
   SECTIONS & GRIDS
   ========================================== */

section {
  padding: 100px 0;
}

.section-bg {
  background-color: var(--bg-card);
}

/* 4-Column Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.highlight-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  text-align: center;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-top-color: var(--secondary);
}

.highlight-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: rgba(10, 76, 42, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
  background-color: var(--primary);
  color: var(--white);
}

.highlight-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================
   ABOUT & INTERACTIVE FLEX SECTIONS
   ========================================== */

.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-section > div {
  flex: 1;
}

.split-image-wrapper {
  position: relative;
}

.split-image-wrapper img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--hover-shadow);
  width: 100%;
  object-fit: cover;
  max-height: 480px;
}

.split-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--secondary);
  border-left: 5px solid var(--secondary);
  border-top-left-radius: var(--border-radius);
  z-index: -1;
}

.split-text h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.split-text .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   PRINCIPAL MESSAGE
   ========================================== */

.principal-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  padding: 50px;
  display: flex;
  gap: 50px;
  align-items: center;
}

.principal-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid rgba(10, 76, 42, 0.08);
  flex-shrink: 0;
}

.principal-message-text {
  flex-grow: 1;
}

.principal-message-text blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.principal-name {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.principal-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   FACILITIES & CARD GRID
   ========================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.preview-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.preview-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

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

.preview-card:hover .preview-image img {
  transform: scale(1.08);
}

.preview-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.preview-content h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.preview-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================
   NOTICE BOARD & HOME QUICK NOTICES
   ========================================== */

.notice-board-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.notice-list {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 40px;
}

.notice-item {
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  background-color: rgba(10, 76, 42, 0.06);
  color: var(--primary);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 70px;
  flex-shrink: 0;
}

.notice-date .day {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.notice-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.notice-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.notice-details p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.notice-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.notice-badge.admission { background-color: #dbeafe; color: #1e40af; }
.notice-badge.exam { background-color: #fee2e2; color: #991b1b; }
.notice-badge.general { background-color: #fef3c7; color: #92400e; }

/* Notice Board Sidebar Widget */
.notice-widget {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.notice-widget h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.notice-widget p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ==========================================
   INTERACTIVE FEES CALCULATOR
   ========================================== */

.fees-calculator-box {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  padding: 40px;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-inputs h3, .calc-results h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 76, 42, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.calc-results {
  background-color: #f8fafc;
  padding: 30px;
  border-radius: var(--border-radius);
  border: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fees-breakdown {
  list-style: none;
  margin-bottom: 20px;
}

.fees-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.fees-breakdown li:last-child {
  border-bottom: none;
}

.fees-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 2px solid #cbd5e1;
  margin-top: auto;
}

.fees-total span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.fees-total .total-amount {
  font-size: 2.25rem;
  color: var(--primary);
}

/* ==========================================
   PHOTO GALLERY & LIGHTBOX
   ========================================== */

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-card);
  border: 1px solid #e2e8f0;
  padding: 8px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 250px;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 76, 42, 0.9) 0%, rgba(10, 76, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

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

.gallery-card-overlay h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-card-overlay span {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  border-radius: var(--border-radius-sm);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  color: var(--white);
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--secondary);
  transform: scale(1.1);
}

/* ==========================================
   FACULTY TABLE SECTION
   ========================================== */

.faculty-table-container {
  overflow-x: auto;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid #f1f5f9;
}

.faculty-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.faculty-table th {
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.faculty-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.faculty-table tbody tr:last-child td {
  border-bottom: none;
}

.faculty-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.faculty-table tbody tr:hover {
  background-color: rgba(10, 76, 42, 0.04);
}

/* ==========================================
   INTERACTIVE QUIZ GAME
   ========================================== */

.quiz-container {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.quiz-start-screen, .quiz-game-screen, .quiz-end-screen {
  display: none;
}

.quiz-start-screen.active, .quiz-game-screen.active, .quiz-end-screen.active {
  display: block;
}

.quiz-progress {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

.quiz-header-info {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.quiz-question {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 2rem;
}

.quiz-opt-btn {
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.quiz-opt-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background-color: rgba(10, 76, 42, 0.02);
}

.quiz-opt-btn.correct {
  border-color: #22c55e;
  background-color: #f0fdf4;
  color: #15803d;
}

.quiz-opt-btn.incorrect {
  border-color: #ef4444;
  background-color: #fef2f2;
  color: #b91c1c;
}

.quiz-feedback {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  display: none;
}

.quiz-feedback.show {
  display: block;
}

.quiz-feedback.correct {
  background-color: #f0fdf4;
  color: #15803d;
  border-left: 4px solid #22c55e;
}

.quiz-feedback.incorrect {
  background-color: #fef2f2;
  color: #b91c1c;
  border-left: 4px solid #ef4444;
}

.quiz-controls {
  display: flex;
  justify-content: flex-end;
}

.quiz-results-summary {
  text-align: center;
  padding: 20px 0;
}

.quiz-score-badge {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background-color: var(--primary);
  color: var(--white);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.75rem;
}

.contact-detail-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.5rem;
  color: var(--secondary);
}

.contact-detail-text h4 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-detail-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.contact-form-card {
  background-color: var(--white);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  border-top: 5px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  position: relative;
  padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact p {
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}

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

/* ==========================================
   SCROLL EFFECT ANIMATIONS
   ========================================== */

.hidden-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.show-scroll {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

@media (max-width: 992px) {
  .split-section {
    flex-direction: column;
    gap: 40px;
  }
  
  .principal-card {
    flex-direction: column;
    padding: 40px 30px;
    text-align: center;
  }
  
  .principal-img {
    width: 180px;
    height: 180px;
  }
  
  .fees-calculator-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .top-bar-info {
    justify-content: center;
    width: 100%;
  }
  
  .top-bar-udise {
    margin: 0 auto;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    padding: 50px 20px;
    gap: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    align-items: center;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 2.25rem;
  }
  
  .notice-board-container {
    grid-template-columns: 1fr;
  }
  
  .quiz-container {
    padding: 30px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}