/* ==========================================================================
   PRO GARAGE DOOR SERVICES PROVIDENCE RI - MASTER STYLESHEET
   Domain: garagedoorprovidenceri.com
   Aesthetic: Premium Home Services (Royal Blue, Dark Navy, Crisp White, Slate)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0C53B7;
  --primary-hover: #094092;
  --primary-dark: #072e6b;
  --primary-light: #EBF4FF;
  --primary-glow: rgba(12, 83, 183, 0.25);
  
  --secondary: #0B2546;
  --secondary-hover: #071930;
  --secondary-dark: #081628;
  
  --accent-amber: #F59E0B;
  --accent-green: #10B981;
  --accent-green-bg: #ECFDF5;
  --accent-red: #EF4444;
  --accent-red-bg: #FEF2F2;
  
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;
  
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-blue-tint: #F1F6FD;
  --border-light: #E2E8F0;
  --border-blue: #D0E1FD;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(11, 37, 70, 0.08), 0 4px 6px -4px rgba(11, 37, 70, 0.05);
  --shadow-xl: 0 20px 30px -5px rgba(11, 37, 70, 0.12), 0 8px 10px -6px rgba(11, 37, 70, 0.05);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
  
  /* Containers */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
  color: var(--primary-hover);
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* Sequential Headings Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* UI Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 83, 183, 0.35);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff !important;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover) !important;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary) !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.125rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-blue);
  margin-bottom: 1rem;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
  background-color: var(--secondary);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a {
  color: #93c5fd;
  font-weight: 600;
}

.top-bar a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

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

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}

.header-phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--secondary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: linear-gradient(180deg, #F0F6FD 0%, #FFFFFF 100%);
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.trust-stars {
  display: flex;
  gap: 3px;
  color: var(--accent-amber);
}

.trust-rating-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-rating-text strong {
  color: var(--secondary);
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

/* ==========================================================================
   6-CARD VALUE PROPOSITION GRID
   ========================================================================== */

.features-section {
  padding: 4.5rem 0;
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-xl);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SHOWCASE SECTION
   ========================================================================== */

.services-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.service-card-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1.75rem 1.75rem 1.25rem;
}

.service-card-header.alt-bg {
  background-color: #0f2b48;
}

.service-card-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.service-badge-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.service-feature-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.service-action-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   HOW IT WORKS / 5-STEP TIMELINE
   ========================================================================== */

.process-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px var(--primary-glow);
  position: relative;
  z-index: 2;
}

.step-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SPLIT PHONE CALLOUT BANNER
   ========================================================================== */

.split-cta-section {
  padding: 3.5rem 0;
  background-color: var(--bg-light);
}

.split-cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.split-cta-left {
  background-color: #ffffff;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-cta-left h2 {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.split-cta-left p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cta-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cta-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--secondary);
}

.cta-bullet svg {
  color: var(--accent-green);
}

.split-cta-right {
  background: linear-gradient(135deg, #0C53B7 0%, #083D89 100%);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta-phone-badge {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.cta-large-phone {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  color: #ffffff !important;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.split-cta-right p {
  color: #bfdbfe;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   COMPARISON TABLE SECTION
   ========================================================================== */

.comparison-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.comparison-table-wrap {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.comparison-table th.col-feature {
  width: 40%;
  background-color: #f8fafc;
  color: var(--secondary);
}

.comparison-table th.col-others {
  width: 30%;
  background-color: #f1f5f9;
  color: #64748b;
  text-align: center;
}

.comparison-table th.col-pro {
  width: 30%;
  background-color: var(--primary);
  color: #ffffff;
  text-align: center;
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-feature {
  font-weight: 600;
  color: var(--secondary);
}

.comparison-table td.col-others {
  text-align: center;
  color: #dc2626;
  background-color: #fcfdfe;
}

.comparison-table td.col-pro {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  background-color: #f8faff;
}

.comparison-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   TESTIMONIALS / REVIEWS GRID
   ========================================================================== */

.reviews-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.review-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--accent-amber);
  display: flex;
  gap: 2px;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  background-color: var(--accent-green-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.review-quote {
  font-style: italic;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author {
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
}

.author-location {
  font-size: 0.825rem;
  color: var(--text-light);
}

/* ==========================================================================
   ABOUT STORY SPLIT SECTION
   ========================================================================== */

.about-story-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-bullets {
  list-style: none;
  margin: 1.75rem 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.975rem;
  color: var(--text-muted);
}

.about-bullets li svg {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.credentials-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.credential-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credential-item:first-child {
  padding-top: 0;
}

.credential-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.credential-info h4 {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.credential-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DARK HIGH-CONTRAST EMERGENCY SECTION
   ========================================================================== */

.dark-emergency-section {
  padding: 5rem 0;
  background-color: var(--secondary-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dark-emergency-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.dark-emergency-content h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.dark-emergency-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.stat-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* ==========================================================================
   RECENT WORK GALLERY / CARDS
   ========================================================================== */

.projects-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-blue);
}

.project-image {
  width: 100%;
  height: 220px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 1.5rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.project-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SERVICE AREAS SECTION
   ========================================================================== */

.areas-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.areas-list-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.area-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
}

.area-badge svg {
  color: var(--primary);
}

.areas-map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */

.faq-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 3rem auto 0;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: #ffffff;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: #ffffff;
}

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FINAL BOTTOM BLUE CTA BANNER
   ========================================================================== */

.bottom-cta-banner {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #0C53B7 0%, #073575 100%);
  color: #ffffff;
  text-align: center;
}

.bottom-cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}

.bottom-cta-banner p {
  color: #bfdbfe;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.25rem;
}

.bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--secondary-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand p {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #94a3b8;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  color: #38bdf8;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

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

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   PAGE TEMPLATES (About, Contact, Legal)
   ========================================================================== */

.page-header {
  background: linear-gradient(180deg, #F0F6FD 0%, #FFFFFF 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.page-content-section {
  padding: 4rem 0 5rem;
}

.prose {
  max-width: 840px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.prose h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.prose h3 {
  margin-top: 2rem;
}

.prose p, .prose ul, .prose ol {
  margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
  padding-left: 1.75rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Contact Page Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* 404 Error Page */
.error-page-wrapper {
  text-align: center;
  padding: 6rem 1.5rem;
}

.error-code {
  font-size: clamp(5rem, 10vw, 8rem);
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile Friendly)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dark-emergency-grid,
  .about-story-grid,
  .areas-grid,
  .split-cta-box {
    grid-template-columns: 1fr;
  }
  
  .split-cta-left, .split-cta-right {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .features-grid,
  .services-grid,
  .process-grid,
  .reviews-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-bullets,
  .areas-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
