/* ═══════════════════════════════════════════════════
   CHINNADURAI COACHING CENTRE — PREMIUM STYLESHEET
   Design System: Refined Academic Trust
   ═══════════════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand */
  --primary:       #2F6FB6;
  --primary-dark:  #1a4d80;
  --primary-light: #e8f0fc;
  --accent:        #F59E0B;
  --dark:          #0F172A;
  --dark-2:        #1E293B;
  --mid:           #475569;
  --muted:         #94A3B8;
  --light:         #F8FAFC;
  --white:         #FFFFFF;
  --border:        #E2E8F0;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing (8px system) */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 4px 16px rgba(15,23,42,.08);
  --shadow-md:  0 8px 32px rgba(15,23,42,.12);
  --shadow-lg:  0 20px 60px rgba(15,23,42,.16);
  --shadow-xl:  0 32px 80px rgba(15,23,42,.20);

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover { color: var(--primary-dark); }

ul { list-style: none; }

/* ── CONTAINER ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

/* ── SECTION UTILITIES ────────────────────────────── */
.section-pad {
  padding: var(--s7) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s6);
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: var(--s2);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: var(--s2);
}

.section-header h2 em {
  font-style: italic;
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(47,111,182,.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(47,111,182,.45);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--light);
  color: var(--primary-dark);
}

.btn-whatsapp-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

.btn-whatsapp-outline:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ── SCROLL ANIMATIONS ────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ── FLOAT ANIMATION ──────────────────────────────── */
.float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.logo-sub {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color .2s;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.nav-links a.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(47,111,182,.3);
}

.nav-links a.nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s1);
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ═══════════════════════════════════════════════════
   HERO  — single consolidated block, no duplicates
   ═══════════════════════════════════════════════════ */

/* ── HERO: background image lives on ::after so cover is never overridden ── */
.hero {
  position: relative;
  min-height: 100svh;          /* svh = safe viewport height — avoids mobile browser chrome gap */
  width: 100%;
  background: none;            /* image moved to ::after pseudo-element below */
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Background image layer — scale animation runs here, cover is never overridden */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('./images/herobg.webp') no-repeat center center / cover;
  transform-origin: center center;
  animation: heroZoom 14s ease-in-out infinite alternate;
}

/* Zoom keyframes now use transform:scale — background-size:cover stays intact */
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Gradient overlay — sits above the image layer (::after z-index 0) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 25, 50, 0.60) 0%,
    rgba(10, 25, 50, 0.40) 45%,
    rgba(10, 25, 50, 0.10) 100%
  );
  z-index: 1;
}

/* Remove the decorative bg-pattern element (keep it in HTML, just hide it) */
.hero-bg-pattern { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: center;
  width: 100%;
}

/* ── Hero text side ── */
.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: var(--s3);
}

.badge-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: var(--s3);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-headline em {
  font-style: italic;
  color: #93c5fd; /* soft blue highlight on dark background */
}

.hero-seo-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fbbf24; /* warm accent color to stand out nicely */
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--s2);
}

.hero-subheadline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--s4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}

/* Trust badges inside hero — inline flow (not absolute) */
.trust-badges {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
}

.trust-badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.trust-badge span {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-top: 3px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.25);
}

/* ── Hero visual side ── */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-img-frame {
  position: relative;
  max-width: 480px;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}

.hero-img-badge {
  position: absolute;
  bottom: var(--s3);
  left: -24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark-2);
  display: flex;
  align-items: flex-start;
  gap: var(--s1);
  max-width: 200px;
  line-height: 1.4;
  border: 1px solid var(--border);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--s3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  animation: bounce-y 2s infinite;
}

@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════
   HIGHLIGHTS
   ═══════════════════════════════════════════════════ */
.highlights {
  background: var(--dark);
  padding: var(--s2) 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s1);
}

.highlight-card {
  padding: var(--s5) var(--s4);
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}

.highlight-card:last-child { border-right: none; }

.highlight-card:hover {
  background: rgba(255,255,255,.04);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: var(--s2);
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s1);
}

