/* ==========================================================================
   PMT Institute of Medical Sciences (PMTIMS) - Official Stylesheet
   Designed strictly following CCOP (https://ccop.co.in/) Institutional Standards
   ========================================================================== */

:root {
  --color-primary: #156bf9;
  --color-secondary: #ff1015;
  --color-tertiary: #f8b81f;
  --color-dark: #001538;
  --color-heading: #181818;
  --color-body: #5c5c5c;
  --color-border: #e5e5e5;
  --bg-soft: #f0f4f5;
  --white: #ffffff;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "League Spartan", "Poppins", sans-serif;
  --shadow: 0 10px 30px rgba(20, 36, 66, 0.12);
  --shadow-sm: 0 4px 14px rgba(20, 36, 66, 0.08);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-secondary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 4000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--color-dark);
  color: #d5dce8;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container,
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.topbar a {
  color: #fff;
  font-weight: 500;
}
.topbar a:hover {
  color: var(--color-tertiary);
}
.topbar-left {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 13px;
}
.topbar-phone, .topbar-email {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.topbar-session {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--color-tertiary);
  color: #181818;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  padding: 5px 12px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 21, 56, 0.06);
}
.header .container {
  min-height: 76px;
}
.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
  padding: 8px 0;
}
.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
}
.logo-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: #123a8a;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-text b {
  display: inline;
  font-family: inherit;
  color: var(--color-secondary);
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  margin: 0;
}
.logo-text span {
  display: block;
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: 0;
}
.nav > a, .drop-toggle {
  display: inline-flex;
  align-items: center;
  height: 76px;
  padding: 0 13px;
  font-size: 15px;
  font-family: var(--serif);
  font-weight: 600;
  color: #181818;
  background: transparent !important;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-transform: capitalize;
}
.nav > a:hover, .drop-toggle:hover {
  color: var(--color-primary);
}
.nav > a.active, .nav-item.active .drop-toggle, .nav-item.open .drop-toggle {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.drop-toggle::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.nav .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-left: 12px;
  padding: 0 20px;
  background: var(--color-secondary);
  color: #fff !important;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 0 !important;
  letter-spacing: 0.02em;
}
.nav .btn-cta:hover {
  background: #d40d12;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 16, 21, 0.3);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 16px 40px rgba(20, 36, 66, 0.14);
  padding: 8px 0;
  z-index: 30;
  border-radius: 0 0 6px 6px;
}
.nav-item:hover .dropdown, .nav-item.open .dropdown {
  display: block;
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: #181818;
  font-size: 14px;
  font-weight: 600;
  white-space: normal;
  line-height: 1.4;
}
.dropdown a:hover, .dropdown a.active {
  background: #f4f8ff;
  color: var(--color-primary);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: #181818;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   TICKER (NEWS ANNOUNCEMENT BAND)
   ========================================================================== */
.ticker {
  background: var(--color-tertiary);
  color: #181818;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ticker-badge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #d97706;
  color: #fff;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  z-index: 2;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 32s linear infinite;
}
.ticker:hover span {
  animation-play-state: paused;
}
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: center;
  color: #fff;
  background: #001538;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.03);
  animation: heroZoom 14s infinite alternate;
}
.hero-slide.is-active {
  opacity: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.05); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 21, 56, 0.88) 0%, rgba(0, 21, 56, 0.55) 60%, rgba(0, 21, 56, 0.25) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
}
.hero-dots {
  position: absolute;
  z-index: 3;
  left: max(1rem, calc((100% - 1200px) / 2));
  bottom: 80px;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dots button.is-active {
  background: #fff;
  width: 28px;
  border-radius: 6px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  max-width: 18ch;
  letter-spacing: -0.01em;
}
.hero p.lead {
  margin-top: 18px;
  max-width: 580px;
  color: #eef2f8;
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff !important;
}
.btn-primary:hover {
  background: #d40d12;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 16, 21, 0.35);
}
.btn-ghost {
  background: var(--color-primary);
  color: #fff !important;
}
.btn-ghost:hover {
  background: #0f56d0;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 107, 249, 0.35);
}
.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-outline:hover {
  background: #f0f6ff;
  border-color: #0f56d0;
}
.btn-dark {
  background: var(--color-dark);
  color: #fff !important;
}
.btn-dark:hover {
  background: #0c2554;
}

/* ==========================================================================
   FEATURES (3-CARD OVERLAP GRID)
   ========================================================================== */
.features {
  margin-top: -54px;
  position: relative;
  z-index: 10;
  padding: 0 0 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 30px 24px;
  border-radius: 8px;
  border: 1px solid rgba(229, 229, 229, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 36, 66, 0.16);
}
.feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f0ff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--serif);
  color: #181818;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature p {
  font-size: 14px;
  color: #5c5c5c;
  line-height: 1.6;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */
