/* =========================================================
   Dr. Mian Awais — Endoscopic Spine Surgeon
   Premium Medical Website Stylesheet
   ========================================================= */

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

:root {
  --navy: #0F335F;
  --navy-deep: #092442;
  --green: #78A316;
  --green-soft: #5F8A2A;
  --bg-light: #F4FAFC;
  --white: #FFFFFF;
  --gray: #5F6569;
  --dark: #1B1F23;
  --border: #E3ECF2;
  --shadow-sm: 0 2px 8px rgba(15, 51, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 51, 95, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 51, 95, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--gray); }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; position: relative; }
.section-light { background: var(--bg-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border: none; border-radius: 50px;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 8px 20px rgba(120, 163, 22, 0.28);
}
.btn-primary:hover { background: var(--green-soft); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(120, 163, 22, 0.4); }
.btn-secondary {
  background: var(--white); color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-whatsapp {
  background: #25D366; color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1ebe5a; color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 54px; width: auto; max-width: 320px; object-fit: contain; display: block; }
.logo-text { display: none !important; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px;
  font-size: 0.93rem; font-weight: 500; color: var(--dark);
  border-radius: 8px;
}
.nav a:hover { color: var(--navy); background: var(--bg-light); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--green); border-radius: 2px;
}
.header-cta { margin-left: 12px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.88rem; }

.hamburger {
  display: none; width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  position: relative; z-index: 1001;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: all var(--transition);
}

.mobile-nav-overlay,
.mobile-drawer {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 90px;
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 60%, #eef6fb 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -10%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,163,22,0.08), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,51,95,0.06), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-content .tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(120, 163, 22, 0.1);
  color: var(--green-soft); border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 24px;
}
.hero-content .tag::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.hero-content h1 { margin-bottom: 18px; }
.hero-name { color: var(--green); font-weight: 700; font-size: 1.4rem; margin: 6px 0 4px; font-family: 'Manrope', sans-serif; }
.hero-credentials {
  margin-top: 10px; margin-bottom: 18px;
  color: var(--navy); font-size: 0.92rem;
  line-height: 1.7; font-weight: 500;
}
.hero-credentials p { margin: 2px 0; color: var(--navy); }
.hero-sub { color: var(--navy); font-size: 0.95rem; font-weight: 500; margin-bottom: 20px; }
.hero-text { font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px; max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,36,66,0.25));
}
.hero-badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px; border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  z-index: 2; box-shadow: var(--shadow-md);
}
.hero-badge-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0;
}
.hero-badge-text strong { display: block; color: var(--navy); font-size: 0.95rem; }
.hero-badge-text span { font-size: 0.8rem; color: var(--gray); }

/* ---------- Trust Highlights ---------- */
.trust { padding: 70px 0; background: var(--white); }
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.trust-card {
  padding: 28px 20px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); transition: all var(--transition);
}
.trust-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 14px; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: all var(--transition);
}
.trust-card:hover .trust-icon { background: var(--green); color: white; }
.trust-card h4 { font-size: 0.95rem; color: var(--navy); font-weight: 600; }

/* ---------- About preview ---------- */
.about-preview-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover;
}
.about-img-wrap::before {
  content: ''; position: absolute; top: -20px; left: -20px;
  width: 140px; height: 140px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  z-index: -1; opacity: 0.15;
}
.about-img-wrap::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 180px; height: 180px; border-radius: var(--radius);
  border: 2px solid var(--green); z-index: -1; opacity: 0.3;
}
.about-preview-text h2 { margin-bottom: 20px; }
.about-preview-text p { font-size: 1.05rem; margin-bottom: 28px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 32px; }
.about-stat { padding: 18px; background: var(--bg-light); border-radius: var(--radius); text-align: center; }
.about-stat strong { display: block; font-size: 1.6rem; color: var(--navy); font-weight: 800; font-family: 'Manrope', sans-serif; }
.about-stat span { font-size: 0.82rem; color: var(--gray); }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  position: relative; padding: 36px 30px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,51,95,0.08), rgba(120,163,22,0.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 22px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: white;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 22px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.service-link:hover { color: var(--green); gap: 10px; }

/* ---------- Why Choose ---------- */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.why-list { display: grid; gap: 16px; margin-top: 32px; }
.why-item {
  display: flex; gap: 18px; padding: 20px 22px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.why-item-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(120, 163, 22, 0.12); color: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
}
.why-item h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; font-weight: 600; }
.why-item p { font-size: 0.88rem; line-height: 1.55; margin: 0; }
.why-visual img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover;
}