.highlight-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s7);
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 560px;
}

.about-exp-tag {
  position: absolute;
  bottom: var(--s3);
  right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.exp-number sup {
  font-size: 1rem;
}

.exp-label {
  font-size: .75rem;
  font-weight: 600;
  opacity: .9;
  letter-spacing: .04em;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: var(--s3);
}

.about-content h2 em {
  font-style: italic;
  color: var(--primary);
}

.about-lead {
  font-size: 1.1rem;
  color: var(--dark-2);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: var(--s3);
}

.about-body {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: var(--s4);
}

.about-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s5);
}

.about-credentials li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: .95rem;
  color: var(--dark-2);
  font-weight: 500;
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   COURSES
   ═══════════════════════════════════════════════════ */
.courses {
  background: var(--light);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.course-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s4);
  background: var(--white);
  transition: background .25s;
  cursor: default;
}

.course-item:hover {
  background: var(--primary-light);
}

.course-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(47,111,182,.15);
  flex-shrink: 0;
  width: 52px;
}

.course-info {
  flex: 1;
}

.course-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.course-info p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.6;
}

.course-arrow {
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .25s;
  flex-shrink: 0;
}

.course-item:hover .course-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════════════════
   BATCH TIMINGS
   ═══════════════════════════════════════════════════ */
.timings {
  background: var(--white);
}

.timings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-bottom: var(--s4);
}

.timing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.timing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.timing-card--weekend {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: var(--primary);
  color: var(--white);
}

.timing-header {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.timing-icon {
  font-size: 2rem;
}

.timing-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.timing-card--weekend .timing-header h3 {
  color: var(--white);
}

.timing-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 99px;
}

.timing-card--weekend .timing-tag {
  background: rgba(255,255,255,.25);
  color: var(--white);
}

.timing-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--s2);
  line-height: 1.2;
}

.timing-card--weekend .timing-time {
  color: var(--white);
}

.timing-card p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.65;
}

.timing-card--weekend p {
  color: rgba(255,255,255,.8);
}

.timings-note {
  display: flex;
  align-items: center;
  gap: var(--s1);
  font-size: .9rem;
  color: var(--mid);
  background: var(--light);
  border: 1px solid var(--border);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  width: fit-content;
  margin: 0 auto;
}

.timings-note a {
  color: var(--primary);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════ */
.why {
  background: var(--dark);
}

.why .section-label {
  background: rgba(47,111,182,.2);
  color: #93c5fd;
}

.why .section-header h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.why-item {
  display: flex;
  gap: var(--s3);
  padding: var(--s4);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
  transition: background .3s, border-color .3s;
}

.why-item:hover {
  background: rgba(47,111,182,.08);
  border-color: rgba(47,111,182,.3);
}

.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(47,111,182,.3);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.why-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s1);
}

.why-body p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   FACULTY
   ═══════════════════════════════════════════════════ */
.faculty {
  background: var(--light);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.faculty-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.faculty-img-wrap {
  overflow: hidden;
  height: 280px;
  background: var(--primary-light);
}

.faculty-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.faculty-card:hover .faculty-img-wrap img {
  transform: scale(1.05);
}

.faculty-info {
  padding: var(--s4);
}

.faculty-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.faculty-qual {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: var(--s2);
}

.faculty-info p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   ACHIEVEMENTS
   ═══════════════════════════════════════════════════ */
.achievements {
  background: var(--white);
}

.achievements-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

.achievements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.achievements-list li {
  font-size: 1.05rem;
  color: var(--dark-2);
  font-weight: 500;
  padding: var(--s3);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  border-radius: var(--r-sm);
}

.achievements-list li:hover {
  background: var(--primary-light);
}

.achievements-note {
  background: var(--light);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s4);
  border: 1px solid var(--border);
}

.achievements-note p {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: var(--s4);
}

/* ═══════════════════════════════════════════════════
   VIDEO TESTIMONIAL
   ═══════════════════════════════════════════════════ */
.testimonial {
  background: var(--light);
}

