/* ==========================================================================
   Roofing Specialists of Ohio — Modern Custom Stylesheet (Vanilla CSS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --primary-red: #d32f2f;
  --primary-red-hover: #b71c1c;
  --dark-navy: #0f172a;
  --navy-card: #1e293b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #94a3b8;
  --border-color: #e5e7eb;
  --border-subtle: #f1f5f9;

  --font-heading:
    "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 20px 40px rgba(15, 23, 42, 0.12);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --------------------------------------------------------------------------
   2. Global Resets & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   3. Buttons & UI Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.25);
}

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

.btn-outline {
  background-color: var(--bg-white);
  color: var(--dark-navy);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--dark-navy);
  background-color: var(--dark-navy);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-cta-outline {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-phone-icon {
  width: 18px;
  height: 18px;
}

.full-width {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3.5 Top Marquee Announcement Bar (Vibrant Red Styling)
   -------------------------------------------------------------------------- */
.top-announcement-bar,
.marquee-wrapper {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
  color: #ffffff !important;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 6px 0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(211, 47, 47, 0.3);
  z-index: 1001;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
}

.marquee-star {
  color: #ffd700 !important;
  font-size: 14px;
  margin: 0 4px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   4. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
#app-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  transition:
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-color);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-navy);
  letter-spacing: -0.2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link.active {
  color: var(--primary-red);
  font-weight: 600;
}

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

/* --------------------------------------------------------------------------
   Desktop Services Mega Dropdown Panel
   -------------------------------------------------------------------------- */
.nav-item.dropdown {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.dropdown-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 720px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.18),
    0 0 1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1200;
}

.nav-item.dropdown:hover .dropdown-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

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

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.mega-item:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.mega-icon-box {
  width: 44px;
  height: 44px;
  background: #fff1f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mega-item:hover .mega-icon-box {
  background: #d32f2f;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.3);
}

.mega-text {
  display: flex;
  flex-direction: column;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.mega-item:hover .mega-title {
  color: #d32f2f;
}

.mega-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.nav-item.dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.mobile-sub-item {
  padding-left: 20px;
}

.mobile-sub-item a {
  font-size: 14px;
  color: #94a3b8;
  padding: 6px 0;
  display: block;
  transition: color 0.2s ease;
}

.mobile-sub-item a:hover {
  color: #d32f2f;
}

.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--dark-navy);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: block;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-nav.open {
  max-height: 600px !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow-y: auto !important;
  scrollbar-width: none;
}

.mobile-nav.open::-webkit-scrollbar {
  display: none;
}

.mobile-nav-list {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  display: block;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--primary-red);
  font-weight: 600;
}

.mobile-btn-wrap {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 580px;
  padding: 100px 0 70px;
  background:
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.8) 55%,
      rgba(15, 23, 42, 0.45) 100%
    ),
    url("images/hero-image.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  gap: 40px;
}

.hero-content {
  margin-top: -110px;
  max-width: 620px;
  flex: 1 1 55%;
  z-index: 2;
  animation: heroContentFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating 3D Premium Illustration (Right Side, Large Prominent Scale) */
.hero-3d-illustration-wrap {
  flex: 0 0 54%;
  max-width: 720px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero3dFloat 6s ease-in-out infinite alternate;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

@keyframes hero3dFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }

  100% {
    transform: translateY(6px) rotate(-1.5deg);
  }
}

.hero-3d-glow-backdrop {
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.4) 0%,
    rgba(211, 47, 47, 0.18) 50%,
    transparent 75%
  );
  filter: blur(45px);
  z-index: -1;
  pointer-events: none;
  animation: redGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes redGlowPulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.hero-3d-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 35px rgba(239, 68, 68, 0.3));
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #ff5252;
  background-color: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 82, 82, 0.2);
  animation: badgeGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes badgeGlowPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 82, 82, 0.2);
    border-color: rgba(255, 82, 82, 0.3);
  }

  100% {
    box-shadow: 0 0 22px rgba(255, 82, 82, 0.55);
    border-color: rgba(255, 82, 82, 0.65);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--bg-white);
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight-red {
  color: #ff5252;
}

.bold-txt {
  font-weight: 700;
}

