/* ============================================================
   NIRAALI GROUP OF INSTITUTIONS — Main Stylesheet
   Design: Professional Healthcare Education | Navy + Teal + Gold
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:        #1a3d7c;
  --primary-dark:   #0d2550;
  --primary-light:  #2456aa;
  --secondary:      #00a89c;
  --secondary-dark: #00796f;
  --secondary-light:#33c4ba;
  --accent:         #f7941d;
  --accent-dark:    #d97b08;
  --accent-light:   #fbb349;
  --white:          #ffffff;
  --off-white:      #f8faff;
  --light:          #eef3ff;
  --medium:         #d0daf5;
  --text-dark:      #0d1b3e;
  --text-body:      #3d4d6a;
  --text-muted:     #6b7a99;
  --success:        #16a34a;

  --grad-primary: linear-gradient(135deg, #1a3d7c 0%, #00a89c 100%);
  --grad-hero:    linear-gradient(135deg, #0b1730 0%, #1a3d7c 55%, #007a70 100%);
  --grad-accent:  linear-gradient(135deg, #f7941d 0%, #d45500 100%);
  --grad-teal:    linear-gradient(135deg, #00a89c 0%, #006b63 100%);

  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 10px rgba(0,0,0,.08);
  --shadow-md:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.14);
  --shadow-xl:    0 16px 60px rgba(26,61,124,.20);
  --shadow-hover: 0 12px 45px rgba(26,61,124,.22);
  --shadow-card:  0 4px 24px rgba(26,61,124,.09);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-full: 9999px;

  --section-py:    90px;
  --section-sm-py: 60px;
  --container-max: 1240px;

  --t-fast: all .2s ease;
  --t-base: all .3s cubic-bezier(.4,0,.2,1);
  --t-slow: all .55s cubic-bezier(.4,0,.2,1);

  --font: 'Poppins', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-body); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--t-base); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); outline: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font); color: var(--text-dark); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-body); line-height: 1.8; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-sm-py) 0; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(26,61,124,.1), rgba(0,168,156,.12));
  color: var(--primary); padding: 6px 20px; border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 14px; border: 1px solid rgba(26,61,124,.14);
}
.section-title { color: var(--text-dark); margin-bottom: 14px; }
.section-title span { color: var(--secondary); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px auto; }
.divider-line { width: 50px; height: 2px; background: var(--secondary); border-radius: 2px; }
.divider-dot  { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px; border-radius: var(--r-full); font-size: .94rem; font-weight: 600;
  transition: var(--t-base); cursor: pointer; white-space: nowrap; border: 2px solid transparent;
  font-family: var(--font);
}
.btn-primary { background: var(--grad-primary); color: var(--white); box-shadow: 0 4px 20px rgba(26,61,124,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,61,124,.38); color: var(--white); }
.btn-secondary { background: var(--accent); color: var(--white); box-shadow: 0 4px 20px rgba(247,148,29,.28); }
.btn-secondary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(247,148,29,.38); color: var(--white); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-lg { padding: 16px 42px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: .83rem; }

/* ===== GRID ===== */
.grid   { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.flex         { display: flex; align-items: center; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-8  { gap: 8px;  }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ===== UTILITIES ===== */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent  { color: var(--accent); }
.text-white   { color: var(--white); }
.text-muted   { color: var(--text-muted); }
.bg-light { background: var(--light); }
.bg-off-white { background: var(--off-white); }
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }

/* ===== NOTICE BAND ===== */
.notice-band {
  background: var(--accent); color: var(--white); padding: 10px 0; text-align: center;
  font-size: .85rem; font-weight: 500; overflow: hidden; position: relative;
}
.notice-band strong { font-weight: 700; }
.notice-inner { display: inline-flex; align-items: center; gap: 12px; }
.notice-inner i { animation: pulse-icon 1.5s ease infinite; }
@keyframes pulse-icon { 0%,100%{transform:scale(1);} 50%{transform:scale(1.2);} }

/* ===== TOP BAR ===== */
.top-bar { background: var(--primary-dark); padding: 9px 0; font-size: .8rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.top-bar-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-contacts a { color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; }
.top-bar-contacts a:hover { color: var(--accent); }
.top-bar-contacts i { color: var(--secondary); font-size: .8rem; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-tagline { color: rgba(255,255,255,.55); font-size: .75rem; font-style: italic; }
.top-bar-social { display: flex; gap: 8px; }
.top-bar-social a {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: .75rem; border: 1px solid rgba(255,255,255,.12);
  transition: var(--t-fast);
}
.top-bar-social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(26,61,124,.15); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-icon {
  width: 48px; height: 48px; background: var(--grad-primary); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--white); box-shadow: 0 4px 14px rgba(26,61,124,.28);
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text .logo-main { font-size: 1.1rem; font-weight: 800; color: var(--primary); letter-spacing: -.3px; }
.nav-logo-text .logo-sub  { font-size: .65rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .8px; }

/* Nav Menu */
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: 5px; padding: 9px 13px;
  color: var(--text-dark); font-size: .875rem; font-weight: 500;
  border-radius: var(--r-sm); transition: var(--t-base); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--light); }
.nav-link i.arrow { font-size: .65rem; transition: transform .3s ease; }
.nav-item:hover .nav-link i.arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow-xl); border: 1px solid rgba(26,61,124,.07);
  opacity: 0; visibility: hidden; transition: var(--t-base);
  min-width: 220px; padding: 8px; z-index: 200;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  width: 12px; height: 12px; background: var(--white);
  border: 1px solid rgba(26,61,124,.07); border-bottom: none; border-right: none;
  transform: translateX(-50%) rotate(45deg);
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  color: var(--text-body); font-size: .855rem; border-radius: var(--r-sm); transition: var(--t-fast);
}
.dropdown-item:hover { background: var(--light); color: var(--primary); }
.dropdown-item i { color: var(--secondary); font-size: .82rem; width: 16px; flex-shrink: 0; }

