/* ==============================
   GLOBAL STYLES & VARIABLES
   ============================== */
:root {
  --navy: #0B1F3A;
  --blue: #1155A4;
  --sky: #2D89EF;
  --ice: #EBF4FF;
  --white: #FFFFFF;
  --offwhite: #F7F9FD;
  --gold: #C9A84C;
  --text: #1A2840;
  --muted: #6B7FA0;
  --border: rgba(17,85,164,0.12);
  --green: #10B981;
  --red: #EF4444;
  --amber: #F59E0B;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ==============================
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* ==============================
   SCROLLBAR
   ============================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ice);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ==============================
   TOP BAR
   ============================== */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 0.55rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.3px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.top-bar .emergency {
  color: #FF6B6B;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  box-shadow: 0 2px 30px rgba(11,31,58,0.06);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 2rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 4px;
  box-shadow: 0 6px 24px rgba(17,85,164,0.35), 0 0 0 3px rgba(201,168,76,0.25);
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo-ring:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(17,85,164,0.45), 0 0 0 4px rgba(201,168,76,0.4);
}

.logo-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-ring-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.logo-name span {
  color: var(--blue);
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 400;
}

.logo-accred {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, var(--gold), #e8c56a);
  color: var(--navy);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: fit-content;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.nav-link:hover {
  background: var(--ice);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--ice);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #1a6ed4 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(17,85,164,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17,85,164,0.4);
}

.btn-emergency {
  background: var(--red);
  color: white;
  box-shadow: 0 4px 16px rgba(220,38,38,0.3);
  animation: pulse-red 2s infinite;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,38,38,0.4);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  text-align: center;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}

.btn-white:hover {
  background: var(--ice);
  transform: translateY(-2px);
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 4px 16px rgba(220,38,38,0.3); }
  50% { box-shadow: 0 4px 24px rgba(220,38,38,0.55); }
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  min-height: 92vh;
  background: linear-gradient(160deg, rgba(11,31,58,0.82) 0%, rgba(17,85,164,0.68) 50%, rgba(11,31,58,0.55) 100%),
              url('images/A2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 2rem 8rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  display: inline-block;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  border-radius: 50px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-card {
  background: rgba(255,255,255,0.15);  /* Optional: slightly increase opacity for readability */
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 1.4rem 1.6rem;
  color: white;
  transition: transform 0.2s, background 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.13);
}

.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ==============================
   TRUST BAR
   ============================== */
.trust-bar {
  background: var(--navy);
  padding: 1.5rem 2rem;
}

.trust-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.83rem;
  font-weight: 400;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==============================
   SECTION COMMONS
   ============================== */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.section-title em {
  font-style: italic;
  color: var(--blue);
}

/* ==============================
   SERVICES SECTION
   ============================== */
.services-bg {
  background: var(--offwhite);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(17,85,164,0.12);
  border-color: rgba(17,85,164,0.25);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* ==============================
   ABOUT SECTION
   ============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-stack {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 80%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(11,31,58,0.18);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 52%;
  border-radius: 18px;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 12px 40px rgba(11,31,58,0.15);
}

.about-badge {
  position: absolute;
  bottom: 30%;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: 0 10px 40px rgba(11,31,58,0.15);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}

.about-badge .big {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  font-family: 'Playfair Display', serif;
}

.about-badge .sm {
  font-size: 0.72rem;
  color: var(--muted);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item h4 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==============================
   FACILITIES SECTION
   ============================== */
.facilities-bg {
  background: var(--navy);
  color: white;
}

.facilities-bg .section-title {
  color: white;
}

.facilities-bg .section-sub {
  color: rgba(255,255,255,0.65);
}

.facilities-bg .section-label {
  color: var(--gold);
}

.facilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.facility-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 240px;
  gap: 1rem;
}

.facility-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.facility-item:first-child {
  grid-row: 1 / 3;
}

.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.facility-item:hover img {
  transform: scale(1.05);
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11,31,58,0.85));
  padding: 1.5rem 1.2rem 1.2rem;
  color: white;
}

.facility-overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.facility-overlay p {
  font-size: 0.75rem;
  opacity: 0.75;
}

/* ==============================
   APPOINTMENT SECTION
   ============================== */
.appt-section {
  background: linear-gradient(135deg, var(--ice) 0%, white 100%);
}

.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.appt-form-card {
  background: white;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(17,85,164,0.1);
  border: 1px solid var(--border);
}

.appt-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,85,164,0.1);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}

.field-error {
  color: var(--red);
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

input.error, select.error, textarea.error {
  border-color: var(--red) !important;
}

.appt-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 4px 20px rgba(17,85,164,0.06);
  transition: transform 0.2s;
}