.hero-description {
  font-size: 19px;
  color: #e2e8f0;
  margin-bottom: 36px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

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

.btn-hero-outline {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--bg-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background-color: var(--bg-white);
  color: var(--dark-navy);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Floating Feature Bar
   -------------------------------------------------------------------------- */
.floating-bar-container {
  position: relative;
  z-index: 20;
  margin-top: -55px;
}

.floating-bar {
  background-color: var(--dark-navy);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.2);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.feature-item:first-child {
  padding-left: 0;
}

.feature-item:last-child {
  padding-right: 0;
}

.feature-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Top Marquee Announcement Ticker (Above Navbar)
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  width: 100%;
  background-color: var(--primary-red);
  color: var(--bg-white);
  padding: 5px 0;
  overflow: hidden;
  position: relative;
  margin-top: 0;
  z-index: 1002;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  user-select: none;
  line-height: 1.2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.marquee-star {
  color: #ffcdd2;
  font-size: 9.5px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 80px 0 90px;
  background-color: var(--bg-white);
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--dark-navy);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.accent-bar {
  width: 44px;
  height: 3.5px;
  background-color: var(--primary-red);
  margin: 12px auto 16px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.service-card {
  position: relative;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 10px 30px -8px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(211, 47, 47, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

/* Animated Top Gradient Accent Line */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d32f2f, #ff5252, #ff8a80, #d32f2f);
  background-size: 200% 100%;
  z-index: 15;
  opacity: 0.8;
  transition: all 0.4s ease;
}

/* Light Reflection Sheen Beam */
.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: rotate(30deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 14;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(211, 47, 47, 0.35);
  box-shadow:
    0 22px 45px -10px rgba(211, 47, 47, 0.22),
    0 0 20px rgba(211, 47, 47, 0.12);
}

.service-card:hover::before {
  opacity: 1;
  height: 5px;
  animation: gradientGlow 2.5s linear infinite;
}

@keyframes gradientGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.service-card:hover::after {
  left: 140%;
}

.card-img-wrap {
  position: relative;
  height: 150px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-img {
  transform: scale(1.1);
}

.card-status-tag {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .card-status-tag {
  background: rgba(211, 47, 47, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.5);
}

.floating-icon {
  position: absolute;
  top: 128px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff1744 0%, #d32f2f 50%, #9a0007 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 20px rgba(211, 47, 47, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border: 2px solid #ffffff;
  z-index: 10;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.service-card:hover .floating-icon {
  transform: translateY(-4px) scale(1.12) rotate(6deg);
  box-shadow:
    0 12px 28px rgba(211, 47, 47, 0.6),
    0 0 15px rgba(255, 82, 82, 0.5);
}

.floating-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .floating-icon svg {
  transform: scale(1.1);
}

.card-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover .card-title {
  color: var(--primary-red);
}

.card-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Why Choose Us Section (Dark Theme)
   -------------------------------------------------------------------------- */
.why-choose-section {
  padding: 100px 0;
  background-color: var(--dark-navy);
  color: var(--bg-white);
  position: relative;
}

.why-choose-section .section-title {
  color: var(--bg-white);
}

.why-choose-section .section-subtitle {
  color: #94a3b8;
}

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

.why-item {
  text-align: center;
  padding: 28px 20px;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.why-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff5252, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(15, 23, 42, 0.82) !important;
  border-color: rgba(255, 82, 82, 0.45) !important;
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(211, 47, 47, 0.25) !important;
}

.why-item:hover::before {
  opacity: 1;
}

.why-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(211, 47, 47, 0.25) 0%,
    rgba(211, 47, 47, 0.08) 100%
  );
  color: #ff5252;
  border: 1.5px solid rgba(255, 82, 82, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.why-item:hover .why-icon-circle {
  background: linear-gradient(135deg, #ff1744 0%, #d32f2f 100%);
  color: #ffffff;
  border-color: #ff5252;
  transform: scale(1.12) rotate(-5deg);
  box-shadow:
    0 10px 24px rgba(211, 47, 47, 0.5),
    0 0 15px rgba(255, 82, 82, 0.4);
}

.why-icon-circle svg {
  width: 24px;
  height: 24px;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.why-text {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   9. Light Before & After Transformations Section (Reference Match)
   -------------------------------------------------------------------------- */
.light-transformations-section {
  padding: 100px 0 90px;
  background-color: #f8fafc;
  color: var(--dark-navy);
  position: relative;
}

.light-section-header {
  margin-bottom: 32px;
}

.light-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  color: #d91b06;
  background: #b1abaa;
  border: 1px solid #ca4328;
  padding: 6px 18px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.12);
}

.light-section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.light-section-subtitle {
  font-size: 15.5px;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Card Grid Styling (Exact match to reference screenshot) */
.ba-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Card Styling (Exact match to reference screenshot) */
.ba-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.ba-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.ba-card-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.ba-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ba-card:hover .ba-card-img {
  transform: scale(1.04);
}

.ba-pill-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 8px;
  color: #ffffff;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-dark-navy {
  background-color: #1e293b;
}

.badge-amber-orange {
  background-color: #f97316;
}

/* Card Body & Metadata Grid */
.ba-card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}

.meta-col {
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #e2e8f0;
  padding-right: 8px;
}

.meta-col:last-child {
  border-right: none;
  padding-right: 0;
}

.meta-icon {
  width: 20px;
  height: 20px;
  color: #d97706;
  flex-shrink: 0;
}

.meta-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duration-box {
  display: flex;
  flex-direction: column;
}

.duration-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.duration-val {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

/* Rating Row */
.ba-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.rating-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.stars-gold {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.rating-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   10. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 30px 0 100px;
}

.cta-card {
  background-color: var(--dark-navy);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.cta-subtitle {
  font-size: 15px;
  color: var(--text-light);
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-btn {
  padding: 14px 28px;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-navy);
  color: var(--bg-white);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 42px;
  width: auto;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--bg-white);
}

.footer-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary-red);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-light);
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--primary-red);
  flex-shrink: 0;
}

.footer-contact-list a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-light);
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-img {
    height: 380px;
  }

  .floating-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .feature-item:nth-child(2)::after {
    display: none;
  }

  .feature-item {
    padding: 0;
  }

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

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

  .project-card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-media-box {
    height: 250px;
  }

  .ba-card-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ba-slider-container {
    height: 280px;
  }

  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 40px 32px;
  }

  .cta-left {
    flex-direction: column;
  }

  .cta-right {
    width: 100%;
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

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

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero-section {
    padding: 40px 0 80px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .floating-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .feature-item::after {
    display: none !important;
  }

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

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

  .section-title {
    font-size: 28px;
  }

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

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

/* --------------------------------------------------------------------------
   13. Floating Side Action Tabs
/* Floating Side Action Tabs Removed per user request */

/* --------------------------------------------------------------------------
   14. Instant Roof Quote Modal Overlay
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--dark-navy);
}

.modal-back-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 12px;
  padding: 0;
}

.modal-back-btn:hover {
  color: var(--dark-navy);
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-navy);
  text-align: center;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

/* Address Input */
.address-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.location-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.address-input {
  width: 100%;
  padding: 12px 75px 12px 42px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition-fast);
}

.address-input:focus {
  border-color: var(--dark-navy);
}

.clear-input-btn {
  position: absolute;
  right: 44px;
  background: #e2e8f0;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-address-btn {
  position: absolute;
  right: 6px;
  background: var(--primary-red);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.search-address-btn:hover {
  background: var(--primary-red-hover);
}

.search-address-btn svg {
  width: 16px;
  height: 16px;
}

/* Real-Time Interactive Leaflet Map */
.map-preview-container {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  background: #0f172a;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.interactive-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Layer Toggle Control */
.map-layer-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.map-layer-toggle .layer-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-layer-toggle .layer-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.5);
}

/* Animated Target Ring */
.roof-target-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border: 2px dashed #ff5252;
  border-radius: 8px;
  transform: translate(-50%, -50%) rotate(-10deg);
  pointer-events: none;
  z-index: 998;
  background: rgba(255, 82, 82, 0.12);
  box-shadow: 0 0 15px rgba(255, 82, 82, 0.3);
  animation: pulseTarget 2s infinite alternate;
}

@keyframes pulseTarget {
  0% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.92);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1.08);
    opacity: 1;
  }
}

