:root {
  --primary-gold: #e5b567;
  --primary-gold-hover: #f3c87a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

body {
  overflow-x: hidden;
  color: #fff;
  line-height: 1.5;
  background: #f6f1ea;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
}

.list i {
  color: var(--primary-gold);
  font-size: 16px;
  flex-shrink: 0;
}
.feature-row .col {
  display: flex;
  align-items: center;
}

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

.container {
  width: min(1250px, calc(100% - clamp(1rem, 10vw, 10rem)));
  margin-inline: auto;
}

section {
  padding: 36px 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 10%;
  filter: brightness(0.78) contrast(1.05);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 35%,
    rgba(0, 0, 0, 0.3) 58%,
    rgba(0, 0, 0, 0.08) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(1250px, calc(100% - clamp(1rem, 10vw, 10rem)));
  margin-inline: auto;
}
.hero-text {
  max-width: 620px;
}
.hero-heading br {
  display: none;
  font-size: 0.5rem;
}
.hero h2 {
  color: white;
}

.hero-tag {
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #d7d7d7;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.team-btn {
  border: 1px solid #c58b55;
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  color: #e5b567;
  font-size: 14px;
  transition: 0.3s;
  margin-top: 1rem;
}
.team-btn:hover {
  background: #e5b567;
  color: white;
}
.secondary:hover {
  background: linear-gradient(90deg, #e5b567, #d89c5a);
  color: black;
}

.primary {
  background: linear-gradient(90deg, #e5b567, #d89c5a);
  color: black;
  text-decoration: none;
  padding: 14px 28px;
  width: fit-content;
  min-width: 180px;
}
.primary:hover {
  background: var(--primary-gold-hover);
}
.hero-btn {
  border: 1px solid #e5b567;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
}
.hero-heading {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}

.secondary {
  background: transparent;
  text-decoration: none;
  border: 1px solid var(--primary-gold);
  color: #fff;
  /* width: 35%; */
  padding: 1rem 1.7rem 1rem 1.7rem;
}

.dark-outline {
  margin-top: 1rem;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
}

.section-tag {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.left-copy .section-tag {
  color: var(--primary-gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.left-copy h3 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: #111;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.left-copy h3 span {
  color: var(--primary-gold);
}
.left-copy .detail {
  font-size: 1rem;
  line-height: 1.9;
  color: #6f6f6f;
  max-width: 300px;
}
.hero .section-tag,
.mission-content .section-tag {
  color: var(--primary-gold);
}
.mission-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

h3 {
  color: #050505;
}

.white {
  color: white;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: black;
}
.mission-detail {
  margin-top: 1rem;
}
span {
  color: var(--primary-gold);
}

p {
  color: #cfcfd6;
}

.light-panel {
  background: transparent;
  color: #fff;
}

.light-panel p {
  color: #777;
}

.detail {
  margin-top: 0.5rem;
  color: #cfcfd6;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.mission-grid > img,
.mission-grid img {
  border-radius: 24px;
  height: 100%;
  object-fit: cover;
}

.feature-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-row div {
  /* background: linear-gradient(135deg, #141418, #1c1c22); */
  color: black;
  /* box-shadow: 0 8px 8px rgba(0, 0, 0, 0.35); */
  /* padding: 16px; */
  /* border-radius: 16px; */
  font-size: 0.6rem;
  font-weight: 600;
}

.stats-grid {
  background: linear-gradient(90deg, #0c0c0f, #1b120d);
  border: 1px solid rgba(229, 181, 103, 0.18);
  border-radius: 22px;
  padding: 28px 32px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.stats-grid span {
  display: block;
  font-size: 0.95rem;
  color: #cfcfd6;
  margin-top: 6px;
}

.split-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}
.gallery-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;

  gap: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.left-copy .section-tag {
  display: flex;
  align-items: center;
  gap: 18px;
}

.left-copy,
.mission-content {
  color: #fff;
}
.left-copy {
  /* position: sticky; */
  top: 120px;
}
.profile-card {
  background: linear-gradient(180deg, #101014 0%, #18181d 100%);
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.profile-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: #111;
  padding: 8px;
}

.profile-card h4 {
  padding: 14px 10px 4px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: 22px;

  display: block;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.gallery-grid img:hover {
  transform: translateY(-6px);

  border-color: rgba(229, 181, 103, 0.2);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16),
    0 0 22px rgba(229, 181, 103, 0.08);
}

.commitment-box,
.cta-box {
  background: linear-gradient(90deg, #0c0c0f, #1b120d);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  border: 1px solid rgba(255, 140, 66, 0.12);
}
.cta-box {
  background: url("../image/cta_section.png");
}
.cta-box h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-banner .primary {
  width: fit-content;
  min-width: 200px;
  white-space: nowrap;
}
.commitment-box ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.commitment-box li::before {
  color: var(--primary-gold);
  margin-right: 10px;
}
.commitment-box img,
.cta-box img {
  width: 100%;
  max-width: 250px;
  height: 150px;
  display: block;
  object-fit: cover;

  border-radius: 22px;
  overflow: hidden;

  transition: 0.3s ease;
}

.light-panel,
.stats-strip,
.commitment,
.cta-banner {
  padding-top: 24px;
  padding-bottom: 24px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.stat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;

  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-text span {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cfcfd6;
  line-height: 1.35;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: --primary-gold;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;

  border-radius: 50%;
  background: var(--primary-gold);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.feature-icon i {
  font-size: 20px !important;
  color: #000;
}
.feature-item h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.2;
}

.feature-item .detail {
  font-size: 13px;

  color: #777;
  line-height: 1.4;
}
.icon-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-content h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.feature-content .detail {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #777;
  line-height: 1.5;
}

.team-mini-card {
  margin-top: 40px;

  background: linear-gradient(180deg, #0d0d10, #16161c);

  border-radius: 26px;

  padding: 26px;

  display: flex;
  align-items: center;
  gap: 24px;

  border: 1px solid rgba(229, 181, 103, 0.15);

  max-width: 420px;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 0 30px rgba(229, 181, 103, 0.08);
}

.mini-icon {
  width: 70px;
  height: 70px;

  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--primary-gold);

  font-size: 2rem;
}

.mini-divider {
  width: 1px;
  height: 70px;
  background: rgba(229, 181, 103, 0.25);
}

.mini-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-text span {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    margin-top: 0;
    padding-bottom: 0;

    align-items: center;
    justify-content: center;

    overflow: hidden;
  }

  .hero-bg {
    object-fit: cover;

    /* IMPORTANT */
    object-position: 68% center;

    filter: brightness(0.55) contrast(1.05);
    transform: scale(1.05);
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.58) 45%,
      rgba(0, 0, 0, 0.82) 100%
    );
  }

  .hero-content {
    position: relative;
    z-index: 5;

    width: 100%;
    margin: 0;
    padding: 8rem 1.6rem 3rem;

    display: flex;
    justify-content: center;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;

    text-align: center;
  }

  .hero-tag {
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 700;

    margin-bottom: 1.2rem;

    color: var(--primary-gold);
  }

  .hero-heading {
    font-size: clamp(3.2rem, 10vw, 4.8rem);

    line-height: 1.02;
    letter-spacing: -1px;

    margin-bottom: 1.5rem;
  }

  .hero-heading span {
    display: block;
    color: var(--primary-gold);
  }

  .hero-desc {
    font-size: 1.12rem;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.88);

    max-width: 100%;
    margin: 0 auto 2.3rem;
  }

  .hero-buttons {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center; /* IMPORTANT */

    gap: 1rem;

    margin-top: 0;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;

    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 20px;

    font-size: 1.2rem;
    font-weight: 600;

    padding: 0 1.5rem;
  }
  .primary {
    background: linear-gradient(90deg, #e5b567, #d89c5a);

    color: #000;
  }

  .secondary {
    background: transparent;

    border: 2px solid var(--primary-gold);

    color: var(--primary-gold);
  }
}
@media (max-width: 992px) {
  .mission-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }
  .profile-card img {
    aspect-ratio: 4 / 5;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 20px;
  }
  .feature-row,
  .team-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gallery-grid img {
    aspect-ratio: 4 / 3;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
  }
}

@media (max-width: 640px) {
  .stats-strip {
    padding: 20px 0;
  }
  .profile-card img {
    aspect-ratio: auto;
    max-height: 420px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 18px;
    border-radius: 18px;
  }

  .stat-item {
    gap: 14px;
  }
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }
  .icon-circle {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 20px;
  }

  .feature-row,
  .team-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: hidden;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 18px;
  }
  .stat-text {
    font-size: 1.15rem;
  }
  .hero-buttons,
  .commitment-box,
  .cta-box {
    flex-direction: column;
    align-items: center;
  }

  .stat-text span {
    font-size: 0.9rem;
  }
  .split-layout {
    gap: 34px;
  }
  .left-copy {
    text-align: left;
  }
  .left-copy .detail {
    margin-inline: auto;
  }

  .left-copy h3 {
    font-size: 2.3rem;
  }

  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .doctor-text-card {
    width: 100%;
    min-height: auto;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .doctor-text-card h4 {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }
  .doctor-text-card h4::after {
    width: 46px;
    bottom: -8px;
  }
  .doctor-text-card p span {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .gallery-grid img {
    aspect-ratio: 16 / 11;
    border-radius: 20px;
  }
}

@media (max-width: 992px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 640px) {
  .mission-grid {
    gap: 32px;
  }
  .hero-buttons .btn,
  .cta-banner .primary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }
  .feature-item {
    gap: 14px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 18px;
  }

  .feature-content h5 {
    font-size: 1rem;
  }

  .feature-content .detail {
    font-size: 0.9rem;
  }
  .doctor-text-card {
    min-height: 240px;
    padding: 22px;
  }

  .doctor-text-card h4 {
    font-size: 1.2rem;
  }

  .doctor-text-card p span {
    font-size: 0.76rem;
    padding: 7px 12px;
  }
}
/* =========================================================
   RESPONSIVE FIXES FOR:
   - Doctor Text Cards
   - Gallery Grid
   - Gallery Images
   KEEP DESKTOP DESIGN UNCHANGED
========================================================= */

/* ---------- LARGE TABLETS ---------- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .doctor-text-card {
    min-height: 240px;
    padding: 26px;
    border-radius: 22px;
  }

  .doctor-text-card h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }

  .doctor-text-card p span {
    font-size: 0.84rem;
    line-height: 1.7;
  }
}

/* ---------- TABLETS ---------- */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doctor-text-card {
    min-height: auto;
    padding: 24px;
    border-radius: 20px;
  }

  .doctor-text-card h4 {
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .doctor-text-card p {
    gap: 6px;
  }

  .doctor-text-card p span {
    font-size: 0.82rem;
    line-height: 1.65;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: hidden;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-radius: 18px;
  }

  .doctor-text-card {
    width: 100%;
    min-height: auto;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .doctor-text-card h4 {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .doctor-text-card h4::after {
    width: 46px;
    bottom: -8px;
  }

  .doctor-text-card p span {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .doctor-text-card {
    padding: 20px 18px;
  }

  .doctor-text-card h4 {
    font-size: 0.95rem;
  }

  .doctor-text-card p span {
    font-size: 0.78rem;
  }
}
.success-cta {
  align-items: center;
  background: url("../image/cta_section.png");
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 14px 14px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center; /* vertical center */
  text-align: center;
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px 24px 28px;
}

.success-new-cta {
  border: 0;
  border-radius: 8px;
  background: var(--primary-gold);
  color: #050505;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 18px 18px;
  box-shadow: 0 12px 25px rgba(233, 97, 25, 0.28);
  font-family: Poppins, sans-serif;
}
.success-h2 {
  color: white;
}

/* TEXT ONLY TEAM CARDS */

.doctor-text-card {
  position: relative;

  background: linear-gradient(180deg, #111116 0%, #1a1a20 100%);

  border: 1px solid rgba(229, 181, 103, 0.14);

  border-radius: 24px;

  padding: 30px;

  min-height: 270px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.doctor-text-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(229, 181, 103, 0.08),
    transparent 45%
  );

  pointer-events: none;
}

.doctor-text-card h4 {
  color: #fff;

  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;

  margin-bottom: 22px;

  position: relative;
}
.doctor-text-card h4::after {
  content: "";

  width: 54px;
  height: 2px;

  background: var(--primary-gold);

  position: absolute;
  left: 0;
  bottom: -10px;

  border-radius: 50px;
}
.doctor-text-card p span {
  background: transparent;
  border: none;
  padding: 0;

  color: #c9c9cf;

  font-size: 0.88rem;
  line-height: 1.7;

  position: relative;
}

.doctor-text-card p {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doctor-text-card:hover p span {
  border-color: rgba(229, 181, 103, 0.18);
  color: #f0f0f0;
}

.clinic-mini-card {
  margin-top: 40px;

  background: linear-gradient(180deg, #0d0d10, #16161c);

  border-radius: 26px;

  padding: 26px;

  display: flex;
  align-items: center;
  gap: 24px;

  border: 1px solid rgba(229, 181, 103, 0.15);

  max-width: 420px;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 0 30px rgba(229, 181, 103, 0.08);

  overflow: hidden;
  position: relative;
}

.clinic-mini-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top center,
    rgba(229, 181, 103, 0.08),
    transparent 60%
  );

  pointer-events: none;
}

.clinic-mini-icon {
  width: 70px;
  height: 70px;

  border-radius: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--primary-gold);

  font-size: 2rem;

  flex-shrink: 0;
}
.clinic-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
}

.clinic-mini-divider {
  width: 1px;
  height: 70px;

  background: rgba(229, 181, 103, 0.22);

  flex-shrink: 0;
}
.short-card {
  min-height: 190px;
  padding: 24px;
}
.clinic-mini-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clinic-mini-text span {
  color: #fff;

  font-size: 1.05rem;
  font-weight: 500;

  line-height: 1.4;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doctor-text-card {
    min-height: auto;
    padding: 24px;
    border-radius: 20px;
  }

  .doctor-text-card h4 {
    font-size: 1.1rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .doctor-text-card p {
    gap: 6px;
  }

  .doctor-text-card p span {
    font-size: 0.82rem;
    line-height: 1.65;
  }
}

@media (max-width: 1024px) {
  .left-copy .detail {
    max-width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .doctor-text-card {
    min-height: 240px;
    padding: 26px;
    border-radius: 22px;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .left-copy {
    position: relative;
    top: 0;
    max-width: 100%;
  }
  .clinic-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
  }
  .doctor-text-card h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
  }

  .doctor-text-card p {
    font-size: 0.85rem;
    max-width: 100%;
  }
  .doctor-text-card p span {
    font-size: 0.84rem;
    line-height: 1.7;
  }
}

/* TEAM MODAL */

/* TEAM MODAL */

.team-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.78);

  justify-content: center;
  align-items: center;

  padding: 20px;
  box-sizing: border-box;

  backdrop-filter: blur(6px);
}

.modal-content {
  width: 100%;
  max-width: 760px;

  background: linear-gradient(180deg, #0f0f12 0%, #1a1a20 100%);

  border: 1px solid rgba(229, 181, 103, 0.18);

  border-radius: 24px;

  padding: 40px;

  position: relative;

  max-height: 90vh;
  overflow-y: auto;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(229, 181, 103, 0.08);

  animation: modalFade 0.35s ease;
}

/* GOLD SCROLLBAR */

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}

/* TITLE */

.modal-content h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;

  color: #fff;
}

/* PARAGRAPH */

.modal-content p {
  font-size: 1rem;
  line-height: 1.9;

  color: #d4d4da;
}

/* CLOSE BUTTON */

.close-btn {
  position: absolute;

  top: 18px;
  right: 22px;

  font-size: 34px;
  line-height: 1;

  color: var(--primary-gold);

  cursor: pointer;

  transition: 0.25s ease;
}

.close-btn:hover {
  transform: scale(1.1);
  color: var(--primary-gold-hover);
}

/* CARD HOVER */

.doctor-text-card {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doctor-text-card:hover {
  transform: translateY(-8px);

  border-color: rgba(229, 181, 103, 0.35);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.32),
    0 0 35px rgba(229, 181, 103, 0.06);
}

/* ANIMATION */

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .modal-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .close-btn {
    font-size: 30px;
    top: 14px;
    right: 18px;
  }
}
@media (max-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .doctor-text-card,
  .profile-card {
    width: 100%;
  }
}