.video-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  background: var(--dark);
}

.video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  border-radius: var(--r-xl);
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  margin-top: var(--s3);
  font-size: .88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════ */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(4px);
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a5fa8 100%);
  padding: var(--s7) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  flex-wrap: wrap;
}

.cta-text {
  position: relative;
}

.cta-pulse {
  position: absolute;
  top: -16px;
  left: 0;
  width: 10px; height: 10px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--s1);
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
}

.cta-actions {
  display: flex;
  gap: var(--s2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s3);
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-info-item span,
.contact-info-item a {
  font-size: .95rem;
  color: var(--dark-2);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s5);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-form-card > p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: var(--s4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark-2);
  letter-spacing: .03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47,111,182,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: var(--s7) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub  { color: rgba(47,111,182,.8); }

.footer-brand > p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: var(--s2);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s3);
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--s3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.footer-contact p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: var(--s1);
}

.footer-contact a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  padding: var(--s3) 0;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: var(--s4);
  right: var(--s4);
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  transition: transform .3s var(--ease), box-shadow .3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,211,102,.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background: #25D366;
  border-radius: 50%;
  animation: wa-pulse 2.5s infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET  (768px–1199px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1199px) and (min-width: 769px) {
  .hero-inner {
    gap: var(--s5);
  }

  .hero-headline {
    font-size: clamp(28px, 4vw, 48px);
  }

  .hero-img {
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    gap: var(--s5);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .highlight-card:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.06);
  }

  .about-inner {
    gap: var(--s5);
  }

  .timings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timings-grid .timing-card:last-child {
    grid-column: span 2;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (<768px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --s7: 48px;
    --s6: 32px;
  }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s3) var(--s3) var(--s4);
    gap: 4px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    padding: 10px var(--s2);
    font-size: 1rem;
    border-radius: var(--r-sm);
  }

  .nav-links a.nav-cta {
    margin-top: var(--s1);
    text-align: center;
    justify-content: center;
  }

  .hamburger { display: flex; }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero — stack vertically: text on top, image below */
  .hero {
    padding: 100px 0 60px;
    min-height: 100svh;
    background: none; /* image is on ::after, ensure no bg leaks here */
  }

  /* Background image pseudo-element: force cover + portrait-friendly position */
  .hero::after {
    background-image: url('./images/herobg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero::before {
    /* Stronger, even overlay on mobile — ensures text on any bg area is legible */
    background: linear-gradient(
      to bottom,
      rgba(10, 25, 50, 0.55) 0%,
      rgba(10, 25, 50, 0.45) 60%,
      rgba(10, 25, 50, 0.50) 100%
    );
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--s3);
  }

  .hero-badge {
    margin: 0 auto var(--s3);
  }

  .hero-subheadline {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s2);
  }

  .trust-divider {
    width: 1px;
    height: 28px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-img {
    height: 280px;
    border-radius: var(--r-lg);
  }

  .hero-img-badge {
    left: var(--s2);
  }

  .hero-scroll-indicator { display: none; }

  /* Highlights */
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-img-wrap img { height: 320px; }

  .about-exp-tag {
    right: var(--s2);
  }

  /* Courses */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Timings */
  .timings-grid {
    grid-template-columns: 1fr;
  }

  .timings-grid .timing-card:last-child {
    grid-column: span 1;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Faculty */
  .faculty-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Achievements */
  .results-grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-pulse { display: none; }

  .cta-actions {
    justify-content: center;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s4);
  }

  .contact-form-card {
    padding: var(--s4) var(--s3);
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }
}

