/*
Theme Name: Route Deliveries
Theme URI: https://routedeliveries.qa
Author: IcaruZen
Author URI: https://icaruzen.com
Description: A premium one-page business theme for Route Deliveries — Qatar's premium non-food last-mile delivery partner. Fully compatible with Elementor page builder. All sections are editable via Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: route-deliveries
Tags: one-column, custom-menu, featured-images, full-width-template, theme-options, elementor
*/

/* ═══════════════════════════════════════════════════
   CSS VARIABLES (Brand Tokens)
   ═══════════════════════════════════════════════════ */
:root {
  /* Primary Colors — based on actual logo */
  --route-dark: #0B1D2E;
  --route-cyan: #00C9DB;
  --route-blue: #0077C8;
  --route-gradient: linear-gradient(135deg, #00C9DB 0%, #0077C8 100%);

  /* Brand Guide Colors */
  --route-black: #000000;
  --route-white: #FFFFFF;
  --route-deep-green: #004D40;
  --route-grey: #7A7A7A;
  --route-light-grey: #F7F7F7;
  --route-gold: #C9A227;

  /* Functional */
  --route-text: #2D2D2D;
  --route-text-light: #6B6B6B;
  --route-border: #E0E0E0;
  --route-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --route-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Spacing */
  --section-padding: 90px 0;
  --container-width: 1200px;
  --radius: 8px;
  --radius-sm: 4px;

  /* Logo (overridden by customizer) */
  --route-logo-height: 50px;
  --route-logo-height-scrolled: 35px;

  /* Hero overlay (overridden by customizer) */
  --route-hero-overlay: linear-gradient(135deg, rgba(11,29,46,0.85) 0%, rgba(0,119,200,0.55) 100%);
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */
*, *::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(--route-text);
  background: var(--route-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--route-text-light);
}

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

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--route-gradient);
  color: var(--route-white);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 201, 219, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--route-white);
  border-color: var(--route-white);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--route-dark);
  border-color: var(--route-dark);
}

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

/* ═══════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(11, 29, 46, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.site-logo img {
  height: var(--route-logo-height);
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .site-logo img {
  height: var(--route-logo-height-scrolled);
}

/* Custom logo from WordPress Customizer */
.custom-logo-link img {
  height: var(--route-logo-height) !important;
  width: auto !important;
  transition: height 0.3s ease;
}

.site-header.scrolled .custom-logo-link img {
  height: var(--route-logo-height-scrolled) !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--route-white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--route-cyan);
  transition: width 0.3s ease;
}

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

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

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--route-white);
  margin: 5px 0;
  transition: all 0.3s ease;
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--route-dark);
  z-index: 999;
  transition: right 0.3s ease;
  padding: 100px 40px 40px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu ul li {
  margin-bottom: 24px;
}

.mobile-menu ul li a {
  color: var(--route-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--route-dark);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--route-hero-overlay);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 30px;
}

.hero-content h1 {
  color: var(--route-white);
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
}

.hero-content h1 span {
  background: var(--route-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--route-white);
  stroke-width: 2;
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.08;
}

.hero-shape-1 {
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--route-cyan);
}

.hero-shape-2 {
  bottom: 15%;
  right: 15%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--route-blue);
}

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

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

.about-content .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--route-cyan);
  margin-bottom: 12px;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.mv-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--route-light-grey);
  border-left: 3px solid var(--route-cyan);
}

.mv-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--route-dark);
}

.mv-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--route-shadow);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.stat-card {
  background: var(--route-white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--route-shadow);
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--route-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--route-text-light);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════ */
.services-section {
  padding: var(--section-padding);
  background: var(--route-light-grey);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--route-cyan);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--route-white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--route-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--route-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--route-shadow-hover);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,201,219,0.1) 0%, rgba(0,119,200,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--route-cyan);
  fill: none;
  stroke-width: 1.5;
}

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

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   WHY ROUTE SECTION
   ═══════════════════════════════════════════════════ */
.why-section {
  padding: var(--section-padding);
  background: var(--route-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.why-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--route-border);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--route-cyan);
  box-shadow: var(--route-shadow);
}

.why-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--route-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--route-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.why-text h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--route-dark);
}

.why-text p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════════════ */
.values-section {
  padding: 80px 0;
  background: var(--route-dark);
  color: var(--route-white);
}

.values-section .section-header h2 {
  color: var(--route-white);
}

.values-section .section-header p {
  color: rgba(255,255,255,0.7);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,201,219,0.3);
}

.value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--route-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--route-white);
  fill: none;
  stroke-width: 1.5;
}

.value-card h4 {
  color: var(--route-white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-section {
  padding: 80px 0;
  background: var(--route-gradient);
  text-align: center;
}

.cta-section h2 {
  color: var(--route-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-section .btn-outline {
  border-color: var(--route-white);
  color: var(--route-white);
  background: transparent;
}

.cta-section .btn-outline:hover {
  background: var(--route-white);
  color: var(--route-dark);
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-padding);
  background: var(--route-light-grey);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-wrap {
  background: var(--route-white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--route-shadow);
}

.contact-form-wrap h3 {
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.contact-form-wrap > p {
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--route-text-light);
}

/* CF7 Form Styles */
.route-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.route-form-col {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .route-form-row {
    grid-template-columns: 1fr;
  }
}

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

.wpcf7 .route-form-col {
  display: flex;
  flex-direction: column;
}

.wpcf7 .route-form-col label {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .wpcf7 .route-form-row {
    grid-template-columns: 1fr;
  }
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--route-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  background: var(--route-white);
  margin-bottom: 4px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea {
  outline: none;
  border-color: var(--route-cyan);
}

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

.wpcf7 input[type="submit"] {
  background: var(--route-gradient);
  color: var(--route-white);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 201, 219, 0.35);
}

.wpcf7 label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--route-text);
}

.contact-info {
  padding-top: 20px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

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

.contact-detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,201,219,0.1) 0%, rgba(0,119,200,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--route-cyan);
  fill: none;
  stroke-width: 1.5;
}

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

.contact-detail-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
}

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

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--route-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--route-white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--route-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--route-cyan);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

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

.footer-bottom a:hover {
  color: var(--route-cyan);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* Fallback form (when CF7 not installed) */
.route-contact-form .route-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.route-contact-form label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--route-text);
}

.route-contact-form input,
.route-contact-form select,
.route-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--route-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-top: 6px;
  transition: border-color 0.3s ease;
}

.route-contact-form input:focus,
.route-contact-form select:focus,
.route-contact-form textarea:focus {
  outline: none;
  border-color: var(--route-cyan);
}

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

@media (max-width: 768px) {
  .route-contact-form .route-form-row {
    grid-template-columns: 1fr;
  }
}

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

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

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

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

  .about-stats {
    margin-top: 24px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .stat-card .stat-number {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   ELEMENTOR OVERRIDES
   Ensure Elementor sections can override theme styles
   ═══════════════════════════════════════════════════ */
.elementor-page .site-header {
  /* Keep header on Elementor pages */
}

.elementor-page .hero-section,
.elementor-page .about-section,
.elementor-page .services-section,
.elementor-page .why-section,
.elementor-page .values-section,
.elementor-page .cta-section,
.elementor-page .contact-section {
  /* Elementor sections will replace theme sections */
}

/* Allow Elementor to control spacing */
.elementor-section {
  padding: 0;
}

/* Ensure Elementor widgets inherit theme typography */
.elementor-widget-text-editor {
  font-family: var(--font-body);
}

.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading);
}