/* Custom Map Pin Styles for Leaflet */
.custom-map-pin {
  position: relative;
}

.map-pin-core {
  width: 16px;
  height: 16px;
  background: #ff1744;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.6);
  position: absolute;
  top: 4px;
  left: 4px;
}

.map-pin-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.35);
  animation: mapPinPulse 1.8s ease-out infinite;
}

@keyframes mapPinPulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.quote-notice-text {
  font-size: 13px;
  color: #475569;
  text-align: center;
  margin-bottom: 20px;
}

.btn-modal-action {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 6px;
}

/* Quote Form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-red);
}

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

.char-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.recaptcha-box {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recaptcha-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.recaptcha-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.recaptcha-text {
  font-size: 13px;
  color: var(--text-dark);
}

.recaptcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #9ca3af;
}

.recaptcha-logo svg {
  width: 20px;
  height: 20px;
  color: #4b5563;
}

.btn-submit-quote {
  margin-top: 8px;
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Success Screen */
.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon-wrap svg {
  width: 32px;
  height: 32px;
}

/* --------------------------------------------------------------------------
   15. Redesigned Dedicated Pages (About Us & Contact Us)
   -------------------------------------------------------------------------- */
.dark-page-wrapper {
  background-color: #0a0f1d;
  color: var(--bg-white);
  min-height: 85vh;
  padding-bottom: 90px;
}

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

.red-glow-badge {
  background: rgba(211, 47, 47, 0.15) !important;
  color: #ff5252 !important;
  border: 1px solid rgba(211, 47, 47, 0.35) !important;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Page Hero Headers */
.about-hero-header,
.contact-hero-header {
  padding: 70px 0 50px;
  background: radial-gradient(
    circle at top center,
    rgba(211, 47, 47, 0.12) 0%,
    transparent 70%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 50px;
}

.dark-page-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.about-hero-sub {
  font-size: 19px;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
}

/* Story Cards Grid */
.story-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.story-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition:
    transform var(--transition-normal),
    background-color var(--transition-normal),
    border-color var(--transition-normal);
}

.story-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.story-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(211, 47, 47, 0.18);
  color: #ff5252;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.story-icon-badge svg {
  width: 24px;
  height: 24px;
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 12px;
}

.story-card-text {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Mission Statement Card */
.mission-statement-card {
  background: linear-gradient(
    135deg,
    rgba(211, 47, 47, 0.15) 0%,
    rgba(15, 23, 42, 0.6) 100%
  );
  border: 1px solid rgba(211, 47, 47, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.mission-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-red);
}

.mission-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.5;
  font-style: italic;
}

/* Metrics Bar */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 70px;
}

.metric-item {
  text-align: center;
}

.metric-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: #ff5252;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

/* Team Section */
.team-section {
  margin-top: 40px;
}

.dark-section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 8px;
}

.light-subtitle {
  color: #94a3b8;
  margin-bottom: 40px;
}

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

.team-card {
  background-color: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-img-wrap {
  height: 320px;
  width: 100%;
  overflow: hidden;
  background-color: #334155;
  position: relative;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

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

.team-info {
  padding: 20px 24px;
  text-align: center;
  background-color: rgba(15, 23, 42, 0.8);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: #94a3b8;
}

/* LinkedIn hover overlay on team photos */
.team-img-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.team-img-link .team-img {
  transition:
    transform 0.5s ease,
    filter 0.4s ease;
}

.team-card:hover .team-img-link .team-img {
  transform: scale(1.06);
  filter: brightness(0.45);
}

.team-linkedin-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.team-linkedin-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.team-linkedin-overlay span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(10, 102, 194, 0.9);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-card:hover .team-linkedin-overlay {
  opacity: 1;
}

/* Contact Redesigned Layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.ohio-graphic-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: sticky;
  top: 96px;
  /* navbar height + breathing room */
  align-self: start;
}

.ohio-map-graphic {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ohio-map-svg {
  width: 100%;
  height: 100%;
  max-height: 380px;
  filter: drop-shadow(0 14px 35px rgba(211, 47, 47, 0.5));
}

.ohio-map-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  z-index: 2;
  padding: 20px;
}

.pulse-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulsePing 1.8s infinite;
}

@keyframes pulsePing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.ohio-open-txt {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ohio-serving-txt {
  font-size: 26px;
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ohio-card-actions {
  margin-top: 24px;
}

.call-now-btn {
  padding: 16px;
  font-size: 16px;
}

.contact-right-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-badge-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.info-pill-badge {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  background-color: #e2e8f0;
  padding: 4px 16px;
  border-radius: 10px;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-info-val {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--bg-white);
  line-height: 1.4;
}

.phone-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--bg-white);
  transition: color var(--transition-fast);
  display: block;
}

.phone-num:hover {
  color: #ff5252;
}

