/* ==========================================================================
   G. PANDAY COMPUTER & TYPING INSTITUTE - MASTER STYLESHEET
   Description: Premium, Mobile-First, responsive, Emerald Green & Gold Theme
   Author: Antigravity AI
   ========================================================================== */

/* 1. CSS VARIABLES & THEMES */
:root {
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Brand Colors (Theme Light Default) - Derived from logo.jpeg */
  --primary: #042f21;
  --primary-rgb: 4, 47, 33;
  --primary-light: #064e3b;
  --secondary: #10b981; /* Emerald Green */
  --secondary-rgb: 16, 185, 129;
  --accent: #ffcd00; /* Gold/Yellow from logo */
  --accent-rgb: 255, 205, 0;
  
  /* Color Mappings (Light Mode default) */
  --body-bg: #f4fbf7;
  --body-bg-rgb: 244, 251, 247;
  --card-bg: #ffffff;
  --card-bg-rgb: 255, 255, 255;
  --text-primary: #062f21;
  --text-secondary: #1b4d3e;
  --text-muted: #4b6b5f;
  --border-color: #d1fae5;
  --nav-bg: rgba(244, 251, 247, 0.85);
  --shadow-color: rgba(6, 47, 33, 0.06);
  --shadow-hover: rgba(6, 47, 33, 0.12);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);

  /* Spacing */
  --section-padding: 5.5rem 2rem;
  --section-padding-mobile: 3.5rem 1.25rem;
  --border-radius: 16px;
  --border-radius-lg: 28px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme Variables */
[data-theme="dark"] {
  --body-bg: #031c14;
  --body-bg-rgb: 3, 28, 20;
  --card-bg: #062e22;
  --card-bg-rgb: 6, 46, 34;
  --text-primary: #ecfdf5;
  --text-secondary: #a7f3d0;
  --text-muted: #6b9c86;
  --border-color: #064e3b;
  --nav-bg: rgba(3, 28, 20, 0.85);
  --shadow-color: rgba(0, 0, 0, 0.25);
  --shadow-hover: rgba(0, 0, 0, 0.45);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #ffcd00 100%);
  --gradient-card: linear-gradient(135deg, #062e22 0%, #084030 100%);
}

/* 2. GLOBAL RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--body-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  transition: var(--transition-smooth);
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

li {
  list-style: none;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--body-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
.loader {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-accent);
  z-index: 1001;
}

/* 3. LAYOUT & GRID UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Default Mobile Spacing */
.section {
  padding: var(--section-padding-mobile);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem; /* Scaled down for mobile */
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Glassmorphism Class */
.glass {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px 0 var(--shadow-color);
}

/* 4. UTILITY BAR & HEADER (Mobile First Drawer) */
.top-bar {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.top-bar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.top-bar-info i {
  color: var(--accent);
}
.top-bar-socials {
  display: flex;
  gap: 1.25rem;
}
.top-bar-socials a:hover {
  color: var(--accent);
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}
.header.sticky {
  box-shadow: 0 10px 35px -10px var(--shadow-color);
  padding: 0.2rem 0;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  transition: var(--transition-smooth);
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-container img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav Links - Mobile Drawer Default */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--card-bg);
  flex-direction: column;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1005;
}
.nav-links.active {
  right: 0;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--secondary);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--border-color);
  color: var(--text-primary);
  transition: var(--transition-fast);
}
.theme-toggle-btn:hover {
  background: var(--secondary);
  color: white;
}

/* Hamburger Menu Default */
.hamburger {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* 5. HERO SECTION */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #031c14; /* Deep base color */
  background-blend-mode: multiply; /* Blends image, making it subtle and faint */
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(3, 28, 20, 0.82) 0%, rgba(6, 46, 34, 0.65) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.2s forwards;
}
.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem; /* Mobile default */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero-title span {
  color: var(--accent);
}
.hero-desc {
  font-size: 1.05rem;
  color: #a7f3d0;
  margin-bottom: 2rem;
  max-width: 650px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* Typing Effect Cursor */
.typewrite-cursor {
  border-right: 0.08em solid var(--accent);
  animation: blink 0.75s step-end infinite;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 800;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--secondary);
  color: #ffffff;
}
.btn-primary:hover {
  background: #059669;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary);
}
.btn-accent:hover {
  background: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 205, 0, 0.4);
}

