/* ============================================================
   EduCore — Main Public Stylesheet
   Color Palette:
     Primary  : #1a237e  (Deep Navy)
     Secondary: #e65100  (Saffron Orange)
     Accent   : #ffd700  (Gold)
   ============================================================ */

/* ── Root Variables ─────────────────────────────────────── */
:root {
  --primary:       #1a237e;
  --primary-dark:  #0d1b6e;
  --primary-light: #283593;
  --secondary:     #e65100;
  --secondary-lt:  #ff8f00;
  --accent:        #ffd700;
  --success:       #2e7d32;
  --text:          #1e293b;
  --text-muted:    #64748b;
  --bg:            #f8fafc;
  --white:         #ffffff;
  --shadow:        0 4px 24px rgba(26,35,126,.12);
  --shadow-lg:     0 8px 40px rgba(26,35,126,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── Top Bar ────────────────────────────────────────────── */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
}
.topbar a { color: rgba(255,255,255,.85); transition: var(--transition); }
.topbar a:hover { color: var(--accent); }
.topbar .social-icons a { display: flex; align-items: center; padding: 2px; transition: var(--transition); }
.topbar .social-icons a:hover { color: var(--accent); transform: translateY(-1px); }

/* ── Notice Ticker ──────────────────────────────────────── */
.notice-ticker {
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
  font-size: .82rem;
  font-weight: 500;
}
.ticker-label {
  background: var(--primary-dark);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
  letter-spacing: .5px;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-items {
  display: flex;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-block;
  padding: 0 40px;
  white-space: nowrap;
  color: #fff;
  transition: var(--transition);
}
.ticker-item:hover { color: var(--accent); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Header & Nav ───────────────────────────────────────── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,35,126,.10);
  transition: var(--transition);
}
.main-header.scrolled { box-shadow: var(--shadow-lg); }

nav .container { max-width: 1280px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-placeholder { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 2.4rem; }
.logo-name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--primary); line-height: 1.2; }
.logo-affil { font-size: .68rem; color: var(--text-muted); font-weight: 500; }

/* Desktop Nav Links */
.nav-links { display: flex; align-items: center; list-style: none; gap: 4px; }
.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,35,126,.08);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 999;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown li a:hover { background: var(--primary); color: #fff; padding-left: 24px; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-apply {
  font-family: 'Poppins', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-lt));
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(230,81,0,.3);
}
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,81,0,.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
@media (max-width: 1023px) { .nav-links { display: none; } .hamburger { display: flex; } }

/* Mobile Menu */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
}
.mobile-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 300px; height: 100vh;
  background: var(--primary);
  z-index: 1001;
  transition: right .35s ease;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-overlay.open { display: block; }
.mobile-menu-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.mobile-nav-links { list-style: none; padding: 12px 0; }
.mobile-nav-links li a {
  display: block;
  padding: 13px 24px;
  color: rgba(255,255,255,.9);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.mobile-nav-links li a:hover { background: rgba(255,255,255,.1); color: var(--accent); padding-left: 32px; }
.btn-apply-mobile {
  display: block;
  text-align: center;
  background: var(--secondary);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  font-size: .92rem;
  transition: var(--transition);
}
.btn-apply-mobile:hover { background: var(--secondary-lt); }

/* ── Page Hero Banner ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; text-align: center; color: #fff; }
.page-hero h1 { font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.75); }
.breadcrumb a { color: var(--accent); font-weight: 600; }

/* ── Section Styles ─────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  background: rgba(26,35,126,.08);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}
.section-title span { color: var(--secondary); }
.section-subtitle { color: var(--text-muted); font-size: .95rem; margin-top: 10px; max-width: 560px; margin-inline: auto; }
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-lt));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .9rem;
  padding: 12px 28px; border-radius: 50px;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 4px 15px rgba(26,35,126,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,35,126,.4); }
.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-lt));
  color: #fff; box-shadow: 0 4px 15px rgba(230,81,0,.3);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,81,0,.4); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ── Stat Cards ─────────────────────────────────────────── */
.stats-bar { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.stat-item { text-align: center; padding: 28px 20px; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,.8); font-size: .85rem; margin-top: 6px; font-weight: 500; }
.stat-divider { width: 1px; background: rgba(255,255,255,.2); }

/* ── News Cards ─────────────────────────────────────────── */
.news-card { border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 180px; object-fit: cover; width: 100%; }
.news-card-body { padding: 18px; }
.category-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
  color: #fff;
}
.news-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; margin: 8px 0; color: var(--primary); line-height: 1.4; }
.news-card-title:hover { color: var(--secondary); }
.news-card-date { color: var(--text-muted); font-size: .8rem; }

