/* 
   Gupta Home Tutors - CSS Stylesheet
   Premium, Modern, Mobile-First CSS
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties (Variables) */
:root {
  /* Brand Colors */
  --primary: #0A1D37;          /* Deep Navy Blue */
  --primary-light: #1A375E;    /* Light Navy */
  --primary-dark: #050E1B;     /* Very Dark Navy (Footer/Header background) */
  --accent: #D4AF37;           /* Rich Gold */
  --accent-hover: #F1C40F;     /* Yellow Gold */
  --accent-light: #FFF8E7;     /* Soft Gold Tint */
  --accent-text: #B8860B;      /* Darker Gold for Text */
  
  /* Status/Utility Colors */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;
  --call: #1A73E8;
  --call-hover: #1557B0;
  --success: #2ECC71;
  --star: #F1C40F;
  
  /* Neutrals */
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-main: #1E293B;        /* Charcoal for body */
  --text-muted: #64748B;       /* Muted gray for subtitles */
  --text-light: #F1F5F9;       /* Light text for dark backgrounds */
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Styling Tokens */
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(10, 29, 55, 0.08), 0 8px 10px -6px rgba(10, 29, 55, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(10, 29, 55, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

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

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-text); }
.text-muted { color: var(--text-muted); }

/* Common Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--bg-white);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-call {
  background-color: var(--call);
  color: var(--bg-white);
}

.btn-call:hover {
  background-color: var(--call-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary-dark); /* Match logo black background */
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(5, 14, 27, 0.95);
  backdrop-filter: blur(10px);
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo block */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.header.scrolled .logo-container img {
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-light);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--bg-white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Active Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  color: var(--bg-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

/* Trust Badge */
.trust-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 24px;
}

.trust-badge-top span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.trust-badge-top .stars {
  color: var(--star);
  font-size: 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 550px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-ctas .btn {
  min-width: 200px;
}

/* Hero Trust indicators grid */
.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
}

.hero-trust-number {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.hero-trust-label {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-top: 4px;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorative backdrop shape */
.hero-image-backdrop {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

/* ABOUT SECTION */
.about .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* Highlighting list */
.about-highlights {
  list-style: none;
  margin-bottom: 30px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--primary);
}

.about-highlights li svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Why choose us mini-grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background-color: var(--bg-light);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 29, 55, 0.1);
}

.service-card:hover::before {
  background-color: var(--accent);
}

.service-icon {
  width: 54px;
  height: 54px;
  background-color: var(--accent-light);
  color: var(--accent-text);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--accent-text);
}

.services-footer-cta {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--border-radius-md);
  padding: 40px;
  text-align: center;
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.services-footer-cta h3 {
  color: var(--bg-white);
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.services-footer-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* WHY PARENTS CHOOSE US (EXPANDED TRUST SECTION) */
.choose-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.choose-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.choose-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.3);
}

.choose-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--accent-light);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.choose-text h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.choose-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* LOCAL SEO SECTION */
.local-seo {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.local-seo .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.seo-content h2 {
  color: var(--bg-white);
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.seo-content p {
  color: var(--text-light);
  opacity: 0.85;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.seo-areas-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.seo-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 30px;
}

.seo-areas-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--bg-white);
}

.seo-subjects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.seo-subject-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  opacity: 0.9;
}

.seo-subject-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* TRUST / GOOGLE REVIEWS SECTION */
.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
}

.reviews-summary .rating-num {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.reviews-summary .stars {
  color: var(--star);
  font-size: 1.75rem;
  margin: 10px 0;
}

.reviews-summary .reviews-count {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.review-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-headings);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.15);
  line-height: 1;
}

.review-stars {
  color: var(--star);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.review-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.reviewer-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.reviewer-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
}

.contact-info-column h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.contact-intro-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

/* Info Details List */
.contact-details-list {
  list-style: none;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-detail-text a:hover {
  color: var(--primary);
}

/* Map Embed */
.map-container {
  width: 100%;
  height: 250px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Container */
.form-container {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.form-container p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

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

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

.form-label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Alert Notification Styles */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  display: none;
  font-size: 0.95rem;
}

.form-alert.success {
  background-color: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
  display: block;
}

.form-alert.error {
  background-color: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
  display: block;
}

/* FOOTER */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3, .footer-col h4 {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 25px;
  font-family: var(--font-headings);
  position: relative;
}

.footer-col h3::after, .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Col 1: About */
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-about .footer-logo img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.footer-about p {
  opacity: 0.75;
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 350px;
}

/* Social links (or rating badge) */
.footer-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
}

.footer-rating span {
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-rating .stars {
  color: var(--star);
  font-size: 0.95rem;
}

/* Col 2: Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

/* Col 3: Contact Info */
.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-contact-list li svg {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--text-light);
}

.footer-contact-list a:hover {
  color: var(--accent);
}

/* Copyright Row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* MOBILE BOTTOM STICKY CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mobile-cta-bar-grid .btn {
  border-radius: 0;
  padding: 16px 10px;
  font-size: 0.95rem;
}

/* MEDIA QUERIES (Responsive Web Design) */

/* Laptop / Desktop Small */
@media (max-width: 1100px) {
  :root {
    --header-height: 70px;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .choose-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (iPad, Portrait) */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-header h2 {
    font-size: 1.85rem;
  }
  
  /* Navigation Menu mobile */
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 24px;
    box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    display: block;
  }
  
  .header-cta {
    display: none; /* Hide on mobile header, use sticky bar or inline buttons */
  }
  
  /* Hero section mobile */
  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .trust-badge-top {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1; /* Image on top for mobile layout */
  }
  
  .hero-image-container {
    max-width: 360px;
  }
  
  /* About section mobile */
  .about .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Services mobile footer CTA */
  .services-footer-cta {
    padding: 30px 20px;
  }
  
  /* Local SEO section mobile */
  .local-seo .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Reviews and Testimonials mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Contact section mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  /* Show Mobile Floating Bar */
  .mobile-cta-bar {
    display: block;
  }
  
  /* Add padding-bottom to body to avoid content covered by CTA bar */
  body {
    padding-bottom: 56px; /* height of sticky bar */
  }
}

/* Small mobile (below 480px) */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  .hero-content h1 {
    font-size: 2.1rem;
  }
  
  .hero-trust-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 20px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .choose-us-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* MODAL POPUP FORM STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 14, 27, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
  }
}