/* Stat Counter in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  width: 100%;
}
.stat-card {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.85rem;
  color: #a7f3d0;
  font-weight: 600;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-graphic img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--border-radius);
  border: 3px solid rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  animation: float 6s ease-in-out infinite;
}

/* 6. ABOUT SECTION */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.about-img-box {
  position: relative;
  width: 100%;
}
.about-img-box img {
  width: 100%;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px var(--shadow-color);
}
.about-experience-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: var(--gradient-accent);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  text-align: center;
  max-width: 130px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-experience-badge h4 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent);
}
.about-experience-badge p {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-feat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}
.about-feat-item i {
  color: var(--secondary);
  font-size: 1.25rem;
}

/* Profile Card */
.profile-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-top: 2rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}
.profile-img-box {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.profile-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}
.profile-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
}

/* 7. COURSES SECTION */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.course-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 10px 25px var(--shadow-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px var(--shadow-hover);
  border-color: var(--secondary);
}
.course-img-top {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  object-fit: cover;
}
.course-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.course-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.course-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}
.course-features-list {
  margin-bottom: 2rem;
}
.course-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.course-features-list li i {
  color: var(--secondary);
}

/* 8. TYPING & LIBRARY SECTIONS */
.split-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.split-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}
.split-feats {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.split-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.split-feat-item i {
  color: var(--secondary);
  margin-top: 0.3rem;
  font-size: 1.2rem;
}
.split-feat-item h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}
.split-feat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.split-img-box img {
  width: 100%;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* 9. FEATURES LAYOUT */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: 0 8px 24px var(--shadow-color);
  transition: var(--transition-smooth);
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px var(--shadow-hover);
  border-color: var(--secondary);
}
.feat-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.feat-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.feat-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 10. NOTICE BOARD & ACHIEVEMENTS */
.notice-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.notice-board {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 10px 25px var(--shadow-color);
  max-height: 450px;
  display: flex;
  flex-direction: column;
}
.notice-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}
.notice-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
}
.notice-header i {
  color: var(--secondary);
  font-size: 1.35rem;
}
.notice-list {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 0.5rem;
}
.notice-item {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.notice-item:last-child {
  border-bottom: none;
}
.notice-date {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  height: fit-content;
  white-space: nowrap;
}
.notice-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.achievement-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.achievement-box h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.achievement-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.achieve-counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.achieve-item {
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}
.achieve-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.achieve-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* 11. ADMISSION FORM */
.admission-section {
  position: relative;
  background: var(--primary);
  color: white;
  overflow: hidden;
}
.admission-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(4, 47, 33, 0) 60%);
  z-index: 1;
}
.admission-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.admission-info h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}
.admission-info p {
  color: #a7f3d0;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.admission-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.step-item {
  display: flex;
  gap: 1rem;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.step-text h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}
.step-text p {
  font-size: 0.9rem;
  color: #a7f3d0;
}

.admission-card {
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-lg);
  background: #ffffff !important; /* Force high-contrast white background */
  border: 3px solid var(--accent) !important; /* Thick gold border */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
}
.admission-form-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #062f21 !important; /* Keep title dark green */
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #062f21 !important; /* Dark green labels */
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  background: #f0fdf4 !important; /* Solid minty-white fields */
  border: 2.5px solid #a7f3d0 !important; /* Clear mint green borders */
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #062f21 !important; /* Dark text inside fields */
  font-weight: 600;
  transition: var(--transition-fast);
}
.form-control::placeholder {
  color: #557568 !important; /* Legible placeholder */
  opacity: 0.75;
}
.form-control:focus {
  border-color: var(--secondary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}
select.form-control option {
  background: #ffffff !important;
  color: #062f21 !important;
}
.form-submit-btn {
  width: 100%;
  background: var(--accent);
  color: var(--primary);
  padding: 0.95rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 900;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: var(--transition-smooth);
}
.form-submit-btn:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 205, 0, 0.35);
}