/* Mega Dropdown */
.nav-dropdown.mega { min-width: 540px; display: grid; grid-template-columns: 1fr 1px 1fr; padding: 16px; gap: 8px; }
.mega-col { padding: 4px 8px; }
.mega-col-title {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  margin-bottom: 8px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--primary);
  background: var(--light); border-radius: var(--r-sm);
}
.mega-divider { background: var(--medium); width: 1px; margin: 0 4px; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta {
  background: var(--grad-primary); color: var(--white); padding: 10px 22px;
  border-radius: var(--r-full); font-size: .85rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(26,61,124,.25); transition: var(--t-base);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(26,61,124,.35); color: var(--white); }

/* Mobile Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: var(--r-sm); }
.nav-toggle:hover { background: var(--light); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--text-dark); border-radius: 2px; transition: var(--t-base); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: var(--grad-hero); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-shape { position: absolute; border-radius: 50%; }
.hero-shape-1 { width: 700px; height: 700px; background: rgba(0,168,156,.07); top: -250px; right: -200px; animation: floatShape 10s ease-in-out infinite; }
.hero-shape-2 { width: 500px; height: 500px; background: rgba(247,148,29,.05); bottom: -150px; left: -150px; animation: floatShape 12s ease-in-out infinite reverse; }
.hero-shape-3 { width: 250px; height: 250px; background: rgba(255,255,255,.04); top: 40%; left: 35%; animation: floatShape 8s ease-in-out infinite 2s; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-content { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18); color: var(--white);
  padding: 8px 20px; border-radius: var(--r-full); font-size: .8rem; font-weight: 600;
  margin-bottom: 24px; animation: fadeInDown .8s ease both;
}
.hero-badge i { color: var(--accent); }
.hero-title {
  font-size: clamp(2.4rem,5.5vw,4rem); font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 18px; animation: fadeInUp .9s ease .1s both;
}
.hero-title .highlight { color: var(--accent); display: block; }
.hero-subtitle { font-size: clamp(.95rem,2vw,1.1rem); color: rgba(255,255,255,.82); margin-bottom: 36px; line-height: 1.8; animation: fadeInUp 1s ease .2s both; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; animation: fadeInUp 1s ease .3s both; }
.hero-stats {
  display: flex; align-items: center; gap: 36px; margin-top: 52px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14);
  animation: fadeInUp 1s ease .45s both; flex-wrap: wrap;
}
.hero-stat-num   { font-size: 2.2rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }

/* Hero Visual */
.hero-visual { animation: fadeInRight 1s ease .3s both; }
.hero-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-xl); padding: 36px;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-card-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 20px; text-align: center; }
.hero-grid-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-grid-item {
  background: rgba(255,255,255,.08); border-radius: var(--r-md); padding: 20px 16px;
  text-align: center; border: 1px solid rgba(255,255,255,.12); transition: var(--t-base); cursor: default;
}
.hero-grid-item:hover { background: rgba(255,255,255,.16); transform: scale(1.03); }
.hero-grid-item i   { font-size: 1.7rem; color: var(--accent); margin-bottom: 8px; display: block; }
.hero-grid-item span { font-size: .78rem; color: rgba(255,255,255,.85); font-weight: 500; display: block; }
.hero-card-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.7);
}
.hero-card-footer i { color: var(--secondary); }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.45); font-size: .7rem; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer; animation: bounce 2.5s ease infinite;
}
.scroll-indicator i { font-size: 1.1rem; }