/* ── Very small phones (<480px) ── */
@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    border-right: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: var(--s2);
  }

  .trust-divider {
    width: 48px;
    height: 1px;
  }

  .hero-img {
    height: 260px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ROUND ICON BUTTON */
.icon-btn {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%; /* 🔥 makes it round */
  background: #1a4d80;
  color: #fff;

  text-decoration: none;
  font-size: 18px;

  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.icon-btn:hover {
  background: #93c5fd;
  transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
/* YOUTUBE BUTTON */
.icon-btn.youtube {
  background: #1a4d80; /* YouTube red */
}

.icon-btn.youtube:hover {
  background: #93c5fd;
}

/* ICON + TEXT STYLE */

.contact-icons,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item,
.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  color: #1a3d6e;
  transition: 0.3s ease;
}

/* ICON DESIGN */
.contact-item i,
.footer-item i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1a3d6e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.contact-item:hover,
.footer-item:hover {
  color: #0f2a4f;
}

.contact-item:hover i,
.footer-item:hover i {
  transform: scale(1.1);
  background: #0f2a4f;
}

.results-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:50px;
}

.result-card{
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.result-card:hover{
  transform:translateY(-6px);
}

.result-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:25px;
}

.result-icon{
  font-size:34px;
}

.result-top h3{
  margin:0;
  font-size:24px;
}

.subject-block{
  margin-bottom:25px;
}

.subject-block h4{
  margin-bottom:15px;
  color:#d62828;
  font-size:20px;
}

.result-list{
  list-style:none;
  padding:0;
  margin:0;
}

.result-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid #eee;
  font-size:16px;
}

.result-list li strong{
  color:#1a3d6e;
}

@media(max-width:950px){

  .results-grid{
    grid-template-columns:1fr;
  }

}
.footer-inner{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  align-items:flex-start;
}

.footer-links,
.footer-contact,
.footer-brand{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-social{
  display:flex;
  gap:15px;
  margin-top:10px;
}

.footer-social a{
  font-size:22px;
}

.footer-bottom{
  text-align:center;
  padding-top:20px;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.4s ease;
}

.gallery-item{
  overflow:hidden;
  border-radius:20px;
}
.hero-img{
  width:100%;
  height:auto;
  object-fit:cover;
}
@media(max-width:768px){

  .hero-img{
    object-position:center top;
  }

}

/* CONTACT SECTION */
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:40px;
  align-items:start;
  margin-top:50px;
}

/* LEFT SIDE */
.contact-left{
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* CONTACT INFO CARDS */
.contact-info-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

/* EACH CARD */
.contact-info-item{
  background:#fff;
  padding:22px;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  display:flex;
  align-items:flex-start;
  gap:15px;
}

.contact-icon{
  font-size:26px;
  flex-shrink:0;
}

.contact-info-item strong{
  display:block;
  margin-bottom:6px;
  color:#1a3d6e;
}

.contact-info-item span,
.contact-info-item a{
  color:#555;
  text-decoration:none;
  line-height:1.6;
}

/* EMAIL + YOUTUBE */
.contact-icons{
  grid-column:span 2;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:10px;
  background:#f4f7fc;
  padding:14px 18px;
  border-radius:14px;
  text-decoration:none;
  color:#1a3d6e;
  font-weight:600;
}

.contact-item i{
  font-size:20px;
}

/* MAP */
.map-wrap{
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.map-wrap iframe{
  width:100%;
  height:350px;
  display:block;
}

/* RIGHT SIDE FORM */
.contact-form-card{
  background:#fff;
  padding:35px;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  position:sticky;
  top:100px;
}

.contact-form-card h3{
  margin-bottom:10px;
}

.contact-form-card p{
  margin-bottom:25px;
  color:#666;
}

/* FORM */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.form-group{
  display:flex;
  flex-direction:column;
}

.form-group label{
  margin-bottom:8px;
  font-weight:600;
  color:#1a3d6e;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #dbe3ef;
  border-radius:14px;
  font-size:15px;
  outline:none;
  transition:0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color:#1a3d6e;
  box-shadow:0 0 0 4px rgba(26,61,110,0.08);
}

/* BUTTON */
.btn-full{
  width:100%;
}

/* SUCCESS MESSAGE */
#successMessage{
  margin-top:18px;
  text-align:center;
  font-weight:600;
}

/* MOBILE */
@media(max-width:950px){

  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-info-cards{
    grid-template-columns:1fr;
  }

  .contact-icons{
    grid-column:span 1;
  }

  .contact-form-card{
    position:static;
  }

}

@media(max-width:600px){

  .contact-form-card{
    padding:25px 20px;
  }

  .contact-item{
    width:100%;
    justify-content:center;
  }

}
/* SCROLL ANIMATIONS */
.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* OPTIONAL DELAYS */
.delay-1{
  transition-delay:0.15s;
}

.delay-2{
  transition-delay:0.3s;
}

.delay-3{
  transition-delay:0.45s;
}
/* ═══════════ PREMIUM SCIENCE LOADER ═══════════ */

#loader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, #2F6FB6, #1a3d6e 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.loaded #loader {
  opacity: 0;
  visibility: hidden;
}

