/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0a4f7c;
  --primary-light: #1a6fa0;
  --primary-dark: #063352;
  --accent: #1aab7d;
  --accent-light: #e6f9f4;
  --accent-dark: #0e7558;
  --gold: #c9a84c;
  --white: #ffffff;
  --off-white: #f7fbff;
  --light-bg: #eef5fb;
  --card-bg: #ffffff;
  --text-dark: #0d1f2d;
  --text-mid: #3d5a72;
  --text-light: #6b8ba4;
  --border: #d0e4f0;
  --shadow-sm: 0 2px 12px rgba(10,79,124,0.08);
  --shadow-md: 0 6px 28px rgba(10,79,124,0.13);
  --shadow-lg: 0 16px 48px rgba(10,79,124,0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --nav-h: 72px;
  --font-bn: 'Hind Siliguri', sans-serif;
  --font-en: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-bn);
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.75;
}
body.lang-en { font-family: var(--font-en); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LOADER ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px; transition: opacity 0.6s ease, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-cross {
  width: 60px; height: 60px;
  position: relative;
}
.loader-cross::before, .loader-cross::after {
  content: ''; position: absolute;
  background: var(--accent);
  border-radius: 4px;
  animation: pulse-cross 1.2s ease-in-out infinite;
}
.loader-cross::before { width: 12px; height: 60px; left: 24px; top: 0; }
.loader-cross::after { width: 60px; height: 12px; left: 0; top: 24px; animation-delay: 0.2s; }
@keyframes pulse-cross {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}
.loader-text {
  color: white; font-size: 15px; opacity: 0.8;
  letter-spacing: 1px;
}
.loader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 99px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%; width: 0;
  background: var(--accent);
  border-radius: 99px;
  animation: load-fill 1.8s ease forwards;
}
@keyframes load-fill { to { width: 100%; } }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-name { font-size: 15px; font-weight: 700; color: var(--primary); }
.nav-logo-sub { font-size: 11px; color: var(--text-light); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light-bg); color: var(--primary);
}
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center; gap: 0;
  background: var(--light-bg); border-radius: 99px;
  padding: 3px; border: 1px solid var(--border);
  cursor: pointer;
}
.lang-btn {
  padding: 5px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  border: none; background: transparent;
  cursor: pointer; color: var(--text-light);
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--primary); color: white;
  box-shadow: 0 2px 8px rgba(10,79,124,0.25);
}
.nav-appt-btn {
  padding: 9px 20px; border-radius: 99px;
  background: var(--accent); color: white;
  font-size: 13px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-appt-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--primary); border-radius: 99px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 16px 24px; z-index: 999;
  box-shadow: var(--shadow-md);
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--text-mid);
  transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--light-bg); color: var(--primary); }