section {
  padding: 72px 0;
}
.soft {
  background: var(--bg-soft);
}
.section-kicker {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--color-heading);
  line-height: 1.25;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-lead {
  max-width: 640px;
  font-size: 16px;
  color: #5c5c5c;
}
.center {
  text-align: center;
}
.center .section-lead {
  margin-inline: auto;
}

/* ==========================================================================
   SPLIT ABOUT SECTION
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.campus-shot {
  overflow: hidden;
  min-height: 380px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.campus-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  transition: transform 0.5s ease;
}
.campus-shot:hover img {
  transform: scale(1.03);
}
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.why-list li {
  position: relative;
  padding: 6px 6px 6px 26px;
  color: #181818;
  font-weight: 600;
  font-size: 15px;
}
.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats {
  background: var(--color-dark) url("../images/slider-2.jpg") center / cover no-repeat;
  color: #fff;
  position: relative;
  padding: 64px 0;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 21, 56, 0.88);
}
.stats .container {
  position: relative;
  z-index: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  color: var(--color-tertiary);
  font-weight: 800;
  line-height: 1.1;
}
.stat span {
  color: #d5dce8;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   PROGRAM CARDS (COURSES)
   ========================================================================== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
  align-items: stretch;
}
.program-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 36, 66, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}
.program-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  background: #e8f0ff;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}
.program-card h3 {
  font-family: var(--serif);
  color: #181818;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 800;
}
.program-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #5c5c5c;
  margin-bottom: 16px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  background: var(--bg-soft);
  color: #181818;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.program-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   NOTICE BOARD & EVENTS (SPLIT 2-COLUMN)
   ========================================================================== */
.notices-events-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 32px;
}
.notice-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.notice-box h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: #181818;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 10px;
}
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notice-item {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--bg-soft);
  border-left: 4px solid var(--color-primary);
  transition: all 0.2s ease;
}
.notice-item:hover {
  background: #e8f0ff;
  transform: translateX(3px);
}
.notice-item .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.notice-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-primary);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(21, 107, 249, 0.2);
}
.notice-date {
  font-size: 11px;
  color: #71717a;
}
.notice-new {
  font-size: 9px;
  font-weight: 800;
  background: var(--color-secondary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.notice-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: #181818;
  line-height: 1.4;
}

/* ==========================================================================
   CAMPUS FACILITIES (6-GRID)
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.facility-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.facility-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.facility-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #e8f0ff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.facility-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: #181818;
  font-weight: 700;
  margin-bottom: 6px;
}
.facility-card p {
  font-size: 13px;
  color: #5c5c5c;
  line-height: 1.6;
}

/* ==========================================================================
   LEADERSHIP (CHAIR BANNER & ADMIN DESK)
   ========================================================================== */
.chair-banner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-primary);
  padding: 28px;
  border-radius: 8px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}