/* ===== QUICK LINKS STRIP ===== */
.quick-links-strip { background: var(--off-white); padding: 28px 0; border-bottom: 1px solid var(--medium); }
.quick-links-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.quick-link-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border-radius: var(--r-full); font-size: .875rem; font-weight: 600;
  border: 2px solid var(--medium); color: var(--text-dark); background: var(--white);
  box-shadow: var(--shadow-xs); transition: var(--t-base);
}
.quick-link-btn i { color: var(--secondary); font-size: .9rem; }
.quick-link-btn:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quick-link-btn.featured { background: var(--grad-primary); color: var(--white); border-color: transparent; box-shadow: 0 4px 16px rgba(26,61,124,.25); }
.quick-link-btn.featured i { color: rgba(255,255,255,.85); }
.quick-link-btn.featured:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,61,124,.35); color: var(--white); }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--white); }
.about-grid   { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.about-badge-top { margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--text-dark); font-weight: 500; line-height: 1.7; margin-bottom: 16px; }
.about-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--light); border-radius: var(--r-md); padding: 14px;
  transition: var(--t-base);
}
.about-feature:hover { background: rgba(26,61,124,.06); transform: translateY(-2px); }
.about-feature-icon {
  width: 36px; height: 36px; background: var(--grad-primary); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: .9rem; flex-shrink: 0;
}
.about-feature-text h5 { font-size: .82rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.about-feature-text p  { font-size: .77rem; color: var(--text-muted); line-height: 1.5; }

/* About Visual */
.about-visual { position: relative; }
.about-main-box {
  background: var(--grad-primary); border-radius: var(--r-xl); padding: 44px 40px;
  text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.about-main-box::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: rgba(255,255,255,.05); border-radius: 50%; }
.about-main-box::after  { content: ''; position: absolute; bottom: -40px; left: -40px; width: 180px; height: 180px; background: rgba(255,255,255,.04); border-radius: 50%; }
.about-big-icon { font-size: 5rem; margin-bottom: 20px; display: block; position: relative; z-index: 1; animation: floatCard 5s ease-in-out infinite; }
.about-box-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 10px; position: relative; z-index: 1; }
.about-box-text  { color: rgba(255,255,255,.78); font-size: .88rem; position: relative; z-index: 1; line-height: 1.7; }
.about-float-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--accent); color: var(--white); padding: 16px 20px;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); text-align: center;
  font-weight: 700; font-size: .9rem; z-index: 10;
}
.about-float-badge small { display: block; font-size: .7rem; font-weight: 500; opacity: .85; }

