/* ==========================================================================
   MP PLUMBING SERVICES - MASTER STYLESHEET
   Yonkers, NY | Reliable 24/7 Professional Plumbing Services
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #046bd2;
  --primary-dark: #024e9b;
  --primary-light: #eaf3fd;
  --primary-gradient: linear-gradient(135deg, #046bd2 0%, #02458a 100%);
  --secondary: #0d1b2a;
  --secondary-light: #1e293b;
  --accent: #ff9800;
  --accent-dark: #e68900;
  --accent-light: #fff8e7;
  --success: #10b981;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #ffffff;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #046bd2;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(4,107,210,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.04);
  --shadow-xl: 0 20px 35px -10px rgba(4,107,210,0.18);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(4, 107, 210, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 107, 210, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

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

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

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

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

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

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

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--secondary);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent-dark);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

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

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

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

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

.nav-link .arrow-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

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

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-link:hover, .dropdown-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 24px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.header-phone-info {
  display: flex;
  flex-direction: column;
}

.header-phone-info .label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header-phone-info .phone-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.header-phone-info .phone-number:hover {
  color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.6rem;
  color: var(--secondary);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-header img {
  height: 46px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

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

.mobile-sub-menu {
  padding-left: 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.mobile-sub-menu.show {
  display: flex;
}

.mobile-sub-link {
  color: var(--text-main);
  font-size: 0.92rem;
  padding: 6px 0;
}

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

.mobile-drawer-footer {
  margin-top: auto;
  padding: 20px;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO VIDEO BANNER (EXACT REPLICA)
   ========================================================================== */
.hero-video-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.hero-video-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
}

.hero-video-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-main-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.hero-main-title span {
  display: block;
  font-size: clamp(1.35rem, 3.8vw, 2.8rem);
  font-weight: 600;
  color: #ffffff;
  margin-top: 10px;
}

/* ==========================================================================
   PAGE BANNER / HERO
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #e2eeff 50%, #f8fafc 100%);
  padding: 70px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

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

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

.hero-tag {
  margin-bottom: 16px;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--secondary);
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(4,107,210,0.15);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--secondary);
}

.hero-feature-item svg {
  color: var(--primary);
}

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

.hero-mascot-card {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-mascot-card img {
  max-height: 440px;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(4,107,210,0.25));
  animation: floatMascot 4s ease-in-out infinite alternate;
}

@keyframes floatMascot {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.hero-floating-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-floating-badge .badge-text h4 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--secondary);
}

.hero-floating-badge .badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Page Header Banner (for Inner Pages) */
.page-header-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-header-banner h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.85);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* ==========================================================================
   SECTIONS & LAYOUT
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--secondary);
  color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header .section-tag {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}

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

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card:not(.has-image):not(:has(.service-card-image)) {
  padding: 34px 28px;
}

.service-card.has-image {
  padding: 0;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(4,107,210,0.3);
}

.service-card:hover::after {
  opacity: 1;
}

/* Service Card Image Banner */
.service-card-image {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--secondary);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Service Card Body */
.service-card-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-icon {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  filter: brightness(1.1);
}

.service-card:hover .service-card-icon img {
  filter: brightness(0) invert(1);
}

.service-card h3,
.service-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.service-card p,
.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link,
.service-card-body .service-card-link {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  margin-top: auto;
}

