/* mercy.css
   Purpose: Main shared styles for Mercy Model School site.
   - Provides mature palette color variables and dark-mode variables.
   - Responsive, mobile-first design with smooth transitions.
*/

:root{
  --bg:#FDF6FB;         /* Very light pinkish */ 
  --surface:#FFFFFF;    
  --main:#00008B;       /* Dark blue from logo */
  --accent:#FF69B4;     /* Hot pink from shield */
  --text:#00008B;       /* Dark blue for text */
  --muted:#4A4A4A;      /* Gray for secondary text */
  --radius:12px; 
  --shadow:0 8px 24px rgba(0,0,139,0.01);

  --primary:#1E3A8A;
  --primary-light:#3b82f6;
  --warning:#CFA43B;
  --success:#10b981;
  --danger:#ef4444;
}


body.dark{ 
  --bg:#0A0020; 
  --surface:#1A0033; 
  --main:#FF69B4;       /* Pink becomes main in dark mode */
  --accent:#00008B;     /* Blue as accent */
  --text:#FFD1EA; /* FFD1EA */
  --muted:#B0A0D0; 
  --shadow:0 8px 24px rgba(2,6,23,0.6);

  --primary:#60a5fa;
  --primary-light:#93c5fd;
  --warning:#f6c85f;
}

*{box-sizing:border-box}
html,body{height:100%; margin:0}
body{
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color:var(--text); 
  background:linear-gradient(180deg, var(--bg), #f1f5f9);/* #f1f5f9*/
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Smooth Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg); /* Matches your page background */
  opacity: 0;
  pointer-events: none; /* Allows clicks through when invisible */
  transition: opacity 0.4s ease;
  z-index: 9999;
}
.page-transition.active {
  opacity: 1;
  pointer-events: all;
}
/* Optional: Fade out body content slightly during transition */
body.transitioning {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/*************************************
   Starting main work
   ------------------------- */

.container{width:100%; max-width:1100px; margin:0 auto; padding: 0 1.5rem}
.narrow{max-width:800px; margin:0 auto}
.small{font-size:0.875rem}
img{
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* Prevent jumping*/
}
.logo-img,.footer-logo {aspect-ratio: 1/1;}
/* Universal fix for fixed navbar spacing */
main {
  margin-top: 0;
  padding-top: 120px;
}
/* Data Reveal Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Page hero sections need special handling */
.page-hero {
  margin-top: 120px !important; /* Force content below fixed navbar */
  padding-top: 2rem !important; /* Normal padding for content */
}

@media (max-width: 768px) {
  .page-hero {
    margin-top: 100px !important; /* Adjust for mobile navbar height */
  }
}

/* All sections immediately after header */
header + section {
  margin-top: 0;
  padding-top: 120px;
}

/* Slideshow specific fix */
.slideshow {
  margin-top: 120px !important; /* Force slideshow below fixed navbar */
  padding-top: 0 !important; /* Reset padding */
}

@media (max-width: 768px) {
  .slideshow {
    margin-top: 100px !important; /* Adjust for mobile navbar height */
  }
}
.card{
  background:var(--surface);
  border-radius:var(--radius);
  padding: 0 0 8px 0;
  box-shadow:var(--shadow);
  transition:transform .2s, box-shadow .2s;
}
section.hero { text-align: center}

/* Ensure cards control the image size */
.activities-section .card {
  overflow: hidden;             /* prevent image overflow */
}

/* Responsive images */
.activities-section img {
  display: block;               /* remove inline gaps */
  width: 100%;                  /* fill container width */
  height: auto;                 /* maintain aspect ratio */
  max-height: 230px;
  max-width: 100%;              /* never exceed container */
  object-fit: cover;            /* crop nicely if constrained */
}
.card:hover{transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,0.1)}

/*.hero img{max-height: 500px;}*/
h1{font-size:2.5rem; margin-bottom:16px}
h2{font-size:2rem}
h1,h2,h3,h4{font-weight:700; color:var(--main)}
.card h1,h2,h3,h4,p,button { text-align: center; padding: aut 24px}
section{margin-bottom:0}
.page-hero{ text-align:center; padding:60px 0; background:linear-gradient(rgba(30,58,138,0.9),rgba(30,58,138,0.7)), url('../images/hero-bg.jpg'); color:white; border-radius:var(--radius)}
.page-hero h1{font-size:3rem}
.btn{
  display: inline-block; padding: 10px 20px; border-radius: 6px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .2s; border: none;
}
.btn-primary {
  padding: 12px 30px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  background: var(--primary); 
}
.btn-primary:hover {
  background: var(--text);
  transform: translateY(-3px);
  box-shadow: 0;
}
.btn-primary.large {padding: 16px 40px; font-size: 1.2rem;}
.btn.small{ padding: 6px 12px; font-size: 0.875rem}
.btn-outline{ border: 2px solid var(--accent); color: var(--accent); background: transparent}
.btn-outline:hover{ background: var(--accent); color: white}

