/* =========================================================
   Dr. Hamid Mukhtar — Website Stylesheet
   ---------------------------------------------------------
   HOW TO EDIT THIS FILE:
   - All colors, fonts, and spacing are defined as CSS
     variables at the top (the ":root" section). Change a
     value there and it updates everywhere on the site.
   - The file is organized section by section, matching the
     order of sections in index.html (Hero, Credibility Bar,
     About, Services, Why, Engagements, Contact, Footer).
   - Search for the section name in CAPS (e.g. "ABOUT") to
     jump straight to the styles for that part of the page.
   ========================================================= */

:root {
  /* ---- Brand Colors (change these to re-theme the site) ---- */
  --navy: #0D1B2A;
  --navy-mid: #1B3A6B;
  --gold: #C9A84C;
  --off-white: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-gray: #6B7280;
  --text-gray-light: #4B5563;
  --border-gray: #E5E7EB;

  /* ---- Fonts ---- */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* ---- Layout ---- */
  --max-width: 1100px;
  --section-padding: 70px 40px;
}

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-heading.on-dark { color: #fff; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.6);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 40px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 600;
  font-size: 17px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}
.nav-links a:hover { color: #fff; }
.nav-links .btn { font-size: 13px; padding: 8px 18px; }

/* Mobile nav toggle (simple, no JS menu needed — links collapse to icons on small screens) */
.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy);
  padding: 90px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.07) 100%);
  pointer-events: none;
}
.hero-pretitle {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
  max-width: 600px;
}
.hero-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 22px;
}
.hero-tagline {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 560px;
}
.hero-subtagline {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   CREDIBILITY BAR
   ========================================================= */
.credibility {
  background: #fff;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--border-gray);
  padding: 28px 40px;
}
.credibility-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.credibility-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cred-pill {
  background: var(--off-white);
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  padding: 10px 20px;
  text-align: center;
  min-width: 160px;
}
.cred-pill .org { font-weight: 600; color: var(--navy-mid); font-size: 13px; }
.cred-pill .sub { color: var(--text-gray); font-size: 11px; margin-top: 2px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--off-white);
  padding: var(--section-padding);
}
.about .container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.about-photo-col { flex: 0 0 200px; }
.about-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 0; /* square, formal crop as requested */
  margin-bottom: 18px;
}
.about-badge {
  display: block;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-align: center;
}
.about-text-col { flex: 1; }
.about-text-col p {
  color: var(--text-gray-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--navy);
  padding: var(--section-padding);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 24px;
}
.service-card.full-width { grid-column: 1 / -1; }
.service-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 16px;
}
.service-card h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  line-height: 1.7;
}

/* =========================================================
   WHY DR. HAMID (STATS)
   ========================================================= */
.why {
  background: #fff;
  padding: var(--section-padding);
}
.why-sub {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 600px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat-tile {
  background: var(--off-white);
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 20px;
}
.stat-tile .num {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}
.stat-tile .label {
  color: var(--text-gray);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4;
}
.why-closing {
  font-style: italic;
  color: var(--text-gray);
  font-size: 15px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

/* =========================================================
   FEATURED ENGAGEMENTS
   ========================================================= */
.engagements {
  background: var(--off-white);
  padding: var(--section-padding);
}
.engagements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.engagement-card {
  background: #fff;
  border: 1px solid var(--border-gray);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
}
.engagement-card .org {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}
.engagement-card .type {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.engagement-card p.desc {
  color: var(--text-gray);
  font-size: 13.5px;
  line-height: 1.7;
}

/* =========================================================
   CONTACT / BOOK
   ========================================================= */
.contact {
  background: var(--navy);
  padding: 90px 40px;
  text-align: center;
}
.contact .section-label { display: block; }
.contact h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 32px;
  max-width: 600px;
  margin: 0 auto 14px;
}
.contact-sub {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.contact .btn-primary {
  font-size: 15px;
  padding: 14px 32px;
  margin-bottom: 28px;
}
.contact-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.contact-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 14px 24px;
  text-align: left;
  min-width: 200px;
}
.contact-item .label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.contact-item .value {
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.contact-micro {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #060e17;
  padding: 18px 40px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* =========================================================
   RESPONSIVE — TABLET & MOBILE
   ---------------------------------------------------------
   Breakpoint at 768px: stacks columns, reduces grids to
   single column, shrinks hero text. Adjust the pixel value
   in "@media (max-width: 768px)" if you want the breakpoint
   to trigger at a different screen width.
   ========================================================= */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; } /* hide text links, keep CTA button */
  .hero { padding: 60px 24px 60px; }
  .hero h1 { font-size: 34px; }
  .hero-tagline { font-size: 18px; }
  .credibility, .about, .services, .why, .engagements, .contact, .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .about .container { flex-direction: column; align-items: center; text-align: center; }
  .about-photo-col { display: flex; flex-direction: column; align-items: center; }
  .services-grid, .stats-grid, .engagements-grid { grid-template-columns: 1fr; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
