/* ============================================================
   All American Overhead Garage Door – Main Stylesheet
   Brand Colors: Royal Blue #1a3a8c | Red #d42b2b | White #ffffff
   ============================================================ */

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

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

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

p { margin-bottom: 1rem; }

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d42b2b;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover { background: #b51f1f; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline:hover { background: #fff; color: #1a3a8c; }

.btn-red-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #d42b2b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid #d42b2b;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-transform: uppercase;
}

.btn-red-outline:hover { background: #d42b2b; color: #fff; }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.section-title-dark {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1a3a8c;
}

.text-red { color: #d42b2b; }
.text-blue { color: #1a3a8c; }
.text-white { color: #fff; }
.bg-blue { background: #1a3a8c; }
.bg-red { background: #d42b2b; }
.bg-dark { background: #0f1f4e; }
.bg-light { background: #f4f7ff; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: #d42b2b;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #fff;
}

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

.top-bar span { display: flex; align-items: center; gap: 6px; }

.top-bar .phone-cta {
  background: #fff;
  color: #d42b2b;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.top-bar .phone-cta:hover { background: #f0f0f0; }

/* ---------- Header / Navigation ---------- */
.site-header {
  background: #1a3a8c;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo img {
  height: 70px;
  width: auto;
}

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

.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.15); color: #fff; }

/* Dropdown */
.nav-item { position: relative; }

.nav-item .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 200;
  overflow: hidden;
}

.nav-item:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  color: #1a3a8c !important;
  font-size: 0.875rem !important;
  padding: 10px 18px !important;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  text-transform: none !important;
  font-weight: 600 !important;
}

.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: #f4f7ff; color: #d42b2b !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: #12296e;
  padding: 10px 0;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.mobile-nav a:hover { background: rgba(255,255,255,0.1); }

.mobile-nav .sub-link {
  padding-left: 36px;
  font-size: 0.85rem;
  color: #c9d6ff;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10,25,70,0.72), rgba(10,25,70,0.72)),
              url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-accent {
  display: inline-block;
  color: #d42b2b;
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: #1a3a8c;
  padding: 14px 0;
  text-align: center;
}

.trust-strip p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* ---------- Service Cards ---------- */
.service-cards {
  background: #0f1f4e;
  padding: 60px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid #1a3a8c;
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px;
  overflow: hidden;
}

.service-card:not(:last-child) {
  border-right: 2px solid #1a3a8c;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,70,0.88) 40%, rgba(10,25,70,0.3) 100%);
  z-index: 1;
}

.service-card:hover .service-card-bg { transform: scale(1.05); }

.service-card-content { position: relative; z-index: 2; }

.service-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* ---------- About Section (Home) ---------- */
.about-home {
  background: #1a3a8c;
  padding: 70px 0;
}

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

.about-text h2 { margin-bottom: 16px; }
.about-text p { color: rgba(255,255,255,0.88); }
.about-text ul { margin: 16px 0 24px; }
.about-text ul li {
  color: rgba(255,255,255,0.88);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text ul li::before {
  content: '✔';
  color: #d42b2b;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- Estimate Form Section ---------- */
.estimate-section {
  background: #1a3a8c;
  padding: 70px 0;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: start;
}

.estimate-info h2 { margin-bottom: 16px; }
.estimate-info p { color: rgba(255,255,255,0.88); margin-bottom: 20px; }

.estimate-form-card {
  background: #c0392b;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.estimate-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #fff;
}

.estimate-form-card .form-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.form-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 16px 0;
}

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

.form-group label {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  color: #1a1a1a;
  font-family: inherit;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
  background: #fff;
}

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

.form-submit {
  width: 100%;
  background: #fff;
  color: #c0392b;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.form-submit:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: #0f1f4e;
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta-banner .cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.cta-phone {
  font-size: 2.2rem;
  font-weight: 900;
  color: #d42b2b;
  margin-bottom: 24px;
  display: block;
}

/* ---------- Reviews Section ---------- */
.reviews {
  background: #f4f7ff;
  padding: 70px 0;
}

.reviews .section-title-dark { text-align: center; margin-bottom: 40px; }

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

.review-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left: 4px solid #d42b2b;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.stars { color: #f4b400; font-size: 1.1rem; margin-bottom: 12px; }

.review-card p {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.reviewer { font-weight: 700; color: #1a3a8c; font-size: 0.85rem; }

/* ---------- Why Choose Us ---------- */
.why-us {
  background: #1a3a8c;
  padding: 70px 0;
  text-align: center;
}

.why-us .section-title { text-align: center; margin-bottom: 40px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 32px 20px;
  transition: background 0.3s;
}

.why-card:hover { background: rgba(255,255,255,0.15); }

.why-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.why-card h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.why-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin: 0;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: linear-gradient(rgba(10,25,70,0.78), rgba(10,25,70,0.78)),
              url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&q=80') center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
  margin: 0 auto 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.breadcrumb a { color: #d42b2b; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---------- Service Page Content ---------- */
.service-content {
  padding: 70px 0;
  background: #fff;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

.service-body h2 { color: #1a3a8c; font-size: 1.6rem; margin-bottom: 14px; }
.service-body h3 { color: #1a3a8c; font-size: 1.25rem; margin: 28px 0 10px; }
.service-body p { color: #444; }

.service-body ul {
  list-style: none;
  margin: 14px 0 24px;
}

.service-body ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-body ul li::before {
  content: '✔';
  color: #d42b2b;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-body .external-link {
  color: #1a3a8c;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}

.service-body .external-link:hover { color: #d42b2b; }

/* Sidebar */
.service-sidebar { position: sticky; top: 90px; }

.sidebar-cta {
  background: #1a3a8c;
  border-radius: 10px;
  padding: 28px 24px;
  margin-bottom: 24px;
}

.sidebar-cta h3 { font-size: 1.2rem; margin-bottom: 12px; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: 16px; }
.sidebar-cta a.cta-phone-link {
  display: block;
  background: #d42b2b;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.sidebar-cta a.cta-phone-link:hover { background: #b51f1f; }

.services-list-widget {
  background: #f4f7ff;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e0e8ff;
}

.services-list-widget h4 {
  color: #1a3a8c;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services-list-widget a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #dde5ff;
  color: #1a3a8c;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s, padding-left 0.2s;
}

.services-list-widget a:last-child { border-bottom: none; }
.services-list-widget a::before { content: '›'; font-size: 1.2rem; color: #d42b2b; font-weight: 900; }
.services-list-widget a:hover { color: #d42b2b; padding-left: 6px; }

/* ---------- Service Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.feature-item {
  background: #f4f7ff;
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #d42b2b;
}

.feature-item h4 { color: #1a3a8c; font-size: 1rem; margin-bottom: 6px; }
.feature-item p { color: #555; font-size: 0.875rem; margin: 0; }

/* ---------- About Page ---------- */
.about-content {
  padding: 70px 0;
  background: #fff;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

.about-content-grid h2 { color: #1a3a8c; font-size: 1.8rem; margin-bottom: 16px; }
.about-content-grid p { color: #444; }

.team-values {
  background: #f4f7ff;
  padding: 60px 0;
}

.team-values .section-title-dark { text-align: center; margin-bottom: 40px; }

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

.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s;
}

.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.value-card h4 { color: #1a3a8c; font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { color: #555; font-size: 0.875rem; margin: 0; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #d42b2b;
  margin-bottom: 6px;
}

.stat-item p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 70px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 { color: #1a3a8c; font-size: 1.8rem; margin-bottom: 20px; }

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: #1a3a8c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: #fff;
}

.contact-detail-text h4 { color: #1a3a8c; margin-bottom: 4px; font-size: 1rem; }
.contact-detail-text p { color: #555; margin: 0; font-size: 0.9rem; }
.contact-detail-text a { color: #d42b2b; font-weight: 700; }
.contact-detail-text a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: #f4f7ff;
  border-radius: 12px;
  padding: 36px;
}

.contact-form-wrap h3 { color: #1a3a8c; font-size: 1.4rem; margin-bottom: 20px; }

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: #fff;
  border: 1px solid #cdd8ff;
  color: #1a1a1a;
}

.contact-form .form-group label { color: #1a3a8c; }

.contact-submit {
  width: 100%;
  background: #1a3a8c;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-submit:hover { background: #122a6e; }

.map-section {
  padding: 0 0 60px;
  background: #fff;
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: block;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
  text-decoration: none;
}

.social-link:hover { background: #d42b2b; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1f4e;
  padding: 60px 0 0;
  color: rgba(255,255,255,0.85);
}

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

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 60px; width: auto; }

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d42b2b;
  display: inline-block;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #d42b2b; }

.footer-col address {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.footer-col address a { display: inline; color: #d42b2b; font-weight: 600; }

.footer-bottom {
  background: #080f29;
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Service All Cards Section (Homepage) ---------- */
.all-services {
  background: #fff;
  padding: 70px 0;
}

.all-services .section-title-dark { text-align: center; margin-bottom: 8px; }
.all-services .sub-heading { text-align: center; color: #555; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

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

.all-service-card {
  background: #f4f7ff;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #dde5ff;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.all-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(26,58,140,0.15);
  background: #fff;
}

.all-service-card .service-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.all-service-card h3 { color: #1a3a8c; font-size: 1.1rem; margin-bottom: 10px; }
.all-service-card p { color: #555; font-size: 0.875rem; margin-bottom: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr; }
  .service-card:not(:last-child) { border-right: none; border-bottom: 2px solid #1a3a8c; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .estimate-grid { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-content-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .all-services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .estimate-form-card { padding: 24px 20px; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ---------- Utility / Alert ---------- */
.success-msg {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}

.success-msg.show { display: block; }
