/* =========================
   DR HAMDAN CLINIC STYLE
   VIP FINAL VERSION
========================= */

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

:root {
  --bg: #0f0f10;
  --bg-2: #17171a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --card: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --gold-1: #d8bd8c;
  --gold-2: #f3dec2;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  line-height: 1.8;
}

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

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

/* ================= NAVBAR ================= */

header {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

nav h2 {
  font-size: 1.2rem;
  margin: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: 0.3s;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #111;
  border: none;
}

.whatsapp-btn {
  background: #25d366;
  border: none;
  color: white;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* ================= HERO ================= */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
    url("bg.JPG") center/cover no-repeat;
}

.hero-content {
  max-width: 920px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 14px;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-buttons,
.trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-buttons {
  margin-bottom: 24px;
}

.trust-item {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

/* ================= SECTIONS ================= */

section {
  padding: 80px 20px;
  text-align: center;
}

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

.section-lead {
  max-width: 820px;
  margin: auto;
  color: var(--muted);
}

/* ================= CARDS ================= */

.cards {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.card {
  width: min(100%, 320px);
  padding: 25px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.3s;
}

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

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: rgba(255, 255, 255, 0.86);
}

/* ================= SERVICES ================= */

.service-wide {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 30px;
  border-radius: 25px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: right;
  box-shadow: var(--shadow);
}

.service-wide h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.service-wide p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.service-wide h4 {
  margin: 18px 0 10px;
  color: #f3dec2;
}

.service-list {
  list-style: none;
  margin-top: 15px;
  display: grid;
  gap: 10px;
}

.service-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.service-point {
  padding: 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  text-align: right;
}

.service-point strong {
  display: block;
  margin-bottom: 6px;
  color: #f3dec2;
}

/* ================= TEAM ================= */

.page-hero {
  padding: 110px 20px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("bg.JPG") center/cover no-repeat;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.team-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.team-body {
  padding: 22px;
  text-align: right;
}

.team-role {
  display: inline-block;
  margin-bottom: 10px;
  color: #f3dec2;
  font-weight: 700;
}

.team-points {
  margin-top: 15px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.team-points li {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

/* ================= VALUES ================= */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.glass-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.glass-card h3 {
  margin-bottom: 10px;
}

/* ================= CONTACT ================= */

.infoBox {
  margin-top: 30px;
  padding: 25px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: right;
  box-shadow: var(--shadow);
}

.infoBox p {
  margin-bottom: 12px;
}

.map-wrap {
  margin-top: 15px;
  border-radius: 16px;
  overflow: hidden;
}

.note {
  font-size: 13px;
  opacity: 0.85;
  max-width: 900px;
  margin: 22px auto 0;
}

/* ================= WHATSAPP ================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  z-index: 1000;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

/* ================= FOOTER ================= */

footer {
  padding: 20px;
  text-align: center;
  background: #000;
  margin-top: 30px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .team-grid,
  .service-points,
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 14px 18px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    justify-content: center;
  }

  .card {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn,
  .trust-item {
    width: 100%;
  }

  .team-body,
  .service-wide,
  .service-point,
  .infoBox {
    text-align: center;
  }
}