/* =========================================================================
   Sri Ramakrishna Polytechnic College — Stylesheet
   Design tokens: Navy #0A2540, Royal Blue #14508F, Gold #C9A227,
   Soft Gold #F0D28D, Off-White #F7F9FC, White #FFFFFF
   Display font: 'Playfair Display' | Body font: 'Inter'
   ========================================================================= */

:root {
  --navy: #0a2540;
  --navy-deep: #071A2E;
  --royal: #14508f;
  --royal-light: #1e6bb8;
  --gold: #c9a227;
  --gold-soft: #f0d28d;
  --gold-bright: #e6bc4c;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --border: rgba(10, 37, 64, 0.08);
  --shadow-sm: 0 4px 16px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 52px;
}

.section-head { text-align: center; }
.section-head .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 162, 39, 0.45); }

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--royal); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s var(--ease);
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(3.2); opacity: 0; } }

/* ---------- Loading Screen ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 36px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-crest {
  width: 128px; height: 128px;
  display: flex; align-items: center; justify-content: center;
}
.loader-text {
  color: var(--gold-soft);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(240, 210, 141, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.loader-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), transparent);
  border-radius: 10px;
  animation: loader-sweep 1.6s ease-in-out infinite;
}
@keyframes loader-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

/* ---------- Navigation ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}
#navbar.scrolled {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--navy-deep);
  flex-shrink: 0;
}
.brand-text { line-height: 1.2; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.08em; opacity: 0.75; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 950;
}
.hamburger span { height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s var(--ease); }
.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); }
#mobileMenu { display: none; }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--royal) 130%);
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(7,26,46,0.72) 0%, rgba(7,26,46,0.88) 100%),
    url('https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=1974&auto=format&fit=crop');
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201,162,39,0.35), transparent 70%);
  filter: blur(2px);
  animation: float-shape 14s ease-in-out infinite;
}
.hero-shape.s1 { width: 340px; height: 340px; top: -60px; left: -80px; animation-delay: 0s; }
.hero-shape.s2 { width: 220px; height: 220px; bottom: 10%; right: -40px; animation-delay: 2s;
  background: radial-gradient(circle at 30% 30%, rgba(30,107,184,0.4), transparent 70%); }
.hero-shape.s3 { width: 160px; height: 160px; top: 30%; right: 12%; animation-delay: 4s; }
@keyframes float-shape {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

#particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: var(--gold-soft); opacity: 0.5;
  animation: rise linear infinite;
}
@keyframes rise {
  to { transform: translateY(-110vh) translateX(var(--drift, 0px)); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2; text-align: center; color: var(--white);
  max-width: 900px; padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(201,162,39,0.5);
  backdrop-filter: blur(8px);
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold-soft);
  margin-top: 40px;
  margin-bottom: 28px; opacity: 0; animation: fade-up 0.8s var(--ease) 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 22px;
  min-height: 2.4em;
}
.typing-cursor { display: inline-block; width: 3px; background: var(--gold); margin-left: 4px; animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 640px; margin: 0 auto 40px;
  opacity: 0; animation: fade-up 0.8s var(--ease) 0.5s forwards;
}
.hero-actions {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fade-up 0.8s var(--ease) 0.75s forwards;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.scroll-indicator {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.1em;
  z-index: 2;
}
.scroll-indicator .dot-track {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-indicator .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1;} 70% { opacity: 0; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-up { transform: translateY(46px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.85); }
.reveal.in-view { opacity: 1; transform: translate(0,0) scale(1); }

/* ---------- Glass card ---------- */
.glass-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; height: 460px; object-fit: cover;
}
.about-media-badge {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--white); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.about-media-badge .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.about-media-badge .lbl { font-size: 0.8rem; color: var(--muted); max-width: 110px; line-height: 1.3; }

