/**
 * Gupta Yogesh & Associates - Main Stylesheet
 * Professional Law Firm Website
 * Version: 1.0.0
 */

/* ══════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ══════════════════════════════════════════════════════════════════ */
:root {
  /* Primary Colors */
  --navy: #0B2545;
  --navy-mid: #1A3A6B;
  --navy-light: #1E4D8C;
  --gold: #C9933A;
  --gold-light: #E5B86A;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --text: #1C1C1E;
  --text-muted: #5A5A6A;
  --border: #DDD9D1;
  
  /* Spacing */
  --section-pad: 80px 0;
  --container: 1140px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(11,37,69,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-xl: 0 15px 30px rgba(11,37,69,0.15);
}

/* ══════════════════════════════════════════════════════════════════
   RESET & BASE STYLES
   ══════════════════════════════════════════════════════════════════ */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .serif { 
  font-family: 'Playfair Display', Georgia, serif; 
}

a { 
  text-decoration: none; 
  color: inherit; 
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ══════════════════════════════════════════════════════════════════
   DISCLAIMER GATE
   ══════════════════════════════════════════════════════════════════ */
#disclaimer-gate {
  position: fixed; 
  inset: 0;
  background: rgba(11,37,69,0.97);
  z-index: 9999;
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 24px;
}

.disclaimer-box {
  background: var(--white);
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  padding: 40px;
  animation: fadeInUp 0.4s ease;
}

.disclaimer-box h2 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.disclaimer-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.disclaimer-box button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.disclaimer-box button:hover { 
  background: var(--navy-mid); 
}

/* ══════════════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a { 
  color: rgba(255,255,255,0.75); 
}

.topbar a:hover { 
  color: var(--gold-light); 
}

.topbar-left, .topbar-right {
  display: flex; 
  align-items: center; 
  gap: 20px;
}

/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; 
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo-wrap { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  text-decoration: none; 
}

.logo-wrap img { 
  height: 50px; 
  width: auto; 
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.2;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--off-white);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
}

.nav-cta:hover { 
  background: var(--navy-mid) !important; 
}

/* Mega Menu Dropdown */
.has-dropdown { 
  position: relative; 
}

.has-dropdown:hover .mega-menu { 
  display: grid; 
}

.mega-menu { 
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 50%; 
  transform: translateX(-50%);
  background: var(--white); 
  border: 1px solid var(--border); 
  border-radius: 8px; 
  width: 850px;
  padding: 24px 32px; 
  box-shadow: var(--shadow-lg); 
  z-index: 200; 
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; 
  cursor: default;
}

.mega-column h4 {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}

.mega-column a { 
  display: flex; 
  align-items: center;
  gap: 10px;
  padding: 8px 0; 
  font-size: 14px; 
  color: var(--navy); 
  font-weight: 400; 
  background: transparent !important;
  transition: all var(--transition-fast);
}

.mega-column a::before {
  content: '▶';
  font-size: 10px;
  color: var(--navy-light);
  transition: color var(--transition-fast);
}

.mega-column a:hover { 
  color: var(--gold); 
  transform: translateX(4px);
}

.mega-column a:hover::before {
  color: var(--gold);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; 
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ══════════════════════════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.open { 
  display: flex; 
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .sub-link {
  font-size: 14px;
  padding: 6px 16px;
  color: var(--text-muted);
}

.close-menu {
  position: absolute;
  top: 20px; 
  right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6b 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; 
  right: -100px;
  width: 600px; 
  height: 600px;
  border-radius: 50%;
  background: rgba(201,147,58,0.06);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; 
  left: 10%;
  width: 400px; 
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.hero-content { 
  position: relative; 
  z-index: 1; 
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 20px;
}

.hero h1 span { 
  color: var(--gold-light); 
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 700px;
}

.hero-stat {
  background: rgba(255,255,255,0.04);
  padding: 20px 16px;
  text-align: center;
}

.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold-light);
  display: block;
}

.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

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

.btn-secondary {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-fast);
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.section-head { 
  margin-bottom: 48px; 
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════════ */
.about { 
  padding: var(--section-pad); 
  background: var(--white); 
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -40px; 
  right: -40px;
  width: 200px; 
  height: 200px;
  border-radius: 50%;
  background: rgba(201,147,58,0.12);
}

.about-visual h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}

/* Timeline */
.timeline {
  list-style: none;
  position: relative;
  z-index: 1;
}

.timeline li {
  padding: 0 0 24px 20px;
  border-left: 2px solid rgba(255,255,255,0.15);
  position: relative;
}

.timeline li:last-child { 
  padding-bottom: 0; 
  border-color: transparent; 
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -5px; 
  top: 6px;
  width: 8px; 
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-year {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* About Points */
.about-points {
  list-style: none;
  margin-top: 24px;
}

.about-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-points li:last-child { 
  border-bottom: none; 
}

.about-points li::before {
  content: '';
  display: inline-block;
  width: 6px; 
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}

/* Accreditations */
.accreditations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.accred-badge {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════════════════════════ */
.services { 
  padding: var(--section-pad); 
  background: var(--off-white);
  overflow: hidden; /* Fix: cards section ke bahar nahi jayenge */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start; /* Fix: cards ek doosre pe overlap nahi honge */
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Fix: height: 100% hata diya — ye overlap ka main reason tha */
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.service-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before { 
  transform: scaleX(1); 
}

.service-icon {
  width: 48px; 
  height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  transition: all var(--transition-slow);
}

.service-card:hover .service-icon {
  background: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
  transition: color var(--transition-slow);
}

.service-card:hover h3 { 
  color: var(--white); 
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  transition: color var(--transition-slow);
}

.service-card:hover p { 
  color: rgba(255, 255, 255, 0.75); 
}

/* Service Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag {
  font-size: 11px;
  background: var(--off-white);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.service-card:hover .tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Explore Link */
.explore-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.service-card:hover .explore-link {
  color: var(--gold-light);
  transform: translateX(5px);
}

/* ══════════════════════════════════════════════════════════════════
   WHY US SECTION
   ══════════════════════════════════════════════════════════════════ */
.why { 
  padding: var(--section-pad); 
  background: var(--white);
  position: relative;
  z-index: 1; /* Fix: services cards ke upar aa jaane se rokna */
  clear: both;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.why-card {
  text-align: left;
  padding: 28px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
}

.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 700;
}

.why-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   PROCESS SECTION
   ══════════════════════════════════════════════════════════════════ */
.process { 
  padding: var(--section-pad); 
  background: var(--navy); 
}

.process .section-title { 
  color: var(--white); 
}

.process .section-desc { 
  color: rgba(255,255,255,0.6); 
  max-width: 100%; 
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 48px;
}

.process-step {
  background: rgba(255,255,255,0.04);
  padding: 32px 24px;
  position: relative;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.process-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   PRACTICE AREAS SECTION
   ══════════════════════════════════════════════════════════════════ */
.practice { 
  padding: var(--section-pad); 
  background: var(--off-white); 
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.practice-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition-fast);
}

.practice-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.practice-dot {
  width: 10px; 
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
}

.practice-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.practice-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   COMPLIANCE CALENDAR SECTION
   ══════════════════════════════════════════════════════════════════ */
.calendar { 
  padding: var(--section-pad); 
  background: var(--white); 
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.cal-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cal-date {
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  min-width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.cal-date span {
  font-size: 9px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.cal-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}

.cal-item p { 
  font-size: 12px; 
  color: var(--text-muted); 
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT SECTION
   ══════════════════════════════════════════════════════════════════ */
.contact { 
  padding: var(--section-pad); 
  background: var(--navy); 
}

.contact .section-title { 
  color: var(--white); 
}

.contact .section-tag { 
  color: var(--gold-light); 
  border-color: var(--gold-light); 
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px; 
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 3px;
}

.contact-item p, 
.contact-item a {
  font-size: 15px;
  color: var(--white);
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
}

.contact-form h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 24px;
}

.form-group { 
  margin-bottom: 16px; 
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { 
  height: 90px; 
  resize: vertical; 
}

.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 12px; 
}

.submit-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-top: 4px;
}

.submit-btn:hover { 
  background: var(--navy-mid); 
}

.submit-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
footer {
  background: #060F20;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-col ul { 
  list-style: none; 
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-col li:hover { 
  color: rgba(255,255,255,0.85); 
}

.footer-col a {
  color: rgba(255,255,255,0.5);
}

.footer-col a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link {
  width: 32px; 
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════
   WHATSAPP FAB
   ══════════════════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; 
  right: 28px;
  width: 56px; 
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: 500;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.whatsapp-fab:hover { 
  transform: scale(1.08); 
}

/* ══════════════════════════════════════════════════════════════════
   KNOWLEDGE BANNER
   ══════════════════════════════════════════════════════════════════ */
.knowledge-banner {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.knowledge-banner h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 6px;
}

.knowledge-banner p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   SERVICE PAGE SPECIFIC STYLES
   ══════════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb { 
  background: var(--off-white); 
  border-bottom: 1px solid var(--border); 
  padding: 12px 0; 
  font-size: 13px; 
  color: var(--text-muted); 
}

.breadcrumb a { 
  color: var(--navy); 
}

.breadcrumb span { 
  margin: 0 6px; 
}

/* Service Hero */
.service-hero { 
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6b 100%); 
  padding: 70px 0 60px; 
}

.service-hero-eyebrow { 
  display: inline-block; 
  font-size: 12px; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  color: var(--gold); 
  margin-bottom: 14px; 
  border-left: 3px solid var(--gold); 
  padding-left: 12px; 
}

.service-hero h1 { 
  font-size: clamp(28px, 4vw, 48px); 
  color: var(--white); 
  line-height: 1.15; 
  max-width: 700px; 
  margin-bottom: 18px; 
}

.service-hero h1 span { 
  color: var(--gold-light); 
}

.service-hero-desc { 
  font-size: 16px; 
  color: rgba(255,255,255,0.75); 
  max-width: 580px; 
  margin-bottom: 30px; 
  line-height: 1.7; 
}

/* Content Sections */
.content-section { 
  padding: 72px 0; 
}

.content-section.bg-off { 
  background: var(--off-white); 
}

.content-section.bg-navy { 
  background: var(--navy); 
}

.content-section.bg-navy .section-title { 
  color: var(--white); 
}

.content-section.bg-navy .section-desc { 
  color: rgba(255,255,255,0.65); 
}

/* Overview Grid */
.overview-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 56px; 
  align-items: start; 
}

.overview-content p { 
  font-size: 16px; 
  color: var(--text-muted); 
  line-height: 1.8; 
  margin-bottom: 16px; 
}

.overview-content h3 { 
  font-size: 20px; 
  color: var(--navy); 
  margin: 28px 0 12px; 
}

.key-points { 
  list-style: none; 
  margin-top: 20px; 
}

.key-points li { 
  padding: 11px 0; 
  border-bottom: 1px solid var(--border); 
  font-size: 15px; 
  color: var(--text-muted); 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
}

.key-points li:last-child { 
  border-bottom: none; 
}

.key-points li::before { 
  content: ''; 
  display: inline-block; 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: var(--gold); 
  margin-top: 8px; 
  flex-shrink: 0; 
}

/* Info Card */
.info-card { 
  background: var(--navy); 
  border-radius: 12px; 
  padding: 36px; 
  color: var(--white); 
}

.info-card h3 { 
  font-size: 16px; 
  font-weight: 600; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  color: var(--gold); 
  margin-bottom: 20px; 
  font-family: 'Inter', sans-serif;
}

.info-row { 
  display: flex; 
  justify-content: space-between; 
  padding: 10px 0; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  font-size: 14px; 
}

.info-row:last-child { 
  border-bottom: none; 
}

.info-row .label { 
  color: rgba(255,255,255,0.55); 
}

.info-row .value { 
  color: var(--white); 
  font-weight: 500; 
  text-align: right; 
}

/* FAQ */
.faq-list { 
  max-width: 760px; 
}

.faq-item { 
  border-bottom: 1px solid var(--border); 
}

.faq-q { 
  width: 100%; 
  text-align: left; 
  background: none; 
  border: none; 
  padding: 20px 0; 
  font-family: 'Inter', sans-serif; 
  font-size: 16px; 
  font-weight: 500; 
  color: var(--navy); 
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 12px; 
}

.faq-q:hover { 
  color: var(--gold); 
}

.faq-icon { 
  font-size: 20px; 
  font-weight: 300; 
  color: var(--gold); 
  flex-shrink: 0; 
  transition: transform var(--transition-fast); 
}

.faq-a { 
  display: none; 
  padding: 0 0 18px; 
  font-size: 15px; 
  color: var(--text-muted); 
  line-height: 1.7; 
}

.faq-item.open .faq-a { 
  display: block; 
}

.faq-item.open .faq-icon { 
  transform: rotate(45deg); 
}

/* CTA Banner */
.cta-banner { 
  background: linear-gradient(135deg, var(--navy), var(--navy-mid)); 
  padding: 56px 0; 
  text-align: center; 
}

.cta-banner h2 { 
  font-size: clamp(22px, 3vw, 32px); 
  color: var(--white); 
  margin-bottom: 10px; 
}

.cta-banner p { 
  font-size: 16px; 
  color: rgba(255,255,255,0.7); 
  margin-bottom: 28px; 
}

.cta-btns { 
  display: flex; 
  gap: 14px; 
  justify-content: center; 
  flex-wrap: wrap; 
}

/* ══════════════════════════════════════════════════════════════════
   PAGE HEADER (Contact, About etc.)
   ══════════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: ''; 
  position: absolute; 
  bottom: -50px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 300px; 
  height: 300px; 
  background: rgba(201,147,58,0.05); 
  border-radius: 50%;
}

.page-header h1 { 
  font-size: clamp(32px, 4vw, 48px); 
  margin-bottom: 12px; 
  position: relative; 
  z-index: 1; 
}

.page-header p { 
  font-size: 16px; 
  color: rgba(255,255,255,0.8); 
  max-width: 600px; 
  margin: 0 auto; 
  position: relative; 
  z-index: 1; 
}

/* ══════════════════════════════════════════════════════════════════
   ALERTS & MESSAGES
   ══════════════════════════════════════════════════════════════════ */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.alert-warning {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

.alert-info {
  background: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { 
    grid-template-columns: repeat(2, 1fr);
    align-items: start; /* Fix */
  }
  
  .why-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .mega-menu {
    width: 700px;
  }
}

@media (max-width: 768px) {
  :root { 
    --section-pad: 56px 0; 
  }
  
  .nav-links { 
    display: none; 
  }
  
  .hamburger { 
    display: flex; 
  }
  
  .hero { 
    padding: 70px 0 60px; 
  }
  
  .hero-stats { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .about-grid { 
    grid-template-columns: 1fr; 
    gap: 36px; 
  }
  
  .services-grid { 
    grid-template-columns: 1fr;
    align-items: start; /* Fix */
  }
  
  .why-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .process-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .practice-list { 
    grid-template-columns: 1fr; 
  }
  
  .calendar-grid { 
    grid-template-columns: 1fr; 
  }
  
  .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 36px; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
  }
  
  .topbar .container { 
    justify-content: center; 
    text-align: center; 
  }
  
  .topbar-left { 
    justify-content: center; 
    flex-wrap: wrap; 
  }
  
  .disclaimer-box { 
    padding: 28px 24px; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .why-grid { 
    grid-template-columns: 1fr; 
  }
  
  .process-grid { 
    grid-template-columns: 1fr; 
  }
  
  .hero-btns { 
    flex-direction: column; 
  }
  
  .btn-primary, 
  .btn-secondary { 
    text-align: center; 
    justify-content: center; 
  }
  
  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   PRINT STYLES
   ══════════════════════════════════════════════════════════════════ */
@media print {
  .topbar,
  nav,
  .whatsapp-fab,
  .mobile-menu,
  #disclaimer-gate {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .hero,
  .contact,
  .process {
    background: #f5f5f5 !important;
    color: #000 !important;
  }
}