.address-text p {
  margin: 0;
  font-size: 16px;
  color: #e2e8f0;
}

.email-icon-box {
  width: 50px;
  height: 44px;
  background-color: var(--bg-white);
  color: #0f172a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.email-icon-box:hover {
  transform: translateY(-2px);
  background-color: #f87171;
  color: var(--bg-white);
}

.email-icon-box svg {
  width: 24px;
  height: 24px;
}

.social-icon-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.social-icon-box a {
  width: 44px;
  height: 44px;
  background-color: var(--bg-white);
  color: #0f172a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.social-icon-box a:hover {
  transform: translateY(-2px);
  background-color: var(--primary-red);
  color: var(--bg-white);
}

.social-icon-box svg {
  width: 22px;
  height: 22px;
}

/* Contact Direct Form Card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.form-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 6px;
}

.form-card-sub {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 20px;
}

.dark-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dark-form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--bg-white);
  outline: none;
  transition: border-color var(--transition-fast);
}

.dark-form-input:focus {
  border-color: #ff5252;
  background: rgba(255, 255, 255, 0.08);
}

.dark-form-input::placeholder {
  color: #64748b;
}

.dark-textarea {
  resize: vertical;
}

/* Dark Footer */
.dark-site-footer {
  background-color: #000000;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
}

.dark-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dark-footer-links a {
  color: var(--bg-white);
  display: flex;
  align-items: center;
}

.dark-footer-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
}

.dark-footer-links a:hover {
  color: var(--primary-red);
}

/* --------------------------------------------------------------------------
   16. 3D Objects, Glassmorphism & Neumorphism Design System
   -------------------------------------------------------------------------- */

/* 3D Ambient Background Scene */
.ambient-3d-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb-3d {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float3DOrb 18s ease-in-out infinite alternate;
}

.orb-red-glow {
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(211, 47, 47, 0.45) 0%,
    rgba(211, 47, 47, 0) 70%
  );
  top: 15%;
  right: -5%;
}

.orb-navy-glow {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(15, 23, 42, 0.7) 0%,
    rgba(15, 23, 42, 0) 70%
  );
  bottom: 10%;
  left: -10%;
  animation-duration: 24s;
  animation-delay: -5s;
}

.orb-glass-sphere {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: 55%;
  right: 20%;
  animation-duration: 14s;
  animation-delay: -9s;
}

@keyframes float3DOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate3d(30px, -40px, 50px) scale(1.1) rotate(180deg);
  }

  100% {
    transform: translate3d(-30px, 30px, -30px) scale(0.95) rotate(360deg);
  }
}

/* 3D Perspective Tilt Card System */
.tilt-card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  will-change: transform;
}

.tilt-card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