.science-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

/* ═══════════ ATOM SYSTEM ═══════════ */

.atom-loader {
  position: relative;
  width: 230px;
  height: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* nucleus */

.center-core {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 10;

  box-shadow:
    0 0 15px rgba(255,255,255,0.9),
    0 0 40px rgba(79,195,255,0.7),
    0 0 70px rgba(79,195,255,0.4);
}

/* orbits */

.orbit {
  position: absolute;
  width: 180px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.14);
}

/* electrons */

.electron {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #59c7ff;

  box-shadow:
    0 0 10px rgba(89,199,255,0.9),
    0 0 25px rgba(89,199,255,0.6);
}

/* ═══════════ DIFFERENT ORBITS ═══════════ */

.orbit-one {
  transform: rotate(0deg);
  animation: spin1 4s linear infinite;
}

.orbit-two {
  transform: rotate(45deg);
  animation: spin2 5s linear infinite;
}

.orbit-three {
  transform: rotate(90deg);
  animation: spin3 6s linear infinite;
}

.orbit-four {
  transform: rotate(135deg);
  animation: spin4 7s linear infinite;
}

.orbit-five {
  transform: rotate(180deg);
  animation: spin5 8s linear infinite;
}

.orbit-six {
  transform: rotate(225deg);
  animation: spin6 9s linear infinite;
}

.orbit-seven {
  transform: rotate(270deg);
  animation: spin7 10s linear infinite;
}

/* ═══════════ ANIMATIONS ═══════════ */

@keyframes spin1 {
  from {
    transform: rotate(0deg) rotateY(72deg);
  }
  to {
    transform: rotate(360deg) rotateY(72deg);
  }
}

@keyframes spin2 {
  from {
    transform: rotate(45deg) rotateY(72deg);
  }
  to {
    transform: rotate(405deg) rotateY(72deg);
  }
}

@keyframes spin3 {
  from {
    transform: rotate(90deg) rotateY(72deg);
  }
  to {
    transform: rotate(450deg) rotateY(72deg);
  }
}

@keyframes spin4 {
  from {
    transform: rotate(135deg) rotateY(72deg);
  }
  to {
    transform: rotate(495deg) rotateY(72deg);
  }
}

@keyframes spin5 {
  from {
    transform: rotate(180deg) rotateY(72deg);
  }
  to {
    transform: rotate(540deg) rotateY(72deg);
  }
}

@keyframes spin6 {
  from {
    transform: rotate(225deg) rotateY(72deg);
  }
  to {
    transform: rotate(585deg) rotateY(72deg);
  }
}

@keyframes spin7 {
  from {
    transform: rotate(270deg) rotateY(72deg);
  }
  to {
    transform: rotate(630deg) rotateY(72deg);
  }
}

/* ═══════════ TEXT ═══════════ */

.loading-content {
  text-align: center;
  color: white;
}

.loading-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.6px;
}

.loading-content p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 22px;
}



/* ═══════════ MOBILE ═══════════ */

@media (max-width: 768px) {

  .atom-loader {
    width: 180px;
    height: 180px;
  }

  .orbit {
    width: 145px;
    height: 52px;
  }

  .loading-content h3 {
    font-size: 1.1rem;
  }

  .loading-content p {
    font-size: 0.9rem;
  }

  .loading-bar {
    width: 180px;
  }
}