/* ===== MASTERFIT GARAGE DOORS & AUTOMATIONS ===== */
/* Global Stylesheet — Light Theme */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0066CC;
  --primary-dark: #004BB3;
  --primary-light: #4D9BFF;
  --dark: #1a1a1a;
  --darker: #111111;
  --grey-dark: #333333;
  --grey: #555555;
  --grey-medium: #777777;
  --grey-light: #999999;
  --light: #f7f8fa;
  --lighter: #f0f2f5;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

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

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

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

ul { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }

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

/* ---------- Utility Classes ---------- */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Background section classes */
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-lighter { background-color: var(--lighter); }

/* ---------- Image Background Sections ---------- */
.img-bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.img-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.img-bg-section > .container {
  position: relative;
  z-index: 2;
}

.img-bg-section .section-header h2,
.img-bg-section h2,
.img-bg-section h3,
.img-bg-section h4 {
  color: var(--white);
}

.img-bg-section .section-header p,
.img-bg-section p {
  color: rgba(255, 255, 255, 0.85);
}

.img-bg-section .feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.img-bg-section .feature-card h3 { color: var(--white); }
.img-bg-section .feature-card p { color: rgba(255, 255, 255, 0.8); }

.img-bg-section .feature-icon {
  background: rgba(0, 102, 204, 0.2);
}

.img-bg-section .testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.img-bg-section .testimonial-card p { color: rgba(255, 255, 255, 0.85); }
.img-bg-section .testimonial-author .name { color: var(--white); }
.img-bg-section .testimonial-author .location { color: rgba(255, 255, 255, 0.6); }
.img-bg-section .stars { color: #ffc107; }

.img-bg-section .process-step h3 { color: var(--white); }
.img-bg-section .process-step p { color: rgba(255, 255, 255, 0.8); }

.img-bg-section .map-container {
  border: none;
  box-shadow: var(--shadow-lg);
}

.img-bg-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* Specific image backgrounds */
.img-bg-why-choose {
  background-color: #2d3748;
  background-image: url('https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1920');
}

.img-bg-testimonials {
  background-color: #2d3748;
  background-image: url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=1920');
}

.img-bg-services-detail {
  background-color: #2d3748;
  background-image: url('https://images.pexels.com/photos/1216589/pexels-photo-1216589.jpeg?auto=compress&cs=tinysrgb&w=1920');
}

.img-bg-map {
  background-color: #2d3748;
  background-image: url('https://images.pexels.com/photos/186077/pexels-photo-186077.jpeg?auto=compress&cs=tinysrgb&w=1920');
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--darker);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.2;
}

.navbar.scrolled .nav-logo .logo-text {
  color: var(--text-dark);
}

.nav-logo .logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 10px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--text-dark);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d3748;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 100%),
    url('https://images.pexels.com/photos/1396122/pexels-photo-1396122.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
}

.hero-content .badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 102, 204, 0.15);
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 50px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

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

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card .btn-sm {
  opacity: 1;
  transition: var(--transition);
}

/* Service card background images */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover .service-card-bg {
  opacity: 0.4;
}

.service-card .service-icon,
.service-card h3,
.service-card p,
.service-card .btn-sm {
  position: relative;
  z-index: 1;
}

/* Service detail individual backgrounds */
.service-detail-section {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-detail-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-detail-section.sd-light::before {
  background: rgba(255, 255, 255, 0.92);
}

.service-detail-section.sd-dark::before {
  background: rgba(0, 0, 0, 0.7);
}

.service-detail-section > .container {
  position: relative;
  z-index: 2;
}

.service-detail-section.sd-dark .service-detail-content h3,
.service-detail-section.sd-dark .section-header h2 { color: var(--white); }
.service-detail-section.sd-dark .service-detail-content p,
.service-detail-section.sd-dark .section-header p { color: rgba(255,255,255,0.85); }
.service-detail-section.sd-dark .service-benefits li { color: rgba(255,255,255,0.9); }
.service-detail-section.sd-dark .service-benefits svg { color: var(--primary); }
.service-detail-section.sd-dark .accent-line { background: var(--primary); }

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  font-size: 1.4rem;
}

.feature-card h3 {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-heading);
}

.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.experience-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  color: var(--text-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-text .accent-line {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.about-text p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 15px;
}

.about-list {
  margin: 20px 0 30px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

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

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0066CC 0%, #0052A3 50%, #003D7A 100%);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.testimonial-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.testimonial-author .location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
}

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

.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-about .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-about .logo-text span { color: var(--primary); }

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Page Header (Services & Contact) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  background-color: #2d3748;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
    url('https://images.pexels.com/photos/1396122/pexels-photo-1396122.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header h1 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

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

/* ---------- Service Detail Cards ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.service-detail-img:hover img {
  transform: scale(1.03);
}

.service-detail-content h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-detail-content .accent-line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 15px;
  border-radius: 2px;
}

.service-detail-content p {
  color: var(--text-body);
  margin-bottom: 15px;
}

.service-benefits {
  margin: 15px 0 25px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.service-benefits li svg { color: var(--primary); }

/* img-bg overrides for service details */
.img-bg-section .service-detail-content h3 { color: var(--white); }
.img-bg-section .service-detail-content p { color: rgba(255,255,255,0.85); }
.img-bg-section .service-benefits li { color: rgba(255,255,255,0.9); }
.img-bg-section .service-detail {
  border-bottom-color: rgba(255,255,255,0.1);
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.process-step h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question .faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 102, 204, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 25px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  color: var(--text-dark);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

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

.form-group label {
  display: block;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.08);
  background: var(--white);
}

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

.form-group select option {
  background: var(--white);
  color: var(--text-dark);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-info-card:hover {
  border-color: rgba(0, 102, 204, 0.2);
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.contact-info-card .icon-box {
  width: 55px;
  height: 55px;
  border-radius: var(--radius);
  background: rgba(0, 102, 204, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  background: var(--light);
  border: 1px solid var(--border);
}

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

.emergency-section {
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.emergency-section h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.emergency-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .services-grid,
  .features-grid,
  .testimonials-grid,
  .gallery-grid,
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.reverse { direction: ltr; }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .img-bg-section {
    background-attachment: scroll;
  }

  .cta-banner {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 998;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1.2rem;
    padding: 10px;
    color: var(--text-dark) !important;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 15px;
  }

  .mobile-toggle { display: flex; z-index: 999; }

  .mobile-toggle.active span {
    background: var(--text-dark) !important;
  }

  .services-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-stats { gap: 30px; }

  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  .process-steps { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 25px; }

  .page-header { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