/* ===== STATS SECTION ===== */
.stats-section { background: var(--grad-primary); padding: 72px 0; position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,.04); border-radius: 50%; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 24px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.15); }
.stat-icon  { font-size: 2rem; color: var(--accent); margin-bottom: 12px; display: block; }
.stat-num   { font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; display: block; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

/* ===== COURSES SECTION ===== */
.courses-section { background: var(--off-white); }
.courses-tabs { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.course-tab {
  padding: 12px 30px; border-radius: var(--r-full); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: var(--t-base); border: 2px solid var(--medium);
  color: var(--text-body); background: var(--white); display: flex; align-items: center; gap: 8px;
  font-family: var(--font);
}
.course-tab.active, .course-tab:hover { background: var(--grad-primary); color: var(--white); border-color: transparent; box-shadow: 0 4px 20px rgba(26,61,124,.25); }
.courses-panel { display: none; }
.courses-panel.active { display: block; }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* Course Card */
.course-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--t-base); border: 1px solid rgba(26,61,124,.06); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.course-card-top { padding: 28px 28px 20px; position: relative; overflow: hidden; background: var(--grad-primary); }
.course-card-top.alt { background: var(--grad-teal); }
.course-card-top::after { content: ''; position: absolute; top: -30px; right: -30px; width: 110px; height: 110px; background: rgba(255,255,255,.07); border-radius: 50%; }
.course-icon  { font-size: 2rem; color: var(--white); margin-bottom: 12px; display: block; position: relative; z-index: 1; }
.course-name  { font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.35; position: relative; z-index: 1; }
.course-abbr  { font-size: .73rem; color: rgba(255,255,255,.65); font-weight: 400; display: block; margin-top: 3px; position: relative; z-index: 1; }
.course-card-body { padding: 22px 26px; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.course-meta-item { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--text-muted); }
.course-meta-item i { color: var(--secondary); font-size: .78rem; }
.course-highlights { margin-bottom: 20px; flex: 1; }
.course-highlights li { display: flex; align-items: flex-start; gap: 8px; font-size: .83rem; color: var(--text-body); padding: 6px 0; border-bottom: 1px solid var(--light); }
.course-highlights li:last-child { border-bottom: none; }
.course-highlights li i { color: var(--secondary); font-size: .65rem; margin-top: 5px; flex-shrink: 0; }
.course-card-footer { padding: 14px 26px; background: var(--off-white); border-top: 1px solid var(--medium); display: flex; align-items: center; justify-content: space-between; }
.course-elig { font-size: .75rem; color: var(--text-muted); }
.course-elig strong { color: var(--primary); font-weight: 600; }

/* ===== FEATURES SECTION ===== */
.features-section { background: var(--white); }
.feature-card {
  text-align: center; padding: 36px 26px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-card); transition: var(--t-base);
  border: 1px solid rgba(26,61,124,.06); position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); transform: scaleX(0); transition: var(--t-base); transform-origin: left; }
.feature-card:hover::before  { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 72px; height: 72px; border-radius: var(--r-lg);
  background: linear-gradient(135deg,rgba(26,61,124,.08),rgba(0,168,156,.12));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.9rem; color: var(--primary); transition: var(--t-base);
}
.feature-card:hover .feature-icon { background: var(--grad-primary); color: var(--white); transform: rotate(5deg) scale(1.05); }
.feature-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.feature-text  { font-size: .85rem; color: var(--text-muted); line-height: 1.75; }

