:root {
  --navy: #071f45;
  --navy-dark: #04162f;
  --blue: #5757d8;
  --blue-dark: #3f3fc5;
  --gold: #d99a28;
  --gold-light: #f0b23d;
  --white: #ffffff;
  --light: #f5f7fb;
  --soft-blue: #eaf2fb;
  --text: #1c2838;
  --muted: #66758a;
  --border: #e3e9f2;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 45px rgba(0, 0, 0, 0.14);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 10;
  background: white;
}

.utility-strip {
  background: var(--navy-dark);
  color: white;
  font-size: 12px;
  padding: 7px 0;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.urgent-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.urgent-links a {
  color: #ffffff;
  font-weight: 700;
}

.translate-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.translate-box label {
  color: #dce8f7;
  font-size: 12px;
  font-weight: 700;
}

.translate-box select {
  border: 1px solid rgba(255,255,255,0.2);
  background: white;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: 10px;
  font-weight: 700;
  outline: none;
}

.brand-header {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 40, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(7, 31, 69, 0.05), rgba(217, 154, 40, 0.06)),
    white;
  padding: 14px 0;
}

.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-frame {
  width: 64px;
  height: 64px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 8px;
}

.logo-frame img {
  width: 46px;
  height: auto;
  object-fit: contain;
}