/* 12. TESTIMONIALS SLIDER */
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 25px var(--shadow-color);
  text-align: center;
  position: relative;
}
.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.6;
}
.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.12;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
}
.author-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}
.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active {
  background: var(--secondary);
  width: 22px;
  border-radius: 5px;
}

/* 13. GALLERY & LIGHTBOX */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(4, 47, 33, 0.92) 0%, rgba(4, 47, 33, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition-smooth);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.gallery-overlay span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 28, 20, 0.96);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
}
.lightbox-content img {
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 45px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: -35px;
  right: 0;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
}

/* 14. FAQ ACCORDION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--shadow-color);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-item.active {
  border-color: var(--secondary);
}
.faq-question {
  padding: 1.1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.faq-question i {
  font-size: 1.1rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 15. BLOG SECTION */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px var(--shadow-hover);
  border-color: var(--secondary);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.blog-card-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 47, 33, 0.6);
}
.blog-card-img i {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  color: var(--accent);
}
.blog-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--secondary);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
}
.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.blog-card-link {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* 16. CONTACT SECTION & MAP */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 25px var(--shadow-color);
}
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.contact-item-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.contact-item-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px var(--shadow-color);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 350px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* 17. FOOTER */
.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: #a7f3d0;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.footer-brand i {
  color: var(--accent);
}
.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links-col a {
  color: #a7f3d0;
  font-size: 0.9rem;
}
.footer-links-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  color: #a7f3d0;
  font-size: 0.9rem;
}
.footer-contact-item i {
  color: var(--accent);
  margin-top: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.copyright-text {
  font-size: 0.85rem;
  color: #a7f3d0;
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}
.footer-legal-links a {
  font-size: 0.85rem;
  color: #a7f3d0;
}
.footer-legal-links a:hover {
  color: var(--accent);
}

/* 18. STICKY / FLOATING CTAS & MODALS */
.floating-ctas {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
}
.floating-whatsapp {
  background: #25d366;
}
.floating-phone {
  background: var(--secondary);
}
.back-to-top {
  background: var(--primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
}
.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top i {
  color: var(--accent);
}

/* Admission Popup Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 28, 20, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 2rem 1.5rem;
  box-shadow: 0 30px 60px var(--shadow-color);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-container {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-close:hover {
  color: var(--text-primary);
}

/* Custom 404 Error layout */
.error-layout {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.error-container {
  max-width: 500px;
}
.error-code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 950;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}
.error-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.error-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Scroll Animation Elements classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* 19. ANIMATION KEYFRAMES */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent) }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ==========================================================================
   20. MOBILE-FIRST RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Small Devices (Landscape Phones / Large Mobile) - min-width: 576px */
@media (min-width: 576px) {
  .section-title {
    font-size: 2.5rem;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group.full-width {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .admission-card {
    padding: 2.5rem;
  }
  .modal-container {
    padding: 2.5rem;
  }
}

/* Medium Devices (Tablets) - min-width: 768px */
@media (min-width: 768px) {
  .section {
    padding: var(--section-padding);
  }
  .section-title {
    font-size: 2.75rem;
  }
  .hero-title {
    font-size: 3.25rem;
  }
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .notice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
  }
  .timeline-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
  }
  .timeline-container::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    left: auto;
    background-color: var(--card-bg);
    border: 4px solid var(--secondary);
    top: 18px;
    border-radius: 50%;
    z-index: 1;
  }
  .left-t {
    left: 0;
  }
  .right-t {
    left: 50%;
  }
  .right-t::after {
    left: -9px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
  .top-bar .container {
    flex-direction: row;
    justify-content: space-between;
  }
  .top-bar-info {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* Large Devices (Laptops) - min-width: 992px */
@media (min-width: 992px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    text-align: left;
    gap: 4rem;
  }
  .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }
  .btn-group {
    justify-content: flex-start;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .stat-card {
    text-align: left;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
  }
  .split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
  .admission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
  }
}

/* Desktop Navigation - min-width: 1025px */
@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }
  .nav-links {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    box-shadow: none;
    z-index: auto;
    gap: 1.75rem;
  }
  .nav-links a {
    font-size: 0.95rem;
  }
}

/* Extra Large Screens - min-width: 1200px */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.75rem;
  }
}