/* ===== SERVICES OVERVIEW ===== */
.services-section { background: var(--light); }
.service-block { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--t-base); }
.service-block:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.service-block-header { padding: 36px 36px 28px; position: relative; overflow: hidden; }
.service-block-header.navy  { background: linear-gradient(135deg,#1a3d7c,#2456aa); }
.service-block-header.teal  { background: linear-gradient(135deg,#00a89c,#006b63); }
.service-block-header.gold  { background: linear-gradient(135deg,#f7941d,#c45d00); }
.service-block-header::after { content: ''; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; background: rgba(255,255,255,.06); border-radius: 50%; }
.service-block-icon  { font-size: 2.5rem; color: rgba(255,255,255,.82); margin-bottom: 14px; display: block; }
.service-block-title { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.service-block-sub   { font-size: .83rem; color: rgba(255,255,255,.7); }
.service-block-body  { padding: 28px 36px 36px; }
.service-list-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--light); font-size: .88rem; color: var(--text-body);
  transition: var(--t-fast);
}
.service-list-item:last-child { border-bottom: none; }
.service-list-item:hover { color: var(--primary); transform: translateX(4px); }
.service-list-item i { color: var(--secondary); font-size: .75rem; flex-shrink: 0; }

/* ===== INQUIRY / ADMISSION FORM ===== */
.admission-section { background: var(--grad-hero); position: relative; overflow: hidden; }
.admission-section::before { content: ''; position: absolute; top: -120px; right: -120px; width: 450px; height: 450px; background: rgba(0,168,156,.06); border-radius: 50%; }
.admission-section::after  { content: ''; position: absolute; bottom: -100px; left: -100px; width: 350px; height: 350px; background: rgba(247,148,29,.05); border-radius: 50%; }
.admission-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.admission-content { color: var(--white); }
.admission-content h2 { color: var(--white); margin-bottom: 14px; font-size: 2.2rem; }
.admission-content h2 span { color: var(--accent); }
.admission-content p { color: rgba(255,255,255,.78); margin-bottom: 28px; font-size: .95rem; }
.admission-perks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.perk { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: .9rem; }
.perk-icon { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.perk i { color: var(--accent); font-size: .95rem; }

/* Admission Form Card */
.admission-form {
  background: var(--white); border-radius: var(--r-xl); padding: 44px 40px;
  box-shadow: var(--shadow-xl);
}
.form-title    { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.form-subtitle { font-size: .84rem; color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label  { font-size: .8rem; font-weight: 600; color: var(--text-dark); }
.form-label span { color: #ef4444; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid var(--medium);
  border-radius: var(--r-sm); font-size: .88rem; color: var(--text-dark);
  background: var(--white); transition: var(--t-fast); font-family: var(--font);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,61,124,.09); }
.form-textarea { resize: vertical; min-height: 88px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--grad-primary); color: var(--white);
  border: none; border-radius: var(--r-full); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: var(--t-base); margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); box-shadow: 0 4px 18px rgba(26,61,124,.28);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,61,124,.38); }
.form-note { font-size: .73rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ===== TAMIL SECTION ===== */
.tamil-section { background: linear-gradient(135deg, #fff9f0, #fffaf5); border-top: 4px solid var(--accent); border-bottom: 4px solid var(--accent); }
.tamil-content { text-align: center; max-width: 820px; margin: 0 auto; }
.tamil-flag { font-size: 3rem; margin-bottom: 16px; display: block; }
.tamil-heading { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.4; }
.tamil-sub     { font-size: 1rem; color: var(--text-body); line-height: 2.1; margin-bottom: 24px; }
.tamil-highlight {
  background: var(--grad-primary); color: var(--white); padding: 18px 32px;
  border-radius: var(--r-lg); font-size: 1.05rem; font-weight: 600;
  display: inline-block; box-shadow: var(--shadow-md);
}
.tamil-courses { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.tamil-course-tag {
  background: rgba(26,61,124,.08); color: var(--primary); padding: 8px 18px;
  border-radius: var(--r-full); font-size: .82rem; font-weight: 600;
  border: 1px solid rgba(26,61,124,.14);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--off-white); }
.testimonial-card { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-card); transition: var(--t-base); position: relative; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.t-quote { position: absolute; top: 20px; right: 24px; font-size: 4rem; color: var(--light); line-height: 1; font-family: Georgia,serif; pointer-events: none; }
.t-stars { color: #fbbf24; font-size: .85rem; margin-bottom: 12px; letter-spacing: 2px; }
.t-text  { font-size: .88rem; color: var(--text-body); line-height: 1.85; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--white); font-weight: 700; flex-shrink: 0; }
.t-name { font-weight: 600; color: var(--text-dark); font-size: .88rem; }
.t-role { font-size: .76rem; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-section { background: var(--accent); padding: 64px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: rgba(255,255,255,.06); border-radius: 50%; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-text h2 { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.cta-text p  { color: rgba(255,255,255,.85); }
.cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info-box { background: var(--grad-primary); border-radius: var(--r-xl); padding: 44px; color: var(--white); }
.contact-info-box h3 { color: var(--white); margin-bottom: 6px; }
.contact-info-box p  { color: rgba(255,255,255,.72); margin-bottom: 32px; font-size: .9rem; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; }
.c-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.12); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: var(--accent); flex-shrink: 0;
}
.c-detail h5 { color: rgba(255,255,255,.6); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; font-weight: 500; }
.c-detail p, .c-detail a { color: var(--white); font-size: .88rem; line-height: 1.65; }
.c-detail a:hover { color: var(--accent); }
.contact-social { display: flex; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.contact-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: var(--t-base); font-size: .9rem;
}
.contact-social a:hover { background: var(--accent); transform: translateY(-3px); }
.contact-form-box { background: var(--off-white); border-radius: var(--r-xl); padding: 40px; }
.contact-form-box h3 { margin-bottom: 6px; }
.contact-form-box p  { color: var(--text-muted); margin-bottom: 24px; font-size: .88rem; }
.map-placeholder { width: 100%; height: 200px; background: var(--grad-primary); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin-top: 24px; flex-direction: column; gap: 8px; color: rgba(255,255,255,.8); font-size: .88rem; }
.map-placeholder i { font-size: 2rem; color: var(--accent); }

/* ===== FOOTER ===== */
footer { background: #0a1628; }
.footer-main { padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 52px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 42px; height: 42px; background: var(--grad-primary); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--white); }
.footer-logo-text .logo-main { font-size: .95rem; font-weight: 800; color: var(--white); }
.footer-logo-text .logo-sub  { font-size: .62rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; }
.footer-desc { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5);
  font-size: .82rem; transition: var(--t-base); border: 1px solid rgba(255,255,255,.08);
}
.footer-social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); transform: translateY(-3px); }
.footer-col-title {
  font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.footer-col-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--secondary); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.48); font-size: .83rem; display: flex; align-items: center; gap: 6px; transition: var(--t-fast); }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.footer-links a i { font-size: .6rem; color: var(--secondary); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; font-size: .85rem; }
.footer-contact-item span { font-size: .82rem; color: rgba(255,255,255,.48); line-height: 1.65; }
.footer-contact-item a { color: rgba(255,255,255,.48); transition: var(--t-fast); }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom p a { color: var(--secondary); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); font-size: .78rem; }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-credit { font-size: 11px; color: rgba(255,255,255,.28); text-align: center; margin-top: 8px; letter-spacing: .2px; }
.footer-credit .heart { color: #e53e3e; font-size: 10px; }
.footer-credit a { color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s ease; }
.footer-credit a:hover { color: rgba(255,255,255,.7); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.55rem; z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: var(--t-base);
  animation: whatsappPulse 2.5s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.55); color: var(--white); }
.back-to-top {
  position: fixed; bottom: 90px; right: 24px; width: 44px; height: 44px;
  background: var(--primary); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1rem; z-index: 999;
  box-shadow: var(--shadow-md); transition: var(--t-base); opacity: 0; visibility: hidden; cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--grad-hero); padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; background: rgba(255,255,255,.04); border-radius: 50%; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero h1 span { color: var(--accent); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 600px; margin: 0 auto 20px; position: relative; z-index: 1; font-size: .95rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .83rem; color: rgba(255,255,255,.55); position: relative; z-index: 1; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .65rem; }

/* ===== ABOUT PAGE ===== */
.mission-block { background: var(--white); border-radius: var(--r-lg); padding: 32px; border-left: 4px solid var(--secondary); box-shadow: var(--shadow-sm); transition: var(--t-base); }
.mission-block:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-left-color: var(--primary); }
.mission-block-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { text-align: center; padding: 32px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); transition: var(--t-base); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; color: var(--white); }

