:root {
  --navy: #102a43;
  --navy-light: #1a3a5c;
  --gold: #1fb6a4;
  --gold-light: #4fd9c4;
  --cream: #faf7f2;
  --text: #2b2f36;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 43, 0.08);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--navy); }

.eyebrow {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.center { text-align: center; }
.section-sub { color: var(--muted); max-width: 600px; margin: 0.8rem auto 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }

.ig-icon { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 27, 43, 0.92);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  padding: 4px 8px;
}
.brand-fallback {
  height: 42px; width: 42px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.brand-name { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand-name span { color: var(--gold); }
.footer-logo { height: 64px; }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a { color: var(--white); font-weight: 500; font-size: 0.95rem; opacity: 0.85; transition: opacity 0.2s; }
.main-nav a:hover { opacity: 1; color: var(--gold-light); }

.header-cta { display: flex; align-items: center; gap: 1.2rem; }
.phone-link { color: var(--white); font-weight: 600; font-size: 0.9rem; display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,162,74,0.25), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201,162,74,0.12), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.hero-inner { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 60px; }
.hero-text { max-width: 680px; }
.hero-text .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 .accent { color: var(--gold); }

.hero-sub { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 560px; margin-bottom: 2rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--gold); font-family: var(--font-head); font-size: 1.6rem; }
.hero-stats span { color: rgba(255,255,255,0.65); font-size: 0.85rem; }

/* About */
.about { padding: 6rem 0; background: var(--cream); }
.about-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }

.about-image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-image-frame.img-fallback::before {
  content: "Dr. Taha";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.about-text h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1.4rem; }

.credentials { margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.credentials li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text); font-weight: 500; }
.check { color: var(--gold); font-weight: 800; }

/* Video */
.video-section { padding: 6rem 0; background: var(--cream); }
.video-section h2 { font-size: 2.2rem; margin-top: 0.3rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  max-width: 960px;
  margin: 3rem auto 0;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  position: relative;
}
.video-card--featured {
  grid-column: 1 / -1;
}
.video-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.82);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy);
}
.video-card--featured video {
  max-height: 70vh;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Services */
.services { padding: 6rem 0; }
.services h2 { font-size: 2.2rem; margin-top: 0.3rem; }

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

.service-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* Why us */
.why-us { padding: 6rem 0; background: var(--navy); }
.why-text .eyebrow { color: var(--gold-light); }
.why-text h2 { color: var(--white); font-size: 2.2rem; max-width: 620px; margin-bottom: 2.5rem; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.why-item h4 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* Gallery */
.gallery { padding: 6rem 0; background: var(--cream); }
.gallery h2 { font-size: 2.2rem; margin-top: 0.3rem; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  margin-top: 3rem;
}
.ig-card {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  position: relative;
  overflow: hidden;
  display: block;
}
.ig-card--skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: ig-shimmer 1.4s ease-in-out infinite;
}
.ig-card--loaded {
  transition: transform 0.25s, box-shadow 0.25s;
}
.ig-card--loaded:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.ig-card--loaded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  font-size: 0;
}
.ig-card-play {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ig-feed-message {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 1rem 0;
}
.ig-feed-message a { color: var(--gold); font-weight: 600; }

@keyframes ig-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Contact */
.contact { padding: 6rem 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }

.contact-info h2 { font-size: 2.2rem; margin-bottom: 0.6rem; }

.contact-detail { display: flex; gap: 1rem; margin-top: 1.8rem; }
.contact-icon { font-size: 1.4rem; }
.contact-detail h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-detail p { color: var(--muted); font-size: 0.95rem; }
.contact-detail a { color: var(--navy); font-weight: 600; }
.contact-detail a:hover { color: var(--gold); }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 1.4rem; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form button { width: 100%; justify-content: center; border: none; }
.form-note { margin-top: 1rem; font-size: 0.9rem; color: var(--gold); font-weight: 600; text-align: center; }

/* Footer */
.site-footer { background: var(--navy); padding: 3rem 0 2rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: var(--white); font-family: var(--font-head); font-weight: 700; }
.footer-brand .brand-name span { color: var(--gold); }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-social a { color: var(--gold); display: inline-flex; padding: 0.5rem; }
.copyright { font-size: 0.8rem; margin-top: 0.5rem; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (min-width: 900px) {
  .phone-link { display: inline-block; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
  .header-cta .btn span { display: none; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--navy);
  padding: 1.5rem 24px;
  gap: 1.2rem;
}