.brand-text strong {
  color: var(--navy);
  display: block;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.brand-text em {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-style: normal;
  margin-top: 4px;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-call {
  background: white;
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 10px 15px;
  border-radius: 14px;
  min-width: 150px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.header-call span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.header-call strong {
  display: block;
  font-size: 14px;
}

.emergency-call {
  background: #fff7f7;
  border-color: #ffd8d8;
}

.emergency-call strong {
  color: #d60000;
}

.portal-button {
  background: var(--gold);
  color: white;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(217, 154, 40, 0.28);
  transition: 0.25s;
  white-space: nowrap;
}

.portal-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.nav-bar {
  background: var(--navy);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.nav-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a {
  color: white;
  padding: 13px 14px;
  border-radius: 10px;
  transition: 0.25s;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: white !important;
  padding: 13px 18px !important;
  border-radius: 12px !important;
  margin-left: 8px;
}

.menu-btn {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  font-size: 18px;
  font-weight: 800;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  background: url("../../images/a93de6c3f8904187bb8b19c27be25f73.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 22, 47, 0.96), rgba(4, 22, 47, 0.75), rgba(4, 22, 47, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--gold-light);
  display: block;
}

.hero p {
  max-width: 610px;
  font-size: 20px;
  color: #e8eef7;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: white;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.75);
  color: white;
}

/* GENERAL */

.section {
  padding: 85px 0;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.center-heading {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.view-all {
  color: var(--navy);
  font-weight: 800;
}

/* LATEST NEWS */

.latest-news {
  background: var(--light);
}

.empty-news {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px dashed #c8d6e6;
  padding: 42px;
  text-align: center;
}

.empty-news-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft-blue);
  font-size: 28px;
}

.empty-news h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 8px;
}

.empty-news p {
  color: var(--muted);
}

/* QUICK LINKS */

.quick-links {
  background: var(--light);
  padding: 0 0 85px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.quick-card {
  background: white;
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: 0.25s;
  border: 1px solid var(--border);
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.quick-icon {
  width: 58px;
  height: 58px;
  background: #eaf2fb;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.quick-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.quick-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ABOUT */

.about-section {
  background: white;
}

.about-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image,
.about-card {
  min-height: 330px;
}

.about-image img {
  height: 100%;
  object-fit: cover;
}

.about-card {
  background: var(--navy);
  color: white;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card h3 {
  color: var(--gold-light);
  font-size: 26px;
  margin-bottom: 14px;
}

.about-card p,
.about-card li {
  color: #e8eef7;
}

.about-card ul {
  padding-left: 20px;
}

.about-card.dark {
  background: #10113a;
}

/* MEDICAL AID */

.medical-aid-section {
  background: var(--light);
}

.medical-aid-box {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: center;
  box-shadow: var(--shadow);
}

.medical-aid-box h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.medical-aid-box p {
  color: #dce8f7;
}

.medical-aid-list {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 26px;
}

.medical-aid-list p {
  color: white;
  font-weight: 800;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: relative;
}

.medical-aid-list p:last-child {
  border-bottom: none;
}

.medical-aid-list p::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

/* TITLE BOX */

.small-title-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.small-title-box h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
}

.small-title-box p {
  color: var(--muted);
}

/* CONTACT SECTION - old-card style, cleaner design */

.contact-cards-section {
  background: #f5f7fb;
}

.contact-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.contact-feature {
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s;
  background: white;
}

.contact-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.emergency-feature,
.heart-feature {
  background: linear-gradient(135deg, var(--navy), #0b3268);
  color: white;
  border: none;
}

.contact-feature span {
  display: inline-block;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.emergency-feature span,
.heart-feature span {
  color: var(--gold-light);
}

.contact-feature h3 {
  color: var(--navy);
  font-size: 23px;
  margin-bottom: 14px;
}

.emergency-feature h3,
.heart-feature h3 {
  color: white;
}

.contact-feature strong {
  display: block;
  font-size: 22px;
  margin-bottom: 7px;
}

.contact-feature small {
  color: var(--muted);
}

.emergency-feature small,
.heart-feature small {
  color: #dce8f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  transition: 0.25s;
  min-height: 210px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.contact-icon {
  width: 58px;
  height: 58px;
  background: var(--soft-blue);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.contact-card span {
  display: inline-block;
  background: #eef0ff;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

/* DOCTORS SECTION - clean professional responsive directory */

.doctors-section {
  background:
    radial-gradient(circle at top right, rgba(87, 87, 216, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.doctor-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 260px;
  transition: 0.25s ease;
  position: relative;
}

.doctor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.doctor-photo-area {
  background:
    radial-gradient(circle at top left, rgba(217,154,40,0.12), transparent 32%),
    linear-gradient(180deg, #f3f5f8 0%, #ffffff 100%);
  min-height: 260px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 18px 20px;
  border-right: 1px solid var(--border);
}

.doctor-photo-area img {
  width: 100%;
  height: 100%;
  max-height: 224px;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
  background: #ffffff;
}

.doctor-placeholder {
  width: 145px;
  height: 180px;
  position: relative;
  border-radius: 18px;
  background: #f7f9fc;
  border: 1px solid var(--border);
}

.doctor-placeholder::before {
  content: "";
  width: 72px;
  height: 72px;
  background: #c6ccd0;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 32px;
  transform: translateX(-50%);
}

.doctor-placeholder::after {
  content: "";
  width: 116px;
  height: 66px;
  background: #c6ccd0;
  border-radius: 50% 50% 0 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.doctor-info {
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-specialty {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  background: #eef0ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.doctor-info h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.doctor-info p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 7px;
}

.doctor-info p strong {
  color: var(--navy);
}

/* Tablet view */
@media (max-width: 1050px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    grid-template-columns: 180px 1fr;
  }
}

/* Small tablet and phone view */
@media (max-width: 700px) {
  .doctor-card {
    grid-template-columns: 1fr;
  }

  .doctor-card::before {
    width: 100%;
    height: 6px;
  }

  .doctor-photo-area {
    height: 280px;
    min-height: 280px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 18px;
  }

  .doctor-photo-area img {
    max-height: 240px;
  }

  .doctor-info {
    padding: 22px;
  }

  .doctor-info h3 {
    font-size: 22px;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .doctor-photo-area {
    height: 250px;
    min-height: 250px;
  }

  .doctor-photo-area img {
    max-height: 215px;
  }

  .doctor-info {
    padding: 20px;
  }

  .doctor-specialty {
    font-size: 11px;
  }
}


/* SERVICES */

.services-section {
  background: var(--light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: white;
  color: var(--navy);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 800;
  border-left: 5px solid var(--gold);
}

/* VISITING */

.visiting-section {
  background: white;
}

.visiting-box {
  background: var(--navy);
  color: white;
  border-radius: 22px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px;
  align-items: center;
  box-shadow: var(--shadow);
}

.visiting-box h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.visiting-box p {
  color: #dce8f7;
}

.visiting-list {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
}

.visiting-list p {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* RATING */

.rating-section {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 40, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f7fb);
}

.rating-panel {
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.rating-intro {
  background: linear-gradient(135deg, var(--navy), #0b3268);
  color: white;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-intro h2 {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.rating-intro p {
  color: #dce8f7;
  margin-bottom: 26px;
}

.rating-note {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px;
}

.rating-note strong,
.rating-note span {
  display: block;
}

.rating-note span {
  color: #dce8f7;
  margin-top: 4px;
  font-size: 14px;
}

.rating-form {
  padding: 42px;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.rating-option {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 16px 10px;
  border-radius: 16px;
  transition: 0.25s;
}

.rating-option input {
  display: none;
}

.rating-option span,
.rating-option strong {
  display: block;
  text-align: center;
}

.rating-option span {
  font-size: 28px;
  margin-bottom: 5px;
}

.rating-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rating-option:has(input:checked) {
  border-color: var(--gold);
  background: #fff8ec;
  box-shadow: 0 12px 24px rgba(217,154,40,0.18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rating-form input[type="text"],
.rating-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  outline: none;
  font-family: inherit;
}

.rating-form textarea {
  height: 120px;
  resize: vertical;
}

.rating-form button {
  width: 100%;
  background: var(--gold);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
}

.rating-form button:hover {
  background: var(--gold-light);
}

/* FOOTER */

.footer {
  background: var(--navy-dark);
  color: white;
  padding-top: 65px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.footer h3 {
  margin-bottom: 18px;
}

.footer p {
  color: #c8d7e8;
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: white;
  outline: none;
}

.footer-form textarea {
  height: 105px;
  resize: vertical;
}

.footer-form button {
  width: 100%;
  background: var(--gold);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 45px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #aebfd5;
  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .brand-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-call,
  .portal-button {
    flex: 1;
    text-align: center;
  }

  .main-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
}

@media (max-width: 1050px) {
  .quick-grid,
  .service-grid,
  .footer-grid,
  .contact-grid,
  .doctor-grid,
  .contact-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .medical-aid-box,
  .visiting-box,
  .rating-panel {
    grid-template-columns: 1fr;
  }

  .contact-feature-grid .contact-feature:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .translate-box {
    width: 100%;
    justify-content: space-between;
  }

  .translate-box select {
    flex: 1;
  }

  .brand-logo {
    align-items: center;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .logo-frame {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .logo-frame img {
    width: 40px;
  }

  .brand-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-call,
  .portal-button {
    width: 100%;
  }

  .menu-btn {
    display: block;
  }

  .nav-inner {
    justify-content: flex-start;
    padding: 10px 0;
  }

  .main-nav {
    display: none;
    width: 100%;
    background: var(--navy);
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .hero {
    min-height: 540px;
  }

  .split-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-grid,
  .about-layout,
  .service-grid,
  .footer-grid,
  .rating-options,
  .form-grid,
  .contact-grid,
  .doctor-grid,
  .contact-feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-feature-grid .contact-feature:first-child {
    grid-column: auto;
  }

  .doctor-photo-area {
    height: 340px;
  }

  .rating-intro,
  .rating-form {
    padding: 28px;
  }
}


/* EXTRA RESPONSIVE POLISH FOR THE WHOLE SITE */

@media (max-width: 1200px) {
  .container {
    width: min(1120px, 94%);
  }
}

@media (max-width: 980px) {
  .brand-inner {
    gap: 18px;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 62px);
  }

  .quick-grid,
  .contact-grid,
  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .medical-aid-box,
  .visiting-box,
  .rating-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 500px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .quick-grid,
  .contact-grid,
  .service-grid,
  .footer-grid,
  .rating-options,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .medical-aid-box,
  .visiting-box,
  .rating-intro,
  .rating-form {
    padding: 28px;
  }

  .medical-aid-box h2,
  .visiting-box h2,
  .rating-intro h2 {
    font-size: 30px;
  }

  .contact-card {
    grid-template-columns: 52px 1fr;
    padding: 20px;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
  }
}




/* ACTIVE NAV */
.main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--gold-light);
}

/* ABOUT PAGE */

.about-page-hero {
  background:
    linear-gradient(90deg, rgba(4,22,47,0.96), rgba(4,22,47,0.76)),
    url("../../images/IMG_0214.JPG") center/cover no-repeat;
  color: white;
  padding: 115px 0;
  text-align: center;
}

.about-page-hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.about-page-hero p {
  max-width: 860px;
  margin: 0 auto;
  color: #e8eef7;
  font-size: 18px;
}

.about-intro-section {
  background: var(--light);
}

.about-intro-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 45px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.about-intro-card h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-intro-card p {
  color: var(--muted);
  font-size: 17px;
}

.about-intro-points {
  display: grid;
  gap: 16px;
}

.about-intro-points div {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.about-intro-points strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 4px;
}

.about-intro-points span {
  color: var(--muted);
  font-size: 14px;
}

.archbishop-section {
  background: white;
}

.archbishop-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
}

.archbishop-photo {
  background:
    radial-gradient(circle at top left, rgba(217,154,40,0.18), transparent 36%),
    linear-gradient(180deg, #f3f5f8, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.archbishop-photo img {
  width: 100%;
  max-width: 290px;
  height: 340px;
  object-fit: contain;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.archbishop-message {
  padding: 45px;
}

.archbishop-message h3 {
  color: var(--navy);
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.archbishop-message p {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 16px;
}

.message-signature {
  border-left: 5px solid var(--gold);
  padding-left: 18px;
  margin-top: 24px;
}

.message-signature strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.message-signature span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.letter-preview {
  margin-top: 38px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: start;
}

.letter-preview-text {
  position: sticky;
  top: 20px;
}

.letter-preview-text h3 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 10px;
}

.letter-preview-text p {
  color: var(--muted);
}

.letter-preview img {
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 780px;
  object-fit: contain;
}

.leadership-section {
  background: var(--light);
}

.leadership-grid {
  display: grid;
  gap: 30px;
}

.leader-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.leader-card.reverse .leader-image {
  order: 2;
}

.leader-card.reverse .leader-info {
  order: 1;
}

.leader-image {
  background: #f3f5f8;
}

.leader-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.leader-info {
  background:
    radial-gradient(circle at top right, rgba(217,154,40,0.12), transparent 34%),
    var(--navy);
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-info span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.leader-info h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.leader-info p {
  color: #dce8f7;
  font-size: 20px;
}

/* ABOUT PAGE RESPONSIVE */

@media (max-width: 1050px) {
  .about-intro-card,
  .archbishop-card,
  .letter-preview,
  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-card.reverse .leader-image,
  .leader-card.reverse .leader-info {
    order: initial;
  }

  .archbishop-photo img {
    height: 300px;
  }

  .letter-preview-text {
    position: static;
  }
}

@media (max-width: 700px) {
  .about-page-hero {
    padding: 80px 0;
  }

  .about-intro-card,
  .archbishop-message,
  .letter-preview,
  .leader-info {
    padding: 28px;
  }

  .archbishop-card,
  .leader-card,
  .about-intro-card,
  .letter-preview {
    border-radius: 20px;
  }

  .leader-image img {
    min-height: 420px;
  }

  .archbishop-message h3 {
    font-size: 26px;
  }

  .leader-info p {
    font-size: 17px;
  }
}





/* ABOUT PAGE FIX - correct image placement and no duplicate typed letter */

.archbishop-document-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
}

.archbishop-side {
  background:
    radial-gradient(circle at top left, rgba(217,154,40,0.18), transparent 36%),
    linear-gradient(180deg, var(--navy), #0b3268);
  color: white;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archbishop-side img {
  width: 100%;
  max-width: 230px;
  height: 250px;
  object-fit: contain;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.archbishop-side span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.archbishop-side h3 {
  font-size: 22px;
  line-height: 1.25;
}

.archbishop-letter {
  background: #f7f9fc;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.archbishop-letter img {
  width: 100%;
  max-width: 850px;
  max-height: none;
  object-fit: contain;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.leadership-section .leader-image img {
  object-position: center top;
}

.leader-card:first-child .leader-image img {
  object-position: center top;
}

.leader-card.reverse .leader-image img {
  object-position: center top;
}

@media (max-width: 1050px) {
  .archbishop-document-card {
    grid-template-columns: 1fr;
  }

  .archbishop-side {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .archbishop-side,
  .archbishop-letter {
    padding: 24px;
  }

  .archbishop-side img {
    height: 220px;
  }
}





/* ABOUT PAGE IMPROVEMENT V11 */

.about-page-hero {
  padding: 95px 0;
}

.about-page-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
}

.about-page-hero p {
  max-width: 900px;
  font-size: 17px;
}

.about-intro-card {
  padding: 38px;
  border-radius: 24px;
}

.about-intro-card h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.archbishop-section .section-heading h2,
.leadership-section .section-heading h2 {
  font-size: clamp(32px, 3.8vw, 46px);
}

.archbishop-section .section-heading p,
.leadership-section .section-heading p {
  color: var(--muted);
  max-width: 720px;
  margin: 10px auto 0;
}

.archbishop-document-card {
  grid-template-columns: 300px 1fr;
  border-radius: 24px;
}

.archbishop-side {
  padding: 30px;
}

.archbishop-side img {
  max-width: 220px;
  height: 235px;
}

.archbishop-side h3 {
  font-size: 20px;
}

.archbishop-letter {
  padding: 28px;
}

.archbishop-letter img {
  max-width: 780px;
  border-radius: 14px;
}

/* Better organised Meet The Team */

.leadership-grid {
  gap: 34px;
}

.leader-card {
  min-height: 440px;
  border-radius: 26px;
  grid-template-columns: 0.95fr 1.05fr;
}

.leader-card.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.leader-image {
  background: linear-gradient(180deg, #f5f7fb, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.leader-image img {
  min-height: 0;
  height: 430px;
  width: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
  background: white;
}

.leader-info {
  padding: 44px;
  background:
    radial-gradient(circle at top right, rgba(217,154,40,0.12), transparent 34%),
    linear-gradient(135deg, var(--navy), #0b3268);
}

.leader-info span {
  font-size: 14px;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.leader-info h3 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.leader-info p {
  color: #e8eef7;
  font-size: 18px;
  font-weight: 700;
}

/* Improve About section card text balance */

.about-intro-points div {
  padding: 18px 20px;
}

.about-intro-points strong {
  font-size: 17px;
}

.about-intro-points span {
  font-size: 14px;
  line-height: 1.5;
}

/* About responsive adjustments */

@media (max-width: 1050px) {
  .archbishop-document-card,
  .leader-card,
  .leader-card.reverse {
    grid-template-columns: 1fr;
  }

  .leader-card.reverse .leader-image {
    order: 1;
  }

  .leader-card.reverse .leader-info {
    order: 2;
  }

  .leader-image img {
    height: 500px;
  }

  .archbishop-side {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .about-page-hero {
    padding: 70px 0;
  }

  .about-intro-card {
    padding: 26px;
  }

  .leader-info {
    padding: 30px;
  }

  .leader-info span {
    font-size: 12px;
  }

  .leader-info h3 {
    font-size: 28px;
  }

  .leader-info p {
    font-size: 16px;
  }

  .leader-image {
    padding: 16px;
  }

  .leader-image img {
    height: 420px;
  }

  .archbishop-letter {
    padding: 18px;
  }

  .archbishop-side {
    padding: 26px;
  }
}

@media (max-width: 430px) {
  .leader-image img {
    height: 360px;
  }

  .about-intro-card h2,
  .archbishop-section .section-heading h2,
  .leadership-section .section-heading h2 {
    font-size: 28px;
  }
}





/* SERVICES DROPDOWN MENU */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  color: white;
  background: transparent;
  border: none;
  padding: 13px 14px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown.open .dropdown-toggle,
.active-dropdown .dropdown-toggle {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 310px;
  max-height: 520px;
  overflow-y: auto;
  background: white;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  padding: 10px;
  display: none;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: grid;
  gap: 4px;
}

.dropdown-menu a {
  color: var(--navy) !important;
  padding: 10px 12px !important;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.25;
}

.dropdown-menu a:hover {
  background: var(--soft-blue);
  color: var(--blue-dark) !important;
}

/* SERVICES PAGE */

.services-page-hero {
  background:
    linear-gradient(90deg, rgba(4,22,47,0.96), rgba(4,22,47,0.76)),
    url("../../images/IMG_0214.JPG") center/cover no-repeat;
  color: white;
  padding: 110px 0;
  text-align: center;
}

.services-page-hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.services-page-hero p {
  max-width: 850px;
  margin: 0 auto 28px;
  color: #e8eef7;
  font-size: 18px;
}

.services-hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.services-intro-section {
  background: var(--light);
  padding-top: 70px;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.service-intro-box {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 28px;
}

.service-intro-box.featured {
  background: var(--navy);
  color: white;
  text-align: center;
}

.service-intro-box.featured h2 {
  color: white;
  font-size: 22px;
  line-height: 1.4;
}

.service-intro-box p {
  color: var(--muted);
}

.services-list-section {
  background: white;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-overview-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-height: 205px;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-overview-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.service-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.service-overview-card span {
  display: inline-flex;
  background: #eef0ff;
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-overview-card h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.service-overview-card p {
  color: var(--muted);
  font-size: 14px;
}

.service-details-section {
  background: var(--light);
}

.service-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  margin-bottom: 34px;
  scroll-margin-top: 110px;
}

.service-detail-reverse .service-detail-content {
  order: 2;
}

.service-detail-reverse .service-detail-image {
  order: 1;
}

.service-detail-content {
  padding: 44px;
  position: relative;
}

.service-count {
  position: absolute;
  right: 34px;
  top: 30px;
  color: rgba(7,31,69,0.08);
  font-size: 70px;
  line-height: 1;
  font-weight: 900;
}

.service-detail-content h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 620px;
}

.service-subtitle {
  color: var(--blue-dark);
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 650px;
}

.service-text p {
  color: var(--text);
  margin-bottom: 14px;
  font-size: 16px;
}

.service-bullets {
  margin: 22px 0;
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.service-bullets li {
  color: var(--muted);
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.service-meta div {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.service-meta strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-meta span {
  color: var(--muted);
  font-size: 14px;
}

.service-back-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--blue-dark);
  font-weight: 900;
}

.service-detail-image {
  min-height: 520px;
  background: #eef2f7;
  display: flex;
  align-items: stretch;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SERVICES RESPONSIVE */

@media (max-width: 1050px) {
  .services-intro-grid,
  .services-overview-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-reverse .service-detail-content,
  .service-detail-reverse .service-detail-image {
    order: initial;
  }

  .service-detail-image {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 13px 14px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 8px;
  }

  .nav-dropdown.open .dropdown-menu {
    display: grid;
  }

  .services-page-hero {
    padding: 80px 0;
  }

  .services-page-hero p {
    font-size: 16px;
  }

  .services-hero-actions {
    flex-direction: column;
  }

  .service-detail-content {
    padding: 28px;
  }

  .service-count {
    font-size: 52px;
    right: 22px;
    top: 22px;
  }

  .service-meta {
    grid-template-columns: 1fr;
  }

  .service-detail-image {
    min-height: 300px;
  }
}

@media (max-width: 440px) {
  .service-detail-content h2,
  .services-page-hero h1 {
    font-size: 32px;
  }

  .service-overview-card {
    padding: 20px;
  }
}

