/* ============================================
   SETH MOTILAL LAW COLLEGE — Premium Modern Stylesheet
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --primary: #0f2a47;
  --primary-dark: #0a1f35;
  --primary-light: #1a3d5c;
  --secondary: #d4a64b;
  --secondary-soft: #f4e3b8;
  --secondary-light: #e7bb5d;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --success: #10b981;
  --surface: #ffffff;
  --surface-alt: #f8f9fc;
  --surface-secondary: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: rgba(15, 41, 71, 0.12);
  --border-light: rgba(15, 41, 71, 0.06);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 41, 71, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 41, 71, 0.12);
  --shadow-lg: 0 16px 40px rgba(15, 41, 71, 0.16);
  --shadow-xl: 0 24px 60px rgba(15, 41, 71, 0.2);
  --shadow-glow: 0 0 32px rgba(212, 166, 75, 0.2);
  --shadow-elevation: 0 20px 50px rgba(15, 41, 71, 0.15);

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fafbfc 0%, #f3f6fb 50%, #edf2f8 100%);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ---------- Container ---------- */
.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--duration-normal) var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  display: inline-block;
  position: relative;
  padding: 0.4rem 0.8rem;
  background: rgba(212, 166, 75, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 166, 75, 0.3);
}

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  font-size: 0.88rem;
  padding: 0.65rem 0;
  position: relative;
  z-index: 101;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.topbar p {
  font-size: 0.85rem;
  opacity: 0.92;
}

.topbar__links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.topbar__links a {
  color: #fff;
  opacity: 0.88;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: opacity var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.topbar__links a:hover,
.topbar__links a:focus-visible {
  opacity: 1;
  border-color: var(--secondary);
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 41, 71, 0.06);
  transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(15, 41, 71, 0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  transition: padding var(--duration-normal) var(--ease-out);
}

.site-header.is-scrolled .header__inner {
  padding: 0.65rem 0;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(17, 59, 107, 0.2);
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__text strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand__subtitle {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Header Actions ---------- */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(246, 247, 251, 0.7);
}

.header__contact a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
}

.header__contact a:hover { color: var(--secondary); }

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(212, 166, 75, 0.24);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 166, 75, 0.32);
}

.header__cta:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------- Menu Toggle ---------- */
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.55rem;
  cursor: pointer;
  transition: background var(--duration-fast) ease;
}

.menu-toggle:hover { background: var(--surface-alt); }

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 2.5px;
  background: var(--primary);
  margin: 0.3rem 0;
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-in-out),
              opacity var(--duration-normal) var(--ease-in-out);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.55rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.55rem) rotate(-45deg);
}

/* ---------- Site Navigation ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.site-nav a,
.site-nav .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-smooth);
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(15, 42, 71, 0.08);
}

/* Active nav link — pill style with gold accent */
.site-nav a.active,
.site-nav .nav-link.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(15, 42, 71, 0.2);
}

.site-nav a.active:hover,
.site-nav .nav-link.active:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 42, 71, 0.3);
}

/* Active link gold underline accent */
.site-nav a.active::after,
.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  border-radius: 3px 3px 0 0;
}

/* ---------- Nav Item with Submenu ---------- */
.nav-item {
  position: relative;
}

.nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.submenu-arrow {
  font-size: 0.6rem;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-item:hover .submenu-arrow,
.nav-item:focus-within .submenu-arrow {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 200;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.8rem;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.submenu a:hover {
  background: rgba(17, 59, 107, 0.06);
  color: var(--primary);
}

/* ---------- Nav Phone ---------- */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--secondary) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  padding: 0.4rem 0.65rem !important;
  border-left: 1px solid var(--border);
  margin-left: 0.3rem;
}

.nav-phone:hover {
  color: var(--secondary-light) !important;
  background: transparent !important;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--duration-fast) var(--ease-smooth),
              box-shadow var(--duration-fast) var(--ease-smooth),
              background var(--duration-fast) ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
  border-radius: inherit;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn:hover::before {
  opacity: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, #d4a64b 0%, #e7bb5d 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(212, 166, 75, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 14px 36px rgba(212, 166, 75, 0.4);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Text Link ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color var(--duration-fast) ease, gap var(--duration-fast) ease;
}