.contact-card:hover {
  transform: translateX(6px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==============================
   TESTIMONIALS SECTION
   ============================== */
.testimonials-bg {
  background: var(--offwhite);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testi-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(17,85,164,0.1);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.testi-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ==============================
   CTA BANNER (No fade effect)
   ============================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: white;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
}

.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #060F1E;
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 1.2rem;
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-logo-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
}

.footer-logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: white;
  line-height: 1.2;
}

.footer-logo-name span {
  color: #93C5FD;
}

.footer h4 {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer ul li {
  cursor: pointer;
  font-size: 0.83rem;
  transition: color 0.2s;
}

.footer ul li:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #93C5FD;
  text-decoration: none;
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,15,30,0.97);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  object-fit: contain;
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev {
  left: 1.5rem;
}

.lb-next {
  right: 1.5rem;
}

/* ==============================
   TOAST NOTIFICATION
   ============================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(11,31,58,0.3);
  z-index: 3000;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--green);
}

.toast.error {
  background: var(--red);
}

/* ==============================
   SCROLL REVEAL ANIMATIONS
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   MOBILE MENU
   ============================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
}

.mobile-menu .nav-link {
  font-size: 1.3rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */
@media (max-width: 1024px) {
  .hero-inner, .about-grid, .appt-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-inner {
    padding-bottom: 6rem;
  }
  
  .hero-stats {
    max-width: 500px;
  }
  
  .about-img-stack {
    height: 380px;
  }
  
  .facility-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  
  .facility-item:first-child {
    grid-row: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-links, .nav-actions {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .logo-ring {
    width: 60px;
    height: 60px;
  }
  
  .logo-name {
    font-size: 1rem;
  }
  
  .hero {
    min-height: 85vh;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .facilities-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-btns {
    align-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .appt-form-card {
    padding: 1.5rem;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
  
  .testi-card {
    padding: 1.5rem;
  }
}

/* ==============================
   ADMIN DASHBOARD STYLES
   ============================== */

/* Admin Layout */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: #F2F5FA;
}

/* Sidebar */
.admin-sidebar {
  width: 280px;
  background: var(--navy);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 300;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.admin-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(17,85,164,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.sb-brand {
  padding: 1.4rem 1.2rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sb-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.5);
}

.sb-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sb-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: white;
  line-height: 1.2;
}

.sb-brand-name span {
  color: #93C5FD;
}

.sb-brand-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.sb-admin-badge {
  background: rgba(220,38,38,0.25);
  border: 1px solid rgba(220,38,38,0.4);
  color: #FCA5A5;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

.sb-admin-card {
  margin: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sb-admin-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC2626, #F87171);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.sb-admin-name {
  font-size: 0.87rem;
  font-weight: 600;
  color: white;
}

.sb-admin-role {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}

.sb-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  margin-left: auto;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

.sb-nav {
  flex: 1;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 0.85rem 0.5rem 0.3rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.55);
  font-size: 0.83rem;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: all 0.18s;
}

.nav-btn .ni {
  font-size: 0.95rem;
  width: 20px;
}

.nav-btn .nb {
  margin-left: auto;
  background: rgba(45,137,239,0.5);
  color: #93C5FD;
  font-size: 0.62rem;
  padding: 1px 7px;
  border-radius: 20px;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
}

.nav-btn.active {
  background: rgba(17,85,164,0.45);
  color: white;
  font-weight: 600;
  position: relative;
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.sb-whatsapp-note {
  margin: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.sb-whatsapp-note .coming-soon {
  margin-left: auto;
  font-size: 0.6rem;
  background: rgba(201,168,76,0.2);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--gold);
}

.sb-footer {
  padding: 0.9rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}

.sb-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  width: 100%;
  background: transparent;
  border: none;
  transition: all 0.2s;
}

.sb-logout-btn:hover {
  background: rgba(220,38,38,0.15);
  color: #FCA5A5;
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 250;
}

.sidebar-overlay.open {
  display: block;
}

/* Main Content */
.admin-main {
  margin-left: 280px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top Bar */
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.tb-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger-admin {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.hamburger-admin span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.tb-crumb {
  font-size: 0.72rem;
  color: var(--muted);
}

.tb-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 700;
}

.tb-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tb-time {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: monospace;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ice);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.status-dot.online {
  background: #4ADE80;
  animation: pulse-green 2s infinite;
}

/* Content Area */
.admin-content {
  flex: 1;
  padding: 2rem;
}

.admin-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.admin-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Headers */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.sec-title em {
  font-style: italic;
  color: var(--blue);
}

.sec-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.pending-count-badge {
  background: #FFFBEB;
  color: var(--amber);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-wrap input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.3rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.84rem;
  outline: none;
  font-family: inherit;
}

.search-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,85,164,0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-select {
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  background: white;
  cursor: pointer;
  font-family: inherit;
}

.filter-select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Appointments Grid */
.appointments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

/* Appointment Card */
.appointment-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(11,31,58,0.06);
}

.appointment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(11,31,58,0.09);
}

.appointment-card.pending {
  border-left: 4px solid var(--amber);
}

.appointment-card.confirmed {
  border-left: 4px solid var(--green);
}

.appointment-card.rescheduled {
  border-left: 4px solid var(--blue);
}

.card-header {
  padding: 1rem;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.patient-info {
  flex: 1;
}

.patient-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.patient-contact {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.status-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.chip-pending {
  background: #FFFBEB;
  color: var(--amber);
}

.chip-confirmed {
  background: #F0FDF4;
  color: var(--green);
}

.chip-rescheduled {
  background: #EFF6FF;
  color: var(--blue);
}

.card-body {
  padding: 1rem;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-icon {
  width: 24px;
  color: var(--muted);
}

.notes-text {
  color: var(--muted);
  font-style: italic;
  font-size: 0.75rem;
}

.time-ago {
  color: var(--muted);
  font-size: 0.7rem;
}

.card-actions {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  background: var(--offwhite);
}

.btn-accept {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-accept:hover {
  background: #15803d;
  transform: scale(1.02);
}

.btn-reschedule {
  background: var(--blue);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reschedule:hover {
  background: #0e3f7a;
}

.btn-view {
  background: var(--muted);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-view:hover {
  background: #4b5563;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.empty-state small {
  color: var(--muted);
  font-size: 0.75rem;
}

.empty-state-small {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Clear Cards Section */
.clear-cards-section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.clear-warning {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #FEF2F2;
  border-radius: 16px;
  border: 1px solid #FEE2E2;
  flex-wrap: wrap;
}

.warning-icon {
  font-size: 1.5rem;
}

.clear-warning strong {
  color: var(--red);
}

.clear-warning p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.btn-outline-danger {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}

.btn-outline-danger:hover {
  background: var(--red);
  color: white;
}

/* Hospital Image */
.hospital-image-note {
  margin-top: 2rem;
  text-align: center;
}

.hospital-deco-img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(11,31,58,0.09);
  max-height: 200px;
  object-fit: cover;
}

/* PDF Reports Section */
.pdf-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--ice);
}

.saved-reports {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.saved-reports h3 {
  padding: 1rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  background: var(--offwhite);
}

.reports-list {
  padding: 0.5rem;
}

.report-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.report-item:last-child {
  border-bottom: none;
}

.report-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.report-icon {
  font-size: 1.2rem;
}

.report-title-small {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
}

.report-meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.report-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--ice);
}

/* Email Settings Section */
.email-config-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.email-config-card h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--navy);
}

.email-logs {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.email-logs h3 {
  padding: 1rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  background: var(--offwhite);
}

.email-logs-list {
  padding: 0.5rem;
}

.email-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.email-log-item:last-child {
  border-bottom: none;
}

.email-log-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.email-icon {
  font-size: 1rem;
}

.email-log-subject {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.85rem;
}

.email-log-recipient {
  font-size: 0.7rem;
  color: var(--muted);
}

.email-log-time {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 2px;
}

.email-status {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
}

.email-status.sent {
  background: #F0FDF4;
  color: var(--green);
}

/* Settings Section */
.settings-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.settings-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--navy);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.checkbox-group {
  margin-bottom: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,0.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: modalIn 0.3s ease;
}

.modal-box.modal-sm {
  max-width: 400px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--ice);
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.modal-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Responsive Admin */
@media (max-width: 1024px) {
  .appointments-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  
  .admin-sidebar.open {
    transform: translateX(0);
  }
  
  .admin-main {
    margin-left: 0;
  }
  
  .hamburger-admin {
    display: flex;
  }
  
  .admin-content {
    padding: 1rem;
  }
  
  .tb-time {
    display: none;
  }
  
  .status-indicator span:last-child {
    display: none;
  }
  
  .appointments-grid {
    grid-template-columns: 1fr;
  }
  
  .clear-warning {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-outline-danger {
    margin-left: 0;
  }
  
  .modal-box {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .sec-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-bar {
    flex-direction: column;
  }
  
  .pdf-actions {
    flex-direction: column;
  }
}