/* =========================
   UNIFIED HEADER STYLES
========================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--surface);
  box-shadow: 0 2px 20px rgba(0,0,139,0.1);
  border-bottom: 1px solid rgba(0,0,139,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  gap: 2rem;
}

/* Logo Section */
.header-brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.8;
}

.header-logo {
  height: 50px;
  width: 50px;
  box-shadow: 0 2px 8px rgba(0,0,139,0.15);
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--main);
  display: none;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between !important;
  gap: 2rem;
  padding: 8px 5%;
}

/* Mobile Menu Toggle */
.mobile-nav-controls {
  display: flex;
  align-items: center;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 2px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger:hover span {
  background: var(--accent);
}

/* Desktop Navigation Links */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(255,105,180,0.1);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(255,105,180,0.15);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
}

.login-btn {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: var(--main) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,139,0.2);
}

/* Search */
.search-wrapper {
  position: relative;
}

.brand-search {
  position: relative;
  display: flex;
  align-items: center;
}

.brand-search input {
  width: 200px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 2px solid rgba(0,0,139,0.1);
  border-radius: 25px;
  background: rgba(0,0,139,0.02);
  color: var(--text);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.brand-search input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255,105,180,0.1);
}

.brand-search input::placeholder {
  color: var(--muted);
}

.search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-btn:hover {
  background: rgba(255,105,180,0.1);
  transform: scale(1.1);
}

.search-close {
  display: none;
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--danger);
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.search-close:hover {
  background: rgba(239,68,68,0.1);
}

/* Search Results */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(400px, 90vw);
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 1px solid rgba(0,0,139,0.1);
  padding: 12px;
  z-index: 1200;
}

.search-history {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,139,0.1);
  margin-bottom: 12px;
}

.search-history .small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.hist-item {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.hist-item:hover {
  background: rgba(0,0,139,0.05);
  color: var(--text);
}

.search-result-item {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.search-result-item:hover,
.search-result-item:focus {
  background: rgba(0,0,139,0.05);
}

.search-result-item mark {
  background: rgba(255,105,180,0.2);
  color: var(--text);
  padding: 1px 2px;
  border-radius: 3px;
}

/* =========================
   ABOUT PAGE HISTORY SECTION
========================= */
.history-section {
  margin: 4rem 0;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.history-content {
  padding-right: 2rem;
}

.history-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.history-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.history-text p {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.history-image img:hover {
  transform: translateY(-4px);
}

/* Mobile responsive for history section */
@media (max-width: 768px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .history-content {
    padding-right: 0;
  }
  
  .history-content h2 {
    font-size: 2rem;
  }
  
  .history-text {
    font-size: 1rem;
  }
}

/* Tablet responsive for history section */
@media (min-width: 769px) and (max-width: 1024px) {
  .history-grid {
    gap: 2rem;
  }
  
  .history-content h2 {
    font-size: 2.2rem;
  }
  
  .history-text {
    font-size: 1.05rem;
  }
}

/* =========================
   VISION MISSION VALUES SECTION
========================= */
.vmv-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

/* Override conflicting styles */
.vmv-section .features {
  display: block !important;
}

.vmv-section .core-values {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.vmv-section .core-values li {
  font-weight: normal !important;
  margin: 0 !important;
  display: none !important; /* Hide old list items */
}

/* Force values grid to display properly */
.vmv-section .values-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
}

.vmv-section .value-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  background: rgba(0,0,139,0.02) !important;
  transition: all 0.2s ease !important;
  border-left: 3px solid var(--accent) !important;
}

.vmv-section .value-item:hover {
  background: rgba(0,0,139,0.05) !important;
  transform: translateX(4px) !important;
}

.vmv-section .value-content {
  display: block !important;
}

.vmv-section .value-content strong {
  color: var(--main) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

.vmv-section .value-content p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: var(--text) !important;
  margin: 0 !important;
  text-align: left !important;
}

.vmv-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

.vmv-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,139,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vmv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main), var(--accent));
}