.text-link:hover {
  color: var(--secondary);
  gap: 0.55rem;
}

.text-link::after {
  content: '→';
  transition: transform var(--duration-fast) ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2a47 0%, #1a3d5c 100%);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.hero__slides {
  position: relative;
  min-height: 82vh;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease-smooth);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 82vh;
  object-fit: cover;
  filter: brightness(0.50) saturate(1.15) contrast(1.05);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(15, 42, 71, 0.88) 0%, rgba(26, 61, 92, 0.45) 60%, rgba(15, 42, 71, 0.2) 100%);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.hero__content {
  color: #fff;
  max-width: 680px;
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms var(--ease-smooth) 200ms,
              transform 700ms var(--ease-smooth) 200ms;
}

.hero__slide.is-active .hero__content {
  opacity: 1;
  transform: translateY(0);
}

.hero h1,
.hero h2 {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.1rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.91);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 2;
}

.hero__dot {
  width: 0.7rem;
  height: 0.7rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero__dot.is-active {
  background: var(--secondary);
  box-shadow: 0 0 12px rgba(212, 166, 75, 0.5);
  transform: scale(1.15);
}

/* ---------- Badges Section ---------- */
.badges {
  padding: 1.5rem 0 1rem;
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
}

.badges__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.badge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.badge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.badge-card:hover::before {
  transform: scaleX(1);
}

.badge-card h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-weight: 700;
}

.badge-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Generic Section ---------- */
.section {
  padding: 6rem 0;
}

.section--light {
  background: linear-gradient(180deg, rgba(248, 249, 252, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.section__heading {
  max-width: 750px;
  margin-bottom: 3rem;
}

.section__heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary);
}

.section__heading p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  padding: 6rem 0 4.5rem;
  background: linear-gradient(125deg, rgba(15, 42, 71, 0.98) 0%, rgba(26, 61, 92, 0.94) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 166, 75, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero__content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.page-hero__content h1 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  margin: 0 0 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-hero__content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  max-width: 650px;
  line-height: 1.75;
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-height: 340px;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.85);
  transition: transform var(--duration-slow) var(--ease-out);
}

.about__media img:hover {
  transform: scale(1.02);
}

.about__content blockquote {
  margin: 1.2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--secondary);
  background: var(--surface);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 166, 75, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary);
}

.info-card:hover::after {
  opacity: 1;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ---------- Facility Grid ---------- */
.facility-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facility-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevation);
  border-color: var(--secondary);
}

.facility-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 4px solid var(--secondary);
  transition: transform var(--duration-slow) var(--ease-smooth);
  position: relative;
  z-index: 1;
}

.facility-card:hover img {
  transform: scale(1.05);
}

.facility-card__body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.facility-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

.facility-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

.facility-card a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--duration-fast) var(--ease-smooth);
  width: fit-content;
}

.facility-card a:hover {
  color: var(--secondary);
  gap: 0.7rem;
}

.facility-card a::after {
  content: '→';
}

/* ---------- Page Grid ---------- */
.page-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--secondary);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-light);
}