.about-points { display: grid; gap: 18px; margin-top: 30px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: flex; align-items: center; justify-content: center; color: var(--navy-deep); font-size: 1.1rem;
}
.about-point h4 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.about-point p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Stats counter ---------- */
.stats-strip {
  background: linear-gradient(120deg, var(--navy-deep), var(--royal));
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem);
  color: var(--gold-soft); font-weight: 700;
}
.stat-item .stat-label { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Departments / Courses / Facilities grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  padding: 34px 28px;
  position: relative;
}
.card .ico-circle {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, var(--royal), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft); font-size: 1.4rem; margin-bottom: 20px;
  animation: float-icon 4s ease-in-out infinite;
}
@keyframes float-icon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.92rem; }
.card .meta { display: flex; gap: 14px; margin-top: 16px; font-size: 0.8rem; color: var(--royal); font-weight: 600; }

/* ---------- Course search ---------- */
.course-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 100px;
  padding: 8px 8px 8px 22px; box-shadow: var(--shadow-sm);
  max-width: 460px; margin: 0 auto 46px; border: 1px solid var(--border);
}
.course-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 0.95rem; background: transparent; }
.course-search button {
  background: var(--navy); color: var(--white); width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.course-search button:hover { background: var(--royal); }
.no-results { text-align: center; color: var(--muted); padding: 30px 0; display: none; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item::after {
  content: '\002B'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,37,64,0.55); color: var(--gold-soft); font-size: 2rem;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

#lightbox {
  position: fixed; inset: 0; background: rgba(7,26,46,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
#lightbox .close-lightbox {
  position: absolute; top: 28px; right: 36px; color: var(--white); font-size: 2rem;
}

/* ---------- Events ---------- */
.event-row {
  display: flex; gap: 24px; align-items: center; padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.event-date {
  flex-shrink: 0; width: 78px; height: 78px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.event-date .d { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.event-date .m { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
.event-info h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.event-info p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Placement ---------- */
.marquee-wrap { overflow: hidden; position: relative; padding: 30px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); opacity: 0.55; font-weight: 700; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.placement-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.placement-stats .glass-card { padding: 32px; text-align: center; }
.placement-stats .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial-track-wrap { overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial-slide { min-width: 100%; padding: 10px; }
.testimonial-card {
  max-width: 680px; margin: 0 auto; text-align: center; padding: 50px 40px;
}
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 1; }
.testimonial-card p { font-size: 1.08rem; color: var(--ink); margin: 18px 0 26px; }
.testimonial-card .who { font-weight: 700; color: var(--navy); }
.testimonial-card .role { font-size: 0.82rem; color: var(--muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonial-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background 0.3s, transform 0.3s; }
.testimonial-dots button.active { background: var(--gold); transform: scale(1.3); }

/* ---------- Faculty ---------- */
.faculty-card { text-align: center; padding: 34px 22px; }
.faculty-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-deep); font-weight: 700;
}
.faculty-card h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; }
.faculty-card .role { color: var(--gold); font-size: 0.82rem; font-weight: 600; }

/* ---------- Forms ---------- */
.form-panel { padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-family: inherit; font-size: 0.95rem;
  background: var(--white); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(20,80,143,0.12);
}
.form-error { color: #c0392b; font-size: 0.78rem; margin-top: 6px; display: none; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #c0392b; }
.form-group.has-error .form-error { display: block; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: rgba(39, 174, 96, 0.12); color: #1e7e42; }
.form-status.error { display: block; background: rgba(192, 57, 43, 0.1); color: #c0392b; }

.rating-select { display: flex; gap: 8px; }
.rating-select button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border);
  font-weight: 700; color: var(--muted); transition: all 0.25s var(--ease);
}
.rating-select button.active { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); transform: scale(1.1); }

/* ---------- Contact / Map ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card { padding: 40px; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item .ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: none; width: 100%; height: 340px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 30px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-col h5 { color: var(--gold-soft); font-family: var(--font-display); font-size: 1rem; margin-bottom: 20px; }
.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-col ul li i {
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.3s, padding-left 0.3s; }
.footer-col ul li a:hover { color: var(--gold-soft); padding-left: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.3s;
}
.social-row a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all 0.35s var(--ease);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--royal); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .grid-3, .grid-2, .placement-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-media-badge { left: 10px; bottom: -20px; padding: 16px 18px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  #mobileMenu {
    position: fixed; inset: 0; background: var(--navy-deep); z-index: 899;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  #mobileMenu.open { transform: translateX(0); }
  #mobileMenu a { color: var(--white); font-size: 1.2rem; padding: 14px 0; font-family: var(--font-display); }
}
