/* 
  Noof Sahl Al-Jubreen Al-Mutairi - Premium Car AC Repair website
  Theme: Premium Ice-Cool Light Mode (Clean & High-Contrast)
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* Ice Light Theme Color Palette */
  --bg-main: #F4F7FB;         /* Clean cool-tinted light grey-blue */
  --bg-card: #FFFFFF;         /* Crisp white cards */
  --bg-subtle: #EBF2F9;       /* Light ice-blue background */
  --bg-dark: #0B132B;         /* High-contrast deep navy for top-bar & footer */
  
  --text-main: #1E293B;       /* Slate 800 - dark slate grey */
  --text-muted: #57657A;      /* Slate 600 - medium grey */
  --text-light: #94A3B8;      /* Slate 400 */
  --text-white: #FFFFFF;
  --text-glow: #0284C7;       /* Glowing deep sky blue */

  --accent-primary: #0284C7;   /* Vibrant Sky Blue */
  --accent-glass: #0EA5E9;     /* Ice Blue */
  --accent-emerald: #10B981;   /* WhatsApp / Active Green */
  --accent-warm: #D97706;      /* Warning Amber */
  
  --border-light: #E2E8F0;     /* Slate 200 light border */
  --border-focus: #0EA5E9;
  
  --shadow-sm: 0 4px 10px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 48px rgba(14, 165, 233, 0.15);

  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ur: 'Tajawal', 'Noto Naskh Arabic', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-ur); /* Default to Arabic typography */
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="ltr"] body {
  font-family: var(--font-en);
}

/* Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* Typography Helpers */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: rgba(2, 132, 199, 0.06);
  color: var(--accent-primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-badge-warm {
  background-color: rgba(217, 119, 6, 0.06);
  color: var(--accent-warm);
  border-color: rgba(217, 119, 6, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0F172A; /* High contrast dark grey */
  margin-top: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 650px;
  margin: 1rem auto 0 auto;
  font-size: 1.1rem;
}

/* Header & Announcements */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 0.6rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-link {
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-link:hover {
  color: var(--accent-primary);
}

.top-bar-cr {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #CBD5E1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: var(--transition);
}

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

/* Logo brand */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0F172A;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.15);
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: rotate(360deg);
  border-color: var(--accent-emerald);
  box-shadow: 0 2px 15px rgba(16, 185, 129, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.mobile-only-quote {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switch */
.lang-switch-btn {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.lang-switch-btn:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.1);
}

/* Universal Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: 48px; /* Mobile Friendly Tap Target */
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-glass), var(--accent-primary));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
  filter: brightness(1.05);
}

.btn-whatsapp {
  background-color: var(--accent-emerald);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-whatsapp:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--accent-primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(244, 247, 251, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0F172A;
  letter-spacing: -0.03em;
}

.brand-title {
  display: block;
  font-size: 1.6rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, #0F172A 30%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-hero-pills {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-pill-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-pill-card:hover {
  background: rgba(2, 132, 199, 0.03);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-avatar {
  width: 42px;
  height: 42px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.15rem;
}

.contact-pill-card:nth-child(2) .contact-avatar {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-emerald);
}

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

.contact-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E293B;
}

.contact-phone {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 25px rgba(2, 132, 199, 0.05);
  border: 1px solid var(--border-light);
}

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  transition: var(--transition);
  filter: brightness(0.95) contrast(1.02);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .hero-floating-badge {
  text-align: right;
}

.floating-badge-title {
  color: #0F172A;
  font-weight: 700;
  font-size: 0.95rem;
}

.floating-badge-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* TRUST METRICS BAR */
.trust-bar {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.trust-icon {
  font-size: 1.8rem;
  color: var(--accent-primary);
  background: rgba(2, 132, 199, 0.06);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

/* GLOBAL SECTION LAYOUT */
.section {
  padding: 6rem 0;
}

/* ABOUT US CARD */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-glass), var(--accent-primary));
}