/* Glassmorphism Components */
.glass-section-wrapper {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.glass-badge {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gradient-text-title {
  background: linear-gradient(135deg, #0f172a 0%, #d32f2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-accent {
  box-shadow: 0 0 12px rgba(211, 47, 47, 0.4);
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(211, 47, 47, 0.3);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

.btn-glass-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  border-radius: 8px;
  color: var(--primary-red);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-glass-link:hover {
  background: var(--primary-red);
  color: #fff;
  transform: translateX(4px);
}

/* Glass Floating Feature Bar */
.glass-floating-bar {
  background: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.icon-3d-badge {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.feature-item:hover .icon-3d-badge {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.5) !important;
}

/* 3D Service Card Ring Icons */
.icon-3d-ring {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
  color: #ffffff !important;
  box-shadow:
    0 10px 25px rgba(211, 47, 47, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
  border: 3px solid #ffffff !important;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.service-card:hover .icon-3d-ring {
  transform: translateY(-6px) rotate(6deg) scale(1.1) !important;
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 15px 30px rgba(211, 47, 47, 0.6) !important;
}

/* 3D Dark Glassmorphism (Why Choose Us) */
.glass-dark-section {
  background: #0a0f1d !important;
  position: relative;
  overflow: hidden;
}

.dark-glass-card {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
}

.dark-glass-card:hover {
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(211, 47, 47, 0.4) !important;
  box-shadow:
    0 25px 50px rgba(211, 47, 47, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.icon-3d-sphere {
  background: linear-gradient(
    135deg,
    rgba(211, 47, 47, 0.25) 0%,
    rgba(211, 47, 47, 0.05) 100%
  ) !important;
  border: 1px solid rgba(211, 47, 47, 0.35) !important;
  box-shadow:
    0 8px 20px rgba(211, 47, 47, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  color: #ff5252 !important;
}

.dark-glass-card:hover .icon-3d-sphere {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
  color: #fff !important;
  transform: scale(1.1) rotate(5deg);
}

/* Glass Testimonial Styling */
.card-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.red-quote {
  font-size: 32px !important;
  color: #d32f2f !important;
  line-height: 1;
}

.star-rating-3d {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.avatar-3d-ring {
  border: 2px solid rgba(211, 47, 47, 0.3) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* 3D Glass CTA Banner */
.glass-cta-banner {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(211, 47, 47, 0.95) 100%
  ) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.bubble-3d {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.btn-3d-shadow {
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

.btn-3d-shadow:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.btn-glass-action {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.btn-glass-action:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #fff !important;
}

/* --------------------------------------------------------------------------
   17. Roofing-Specific 3D Objects in Hero / Header Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-3d-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.roofing-3d-object {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-3d-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: 30px;
  color: #fff;
}

.badge-3d-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.5);
}

.badge-3d-icon-box svg {
  width: 18px;
  height: 18px;
}

.badge-3d-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--bg-white);
  white-space: nowrap;
}

/* Positions & Floating Animations */
.roof-house-3d {
  top: 18%;
  right: 10%;
  animation: float3DRoofHouse 12s ease-in-out infinite alternate;
}

.protection-shield-3d {
  top: 55%;
  right: 18%;
  animation: float3DShield 14s ease-in-out infinite alternate;
}

.quality-badge-3d {
  top: 28%;
  left: 6%;
  animation: float3DQuality 10s ease-in-out infinite alternate;
}

@keyframes float3DRoofHouse {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(-15px, 20px, 30px) rotate(4deg) scale(1.05);
  }

  100% {
    transform: translate3d(10px, -15px, -15px) rotate(-2deg) scale(0.98);
  }
}

@keyframes float3DShield {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(20px, -25px, 40px) rotate(-5deg) scale(1.06);
  }

  100% {
    transform: translate3d(-10px, 15px, -20px) rotate(3deg) scale(0.95);
  }
}

@keyframes float3DQuality {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(15px, -20px, 25px) rotate(3deg);
  }

  100% {
    transform: translate3d(-15px, 15px, -15px) rotate(-4deg);
  }
}

.hero-glass-badge {
  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  color: #fff !important;
}

.text-shadow-3d {
  text-shadow:
    0 4px 15px rgba(211, 47, 47, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   18. Extraordinary Services Section Enhancements
   -------------------------------------------------------------------------- */

/* Category Filter Bar */
.services-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.4);
}

/* Extraordinary Services Grid & Cards */
.extraordinary-grid {
  margin-top: 50px;
}

.service-item-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-3d-num {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 3;
  letter-spacing: -1px;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
}

.service-card:hover .card-3d-num {
  transform: scale(1.18) translateY(-2px);
  background: linear-gradient(180deg, #ff5252 0%, #d32f2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(211, 47, 47, 0.6));
}

.card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.service-card:hover .card-image-overlay {
  opacity: 0.85;
}

.card-checkpoints {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0 0;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  background: rgba(241, 245, 249, 0.85);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(211, 47, 47, 0.12);
  transition: all 0.3s ease;
}

.service-card:hover .check-badge {
  background: #ffffff;
  border-color: rgba(211, 47, 47, 0.3);
  transform: translateX(4px);
  box-shadow: 0 3px 10px rgba(211, 47, 47, 0.1);
}

.check-badge svg {
  width: 13px;
  height: 13px;
  color: var(--primary-red);
}

/* --------------------------------------------------------------------------
   RSO Live Chatbot Widget
   -------------------------------------------------------------------------- */
.rso-chatbot-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: var(--font-body);
}

.chatbot-trigger-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.45);
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
}

.chatbot-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(211, 47, 47, 0.6);
}

.chatbot-badge-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #eab308;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.chatbot-trigger-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.chatbot-trigger-icon.icon-close {
  display: none;
}

.rso-chatbot-widget.active .chatbot-trigger-icon.icon-chat {
  display: none;
}

.rso-chatbot-widget.active .chatbot-trigger-icon.icon-close {
  display: flex;
}

.rso-chatbot-widget.active .chatbot-badge-notification {
  display: none;
}

/* Tooltip */
.chatbot-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.chatbot-trigger-btn:hover .chatbot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* Chat Window */
.chatbot-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease;
}

.rso-chatbot-widget.active .chatbot-window {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.chatbot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.chatbot-header-text {
  flex: 1;
}

.chatbot-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
}

.chatbot-status {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
}

.chatbot-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.chatbot-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.chatbot-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.chat-message.bot-message {
  align-self: flex-start;
}

.chat-message.user-message {
  align-self: flex-end;
}

.message-content {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.5;
}

.bot-message .message-content {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.user-message .message-content {
  background: #d32f2f;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.message-content p {
  margin: 0 0 6px;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message-time {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.bot-message .message-time {
  align-self: flex-start;
  margin-left: 4px;
}

.user-message .message-time {
  align-self: flex-end;
  margin-right: 4px;
}

/* Quick Actions */
.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.quick-action-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.quick-action-btn:hover {
  background: #f1f5f9;
  border-color: #d32f2f;
  color: #d32f2f;
  transform: translateX(3px);
}

/* Chatbot Typing Indicator */
.chatbot-typing {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
}

.chatbot-typing span:not(.typing-text) {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out both;
}

.chatbot-typing span:nth-child(1) {
  animation-delay: -0.32s;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingDot {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.typing-text {
  font-size: 11px;
  color: #94a3b8;
  margin-left: 6px;
}

/* Input Form */
.chatbot-input-form {
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13.5px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.chatbot-input:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.chatbot-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d32f2f;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.chatbot-send-btn:hover {
  background: #b71c1c;
  transform: scale(1.05);
}

.chatbot-send-btn svg {
  width: 17px;
  height: 17px;
  transform: translateX(1px);
}

@media (max-width: 480px) {
  .rso-chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-window {
    width: calc(100vw - 40px);
    height: 480px;
    bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   Services Page Specific Styling (Reference Match)
   -------------------------------------------------------------------------- */
.services-page-wrapper {
  background-color: #05080e;
  color: #ffffff;
}

/* Side Action Sticky Tabs */
.side-action-tab {
  position: fixed;
  z-index: 99;
}

.tab-left-text {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tab-right-quote {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.side-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #d32f2f;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.4);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  opacity: 0.95;
}

.tab-left-text .side-tab-btn {
  border-radius: 0 8px 8px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.tab-right-quote .side-tab-btn {
  border-radius: 8px 0 0 8px;
  writing-mode: vertical-rl;
}

.side-tab-btn:hover {
  background: #b71c1c;
  opacity: 1;
}

.tab-icon {
  width: 14px;
  height: 14px;
}

/* Hero Section */
.services-hero-section {
  padding: 100px 0 70px;
  background-color: #000000;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.services-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.services-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.services-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.inspection-frame-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  height: 420px;
  width: 100%;
  max-width: 360px;
}

.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inspection-frame-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #22c55e;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
}

.inspection-frame-badge svg {
  width: 15px;
  height: 15px;
}

/* Services 3-Card Carousel Section */
.services-carousel-section {
  padding: 70px 0 80px;
  background-color: #05080e;
}

.services-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-arrow-btn:hover {
  background: #d32f2f;
  color: #ffffff;
  border-color: #d32f2f;
  transform: scale(1.08);
}

.carousel-arrow-btn svg {
  width: 20px;
  height: 20px;
}

.services-cards-track-container {
  overflow: hidden;
  width: 100%;
}

.services-cards-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-card-slide {
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
}

.svc-card-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.svc-card-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border-color: rgba(211, 47, 47, 0.5);
}

.svc-card-img-wrap {
  height: 220px;
  overflow: hidden;
}

.svc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card-box:hover .svc-card-img {
  transform: scale(1.08);
}

.svc-card-footer {
  padding: 12px;
  background: #0b0e14;
}

.svc-red-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #900000;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 10px 10px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease;
  line-height: 1.3;
  min-height: 42px;
  white-space: normal;
}

.svc-card-box:hover .svc-red-pill-btn {
  background: #d32f2f;
}

/* Dots */
.svc-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.svc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.svc-dot.active {
  background: #d32f2f;
  width: 24px;
  border-radius: 6px;
}

/* Feature Grid */
.detailed-services-section {
  padding: 80px 0 100px;
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.svc-feature-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 24px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.svc-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 47, 47, 0.4);
  background: rgba(30, 41, 59, 0.8);
}

.svc-feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.svc-feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.svc-feature-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Global Footer Social Links Fix */
.footer-social-links .social-link svg,
.footer-social-links a svg,
.social-link svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: currentColor;
  display: block;
}

.footer-social-links .social-link,
.footer-social-links a {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  transition:
    background 0.3s ease,
    transform 0.3s ease !important;
}

.footer-social-links .social-link:hover,
.footer-social-links a:hover {
  background: #d32f2f !important;
  transform: scale(1.1) !important;
}

@media (max-width: 1200px) {
  .side-action-tab {
    display: none;
  }
}

@media (max-width: 992px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
  }

  .svc-card-slide {
    min-width: calc(50% - 12px);
  }

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

@media (max-width: 600px) {
  .svc-card-slide {
    min-width: 100%;
  }

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

/* --------------------------------------------------------------------------
   Services Page Complete Redesign (Unique Brand Layout)
   -------------------------------------------------------------------------- */
.services-redesign-wrapper {
  background-color: #0a0f1d;
  color: #ffffff;
  padding-bottom: 80px;
}

.svc-new-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(211, 47, 47, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(30, 41, 59, 0.5) 0%,
      transparent 70%
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-hero-flex {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.svc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(211, 47, 47, 0.12);
  border: 1px solid rgba(211, 47, 47, 0.3);
  color: #ff5252;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: #ff5252;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff5252;
}

.svc-hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-gradient-red {
  background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.svc-hero-description {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.svc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.svc-stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.svc-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.svc-stat-label {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
}

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

.glass-hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.svc-visual-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.glass-hero-card:hover .svc-visual-img {
  transform: scale(1.03);
}

.glass-visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.glass-visual-badge svg {
  width: 32px;
  height: 32px;
  color: #d32f2f;
  flex-shrink: 0;
}

.glass-visual-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.glass-visual-badge span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

/* 2. Services Grid Matrix */
.svc-matrix-section {
  padding: 90px 0;
}

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

.svc-section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin: 12px 0;
}

.svc-section-subtitle {
  font-size: 16px;
  color: #94a3b8;
}

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

.svc-matrix-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.svc-matrix-card:hover {
  transform: translateY(-8px);
  border-color: rgba(211, 47, 47, 0.5);
  box-shadow: 0 20px 40px rgba(211, 47, 47, 0.25);
  background: rgba(30, 41, 59, 0.85);
}

.svc-card-image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.svc-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.svc-matrix-card:hover .svc-card-image-box img {
  transform: scale(1.08);
}

.svc-card-category {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #d32f2f;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.badge-alert {
  background: #dc2626 !important;
}

.svc-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.svc-card-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.svc-bullets {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
  flex-grow: 1;
}

.svc-bullets li {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
  font-weight: 500;
}

.svc-btn-link {
  margin-top: auto;
  border-radius: 10px;
  font-size: 14px;
}

/* Glassmorphism View Details Button */
.svc-view-details-btn {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 12px;
  padding: 13px 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.svc-view-details-btn:hover {
  background: rgba(211, 47, 47, 0.9) !important;
  border-color: #ff5252 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

/* 3. RSO Workflow Steps */
.svc-workflow-section {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.svc-step-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.svc-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(211, 47, 47, 0.4);
}

.svc-step-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #d32f2f;
  margin-bottom: 16px;
}

.svc-step-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.svc-step-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* 4. High Impact CTA Banner */
.svc-cta-callout {
  padding: 80px 0 20px;
}

.svc-cta-card {
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.9) 0%,
    rgba(15, 23, 42, 0.95) 100%
  );
  border: 1.5px solid rgba(211, 47, 47, 0.4);
  border-radius: 24px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.svc-cta-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.svc-cta-text {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
}

.svc-cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .svc-hero-flex {
    grid-template-columns: 1fr;
  }

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

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

  .svc-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .svc-cta-buttons {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Light-Themed Sections Across Pages (Ensuring Every Page Has Light Content)
   -------------------------------------------------------------------------- */

/* 1. Services Page Light Section (.svc-workflow-light) */
.svc-workflow-section.svc-workflow-light {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.svc-workflow-light .svc-section-title {
  color: #0f172a !important;
}

.svc-workflow-light .svc-section-subtitle {
  color: #64748b !important;
}

.svc-workflow-light .svc-step-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.svc-workflow-light .svc-step-title {
  color: #0f172a !important;
}

/* 2. Contact Page Light Section (.light-contact-section) */
.contact-page-section.light-contact-section {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.light-contact-section .contact-badge-block {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.light-contact-section .contact-info-val,
.light-contact-section .phone-num,
.light-contact-section .address-text p {
  color: #0f172a !important;
}

.light-contact-section .contact-form-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.light-contact-section .form-card-title {
  color: #0f172a !important;
}

.light-contact-section .form-card-sub {
  color: #64748b !important;
}

.light-contact-section .dark-form-input {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.light-contact-section .dark-form-input::placeholder {
  color: #94a3b8 !important;
}

@media (max-width: 640px) {
  .svc-matrix-grid {
    grid-template-columns: 1fr;
  }

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

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

/* --------------------------------------------------------------------------
   Service Details Modal (Pop-up Window)
   -------------------------------------------------------------------------- */
.svc-detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.svc-detail-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.svc-detail-modal-card {
  width: 100%;
  max-width: 680px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(211, 47, 47, 0.25);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.svc-detail-modal-overlay.open .svc-detail-modal-card {
  transform: scale(1) translateY(0);
}

.svc-detail-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.svc-detail-modal-close:hover {
  background-color: #d32f2f;
  transform: scale(1.1);
}

.svc-detail-modal-hero {
  position: relative;
  height: 240px;
  flex-shrink: 0;
}

.svc-detail-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-detail-badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  background: #d32f2f;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.svc-detail-modal-body {
  padding: 32px 36px;
  overflow-y: auto;
  color: #cbd5e1;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.svc-detail-modal-body::-webkit-scrollbar,
.svc-detail-modal-card::-webkit-scrollbar,
.modal-container::-webkit-scrollbar,
.modal-step::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.svc-detail-modal-card {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.svc-detail-modal-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.svc-detail-modal-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 16px;
}

.svc-modal-bullet-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.svc-modal-bullet-list li {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.svc-detail-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES — Full Site
   Breakpoints: 1024px (tablet), 768px (landscape mobile), 480px (portrait)
   ========================================================================== */

/* ── 1024px: Tablet ── */
@media (max-width: 1024px) {
  /* Navbar */
  .nav-container {
    height: 70px;
  }

  .brand-name {
    font-size: 15px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hamburger-btn {
    display: flex !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  /* Hero */
  .hero-section {
    min-height: 80vh;
  }

  .hero-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-content {
    max-width: 55%;
    margin-top: 0;
  }

  .hero-headline {
    font-size: clamp(32px, 5vw, 56px);
  }

  .hero-3d-illustration-wrap {
    flex: 0 0 48%;
    max-width: 520px;
  }

  /* Index sections */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  /* Services page */
  .svc-hero-flex {
    grid-template-columns: 1fr;
  }

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

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

  .svc-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .svc-cta-buttons {
    justify-content: center;
  }

  /* About page */
  .story-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  /* Contact page */
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .ohio-graphic-card {
    position: static;
  }

  /* Service detail modal */
  .svc-detail-modal-card {
    max-width: 95vw;
  }

  .svc-detail-modal-hero {
    height: 200px;
  }

  .svc-detail-modal-body {
    padding: 24px 28px;
  }

  /* Quote modal */
  .modal-container {
    max-width: 95vw;
    padding: 32px 28px;
  }

  .contact-form-top-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── 768px: Landscape Mobile / Small Tablet ── */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Navbar */
  .nav-container {
    height: 64px;
  }

  .logo-img {
    height: 38px;
  }

  .brand-name {
    font-size: 14px;
  }

  /* Hero */
  .hero-section {
    min-height: 90vh;
    padding: 80px 0 60px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-3d-illustration-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.15;
  }

  .hero-subtext {
    font-size: 15px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  /* Dark page titles (About / Services / Contact hero) */
  .dark-page-title {
    font-size: clamp(28px, 6vw, 44px);
  }

  .about-hero-sub {
    font-size: 14px;
  }

  /* Index — Features / Stats / Process / Testimonials */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

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

  .section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  /* Before & After cards */
  .ba-pair-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ba-card-media {
    height: 240px;
  }

  .ba-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Services page */
  .svc-matrix-grid {
    grid-template-columns: 1fr;
  }

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

  .svc-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .svc-section-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  .svc-matrix-card {
    padding: 28px 22px;
  }

  /* About page */
  .story-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-number {
    font-size: 36px;
  }

  .about-hero-header {
    padding: 60px 0 40px;
  }

  /* Contact page */
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .ohio-map-graphic {
    height: 280px;
  }

  .ohio-open-txt {
    font-size: 32px;
  }

  .ohio-serving-txt {
    font-size: 18px;
  }

  .ohio-graphic-card {
    position: static;
  }

  /* Mission statement */
  .mission-text {
    font-size: 18px;
  }

  .mission-statement-card {
    padding: 28px 24px;
  }

  /* Service detail modal */
  .svc-detail-modal-card {
    border-radius: 16px;
  }

  .svc-detail-modal-hero {
    height: 180px;
  }

  .svc-detail-modal-body {
    padding: 20px 22px;
  }

  .svc-detail-modal-title {
    font-size: 22px;
  }

  .svc-modal-bullet-list {
    grid-template-columns: 1fr;
  }

  .svc-detail-modal-actions {
    flex-direction: column;
  }

  .svc-detail-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Quote modal */
  .modal-container {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .modal-step-title {
    font-size: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* CTA callout */
  .svc-cta-card {
    padding: 32px 24px;
  }

  .svc-cta-title {
    font-size: 22px;
  }

  .svc-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .svc-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Dropdown mega panel */
  .dropdown-mega-panel {
    display: none !important;
  }
}

/* ── 480px: Small Mobile Portrait ── */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 14px;
  }

  /* Navbar */
  .brand-name {
    display: none;
  }

  .logo-img {
    height: 36px;
  }

  /* Hero */
  .hero-section {
    padding: 70px 0 50px;
  }

  .hero-headline {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-subtext {
    font-size: 14px;
  }

  /* Dark page hero */
  .dark-page-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 32px;
  }

  /* Before & After cards */
  .ba-pair-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ba-card-media {
    height: 200px;
  }

  .ba-meta-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .meta-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
  }

  .meta-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .ba-card-body {
    padding: 14px 16px 16px;
  }

  /* Services */
  .svc-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .svc-matrix-card {
    padding: 24px 18px;
  }

  .svc-matrix-card h3 {
    font-size: 17px;
  }

  /* About */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-number {
    font-size: 30px;
  }

  .team-img-wrap {
    height: 260px;
  }

  /* Contact */
  .ohio-map-graphic {
    height: 240px;
  }

  .ohio-open-txt {
    font-size: 26px;
  }

  .ohio-serving-txt {
    font-size: 16px;
  }

  .contact-badge-block {
    padding: 16px;
  }

  .contact-info-val {
    font-size: 15px;
  }

  .phone-num {
    font-size: 17px;
  }

  .dark-form-input {
    font-size: 14px;
    padding: 12px 14px;
  }

  .form-row.two-col {
    flex-direction: column;
  }

  /* Modals */
  .svc-detail-modal-overlay {
    padding: 12px;
  }

  .svc-detail-modal-card {
    border-radius: 14px;
  }

  .svc-detail-modal-hero {
    height: 150px;
  }

  .svc-detail-modal-body {
    padding: 18px 18px;
  }

  .svc-detail-modal-title {
    font-size: 20px;
  }

  .modal-container {
    padding: 22px 16px;
  }

  /* Buttons */
  .btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .btn-hero-cta {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    gap: 24px;
  }

  .footer-logo-text {
    font-size: 16px;
  }
}

/* ── Prevent horizontal scroll globally without breaking position: sticky ── */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Desktop Navbar Dropdown Mega Panel
   -------------------------------------------------------------------------- */
.nav-item.dropdown {
  position: relative;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.nav-item.dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(720px, calc(100vw - 40px));
  max-width: 720px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.18),
    0 0 1px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  z-index: 1100;
  pointer-events: none;
}

.nav-item.dropdown:hover .dropdown-mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

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

@media (max-width: 1200px) {
  .dropdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
  }
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.mega-item:hover {
  background-color: #f8fafc;
  transform: translateX(4px);
}

.mega-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 2px;
}

.mega-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Instant Roof Quote Modal System (.modal-backdrop)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-container {
  width: 100%;
  max-width: 660px;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.address-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.location-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #ef4444;
}

.address-input {
  width: 100%;
  padding: 14px 100px 14px 48px;
  font-size: 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.address-input:focus {
  border-color: #ef4444;
}

.clear-input-btn {
  position: absolute;
  right: 56px;
  background: none;
  border: none;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
}

.search-address-btn {
  position: absolute;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #ef4444;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-address-btn svg {
  width: 18px;
  height: 18px;
}

.map-preview-container {
  position: relative;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
  background-color: #f1f5f9;
}

.interactive-map {
  width: 100%;
  height: 100%;
}

.map-layer-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 4px;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.layer-btn {
  border: none;
  background: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
}

.layer-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.roof-target-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  animation: targetPulse 2s infinite alternate;
}

@keyframes targetPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.quote-notice-text {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.btn-modal-action {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   RSO AI Floating Chatbot Widget (.rso-chatbot-widget)
   -------------------------------------------------------------------------- */
.rso-chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  font-family: var(--font-body);
}

.chatbot-trigger-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  border: none;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.chatbot-trigger-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.6);
}

.chatbot-badge-notification {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #FFFFFF;
  color: #EF4444;
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #EF4444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.chatbot-trigger-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rso-chatbot-widget.active .icon-chat {
  display: none;
}

.rso-chatbot-widget:not(.active) .icon-close {
  display: none;
}

.chatbot-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #0F172A;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.chatbot-trigger-btn:hover .chatbot-tooltip {
  opacity: 1;
  visibility: visible;
  right: 76px;
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(20px);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.rso-chatbot-widget.active .chatbot-window {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.chatbot-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 3px;
  flex-shrink: 0;
}

.chatbot-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10B981;
  border: 2px solid #0F172A;
  border-radius: 50%;
}

.chatbot-header-text {
  flex: 1;
}

.chatbot-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.chatbot-status {
  font-size: 11px;
  color: #94A3B8;
  margin: 0;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: #94A3B8;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.chatbot-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
}

.chat-message {
  max-width: 82%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-message.bot-message {
  align-self: flex-start;
}

.chat-message.user-message {
  align-self: flex-end;
}

.message-content {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.bot-message .message-content {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #E2E8F0;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.user-message .message-content {
  background: #EF4444;
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.message-time {
  font-size: 10px;
  color: #94A3B8;
  padding: 0 4px;
}

.user-message .message-time {
  align-self: flex-end;
}

.chat-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.quick-action-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-action-btn:hover {
  background: #FEF2F2;
  border-color: #EF4444;
  color: #EF4444;
}

.chatbot-typing {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748B;
  background: #F8FAFC;
}

.chatbot-input-form {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-input {
  flex: 1;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.chatbot-input:focus {
  border-color: #EF4444;
}

.chatbot-send-btn {
  width: 38px;
  height: 38px;
  background: #EF4444;
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chatbot-send-btn:hover {
  background: #DC2626;
}

.chatbot-send-btn svg {
  width: 18px;
  height: 18px;
}