/* ===== HOME CARE CARDS ===== */
.care-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.care-card { background: var(--white); border-radius: var(--r-lg); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-card); transition: var(--t-base); border-bottom: 3px solid transparent; }
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-bottom-color: var(--secondary); }
.care-icon { width: 64px; height: 64px; background: linear-gradient(135deg,rgba(0,168,156,.1),rgba(26,61,124,.08)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.6rem; color: var(--secondary); transition: var(--t-base); }
.care-card:hover .care-icon { background: var(--secondary); color: var(--white); }
.care-title { font-size: .92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.care-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.65; }

/* ===== CONTACT PAGE SPECIFIC ===== */
.map-embed { width: 100%; height: 280px; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--medium); background: var(--light); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--text-muted); }
.map-embed i { font-size: 2.5rem; color: var(--secondary); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatShape { 0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-25px) rotate(5deg);} }
@keyframes floatCard  { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
@keyframes bounce     { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(9px);} }
@keyframes whatsappPulse { 0%{box-shadow:0 4px 20px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,.4);} 70%{box-shadow:0 4px 20px rgba(37,211,102,.45),0 0 0 14px rgba(37,211,102,0);} 100%{box-shadow:0 4px 20px rgba(37,211,102,.45),0 0 0 0 rgba(37,211,102,0);} }