.vmv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
}

.vmv-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--main), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,139,0.2);
}

.vmv-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.vmv-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0,0,139,0.02);
  transition: all 0.2s ease;
}

.value-item:hover {
  background: rgba(0,0,139,0.05);
  transform: translateX(4px);
}

.value-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255,105,180,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-content strong {
  color: var(--main);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.value-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  text-align: left;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
    gap: 1.25rem;
  }
  
  .mobile-nav-controls {
    display: none;
  }
  
  .brand-search input {
    width: 180px;
  }
  
  .header-logo {
    height: 38px;
  }
  
  .header-inner {
    align-items: center;
    justify-content: space-between;
  }
  
  .main-nav {
    flex: 1;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .vmv-grid {
    flex-direction: column !important;
    gap: 3rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .vmv-section {
    margin: 3rem 0;
    padding: 1rem 0;
  }
  
  .vmv-grid {
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: none !important;
    margin: 0 !important;
  }
  
  .vmv-card {
    padding: 2rem 1.5rem;
  }
  
  .vmv-card h2 {
    font-size: 1.8rem;
  }
  
  .vmv-card p {
    font-size: 1rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .value-item {
    padding: 0.75rem;
  }
}

/* =========================
   ACADEMIC LEVELS ENHANCEMENT
========================= */
.levels-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

.levels-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 3rem;
}

/* Enhanced Academic Cards */
.levels-section .card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.levels-section .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main), var(--accent));
}

.levels-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,139,0.25);
}

/* Individual Level Styling */
.levels-section .left-col {
  border-color: rgba(255,105,180,0.3);
  background: linear-gradient(135deg, rgba(255,105,180,0.08), var(--surface));
}

.levels-section .middle-col {
  border-color: rgba(0,0,139,0.3);
  background: linear-gradient(135deg, rgba(0,0,139,0.08), var(--surface));
}

.levels-section .right-col {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(135deg, rgba(34,197,94,0.08), var(--surface));
}

.levels-section .card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--main);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.levels-section .card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
}

.levels-section .card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  margin-bottom: 0;
  font-weight: 400;
}

/* Add level icons */
.levels-section .card::before {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: linear-gradient(90deg, var(--main), var(--accent));
}

.levels-section .left-col::before {
  content: '🎨';
}

.levels-section .middle-col::before {
  content: '📚';
}

.levels-section .right-col::before {
  content: '🎓';
}

/* Responsive Design for Academic Levels */
@media (max-width: 768px) {
  .levels-section .card {
    padding: 2rem;
  }
  
  .levels-section .card h3 {
    font-size: 1.6rem;
  }
  
  .levels-section .card p {
    font-size: 1rem;
  }
  
  .levels-section .card::before {
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .levels-section h2 {
    font-size: 2rem;
  }
  
  .levels-section .card {
    padding: 1.5rem;
  }
  
  .levels-section .card h3 {
    font-size: 1.4rem;
  }
  
  .levels-section .card p {
    font-size: 0.95rem;
  }
}
/* =========================
   CURRICULUM & TEACHING APPROACH ENHANCEMENT
========================= */

/* Curriculum Section */
.curriculum-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

.curriculum-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
}

.curriculum-section > .container > p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.curriculum-section .why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.curriculum-section .why-list li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,139,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.curriculum-section .why-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.curriculum-section .why-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,139,0.15);
}

/* Teaching Approach Section */
.approach-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

.approach-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
}

.approach-section .container.narrow > p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.approach-section .why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.approach-section .why-list li {
  background: linear-gradient(135deg, rgba(0,0,139,0.05), rgba(255,105,180,0.05));
  border-radius: var(--radius);
  padding: 1.2rem;
  border-left: 4px solid var(--main);
  box-shadow: 0 4px 16px rgba(0,0,139,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.approach-section .why-list li::before {
  content: '✓';
  color: var(--main);
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.approach-section .why-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,139,0.15);
  background: linear-gradient(135deg, rgba(0,0,139,0.08), rgba(255,105,180,0.08));
}

/* Approach Image Enhancement */
.approach-section .right-col.card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.approach-section .right-col.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  z-index: 1;
}