/* ---------- International training ---------- */
.training {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white); position: relative; overflow: hidden;
}
.training::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,163,22,0.18), transparent 70%);
}
.training-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.training h2 { color: var(--white); margin-bottom: 20px; }
.training p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 28px; }
.training .eyebrow { color: var(--green); }
.training-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.training-images img {
  border-radius: var(--radius); object-fit: cover;
  aspect-ratio: 3/4; box-shadow: var(--shadow-md);
}
.training-images img:nth-child(1) { aspect-ratio: 3/4; transform: translateY(20px); }
.training-images img:nth-child(2) { aspect-ratio: 3/4; }

/* ---------- Gallery preview ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9,36,66,0.5));
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-center { text-align: center; margin-top: 40px; }

/* Gallery page */
.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px; background: var(--white);
  border: 1px solid var(--border); border-radius: 50px;
  cursor: pointer; font-size: 0.88rem; font-weight: 500; color: var(--dark);
  transition: all var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: white; border-color: var(--navy); }
.gallery-full {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-full .gallery-item { aspect-ratio: 4/3; }
.gallery-caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  color: white; font-size: 0.88rem; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: all var(--transition);
  z-index: 2;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(9,36,66,0.95);
  display: none; align-items: center; justify-content: center;
  z-index: 2000; padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; color: white;
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: white; color: var(--navy); }

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: white; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,163,22,0.15), transparent 60%);
}
.cta-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 160px 0 70px;
  background: linear-gradient(135deg, var(--bg-light), #fff);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,163,22,0.1), transparent 70%);
}
.page-hero h1 { margin-bottom: 12px; position: relative; z-index: 2; }
.page-hero p { max-width: 680px; margin: 0 auto; font-size: 1.05rem; position: relative; z-index: 2; }
.breadcrumb { font-size: 0.85rem; color: var(--gray); margin-bottom: 14px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--navy); font-weight: 500; }