.service-card-link:hover,
.service-card-body .service-card-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* Services Description Banner (Exact Reference Match) */
.services-description-banner {
  background: linear-gradient(135deg, #000165 0%, #046bd2 100%);
  border-radius: var(--radius-md);
  padding: 45px 36px;
  margin-top: 45px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 12px 35px rgba(0, 1, 101, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.services-description-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.services-description-banner p {
  font-size: 1.06rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.95);
  max-width: 980px;
  margin: 0 auto 30px;
}

.services-description-banner .btn {
  border-radius: 30px;
  font-weight: 700;
  padding: 15px 40px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .services-description-banner {
    padding: 32px 20px;
    margin-top: 35px;
  }
  .services-description-banner p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .services-description-banner .btn {
    padding: 13px 30px;
    font-size: 0.98rem;
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   CORE VALUES SECTION (The 8 Values)
   ========================================================================== */
/* ==========================================================================
   CORE VALUES FLIP-BOX (EXACT REAL WEBSITE STYLE)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-flip-container {
  perspective: 1000px;
  height: 280px;
}

.value-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.value-flip-container:hover .value-flip-card {
  transform: rotateY(180deg);
}

.value-flip-front, .value-flip-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.value-flip-front {
  background-color: #ffffff;
  color: var(--secondary);
}

.value-flip-back {
  background: linear-gradient(135deg, #046bd2 0%, #02458a 100%);
  color: #ffffff;
  transform: rotateY(180deg);
  border-color: #046bd2;
}

.value-flip-back h4, .value-flip-back p {
  color: #ffffff !important;
}

.value-flip-icon {
  margin-bottom: 18px;
}

.value-flip-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.value-flip-card h4 {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3em;
  margin-bottom: 12px;
  color: #000165;
}

.value-flip-card p {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
  margin: 0;
}



/* ==========================================================================
   MISSION & VISION SECTION
   ========================================================================== */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.mv-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.mv-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mv-card.vision .mv-icon-badge {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.mv-card h3 {
  font-size: 1.6rem;
  margin: 0;
}

.mv-card p {
  color: var(--text-main);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   GALLERY / PROJECTS SECTION
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(4,107,210,0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--secondary);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  margin: 0;
}

.gallery-zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(4,107,210,0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--text-main);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   FREE ESTIMATE / CONTACT FORM SECTION
   ========================================================================== */
.estimate-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.estimate-info {
  background: linear-gradient(135deg, #0d1b2a 0%, #172d4a 100%);
  color: var(--white);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimate-info h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.estimate-info p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 30px;
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

.experience-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.experience-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-quick-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(4,107,210,0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-quick-details h5 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-quick-details p, .contact-quick-details a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

.contact-quick-details a:hover {
  color: var(--white);
}

.estimate-form-box {
  padding: 50px 45px;
}

.estimate-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.estimate-form-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.15);
}

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

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

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: none;
}

.form-alert.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-alert.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #046bd2 0%, #02458a 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-text {
  max-width: 650px;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 0;
}

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

/* ==========================================================================
   FOOTER (EXACT LIVE SITE REPLICA)
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  color: #000000;
  font-family: "Lato", sans-serif;
  font-size: 15px;
  position: relative;
  border-top: 2px solid #ffffff;
  margin-top: auto;
}

.footer-top {
  padding: 60px 0 50px;
  background-color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
  gap: 35px;
}

.footer-brand .footer-logo {
  display: block;
  margin-bottom: 18px;
}

.footer-brand .footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: #000000;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: "Roboto", sans-serif;
  color: #000165;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-divider-line {
  width: 25%;
  height: 2px;
  background-color: #000000;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: #000000;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.footer-links a i {
  color: #000165;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-size: 15px;
}

.footer-contact-icon {
  color: #000165;
  font-size: 16px;
  width: 20px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #000000;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #3b5998;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.social-btn.facebook { background: #3b5998; }
.social-btn.yelp { background: #d32323; }
.social-btn.instagram { background: #e4405f; }
.social-btn.google { background: #4285f4; }

.social-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 20px 0;
  font-size: 14px;
  background-color: #f8fafc;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom a {
  color: #64748b;
}

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

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

/* Floating Actions & Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Mobile Quick Bottom Bar (Sticky tap to call) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   INNER SERVICE PAGES & CONTACT DETAILS
   ========================================================================== */
.service-details-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
}

.service-main-content h2 {
  margin-bottom: 18px;
}

.service-main-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.service-feature-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--secondary);
}

.check-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.sidebar-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-service-item {
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.sidebar-service-item:hover, .sidebar-service-item.active {
  background: var(--primary);
  color: var(--white);
  padding-left: 20px;
}

.sidebar-emergency-card {
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.sidebar-emergency-card h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.sidebar-emergency-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.sidebar-emergency-phone {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 15px;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}

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

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-box h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.contact-card-box p, .contact-card-box a {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* ==========================================================================
   WELCOME SECTION (Homepage intro with character image)
   ========================================================================== */
.welcome-section {
  padding: 70px 0;
  background-color: var(--white);
}

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

.welcome-content {
  /* left column */
}

.welcome-subtitle {
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-title {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin-bottom: 22px;
  color: var(--secondary);
  line-height: 1.2;
}

.welcome-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 18px;
}

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

.welcome-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .estimate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .top-bar-left span:not(:first-child) {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-floating-badge {
    left: 10px;
    bottom: 10px;
  }
  .service-details-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 65px;
  }
  /* Welcome section stacks on tablet */
  .welcome-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .welcome-image {
    order: -1;
  }
  .welcome-image img {
    max-width: 320px;
  }
  .welcome-subtitle {
    font-size: 1.15rem;
  }
}

/* ===== 768px Tablet breakpoint ===== */
@media (max-width: 768px) {
  .hero-video-section {
    min-height: 320px;
  }
  .hero-video-container {
    padding: 55px 16px;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .value-flip-container {
    height: 260px;
  }
  .welcome-text {
    font-size: 0.98rem;
  }
  .section {
    padding: 55px 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 50px 0;
  }
  .welcome-section {
    padding: 50px 0;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .welcome-image {
    order: -1;
  }
  .welcome-image img {
    max-width: 240px;
  }
  .welcome-subtitle {
    font-size: 1.05rem;
  }
  .welcome-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  .welcome-text {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .service-feature-checklist {
    grid-template-columns: 1fr;
  }
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    justify-content: center;
  }
  .estimate-form-box {
    padding: 30px 20px;
  }
  .estimate-info {
    padding: 35px 20px;
  }
  .top-bar {
    display: none;
  }
  .site-logo img {
    height: 48px;
  }
  .hero-video-section {
    min-height: 260px;
  }
  .hero-video-container {
    padding: 40px 14px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .services-description-banner {
    padding: 32px 20px;
    margin-top: 35px;
  }
  .services-description-banner p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .services-description-banner .btn {
    padding: 13px 30px;
    font-size: 0.98rem;
    width: 100%;
    max-width: 280px;
  }
}

/* About page stats grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

/* About page two-col intro responsive stacking */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-intro-grid > div:last-child {
    order: -1;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-item {
    aspect-ratio: 1 / 1;
  }
  .contact-card-box {
    padding: 18px 16px;
    gap: 12px;
  }
  .estimate-form-box {
    padding: 24px 16px;
  }
  .estimate-info {
    padding: 28px 16px;
  }
  .btn-lg {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
  .hero-video-section {
    min-height: 220px;
  }
  .hero-video-container {
    padding: 35px 12px;
  }
  .section-tag {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   SERVICES SHOWCASE PAGE (PROFESSIONAL MULTI-IMAGE PRESENTATION)
   ========================================================================== */
.services-nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 84px;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.services-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-nav-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-nav-pill i {
  color: var(--primary);
  font-size: 0.85rem;
}

.service-nav-pill:hover,
.service-nav-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(4, 107, 210, 0.25);
}

.service-nav-pill:hover i,
.service-nav-pill.active i {
  color: var(--white);
}

/* Service Showcase List */
.service-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 65px;
}

.service-showcase-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  padding: 42px 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  scroll-margin-top: 155px;
}

.service-showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-showcase-item:hover {
  box-shadow: 0 16px 45px rgba(4, 107, 210, 0.12);
  border-color: rgba(4, 107, 210, 0.3);
  transform: translateY(-4px);
}

.service-showcase-item:hover::before {
  opacity: 1;
}

.service-showcase-item.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.service-showcase-item.reverse .service-showcase-content {
  order: 2;
}

.service-showcase-item.reverse .service-showcase-visuals {
  order: 1;
}

/* Content Area */
.service-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-showcase-title {
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-showcase-desc {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.service-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 14px;
  margin-bottom: 26px;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #eef2f6;
}

.service-feature-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
}

.service-feature-point i {
  color: var(--primary);
  font-size: 0.95rem;
}

.service-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Visuals Area (Multi-Image Showcase) */
.service-showcase-visuals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-visual-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
  background: var(--secondary);
}

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

.service-showcase-item:hover .service-visual-main img {
  transform: scale(1.06);
}

.service-floating-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-floating-tag i {
  color: var(--accent);
}

.service-visual-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-visual-thumb {
  position: relative;
  height: 125px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--secondary);
}

.service-visual-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-showcase-item:hover .service-visual-thumb img {
  transform: scale(1.08);
}

.service-visual-thumb .thumb-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Service Process Timeline */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  text-align: center;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.process-number {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #e2e8f0;
}

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-card:hover .process-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.process-card h4 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Media Queries for Services Showcase */
@media (max-width: 992px) {
  .services-nav-bar {
    top: 72px;
  }
  .service-showcase-item,
  .service-showcase-item.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 26px;
  }
  .service-showcase-item.reverse .service-showcase-content {
    order: 1;
  }
  .service-showcase-item.reverse .service-showcase-visuals {
    order: 2;
  }
  .service-visual-main {
    height: 250px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-nav-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .service-nav-pill {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 7px 14px;
  }
  .service-features-list {
    grid-template-columns: 1fr;
  }
  .service-visual-main {
    height: 205px;
  }
  .service-visual-thumb {
    height: 105px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .service-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .service-actions-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   PROJECT VIDEOS SECTION (OUR PROJECTS PAGE)
   ========================================================================== */
.project-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-video-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(4, 107, 210, 0.35);
}

.project-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 450px;
  background-color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  display: block;
}

.project-video-info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.video-badge i {
  color: var(--accent);
}

.project-video-info h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.project-video-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .project-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .project-videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-video-wrapper {
    max-height: 380px;
  }
}