.approach-section .right-col.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.approach-section .right-col.card:hover img {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .curriculum-section .why-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.6rem;
  }
  
  .curriculum-section .why-list li {
    padding: 1rem;
  }
  
  .approach-section .why-list li {
    padding: 1rem;
  }
  
  .approach-section .right-col.card img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .curriculum-section .why-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .curriculum-section .why-list li {
    padding: 0.8rem;
  }
  
  .approach-section .why-list li {
    padding: 0.8rem;
  }
}

/* =========================
   ADMISSION PAGE ENHANCEMENTS
========================= */

/* Admission Process Section */
.process-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.process-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 3rem;
}

.process-section .numbered-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 .8rem;
  max-width: 1200px;
  margin: 0 auto;
  counter-reset: admission-step;
  list-style: none;
  padding: 0;
}

.process-section .numbered-list li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,139,0.1);
  border-left: 4px solid var(--accent);
  position: relative;
  transition: all 0.3s ease;
  counter-increment: admission-step;
}

.process-section .numbered-list li::before {
  content: counter(admission-step);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(255,105,180,0.3);
}

.process-section .numbered-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,139,0.15);
  background: rgba(255,105,180,0.1);
}

.process-section .numbered-list li strong {
  color: var(--main);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.process-section .numbered li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-left: 2rem;
}

/* Requirements Section */
.requirements-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.requirements-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 3rem;
}

.requirements-section .why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.requirements-section .why-list li {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.2rem;
  border-left: 4px solid var(--main);
  box-shadow: 0 4px 16px rgba(0,0,139,0.1);
  transition: all 0.3s ease;
}

.requirements-section .why-list li::before {
  content: '📋';
  color: var(--main);
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--main);
  border-radius: 50%;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,139,0.3);
}

.requirements-section .why-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,0,139,0.15);
}

.requirements-section .why-list li strong {
  color: var(--main);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.requirements-section .why-list li {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-left: 2rem;
}

/* Age Guidelines Section */
.age-section {
  margin: 2rem 0;
  padding: 2rem 3rem;
  background: linear-gradient(135deg, rgba(0,0,139,0.02), rgba(255,105,180,0.02));
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,139,0.1);
}

.age-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 2rem;
}

.age-section .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.age-section .stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,139,0.1);
  transition: all 0.3s ease;
}

.age-section .stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 0.5rem;
}

.age-section .stat span {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.age-section .stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,139,0.2);
}

/* Fees Section */
.fees-section {
  margin: 2rem 0;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.05), rgba(0,0,139,0.02));
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(0,0,139,0.1);
}

.fees-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
}

.fees-section > .container > p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* CTA Section */
.cta-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: linear-gradient(13deg, var(--main), var(--accent));
  border-radius: var(--radius);
  text-align: center;
  color: white;
  box-shadow: 0 8px 32px rgba(0,0,139,0.2);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .process-section .numbered-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .process-section .numbered-list li {
    padding: 1.2rem;
    margin-left: 3rem;
  }
  
  .requirements-section .why-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .requirements-section .why-list li {
    padding: 1rem;
    margin-left: 2.5rem;
  }
  
  .age-section .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .age-section .stat {
    padding: 1.5rem;
  }
  
  .fees-section {
    padding: 2rem;
  }
  
  .cta-section {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .process-section h2,
  .requirements-section h2,
  .age-section h2,
  .fees-section h2,
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .process-section .numbered-list li {
    padding: 1rem;
    margin-left: 2.5rem;
  }
  
  .requirements-section .why-list li {
    padding: 0.8rem;
    margin-left: 2rem;
  }
  
  .age-section .stat {
    padding: 1rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-actions .btn-primary {
    width: 100%;
  }
}

/* =========================
   CONTACT PAGE ENHANCEMENTS
========================= */

/* Contact Form Section */
.form-section {
  margin: 4rem 0;
  padding: 2rem 0;
}

.form-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 2px solid rgba(0,0,139,0.05);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 2px solid rgba(0,0,139,0.1);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(0,0,139,0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300008B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--main), var(--accent));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,139,0.3);
}

.contact-form .btn-primary:active {
  transform: translateY(0);
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .form-section h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .form-group textarea {
    min-height: 80px;
  }
}

/* =========================
   LOGIN PAGE ENHANCEMENTS
========================= */

/* Login Page Minimal Header */
body.login-page .main-nav {
  justify-content: center !important;
  flex: 1 !important;
  display: flex !important;
}

body.login-page .nav-links {
  display: none !important;
}