.highlight-box h3 {
  color: var(--primary);
  margin: 1.2rem 0 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.highlight-box h3:first-child {
  margin-top: 0;
}

.highlight-box p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- Info List ---------- */
.info-list {
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.info-list li {
  padding: 0.75rem 0 0.75rem 1.2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---------- Notice / Tabs ---------- */
.tabs {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.tab:hover {
  border-color: var(--secondary);
  color: var(--primary);
  background: rgba(212, 166, 75, 0.05);
  transform: translateY(-2px);
}

.tab.is-active {
  background: linear-gradient(135deg, #d4a64b 0%, #e7bb5d 100%);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(212, 166, 75, 0.25);
}

.tab-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  animation: fadeIn 300ms var(--ease-smooth);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notice-list {
  display: grid;
  gap: 0.5rem;
}

.notice-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  font-weight: 600;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--duration-fast) ease, padding var(--duration-fast) ease;
  font-size: 0.92rem;
}

.notice-list a:hover {
  color: var(--primary);
  padding-left: 0.8rem;
}

.notice-list a:last-child {
  border-bottom: none;
}

.notice-list span {
  background: var(--secondary);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: grid;
  gap: 1.2rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.contact-form:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.contact-form label {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  background: var(--surface-alt);
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--duration-fast) var(--ease-smooth);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(212, 166, 75, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: fit-content;
  margin-top: 0.5rem;
}

.form-feedback {
  min-height: 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
}

.form-feedback:not(:empty) {
  color: var(--primary);
  background: rgba(212, 166, 75, 0.1);
}

/* ---------- Address ---------- */
address {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

address a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--duration-fast) ease;
}

address a:hover {
  color: var(--secondary);
}

/* ---------- Map ---------- */
.map-placeholder iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0a1626 0%, #050d14 100%);
  color: #e8edf5;
  padding: 4rem 0 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 166, 75, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer ul {
  display: grid;
  gap: 0.7rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  transition: all var(--duration-fast) var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  position: relative;
}

.site-footer a::before {
  content: '→';
  position: absolute;
  left: -1.2rem;
  opacity: 0;
  transition: all var(--duration-fast) ease;
}

.site-footer a:hover {
  color: var(--secondary);
  padding-left: 1rem;
}

.site-footer a:hover::before {
  opacity: 1;
  left: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms var(--ease-smooth) 0ms,
              transform 800ms var(--ease-smooth) 0ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 3px solid rgba(212, 166, 75, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .header__actions {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
  }

  .menu-toggle {
    display: inline-block;
    order: 1;
  }

  .hero {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }

  .hero__slide img {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }

  .hero__overlay {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
  }

  .hero, .hero__slides, .hero__slide img {
    min-height: 65vh;
    height: 65vh;
  }

  .about-grid,
  .contact-grid,
  .page-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .badges__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__links {
    margin-left: 0;
  }

  .topbar p {
    font-size: 0.8rem;
  }

  .hero__content {
    padding: 1.5rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .badges__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .header__contact {
    display: none;
  }

  .brand__text strong {
    font-size: 0.82rem;
  }

  .brand__subtitle {
    font-size: 0.7rem;
  }

  .brand__mark {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Dark Mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1a2332;
    --surface-alt: #1f2a3c;
    --surface-secondary: #252d3d;
    --text: #e8edf5;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(26, 35, 50, 0.85);
  }

  body {
    background: linear-gradient(135deg, #0f1729 0%, #1a2332 50%, #15202b 100%);
  }

  .site-header {
    background: rgba(15, 23, 41, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
  }

  .site-nav a.active {
    background: linear-gradient(135deg, #1a3d5c 0%, #1e4d82 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .badge-card {
    background: rgba(26, 35, 50, 0.96);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .badge-card:hover {
    border-color: var(--secondary);
  }

  .info-card,
  .facility-card,
  .contact-form,
  .tab-panel,
  .highlight-box,
  .tab {
    background: var(--surface);
    border-color: var(--border);
  }

  .section--light {
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.9) 0%, rgba(15, 23, 41, 0.95) 100%);
  }

  .contact-form input,
  .contact-form textarea {
    background: var(--surface-alt);
    border-color: var(--border);
    color: var(--text);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    background: var(--surface);
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 166, 75, 0.15);
  }

  .tab {
    background: var(--surface-alt);
    border-color: var(--border);
    color: var(--text);
  }

  .tab:hover {
    background: rgba(212, 166, 75, 0.08);
    border-color: var(--secondary);
  }

  .tab.is-active {
    background: linear-gradient(135deg, #d4a64b 0%, #e7bb5d 100%);
  }

  .header__contact {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .header__contact a {
    color: var(--secondary);
  }

  .menu-toggle {
    background: var(--surface-alt);
    border-color: var(--border);
  }

  .menu-toggle span {
    background: var(--text);
  }
}