/* ── Event Cards ────────────────────────────────────────── */
.event-card { display: flex; gap: 16px; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--secondary); transition: var(--transition); align-items: flex-start; }
.event-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.event-date-box { background: var(--primary); color: #fff; border-radius: 10px; padding: 10px 14px; text-align: center; flex-shrink: 0; min-width: 60px; }
.event-day   { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 900; line-height: 1; }
.event-month { font-size: .7rem; font-weight: 600; opacity: .8; text-transform: uppercase; }
.event-info  { flex: 1; }
.event-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; color: var(--primary); margin-bottom: 4px; }
.event-venue { font-size: .82rem; color: var(--text-muted); }

/* ── Faculty Cards ──────────────────────────────────────── */
.faculty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.faculty-photo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 24px auto 0; border: 3px solid var(--primary); }
.faculty-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff;
  margin: 24px auto 0;
  border: 3px solid rgba(26,35,126,.2);
}
.faculty-body { padding: 16px 18px 20px; }
.faculty-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--primary); font-size: .95rem; }
.faculty-desig { color: var(--secondary); font-size: .8rem; font-weight: 600; margin: 2px 0; }
.faculty-qual  { color: var(--text-muted); font-size: .78rem; }
.faculty-sub   { display: inline-block; background: rgba(26,35,126,.08); color: var(--primary); font-size: .73rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; margin-top: 8px; }

/* ── Gallery ────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,35,126,.8) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: #fff; font-size: .85rem; font-weight: 600; }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9999; align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; transition: var(--transition); }
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--secondary); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Hero Section (Home) ────────────────────────────────── */
.hero {
  min-height: calc(100vh - 120px);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1565c0 100%);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-floating-shapes span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,215,0,.08);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,215,0,.15);
  border: 1px solid rgba(255,215,0,.3);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle { color: rgba(255,255,255,.8); font-size: clamp(.95rem, 2vw, 1.15rem); margin-top: 16px; max-width: 540px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.hero-stat-item { }
.hero-stat-num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.hero-stat-lbl { font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 500; }

/* ── Why Choose Us ──────────────────────────────────────── */
.feature-card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover { transform: translateY(-6px); border-top-color: var(--secondary); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.5rem; margin-bottom: 14px; }
.feature-title { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--primary); font-size: 1rem; margin-bottom: 8px; }
.feature-desc { color: var(--text-muted); font-size: .87rem; line-height: 1.6; }

/* ── Admission CTA Banner ───────────────────────────────── */
.admission-cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-lt) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.admission-cta-banner::before {
  content: '📚';
  position: absolute;
  font-size: 15rem;
  opacity: .06;
  right: -20px;
  top: -30px;
  line-height: 1;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #0f1741; }
.footer-cta-strip { background: linear-gradient(135deg, var(--secondary), var(--secondary-lt)); }
.footer-cta-btn { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .88rem; padding: 11px 24px; border-radius: 50px; transition: var(--transition); }
.primary-btn   { background: #fff; color: var(--secondary); }
.primary-btn:hover { background: var(--accent); }
.outline-btn   { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.outline-btn:hover { background: rgba(255,255,255,.15); }

.footer-main {}
.footer-col {}
.footer-logo { display: flex; align-items: center; }
.footer-heading { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 10px; color: rgba(255,255,255,.7); font-size: .88rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact a { color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-contact a:hover { color: var(--accent); }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }

.footer-bottom { background: rgba(0,0,0,.3); border-top: 1px solid rgba(255,255,255,.08); }

/* ── Back to Top ────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none; border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26,35,126,.4);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  z-index: 800;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary); transform: translateY(-3px); }

/* ── Animations ─────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: .88rem; color: var(--primary); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,35,126,.12); }
.form-control.error { border-color: #ef4444; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { min-height: 80vh; padding: 60px 0; }
  .hero-cta { flex-direction: column; }
  .stat-number { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 12px 24px; font-size: .88rem; }
  .hero-title { font-size: 1.8rem; }
}