body.login-page .search-wrapper {
  display: none !important;
}

body.login-page .mobile-nav-controls {
  display: none !important;
}

body.login-page .header-inner {
  justify-content: center !important;
  gap: 0 !important;
  padding: 1rem 0 !important;
}

body.login-page .main-header {
  background: linear-gradient(135deg, var(--main), var(--accent));
  box-shadow: 0 4px 24px rgba(0,0,139,0.2);
}

body.login-page .main-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

body.login-page .header-logo {
  filter: brightness(1.2) drop-shadow(0 2px 8px rgba(255,255,255,0.3));
}

body.login-page .header-brand {
  flex: 0 0 auto !important;
}

body.login-page .brand-link {
  margin: 0 !important;
}

body.login-page .brand-text {
  display: none !important;
}

/* Login Hero Section */
.login-hero {
  text-align: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, rgba(0,0,139,0.02), rgba(255,105,180,0.02));
  border-radius: var(--radius);
  margin: 4rem 0;
}

.login-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-hero p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Login Form Container */
.login-form {
  max-width: 450px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 2px solid rgba(0,0,139,0.05);
}

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

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

.login-form .form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 2px solid rgba(0,0,139,0.1);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.login-form .form-group input:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(0,0,139,0.1);
  transform: translateY(-1px);
}

/* Password Toggle */
.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: var(--text);
}

.password-toggle:hover {
  background: rgba(0,0,139,0.05);
  color: var(--main);
}

.password-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,139,0.2);
}

.password-toggle .eye-icon {
  transition: all 0.3s ease;
}

.eye-icon {
  width: 20px;
  height: 20px;
}

.login-form .form-group input {
  padding-right: 3.5rem;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,139,0.3);
  border-radius: 4px;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--main);
  border-color: var(--main);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.forgot-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: var(--main);
  text-decoration: underline;
}

/* Login Button */
.login-form .btn-primary.large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--main), var(--accent));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-form .btn-primary.large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,139,0.3);
}

.login-form .btn-primary.large:active {
  transform: translateY(0);
}

/* Responsive Design for Login */
@media (max-width: 768px) {
  .login-hero {
    padding: 4rem 0 3rem;
    margin: 3rem 0;
  }
  
  .login-hero h1 {
    font-size: 2.5rem;
  }
  
  .login-hero p {
    font-size: 1.1rem;
  }
  
  .login-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .login-hero {
    padding: 3rem 0 2rem;
    margin: 2rem 0;
  }
  
  .login-hero h1 {
    font-size: 2rem;
  }
  
  .login-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* =========================
   SIGNUP PAGE ENHANCEMENTS
========================= */

/* Signup Page Specific Styles */
body.signup-page {
  background: linear-gradient(135deg, rgba(0,0,139,0.02), rgba(255,105,180,0.02));
  min-height: 100vh;
  padding: 2rem 0;
}

/* Signup Hero Section */
.signup-hero {
  text-align: center;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
}

.signup-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signup-hero p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Signup Form Container */
.signup-form-section {
  margin-bottom: 3rem;
}

.signup-form {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 2px solid rgba(0,0,139,0.05);
}

.signup-form h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 2rem;
}

/* Form Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.signup-form .form-group {
  margin-bottom: 0;
}

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

.signup-form .form-group input,
.signup-form .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 2px solid rgba(0,0,139,0.1);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.signup-form .form-group input:focus,
.signup-form .form-group select:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(0,0,139,0.1);
  transform: translateY(-1px);
}

.signup-form .form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300008B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Password Toggle for Signup */
.signup-form .password-input-wrapper {
  position: relative;
}

.signup-form .password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: var(--text);
}

.signup-form .password-toggle:hover {
  background: rgba(0,0,139,0.05);
  color: var(--main);
}

.signup-form .password-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,139,0.2);
}

.signup-form .form-group input {
  padding-right: 3.5rem;
}

/* Submit Button */
.signup-form .btn-primary.large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--main), var(--accent));
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.signup-form .btn-primary.large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,139,0.3);
}

.signup-form .btn-primary.large:active {
  transform: translateY(0);
}

/* Success Message */
.success-message {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,139,0.15);
  border: 2px solid rgba(34,197,94,0.3);
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--main), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,139,0.3);
}

.success-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--main);
  margin: 0;
}