/* ===== SECTIONS ===== */
section { padding: 90px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent-dark);
  padding: 6px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 14px; letter-spacing: 0.5px;
}
.section-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; color: var(--primary);
  line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--text-mid);
  max-width: 540px; line-height: 1.8;
}
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #1a6fa0 100%);
  padding: 0 24px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26,171,125,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.hero-circles {
  position: absolute; right: -80px; bottom: -80px;
  width: 500px; height: 500px;
  border: 80px solid rgba(255,255,255,0.04);
  border-radius: 50%; pointer-events: none;
}
.hero-circles::before {
  content: ''; position: absolute;
  top: 80px; left: 80px; right: 80px; bottom: 80px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,171,125,0.2); color: #7ff5d3;
  border: 1px solid rgba(26,171,125,0.3);
  padding: 6px 16px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px; letter-spacing: 0.5px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero-name {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700; color: white;
  line-height: 1.1; margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(16px, 2.5vw, 22px);
  color: rgba(255,255,255,0.75); margin-bottom: 6px;
  font-weight: 400;
}
.hero-degree {
  font-size: 15px; color: #7ff5d3;
  font-weight: 500; margin-bottom: 32px;
}
.hero-tagline {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.65);
  line-height: 1.8; max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex; gap: 32px; margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 28px; font-weight: 700; color: white;
  line-height: 1;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.hero-stat-divider {
  width: 1px; background: rgba(255,255,255,0.15);
  align-self: stretch;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-hero {
  padding: 14px 30px; border-radius: 99px;
  background: var(--accent); color: white;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary-hero:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,171,125,0.35);
}
.btn-outline-hero {
  padding: 14px 30px; border-radius: 99px;
  background: transparent; color: white;
  font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Hero Image Card */
.hero-image-wrap {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.hero-img-bg {
  width: 320px; height: 380px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,0.15);
  overflow: hidden; position: relative;
  backdrop-filter: blur(8px);
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
}
.hero-avatar {
  width: 110px; height: 110px;
  border-radius: 50%; border: 4px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: white;
}
.hero-img-name { color: white; font-size: 17px; font-weight: 600; text-align: center; }
.hero-img-spec { color: rgba(255,255,255,0.6); font-size: 13px; text-align: center; }
.hero-badge-card {
  position: absolute; bottom: -18px; left: -24px;
  background: white; border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  min-width: 180px;
}
.hero-badge-card-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge-card-icon svg { width: 18px; height: 18px; fill: var(--accent-dark); }
.hero-badge-card-text { line-height: 1.25; }
.hero-badge-card-num { font-size: 16px; font-weight: 700; color: var(--primary); }
.hero-badge-card-label { font-size: 11px; color: var(--text-light); }
.hero-badge-card2 {
  position: absolute; top: -18px; right: -24px;
  background: var(--primary); border-radius: var(--radius-md);
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  color: white; text-align: center;
}
.hero-badge-card2-big { font-size: 22px; font-weight: 700; }
.hero-badge-card2-sm { font-size: 11px; opacity: 0.75; margin-top: 2px; }

/* ===== ABOUT ===== */
#about { background: white; }
.about-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 60px; align-items: start;
}
.about-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.about-img-top {
  height: 240px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 4px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: white;
}
.about-img-body { padding: 22px; background: white; }
.about-img-name { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.about-img-role { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.about-info-row {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.about-info-row:last-child { border-bottom: none; }
.about-info-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-info-icon svg { width: 15px; height: 15px; fill: var(--primary); }
.about-info-label { font-size: 11px; color: var(--text-light); margin-bottom: 2px; }
.about-info-val { font-size: 13px; font-weight: 600; color: var(--text-dark); }

.about-content h3 {
  font-size: 20px; font-weight: 700; color: var(--primary);
  margin-bottom: 14px; margin-top: 32px;
}
.about-content h3:first-child { margin-top: 0; }
.about-content p {
  font-size: 15.5px; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 14px;
}
.edu-card {
  background: var(--light-bg); border-radius: var(--radius-md);
  padding: 20px 22px; margin-bottom: 14px;
  border-left: 4px solid var(--primary);
  display: flex; gap: 16px; align-items: center;
}
.edu-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-icon svg { width: 22px; height: 22px; fill: white; }
.edu-deg { font-size: 15px; font-weight: 700; color: var(--primary); }
.edu-inst { font-size: 13px; color: var(--text-mid); margin-top: 3px; }
.edu-year {
  font-size: 11px; background: var(--accent-light);
  color: var(--accent-dark); padding: 2px 10px;
  border-radius: 99px; margin-top: 6px; display: inline-block;
  font-weight: 600;
}
.skills-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 14px;
}
.skill-pill {
  background: var(--light-bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-size: 13px; font-weight: 500; color: var(--text-mid);
  display: flex; align-items: center; gap: 8px;
}
.skill-pill::before {
  content: ''; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
}

/* ===== SERVICES ===== */
#services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px 26px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s; cursor: default;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  background: var(--light-bg); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ===== CHAMBER ===== */
#chamber { background: white; }
.chamber-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.chamber-card {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.chamber-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.chamber-header {
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; gap: 14px;
}
.chamber-header-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.chamber-header-icon svg { width: 24px; height: 24px; fill: white; }
.chamber-header-title { font-size: 17px; font-weight: 700; color: white; }
.chamber-header-sub { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.chamber-body { padding: 22px 24px; background: white; }
.chamber-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.chamber-row:last-child { border-bottom: none; padding-bottom: 0; }
.chamber-row-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--light-bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.chamber-row-icon svg { width: 17px; height: 17px; fill: var(--primary); }
.chamber-row-label { font-size: 11px; color: var(--text-light); margin-bottom: 3px; }
.chamber-row-val { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.chamber-badge {
  display: inline-block; font-size: 11px;
  background: var(--accent-light); color: var(--accent-dark);
  padding: 2px 10px; border-radius: 99px;
  font-weight: 600; margin-top: 4px;
}
.chamber-soon { background: var(--off-white); }
.chamber-soon .chamber-header { background: linear-gradient(135deg, #5a7a96, #789cb4); }
.coming-soon-overlay { padding: 40px 24px; text-align: center; }
.coming-soon-overlay .cs-icon { font-size: 36px; margin-bottom: 10px; }
.coming-soon-overlay p { font-size: 14px; color: var(--text-light); }
.cs-tag {
  display: inline-block;
  background: #fff3cd; color: #856404;
  padding: 4px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}

/* ===== APPOINTMENT ===== */
#appointment {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}
.appt-inner {
  display: grid; grid-template-columns: 1fr 440px;
  gap: 60px; align-items: center;
}
.appt-features { display: flex; flex-direction: column; gap: 14px; }
.appt-feat {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.85); font-size: 14px;
}
.appt-feat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.appt-feat-icon svg { width: 16px; height: 16px; fill: #7ff5d3; }
.appt-form-card {
  background: white; border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.appt-form-title { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.appt-form-sub { font-size: 14px; color: var(--text-light); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 7px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit;
  color: var(--text-dark); background: white;
  transition: all 0.2s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,79,124,0.1); }
textarea.form-input { resize: vertical; min-height: 90px; }
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,171,125,0.3); }
.btn-submit svg { width: 18px; height: 18px; fill: white; }

/* ===== CERTIFICATION ===== */
#certification { background: var(--off-white); }
.cert-card {
  max-width: 780px; margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border);
}
.cert-top {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 36px 40px; text-align: center; position: relative;
  overflow: hidden;
}
.cert-top::before, .cert-top::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.06);
}
.cert-top::before { top: -80px; left: -60px; }
.cert-top::after { bottom: -80px; right: -60px; }
.cert-logo {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.cert-logo svg { width: 36px; height: 36px; fill: white; }
.cert-title-text { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.cert-name { font-size: 26px; font-weight: 700; color: white; margin-bottom: 6px; }
.cert-sub-text { font-size: 14px; color: rgba(255,255,255,0.7); }
.cert-body { padding: 36px 40px; }
.cert-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px dashed var(--border);
}
.cert-row:last-child { border-bottom: none; }
.cert-row-label { font-size: 13px; color: var(--text-light); font-weight: 500; }
.cert-row-val { font-size: 14px; font-weight: 700; color: var(--text-dark); text-align: right; }
.cert-seal {
  text-align: center; padding: 20px 40px 36px;
  border-top: 1px solid var(--border);
}
.cert-seal-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-light); border: 1.5px solid var(--accent);
  color: var(--accent-dark); border-radius: 99px;
  padding: 10px 24px; font-size: 14px; font-weight: 700;
}
.cert-seal-badge svg { width: 18px; height: 18px; fill: var(--accent); }

/* ===== GALLERY ===== */
#gallery { background: white; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; position: relative;
}
.gallery-placeholder.gp1 { background: linear-gradient(135deg, #0a3d5c, #1a6fa0); }
.gallery-placeholder.gp2 { background: linear-gradient(135deg, #0e4d36, #1aab7d); }
.gallery-placeholder.gp3 { background: linear-gradient(135deg, #3d2b6b, #6c4fba); }
.gallery-placeholder svg { width: 40px; height: 40px; fill: rgba(255,255,255,0.4); }
.gallery-label { color: rgba(255,255,255,0.7); font-size: 13px; text-align: center; padding: 0 16px; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(10,79,124,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { color: white; font-size: 28px; }

/* ===== CONTACT ===== */
#contact { background: var(--off-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: white; border-radius: var(--radius-md);
  padding: 22px 24px; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 18px;
  transition: all 0.25s;
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.contact-card-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: var(--light-bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.contact-card-label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.contact-card-val { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.contact-card-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.map-placeholder {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--border);
  height: 320px; position: relative;
  background: linear-gradient(135deg, var(--light-bg), #d8ecf8);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
}
.map-pin-icon { font-size: 40px; }
.map-text { font-size: 15px; font-weight: 600; color: var(--primary); text-align: center; }
.map-sub { font-size: 13px; color: var(--text-light); text-align: center; }
.map-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,79,124,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,79,124,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.75);
  padding: 60px 24px 30px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.footer-brand-name { font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-brand-role { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-brand-desc { font-size: 14px; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; color: white; font-size: 14px;
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); }
.footer-col-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  gap: 12px; flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.footer-accent { color: var(--accent); }

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s; z-index: 500;
}
#scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { background: var(--accent); transform: translateY(-2px); }
#scroll-top svg { width: 18px; height: 18px; fill: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-card { position: static; }
  .appt-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  section { padding: 60px 16px; }
  .nav-links { display: none; }
  .nav-appt-btn { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding-top: calc(var(--nav-h) + 30px); }
  .hero-stats { gap: 16px; }
  .appt-form-card { padding: 24px 20px; }
  .cert-top { padding: 28px 24px; }
  .cert-body { padding: 24px; }
  .cert-seal { padding: 16px 24px 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
}