.chair-banner .mark {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e8f0ff;
  background: #fff;
  display: grid;
  place-items: center;
}
.chair-banner .mark img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.chair-banner h3 {
  font-family: var(--serif);
  color: #181818;
  font-size: 24px;
  font-weight: 800;
}
.chair-banner .role {
  color: var(--color-secondary);
  font-weight: 700;
  margin: 4px 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.chair-banner p {
  font-size: 14px;
  color: #5c5c5c;
  line-height: 1.6;
}

/* ==========================================================================
   GALLERY GRID & LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #001538;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(0, 21, 56, 0.9), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 36px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  font-weight: 800;
}
.cta-band p {
  color: #dbeafe;
  font-size: 15px;
  margin-top: 4px;
}
.cta-band .btn-primary {
  background: var(--color-secondary);
  font-size: 16px;
  padding: 14px 28px;
}

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero {
  background: var(--color-dark) url("../images/slider-2.jpg") center / cover no-repeat;
  color: #fff;
  padding: 64px 0 54px;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 21, 56, 0.85);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  font-weight: 800;
}
.page-hero p {
  color: #d5dce8;
  margin-top: 8px;
  max-width: 620px;
  font-size: 16px;
}
.page-hero .section-kicker {
  color: var(--color-tertiary);
}

/* ==========================================================================
   CONTACT CARDS & FORM
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #e8f0ff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card strong {
  display: block;
  color: #181818;
  font-size: 16px;
  font-family: var(--serif);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 14px;
  color: #5c5c5c;
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.form label {
  font-size: 14px;
  font-weight: 600;
  color: #181818;
  margin-bottom: 4px;
  display: block;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 107, 249, 0.15);
}
.form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #020b17;
  color: #9aa3b2;
  padding: 56px 0 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
footer h3 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 18px;
  font-family: var(--serif);
  font-weight: 700;
  border-bottom: 2px solid rgba(21, 107, 249, 0.6);
  padding-bottom: 6px;
  display: inline-block;
}
footer a:hover {
  color: var(--color-tertiary);
}
footer .logo img {
  width: 52px;
  height: 52px;
  background: #fff;
  padding: 3px;
  border-radius: 50%;
}
footer .logo-text strong, footer .logo-text b {
  color: #fff !important;
}
footer ul li {
  margin-bottom: 8px;
}
footer p {
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid #1c2a40;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-credit {
  font-size: 12px;
  color: #64748b;
}
.footer-credit a {
  color: #3b82f6;
  font-weight: 600;
}
.footer-credit a:hover {
  color: var(--color-tertiary);
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  z-index: 1100;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN (CCOP BREAKPOINTS)
   ========================================================================== */
@media (max-width: 980px) {
  .hero .container, .split, .stats-grid, .features-grid, .program-grid, .facilities-grid, .gallery-grid, .chair-banner, .notices-events-split, .footer-grid, .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
  .menu-toggle {
    display: block;
  }
  .topbar {
    font-size: 12px;
    padding: 6px 0;
  }
  .topbar-left {
    display: none;
  }
  .topbar .container {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .topbar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
  }
  .topbar-email {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 18px;
    border-bottom: 1px solid var(--color-border);
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: 0 12px 30px rgba(0, 21, 56, 0.1);
  }
  .nav.open {
    display: flex;
  }
  .nav > a, .drop-toggle {
    height: 48px;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
  }
  .nav .btn-cta {
    margin: 14px 0 6px;
    width: 100%;
    height: 44px;
  }
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: var(--bg-soft);
    padding: 6px 14px;
    margin-bottom: 6px;
  }
  .nav-item:hover .dropdown {
    display: none;
  }
  .nav-item.open .dropdown {
    display: block;
  }
}

@media (max-width: 680px) {
  .hero .container, .split, .stats-grid, .features-grid, .program-grid, .facilities-grid, .gallery-grid, .chair-banner, .notices-events-split, .footer-grid, .contact-cards, .why-list {
    grid-template-columns: 1fr;
  }
  .features {
    margin-top: -30px;
  }
  .logo img {
    width: 46px;
    height: 46px;
  }
  .logo-text strong {
    font-size: 16px;
  }
  .hero {
    min-height: 380px;
  }
  .hero .container {
    padding: 40px 0 76px;
  }
  .hero-dots {
    left: 1rem;
    bottom: 50px;
  }
  .chair-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .chair-banner .mark {
    margin: 0 auto;
  }
}