/* ===== SCROLL REVEAL ===== */
.reveal       { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; } .delay-5 { transition-delay: .5s; }

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .stats-grid .stat-item:nth-child(2)::after { display: none; }
  .hero-grid   { gap: 40px; }
  .about-grid  { gap: 48px; }
}

@media (max-width:900px) {
  :root { --section-py: 70px; }
  .nav-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    gap: 4px; z-index: 999; padding: 80px 20px 20px; display: none; overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; z-index: 1000; position: relative; }
  .nav-actions .nav-cta { display: none; }
  .nav-item { width: 100%; }
  .nav-link { font-size: 1rem; padding: 14px 16px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--light); }
  .nav-dropdown { position: static; transform: none; box-shadow: none; border: none; background: var(--light); opacity: 1; visibility: visible; min-width: unset; width: 100%; display: none; border-radius: var(--r-sm); padding: 8px; margin-top: 4px; }
  .nav-dropdown.mega { grid-template-columns: 1fr; gap: 4px; }
  .mega-divider { display: none; }
  .mega-col { padding: 0; }
  .mega-col-title { font-size: .68rem; padding: 6px 10px; margin-bottom: 4px; }
  .dropdown-item { padding: 10px 12px; font-size: .82rem; }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item.open .nav-dropdown.mega { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .admission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .care-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width:640px) {
  :root { --section-py: 56px; }
  .top-bar { display: none; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .admission-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .service-block-header, .service-block-body { padding: 24px 22px; }
  .about-feature-list { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
  .contact-info-box { padding: 28px 24px; }
  .course-card-top { padding: 22px 20px 18px; }
  .course-card-body { padding: 18px 20px; }
  .course-card-footer { padding: 12px 20px; }
  .course-name { font-size: .92rem; }
  .course-highlights li { font-size: .8rem; padding: 5px 0; }
  /* Mobile nav enhancements */
  .nav-menu { padding: 70px 16px 16px; }
  .nav-link { font-size: .95rem; padding: 12px 14px; }
  .dropdown-item { padding: 8px 10px; font-size: .78rem; }
  .mega-col-title { font-size: .65rem; }
}

@media (max-width:480px) {
  .course-card-top { padding: 18px 16px 14px; }
  .course-card-body { padding: 16px; }
  .course-card-footer { padding: 10px 16px; }
  .course-icon { font-size: 1.6rem; margin-bottom: 10px; }
  .course-name { font-size: .88rem; }
  .course-abbr { font-size: .7rem; }
  .course-meta { gap: 10px; }
  .course-meta-item { font-size: .74rem; }
  .course-highlights li { font-size: .78rem; }
  .grid-4 { grid-template-columns: 1fr; }
  /* Mobile nav smaller screens */
  .nav-menu { padding: 65px 12px 12px; }
  .nav-link { font-size: .9rem; padding: 10px 12px; }
  .nav-dropdown { padding: 6px; }
  .dropdown-item { padding: 8px; font-size: .75rem; gap: 8px; }
  .dropdown-item i { font-size: .72rem; width: 14px; }
  .mega-col-title { font-size: .62rem; padding: 5px 8px; }
  .nav-logo-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .nav-logo-text .logo-main { font-size: 1rem; }
  .nav-logo-text .logo-sub { font-size: .58rem; }
}