/* ---------- About page ---------- */
.about-full-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start;
}
.about-full-img img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; object-fit: cover; position: sticky; top: 100px;
}
.about-full-text h2 { margin: 30px 0 14px; font-size: 1.5rem; }
.about-full-text h2:first-child { margin-top: 0; }
.about-full-text p { font-size: 1rem; margin-bottom: 16px; line-height: 1.75; }
.expertise-list { margin-top: 16px; display: grid; gap: 10px; }
.expertise-list li {
  position: relative; padding-left: 28px; color: var(--dark); line-height: 1.55;
}
.expertise-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); 
}
.expertise-list li::after {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 4px; border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* ---------- Services page ---------- */
.service-category {
  margin-bottom: 70px;
}
.service-category:last-child { margin-bottom: 0; }
.category-head {
  display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
  padding-bottom: 20px; border-bottom: 2px solid var(--border);
}
.category-num {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: white; display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.2rem;
}
.category-head h2 { font-size: 1.7rem; margin: 0; }
.category-head p { margin-top: 4px; font-size: 0.95rem; }
.service-items {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-item {
  padding: 24px 22px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.service-item:hover {
  border-color: var(--green); transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.service-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-item h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.service-item p { font-size: 0.85rem; margin-bottom: 14px; }
.service-item a { font-size: 0.85rem; font-weight: 600; color: var(--green-soft); }

/* ---------- Appointment / Contact pages ---------- */
.form-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start;
}
.form-card {
  background: white; padding: 40px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--navy); margin-bottom: 8px;
}
.form-group label .req { color: #d32f2f; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  font-family: inherit; font-size: 0.95rem; color: var(--dark);
  background: var(--bg-light);
  border: 1.5px solid transparent; border-radius: 10px;
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; background: white; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(120,163,22,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #d32f2f; background: #fff5f5; }
.error-msg { display: none; font-size: 0.78rem; color: #d32f2f; margin-top: 6px; }
.form-group.error .error-msg { display: block; }
.form-submit { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.form-status {
  margin-top: 18px; padding: 14px 18px; border-radius: 10px;
  font-size: 0.92rem; display: none;
}
.form-status.success { display: block; background: #e8f5d0; color: #4a6a13; border: 1px solid #c5e08a; }
.form-status.error { display: block; background: #fff0f0; color: #b71c1c; border: 1px solid #ffcdd2; }
.form-status.loading { display: block; background: #e7f1fa; color: var(--navy); border: 1px solid #c5dcf0; }

.info-stack { display: grid; gap: 16px; }
.info-card {
  background: white; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); display: flex; gap: 16px;
  transition: all var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--green); }
.info-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--green));
  color: white; display: flex; align-items: center; justify-content: center;
}
.info-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.info-card p, .info-card a { font-size: 0.9rem; color: var(--gray); margin: 0; line-height: 1.5; }
.info-card a:hover { color: var(--green); }

.map-wrap {
  margin-top: 50px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand img { height: 60px; width: auto; max-width: 300px; object-fit: contain; background: #ffffff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.footer-brand-text { display: none !important; }
.footer p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }
.footer h5 {
  color: white; font-size: 0.95rem; font-weight: 600;
  margin-bottom: 20px; font-family: 'Manrope', sans-serif;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--green); padding-left: 4px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; text-align: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 96px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: white; border: none;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-md); z-index: 999;
  transition: all var(--transition);
}
.back-top.show { display: flex; }
.back-top:hover { background: var(--green); transform: translateY(-3px); }

/* ---------- WhatsApp floating ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 1000; transition: transform .25s ease, box-shadow .25s ease;
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: white; box-shadow: 0 12px 28px rgba(37,211,102,0.55); }
.whatsapp-float::before {
  content: "Chat on WhatsApp";
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--navy, #0F335F); color: #fff;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  padding: 8px 12px; border-radius: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.whatsapp-float::after {
  content: ""; position: absolute; right: calc(100% + 6px); top: 50%;
  width: 8px; height: 8px; background: var(--navy, #0F335F);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.whatsapp-float:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }
.whatsapp-float:hover::after { opacity: 1; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 24px rgba(37,211,102,0.7), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .whatsapp-float::before, .whatsapp-float::after { display: none; }
  .back-top { bottom: 86px; right: 18px; }
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-zoom { opacity: 0; transform: scale(0.95); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-zoom.visible { opacity: 1; transform: scale(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  section { padding: 70px 0; }
  .hero-grid, .about-preview-grid, .why-grid, .training-grid, .form-grid, .about-full-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .about-full-img img { position: static; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .service-items { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 130px 0 70px; }
}
@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(9, 36, 66, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.34s ease;
    z-index: 1800;
  }
  .mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80vw;
    max-width: 340px;
    height: 100dvh;
    background: #ffffff;
    color: #0F335F;
    z-index: 1900;
    flex-direction: column;
    box-shadow: 18px 0 48px rgba(9, 36, 66, 0.22);
    transform: translateX(-105%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .mobile-drawer.open { transform: translateX(0); }
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 20px 18px;
    border-bottom: 1px solid rgba(15, 51, 95, 0.1);
  }
  .mobile-drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .mobile-drawer-logo img { height: 40px; width: auto; max-width: 200px; object-fit: contain; flex-shrink: 0; }
  .mobile-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(15, 51, 95, 0.12);
    background: var(--bg-light);
    color: #0F335F;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
  }
  .mobile-drawer-close:hover { background: #0F335F; color: #ffffff; }
  .mobile-drawer-nav {
    display: grid;
    gap: 6px;
    padding: 22px 18px;
  }
  .mobile-drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 12px;
    color: #0F335F;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: 0;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
  }
  .mobile-drawer-nav a:hover,
  .mobile-drawer-nav a.active {
    background: var(--bg-light);
    color: #0F335F;
    padding-left: 20px;
  }
  .mobile-drawer-footer {
    margin-top: auto;
    padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 51, 95, 0.1);
  }
  .mobile-drawer-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .hero-buttons .btn, .cta-buttons .btn, .form-submit .btn { width: 100%; justify-content: center; }
  .hero-credentials { font-size: 0.84rem; line-height: 1.6; margin-top: 10px; margin-bottom: 16px; }
  .hero-credentials p { margin: 1px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .service-items { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-full { grid-template-columns: 1fr; }
  .gallery-filters { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .about-stat { padding: 14px 8px; }
  .about-stat strong { font-size: 1.3rem; }
  .training-images { grid-template-columns: 1fr 1fr; }
  .logo img { height: 40px; max-width: 220px; }
  .category-head { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 768px) {
  /* Show only first 4 trust cards on mobile */
  .trust-grid .trust-card:nth-child(n+5) { display: none; }
}
@media (max-width: 380px) {
  .mobile-drawer { width: 86vw; }
  .mobile-drawer-header { padding-inline: 16px; }
  .mobile-drawer-nav { padding-inline: 14px; }
  .mobile-drawer-footer { padding-inline: 16px; }
}