[dir="rtl"] .about-card::before {
  left: auto;
  right: 0;
}

.about-paragraph {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* SERVICES GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
}

.product-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: var(--transition);
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--bg-dark);
  color: var(--accent-primary);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

[dir="rtl"] .product-badge-top {
  right: auto;
  left: 1rem;
}

.product-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.85rem;
}

.product-title-ur, .product-title-en {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.product-rate-tag {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 700;
}

/* REVIEWS INFINITE SCROLL MARQUEE */
.reviews-section {
  overflow: hidden;
  padding: 6rem 0;
}

.reviews-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollMarquee 32s linear infinite;
}

.reviews-marquee-container:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  white-space: normal;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.review-author {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.95rem;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 0.2rem;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

[dir="rtl"] .review-text {
  text-align: right;
}

[dir="ltr"] .review-text {
  text-align: left;
}

/* TEAM SECTION */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-glass), var(--accent-primary));
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2.5rem;
  box-shadow: 0 6px 15px rgba(2, 132, 199, 0.2);
}

.team-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(2, 132, 199, 0.06);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CONTACTS & DIRECT MAP */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.contact-card-large {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-big-avatar {
  width: 60px;
  height: 60px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
}

.contact-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
}

.contact-card-role {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
}

.contact-details-list, .hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-details-list li strong {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-phone-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.hours-list li span {
  font-weight: 500;
  color: var(--text-muted);
}

.hours-list li strong {
  color: #1E293B;
  text-align: right;
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* MAP WRAPPER */
.map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.map-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.map-iframe-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

/* FLOATING WIDGET */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-emerald);
  color: var(--text-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  z-index: 999;
  transition: var(--transition);
}

[dir="rtl"] .floating-wa-btn {
  right: auto;
  left: 2rem;
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background-color: #059669;
}

/* FOOTER styling */
.footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2.5rem 0;
  color: #94A3B8;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-primary);
}

[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-primary);
  padding-left: 0.25rem;
}

[dir="rtl"] .footer-link:hover {
  padding-left: 0;
  padding-right: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Language Swapping Utility Blocks */
.lang-block-en {
  display: none;
}

.lang-block-ur {
  display: block;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .contact-hero-pills {
    justify-content: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Mobile padding reduction */
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  /* Top Bar Mobile Optimization */
  .top-bar-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .top-bar-content span {
    font-size: 0.82rem;
    line-height: 1.4;
    width: 100%;
  }
  .top-bar-links {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* Navbar Mobile Layout Locking */
  .nav-container {
    gap: 0.5rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transition: var(--transition);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  [dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
  }

  .nav-menu.active {
    left: 0;
  }
  
  [dir="rtl"] .nav-menu.active {
    right: 0;
  }

  .mobile-only-quote {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
  }

  .mobile-only-quote .btn {
    width: 100%;
  }

  #nav-quote-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
  
  .about-card {
    padding: 2.25rem 1.25rem;
  }
  
  .calculator-section {
    padding: 1.5rem 1rem;
  }
  .calculator-grid {
    gap: 1.75rem;
  }
  .calculator-info h2 {
    font-size: 1.6rem;
  }
  .calculator-info p {
    font-size: 0.95rem;
  }
  .estimator-info-box {
    padding: 1rem;
  }
  .calculator-form {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card-large {
    padding: 2.25rem 1.25rem;
  }
  
  .map-card {
    padding: 1.25rem;
  }
  
  .map-card-header {
    text-align: center;
    justify-content: center;
  }
  
  .map-card-header .btn {
    width: 100%;
  }

  .map-iframe-container {
    height: 280px;
  }
}

/* Extra small screens under 576px */
@media (max-width: 576px) {
  .logo {
    font-size: 1.05rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 38px;
  }
  /* Hide the long subtext to avoid navbar squeezing and overflow */
  .logo div span:nth-child(2) {
    display: none !important;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 1rem 0 0 0;
    width: 100%;
    box-shadow: var(--shadow-sm);
  }
}