.success-content p {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: white;
  color: var(--main);
  border: 2px solid var(--main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--main);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,139,0.2);
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,139,0.3);
  border-radius: 4px;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--main);
  border-color: var(--main);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.forgot-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-link:hover {
  color: var(--main);
  text-decoration: underline;
}

/* Auth Navigation */
.auth-navigation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background: rgba(0,0,139,0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,139,0.1);
}

.auth-prompt,
.auth-help {
  text-align: center;
}

.auth-prompt h3,
.auth-help h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 1rem;
}

.auth-prompt p,
.auth-help p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,139,0.2);
}

.auth-divider span {
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  color: var(--main);
  border: 2px solid var(--main);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--main);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,139,0.2);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.form-actions .btn-secondary {
  flex: 1;
  max-width: 200px;
}

/* Responsive Design for Signup */
@media (max-width: 768px) {
  .signup-hero {
    padding: 2rem 0 1.5rem;
  }
  
  .signup-hero h1 {
    font-size: 2.5rem;
  }
  
  .signup-hero p {
    font-size: 1.1rem;
  }
  
  .signup-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-column {
    gap: 1rem;
  }
  
  .auth-navigation {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .auth-prompt h3,
  .auth-help h3 {
    font-size: 1.3rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .form-actions .btn-secondary {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .signup-hero h1 {
    font-size: 2rem;
  }
  
  .signup-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .signup-form .form-group input,
  .signup-form .form-group select {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .auth-navigation {
    padding: 1rem;
    gap: 1rem;
  }
  
  .auth-prompt h3,
  .auth-help h3 {
    font-size: 1.2rem;
  }
  
  .auth-prompt p,
  .auth-help p {
    font-size: 0.95rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* Extra Large Screens */
@media (min-width: 1200px) {
  .nav-links {
    gap: 2rem;
  }
  
  .approach-image img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .academic-levels-section h2,
  .teaching-approach-section h2 {
    font-size: 2rem;
  }
  
  .academic-card {
    padding: 1.5rem;
  }
  
  .level-features {
    gap: 0.4rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Tablet Styles - Hide logo and search - FORCE APPLY */
@media (max-width: 1024px) and (min-width: 768px) {
  header .header-brand {
    display: none !important;
  }
  
  header .search-wrapper {
    display: none !important;
  }
  
  header .header-inner {
    justify-content: center !important;
    padding: 0.75rem 0 !important;
  }
  
  header .nav-links {
    width: 100% !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: nowrap !important;
  }
  
  header .nav-links li {
    margin: 0 !important;
  }
  
  header .nav-link {
    padding: 0.5rem 1rem !important;
    white-space: nowrap !important;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  .header-brand {
    display: none;
  }
  
  .search-wrapper {
    display: block;
  }
  
  .header-inner {
    padding: 0.5rem 0;
    gap: 1rem;
    justify-content: space-between;
  }
  
  .brand-search input {
    width: 160px;
  }
  
  .page-hero {
    padding-top: 100px;
  }
  
  header + section {
    padding-top: 100px;
  }
  
  .slideshow {
    padding-top: 100px;
  }
  
  /* Search mobile behavior */
  body.search-open .brand-search input {
    width: 200px;
    opacity: 1;
  }
  
  body.search-open .search-btn {
    display: none;
  }
  
  body.search-open .search-close {
    display: block;
  }
  
  body.search-open .nav-links {
    opacity: 0;
    pointer-events: none;
  }
  
  body.search-open .mobile-nav-controls {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}


/* =========================
   OFFCANVAS MOBILE MENU
========================= */
.offcanvas {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--surface);
  box-shadow: 4px 0 24px rgba(0,0,139,0.15);
  transition: left 0.3s ease;
  z-index: 2000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#offcanvasMenu {
  position: fixed;
  inset: 0 auto 0 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  will-change: transform;
  touch-action: pan-y;
}

#offcanvasMenu.open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}
#offcanvasMenu { visibility: hidden; }
#offcanvasMenu.open { visibility: visible; }

.offcanvas.open {
  left: 0;
}

.offcanvas-header {
  background: var(--main);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.offcanvas-brand img {
  height: 50px;
  width: 50px;
  border-radius: 6px;
}

.offcanvas-brand span {
  display: block !important;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.offcanvas-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.offcanvas-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.offcanvas-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-links li {
  margin: 0;
  border-bottom: 1px solid rgba(0,0,139,0.05);
}

.offcanvas-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-radius: 0;
}

.offcanvas-link:hover {
  background: rgba(0,0,139,0.05);
  color: var(--accent);
}

.offcanvas-link.active {
  background: rgba(255,105,180,0.1);
  color: var(--accent);
  font-weight: 600;
}

.offcanvas-link.login-link {
  background: var(--accent);
  color: white !important;
  margin: 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.offcanvas-link.login-link:hover {
  background: var(--main) !important;
}

.nav-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Mobile overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================================
   BACK TO TOP – PROGRESS RING
   ================================ */
.progress-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.3s ease,
              transform 0.3s ease;
  z-index: 1500;
}
/* show state */
.progress-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* SVG ring */
.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.progress-ring-bg {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 4;
}
.progress-ring-circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 138;   /* 2πr (r=22) */
  stroke-dashoffset: 138;
  transition: stroke-dashoffset 0.15s linear;
}
/* Chevron icon */
.chevron-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
}
/* Hover jump */
.progress-btn:hover .chevron-icon {
  animation: chevronJump 0.45s ease;
}
@keyframes chevronJump {s
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
/* Mobile */
@media (max-width: 767px) {
  .progress-btn {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 18px;
  }
}

/* -------------------------
   Slideshow
   ------------------------- */
/* Slideshow specific container override */
.slideshow.container {
  width: 100%;
  min-width: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
}
.slideshow {
  height: 70vh;
  max-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.slideshow-inner {
  height: 100%;
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-size: cover;
  background-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
}
.slide.fallback {
  background: linear-gradient(135deg, rgba(30,58,138,0.9), rgba(200,160,60,0.9));
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 780px;
  padding: 24px;
}
.slide-content h3 { font-size: 28px; margin-bottom:10px; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.45); }
.slide-content p { color: #fff; margin-bottom:12px; font-size:16px; }
.slide-cta { background: var(--accent); color: #111; padding: 10px 14px; border-radius:8px; font-weight:600; text-decoration:none; }

/* prev/next controls */
.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 28px;
  width:42px;height:42px;border-radius:50%;cursor:pointer;
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }

/* dots */
.slide-dots { top: 86%; position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display:flex; gap:8px; z-index:3 }
.slide-dot { width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,0.5);cursor:pointer; }
.slide-dot.active { background:var(--accent); }

/* small screens reduce slide height */
@media (max-width:767px) {
  .slideshow { height: 60vh; max-height: 220px;}
  .slide-content h3 { font-size: 20px; }
  .slide-content p { font-size: 14px; }
  .slide-prev, .slide-next { width:36px;height:36px;font-size:22px; }
}

/* accessibility helpers */
.sr-only { position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden }
.features .card{ padding: .1rem .5rem;}

/* Grids */
.col{display:block}
.left-col, .right-col, .middle-col{width:100%; margin-bottom:8px}
.three-col, .sub-three-col{display:block}
.stats-grid{display:block}
.stat{
  background:var(--accent);
  padding:20px;
  text-align:center;
  border-top: 1px solid var(--bg);
  border-radius:var(--radius);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.25), inset 0 -2px 6px rgba(212, 175, 55, 0.15); 
}
.stat strong{font-size:2.5rem; display:block; color:var(--primary)}

/* Lists */
.why-list, .core-values{list-style:none; padding:0}
.why-list li:before{content:"✓ "; color:var(--success); font-weight:bold}
.core-values li{font-weight:600; margin:12px 0}

/* Testimonials */
.testimonials blockquote{
  font-style:italic;
  background:var(--surface);
  padding:20px;
  border-left:5px solid var(--accent);
  margin:20px 0;
}
.testimonials cite{display:block; text-align:right; margin-top:10px; color:var(--muted)}

/* Form */
.contact-form .form-group{margin-bottom:20px}
.contact-form label{display:block; margin-bottom:6px; font-weight:600}
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%;
  padding:12px;
  border:1px solid #cbd5e1;
  border-radius:6px;
  font-family:inherit;
}
.contact-form textarea{resize:vertical}

/* Footer */
.site-footer{
  background:var(--main);
  color:white;
  margin-top:60px;
}
.footer-inner{display:block; padding:40px 0 !important}
.footer-col{margin-bottom:30px; text-align:center}
.footer-logo{height:60px; margin-bottom:16px}
.footer-links{list-style:none; padding:0}
.footer-links a{color:white; text-decoration:none}
.footer-links a:hover{text-decoration:underline}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.footer-link {
  color: inherit;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}
.footer-bottom{
  text-align:center;
  padding:20px;
  background:rgba(0,0,0,0.2);
  font-size:0.875rem;
}

/* ===================================
   RESPONSIVE IMPROVEMENTS
   =================================== */
@media (max-width: 767px){
  .brand{ padding: .6rem calc(2rem);}
  .extra-link{ display: none !important;}
}
@media (min-width: 768px){
  article { padding: 0 .5rem !important;}
  .brand{flex-wrap: nowrap }
  .brand-search input{width: 240px}

  .offcanvas {overflow: hidden !important; font-weight: 1000}
  .hamburger {display: none !important }

  .main-nav .left-side a.nav-link{padding:20px 12px; font-size: 1.2rem; font-weight: 600;}
 .right-side{ font-size: 1.5rem; font-weight: 800;}

  .col, .section.col{display:flex; gap:30px}
  .left-col, .right-col{width:50%}
  /*.activities-section .left-col, .right-col{ width:;}*/

  .three-col, .features, .sub-three-col{display:flex; gap:30px}
  .three-col > div, .features > .card, .sub-three-col > .card{flex:1}

  .stats-grid{display:flex; gap:20px}
  .stats-grid .stat{flex:1}

  .footer-inner{display:flex; justify-content:space-between; text-align:left}
  .footer-col{flex:1; margin-bottom:0; max-width:300px}
  /* Text formatting */
  body {
    font-size: 1rem;       /* 16px */
    font-weight: 400;
  }
  p, li {
    font-size: 1rem;       /* 16px */
    font-weight: 400;
    line-height: 1.7;
  }
  h1 {
    font-size: 3rem;        /* 48px */
    font-weight: 700;
    line-height: 1.2;
  }
  h2 {
    font-size: 2.25rem;     /* 36px */
    font-weight: 700;
    line-height: 1.25;
  }
  h3 {
    font-size: 1.75rem;     /* 28px */
    font-weight: 600;
    line-height: 1.3;
  }
  h4 {
    font-size: 1.375rem;    /* 22px */
    font-weight: 600;
    line-height: 1.35;
  }
  .btn {
    font-size: 0.95rem;    /* 15px */
    font-weight: 600;
  }
  .btn.small {
    font-size: 0.875rem;   /* 14px */
    font-weight: 600;
  }
  .card p {
    font-size: 0.95rem;    /* 15px */
    font-weight: 400;
  }
  .stat strong {
    font-size: 2.75rem;    /* 44px */
    font-weight: 700;
  }
  .stat span {
    font-size: 0.9rem;     /* 14px */
    font-weight: 500;
  }
  .search-result-item {
    font-size: 0.9rem;     /* 14px */
    font-weight: 400;
  }
  .site-footer {
    font-size: 0.9rem;     /* 14px */
    font-weight: 400;
  }

  .footer-links a {
    font-size: 0.9rem;
    font-weight: 500;
  }
  .search-history .small {
    font-size: 0.8rem;     /* 13px */
    font-weight: 500;
  }
}

@media (min-width: 1024px){
  .container{max-width:1200px; padding:24px 0}
  h1{font-size:3rem}
}

/* Login Page Specific Styles */
.login-hero {
  background: var(--main);
  color: var(--bg);
  text-align: center;
  align-items: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.login-hero h1 { color: var(--primary-light); font-size: 2.8rem; margin-bottom: 1rem; }
.login-hero p { color: var(--bg); font-size: 1.2rem; opacity: 0.95; }
.login-form { max-width: 480px; margin: 0 auto; }
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--bg);
}
.checkbox-label input { opacity: 0; position: absolute; }
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 8px;
  transition: var(--transition);
}

.checkmark:after {
  content: "✓";
  color: white;
  font-weight: bold;
  display: none;
  margin: 0;
}
.checkbox-label input:checked ~ .checkmark:after { display: block; }
.forgot-link {
  color: var(--primary-light);
  text-decoration: none;
  font-size: 0.95rem;
}
.forgot-link:hover { text-decoration: underline; }
.login-footer {
  text-align: center;
  margin: 4rem 0;
  padding-top: 2rem 0;
  border-top: 1px solid #eee;
}
.login-footer p { margin: 0.8rem 0; }
.link { color: var(--primary-light); font-weight: 600; }
/* Trust Section */
.trust-section { margin: 4rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}
.trust-item .icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.trust-item p { line-height: 1.5; }
/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s;
}
