@font-face {
  font-family: 'Inter';
  src: url('font/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Base font fallback */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: #1E1E1E;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  width: 100%;
}

* {
  box-sizing: border-box;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Prevent horizontal overflow */
section {
  overflow-x: hidden;
}

/* Premium Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-delay-100 {
  animation-delay: 0.1s;
  opacity: 0;
}

.animate-delay-200 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-delay-300 {
  animation-delay: 0.3s;
  opacity: 0;
}

.animate-delay-400 {
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-delay-500 {
  animation-delay: 0.5s;
  opacity: 0;
}

/* Bootstrap customizations - Override Bootstrap's default blue */
:root {
  --bs-primary: #EC2224 !important;
  --bs-secondary: #1E1E1E;
  --bs-light: #f8f9fa;
  --bs-dark: #1E1E1E;
}

/* Force all button colors to red */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  background-color: #EC2224 !important;
  border-color: #EC2224 !important;
  color: white !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: white !important;
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #EC2224 !important;
  border-color: #EC2224 !important;
  background-color: white !important;
  box-shadow: none !important;
}

.btn-outline-primary:hover {
  background-color: #EC2224 !important;
  border-color: #EC2224 !important;
  color: white !important;
}

.text-primary {
  color: #EC2224 !important;
}

.bg-primary {
  background-color: #EC2224 !important;
}

/* Force override for all primary background variations */
.bg-primary,
.bg-primary-*,
[class*="bg-primary"] {
  background-color: #EC2224 !important;
}

/* Override Bootstrap's CSS custom properties */
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgba(236, 34, 36, var(--bs-bg-opacity)) !important;
}

/* Additional button overrides */
a.btn-primary,
button.btn-primary,
input.btn-primary {
  background-color: #EC2224 !important;
  border-color: #EC2224 !important;
  color: white !important;
}

a.btn-outline-primary,
button.btn-outline-primary,
input.btn-outline-primary {
  color: #EC2224 !important;
  border-color: #EC2224 !important;
  background-color: white !important;
}

/* Hero background image */
.hero-bg {
  background-image: image-set(
    url('assets/hero-768.png') type('image/png') 1x,
    url('assets/hero-1280.png') type('image/png') 2x,
    url('assets/hero-1920.png') type('image/png') 3x
  );
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  /* min-height: 70vh; */
}

/* Hero section adjustments */
.hero-section {
  background-color: #000;
  padding: 0px 0 119px 0;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
}

.hero-video-container {
  overflow: hidden;
  background-color: #000;
  width: 100%;
  height: 100%;
}

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

.hero-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 56.25vw; /* 16:9 ratio */
  pointer-events: none;
}

@media (max-aspect-ratio: 16/9) {
  .hero-video-container iframe {
    width: 177.78vh; /* 16:9 ratio */
    height: 100vh;
  }
}

.hero-content {
  min-height: 80vh;
}

/* Hero Badge Styling */
.hero-section .trust-badge {
  background-color: rgb(37, 37, 37);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section .trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-section .trust-badge span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
}

.emergency-banner{
  width: 100%;
  max-width: max-content;
  margin: 0 auto;
  font-size: 18px;
}

/* Custom typography to match design */
h1 {
  font-size: 54px;
  font-weight: bold;
}

h2{
    font-size: 54px;
    font-weight: bold;
    line-height: 118%;
    letter-spacing: -5%;
}

.hero-h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Description Text */
.hero-section .hero-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
}

h3 {
  font-size: 34px !important;
  font-weight: bold !important;
}

h5 {
  color: #1E1E1E;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0%;
  margin: 0;
}

/* Feature description paragraphs */
.feature-description {
  font-weight: 300; /* Light */
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
}

/* Proven Results Section */
.proven-results-section {
  background-image: url('assets/proven_results_bg_1920.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  padding-bottom: 12rem !important;
}

/* Left image in proven results section */
.proven-results-section .col-lg-6:first-child img {
  position: relative;
  z-index: 2;
}

.proven-results-section h2 {
  font-size: 48px;
  font-weight: bold;
  line-height: 114%;
  letter-spacing: -4%;
  color: #1E1E1E;
}

.proven-results-section p {
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -2%;
  color: #434343;
}

/* Testimonial card styling */
.testimonial-card {
  width: 550px;
  min-height: 320px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: -3rem;
  position: relative;
  z-index: 0;
}


.testimonial-arrows{
  margin-top: -20px;
  position: absolute;
  right: 0;
  bottom: -50px;
}
.testimonial-card .stars {
  color: #FFD700;
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  opacity: 0.3;
  color: #6c757d;
}

.testimonial-card blockquote p {
  font-style: italic;
  font-size: 24px;
  font-weight: 500; /* medium */
  line-height: 35px;
  letter-spacing: -3%;
  color: #1E1E1E;
  margin-bottom: 0;
}

.testimonial-card .customer-name {
  font-size: 28px;
  font-weight: 600; /* semi-bold */
  line-height: 149%;
  letter-spacing: -5%;
  color: #1E1E1E;
}

.testimonial-card .customer-title {
  font-size: 20px;
  font-weight: 300; /* light */
  line-height: 161%;
  letter-spacing: -5%;
  color: #1E1E1E;
}

/* Navigation arrows */
.nav-arrow {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.nav-arrow:hover {
  transform: scale(1.1);
}

/* Risk-Free Assessment Banner */
.risk-free-section {
  position: relative;
}

/* Black Feature Strip */
.black-strip-section {
  background-color: #000000;
}
.black-strip {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0;
}
.black-strip-track {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: strip-marquee 25s linear infinite;
}
.black-strip .strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.black-strip .strip-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #EC2224;
}
.black-strip .strip-text {
  font-size: 22px;
  font-weight: 600;
}

@keyframes strip-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.risk-free-section h2 {
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: -4%;
  color: #ffffff;
}

.risk-free-section p {
  font-size: 26px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -2%;
  color: #ffffff;
}

.risk-free-section .check-item {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: #ffffff;
}

/* Risk-Free list layout and icon */
.riskfree-list .li-tick {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 2px;
}

/* CTA benefits tick icon re-use */
.cta-benefits .li-tick {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.cta-benefits .cta-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 8px;
}
.riskfree-list .check-item span {
  display: inline-block;
}

/* Risk-Free buttons */
.risk-free-section .btn {
  border-radius: 5px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.risk-free-section .btn-dark {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.risk-free-section .btn-dark:hover {
  background-color: #111111;
  border-color: #111111;
}
.risk-free-section .btn-outline-light {
  border-width: 2px;
  color: #ffffff;
}
.risk-free-section .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Absolutely Positioned Roof Image */
.roof-image-absolute {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 10;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.roof-image-absolute img {
  height: 120%;
  width: auto;
  object-fit: cover;
  object-position: right bottom;
}

/* Statistics Section */
.stat-number {
  font-size: 94px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: -9%;
  color: #000000;
}

.stat-label {
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -3%;
  color: #1E1E1E;
  margin: 0;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 31px;
  }
}

.stat-divider {
  width: 1px;
  height: 60px;
  background-color: #e9ecef;
  margin: 0 20px;
}

/* Gallery Section */
.gallery-section {
  background-color: #ffffff;
  padding: 5rem 0;
}

.gallery-section h2 {
  font-size: 48px;
  font-weight: bold;
  line-height: 114%;
  letter-spacing: -4%;
  color: #1E1E1E;
}

.gallery-section p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #6c757d;
}

/* Gallery Navigation Buttons */
.gallery-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.gallery-nav-btn:hover {
  transform: scale(1.1);
}

.gallery-nav-btn:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.5;
}

.arrow-icon {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.gallery-nav-btn:disabled .arrow-icon {
  opacity: 0.5;
}

/* Gallery Slider Container */
.gallery-slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.5rem;
  width: 100%;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  pointer-events: auto;
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(236, 34, 36, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

/* FAQ Section */
.faq-section {
  background-image: url('https://res.cloudinary.com/dfpg7wqyu/image/upload/v1761051802/Untitled_design_22_gvm7mk.webp');
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
  min-height: 600px;
  padding-bottom: 15rem !important;
}

@media (min-width: 768px) {
  .faq-section {
    padding-bottom: 30rem !important;
  }
}

.faq-section h2 {
  font-size: 48px;
  font-weight: bold;
  line-height: 114%;
  letter-spacing: -4%;
  color: #1E1E1E;
}

.faq-section p {
  font-size: 20px;
  font-weight: 400;
  line-height: 31px;
  letter-spacing: -2%;
  color: #434343;
}

/* FAQ Container */
.faq-container {
  padding: 2.5rem;
}

/* FAQ Accordion Styling */
.accordion-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  background: none;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background: none;
  border: none;
  padding: 1.5rem 2rem 1.5rem 0;
  font-size: 24px;
  font-weight: 700;
  color: #EC2224;
  line-height: normal;
  box-shadow: none;
  text-align: left;
  position: relative;
}

.accordion-button:not(.collapsed) {
  background: none;
  color: #EC2224;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
  background: none;
}

.accordion-button::after {
  content: '+';
  font-size: 24px;
  font-weight: bold;
  color: #E31E24;
  background-image: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  color: #E31E24;
  background-image: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-body {
  padding: 0 0 1.5rem 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  color: #000000;
}

/* FAQ Images Container */
.faq-images-container {
  position: relative;
  height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.faq-images-container img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0 80%);
}

/* Footer Section */
.footer-section {
  background-color: #000000;
  color: white;
  padding: 6rem 0 1rem 0;
}

body[data-page="home"] .footer-section {
  padding-top: 18rem;
}

body[data-page="areas"] .footer-section {
  padding-top: 18rem;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

.footer-tagline {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
}

.footer-credentials {
  font-size: 14px;
  color: #cccccc;
  margin: 0;
}

.footer-heading {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #E31E24;
  text-decoration: none;
}

.footer-text {
  color: #cccccc;
  font-size: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-icon {
  color: #E31E24;
  margin-right: 0.75rem;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-copyright {
  color: #cccccc;
  font-size: 14px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.social-icon {
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.footer-social-link:hover .social-icon {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(350deg);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.footer-legal-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: #E31E24;
  text-decoration: none;
}

.footer-separator {
  color: #666666;
  font-size: 14px;
}

/* Red Call-to-Action Box */
.cta-section {
  position: relative;
  z-index: 10;
  margin-top: -150px;
  margin-bottom: -175px;
}

.cta-box {
  background-color: #E31E24;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.cta-title {
  color: white;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: white;
  font-size: 18px;
  margin-bottom: 2rem;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-benefit-item {
  display: flex;
  align-items: center;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.cta-check-icon {
  color: white;
  margin-right: 0.5rem;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-call-btn {
  background-color: #E31E24;
  border: 2px solid white;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-call-btn:hover {
  background-color: white;
  color: #E31E24;
  border-color: white;
}

.cta-question-btn {
  background-color: white;
  border: 2px solid white;
  color: #1E1E1E;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-question-btn:hover {
  background-color: #f8f9fa;
  color: #1E1E1E;
  border-color: #f8f9fa;
}

/* Services Section */
#services {
  background-image: url('assets/sevices-bg.jpg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 600px;
}

.services-left-bg {

  min-height: 600px;
  display: flex;
  align-items: center;
}

.services-left-bg h2 {
  font-size: 48px;
  font-weight: bold;
  line-height: 114%;
  letter-spacing: -4%;
  color: white;
}

.services-left-bg h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0%;
  color: white;
}

.services-left-bg p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0%;
  color: white;
}

/* Service Cards */
.service-card {
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Left Column - Positioned higher, extends above background */
.col-md-6:first-child {
  z-index: 2;
}
#services .col-md-6:first-child {
  margin-top: -50px;}
/* Right Column - Positioned lower, extends below background */
#services .col-md-6:last-child {
  margin-top: 50px;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Emergency Card (Red Background) */
.emergency-card {
  background-color: #E31E24;
}

.emergency-card .service-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.emergency-card .service-icon .service-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: .5rem;
}

.emergency-card h4 {
  color: white;
  font-size: 25px;
  font-weight: bold;
  line-height: 28px;
  letter-spacing: 0%;
}

.emergency-card p {
  color: white;
  font-size: 16px;
  font-weight: 250;
  line-height: 19px;
  letter-spacing: 0%;
}

/* White Cards */
.white-card {
  background-color: white;
}

.white-card .service-icon.red-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.white-card .service-icon.red-icon .service-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: .5rem;
}

.white-card h4 {
  color: #1E1E1E;
  font-size: 25px;
  font-weight: bold;
  line-height: 28px;
  letter-spacing: 0%;
}

.white-card p {
  color: #1E1E1E;
  font-size: 16px;
  font-weight: 250;
  line-height: 19px;
  letter-spacing: 0%;
}


/* Global paragraph styles */
p {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 400; /* Regular */
  font-size: 20px;
  line-height: 31px;
  letter-spacing: -2%;
  color: #6B7280; /* Neutral/grey color */
}

/* White paragraph for hero section */
p.text-white-50 {
  color: white !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 400; /* Regular */
  font-size: 20px;
  line-height: 31px;
  letter-spacing: -2%;
}

/* Navigation Font Styling */
.nav-link {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  color: #374151;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.625rem 1rem !important;
}

/* Regular nav links (not dropdowns) */
.nav-item:not(.dropdown) .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: #EC2224;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-item:not(.dropdown) .nav-link:hover {
  color: #EC2224;
}

.nav-item:not(.dropdown) .nav-link:hover::after {
  width: 60%;
}

/* Dropdown nav links - cleaner style */
.nav-link.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem !important;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.nav-link.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: all 0.25s ease;
  vertical-align: middle;
}

.nav-link.dropdown-toggle:hover {
  color: #EC2224;
  background-color: rgba(236, 34, 36, 0.05);
}

.dropdown.show .nav-link.dropdown-toggle {
  color: #EC2224;
  background-color: rgba(236, 34, 36, 0.08);
}

.dropdown.show .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-link:focus {
  color: #EC2224;
  outline: none;
}

.nav-link.active {
  color: #EC2224;
  font-weight: 700;
}

/* Dropdown menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 0.75rem;
  margin-top: 1rem;
  background: white;
  backdrop-filter: blur(10px);
  animation: slideDown 0.3s ease;
  overflow: hidden;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dropdown menu items */
.dropdown-item {
  font-size: 15px;
  color: #374151;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #EC2224;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #EC2224;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(236, 34, 36, 0.08), transparent);
  transform: translateX(5px);
  padding-left: 1.25rem;
}

.dropdown-item:hover::before {
  transform: scaleY(1);
}

/* Navigation CTA Buttons */
.navbar .btn-outline-primary {
  border: 2px solid #E5E7EB;
  color: #374151;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .btn-outline-primary:hover {
  background-color: #EC2224 !important;
  border-color: #EC2224 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 34, 36, 0.3);
}

.navbar .btn-primary {
  background: linear-gradient(135deg, #EC2224, #DC143C);
  border: none;
  color: white;
  font-weight: 700;
  padding: 0.625rem 1.75rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(236, 34, 36, 0.3);
  position: relative;
  overflow: hidden;
}

.navbar .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.navbar .btn-primary:hover::before {
  left: 100%;
}

.navbar .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 34, 36, 0.4);
}

/* Header action buttons */
.header-actions {
  flex-wrap: wrap;
}

.nav-call-button {
  font-weight: 600;
  border-width: 2px;
}

.nav-call-number {
  display: none;
  font-weight: 700;
  color: #111827;
}

@media (max-width: 991.98px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 1rem;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-call-button {
    background: #F9FAFB !important;
    border-color: #E5E7EB !important;
    color: #111827 !important;
    box-shadow: none;
    padding: 0.75rem 1rem;
  }

  .nav-call-button i {
    color: #EC2224;
    margin-right: 0.5rem;
  }

  .nav-call-label {
    display: none;
  }

  .nav-call-number {
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .header-actions {
    justify-content: flex-end;
  }

  .nav-call-number {
    display: none;
  }
}

/* Language Dropdown Styling */
.btn-outline-secondary {
  border: 2px solid #E5E7EB;
  color: #374151;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.btn-outline-secondary:hover {
  background-color: #F9FAFB;
  border-color: #D1D5DB;
  color: #1F2937;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-dropdown {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: none;
  background-color: white;
  color: #1E1E1E;
  font-size: 16px;
  font-weight: 400;
}

.language-dropdown:hover {
  background-color: #f8f9fa;
}

.flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.language-separator {
  color: #9ca3af;
  margin: 0 0.2rem;
  font-size: 14px;
}

.language-text {
  font-weight: 500;
  color: #1E1E1E;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
}

.dropdown-item .flag-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
}

.dropdown-item .language-separator {
  margin: 0 0.25rem;
  font-size: 12px;
}

/* Navbar Header Styling */
header.sticky-top {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

header.sticky-top .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Navbar items alignment */
.navbar-nav {
  gap: 0.25rem;
}

/* Mobile menu button */
.navbar-toggler {
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background-color: #F9FAFB;
  border-color: #EC2224;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(236, 34, 36, 0.1);
}

/* Form background pattern */
.form-bg {
  background: white;
  background-image: url('assets/bg_white.png');
  background-repeat: repeat;
  background-size: auto;
  padding: 2.5rem 3rem 3rem 3rem !important;
  border-radius: 10px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-bg:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.form-bg h3 {
  font-weight: 800 !important;
  color: #111827;
  letter-spacing: -0.02em;
}

.form-bg .text-muted {
  color: #6B7280 !important;
  font-weight: 500;
}

/* Emergency Banner */
.emergency-banner {
  border-radius: 10px !important;
  font-weight: 800 !important;
  padding: 0.875rem 1.75rem !important;
  box-shadow: 0 6px 16px rgba(236, 34, 36, 0.3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}

.emergency-banner span {
  letter-spacing: 0.15em;
  display: block;
}

/* Form Label Styling */
.form-label {
  font-size: 15px;
  color: #111827;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  font-size: 12px;
}

/* Other Service Container Animation */
#otherServiceContainer {
  transition: all 0.3s ease;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-label .text-primary {
  font-size: 14px;
}

/* Form Input Placeholder Styling */
.form-control::placeholder,
.form-select::placeholder {
  font-size: 15px;
  color: #9CA3AF;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  opacity: 1;
}

/* Form Input and Select Styling */
.form-control,
.form-select,
textarea.form-control {
  font-size: 15px;
  color: #111827;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.875rem 1.125rem;
  transition: all 0.25s ease;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.form-control:hover,
.form-select:hover,
textarea.form-control:hover {
  border-color: #D1D5DB;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #EC2224;
  box-shadow: 0 0 0 4px rgba(236, 34, 36, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
  outline: none;
  background-color: #FFFFFF;
}

/* Form Submit Button */
.form-bg .btn-primary {
  padding: 1rem 2rem;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(236, 34, 36, 0.35);
  border: none;
  position: relative;
  overflow: hidden;
}

.form-bg .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 34, 36, 0.4);
}

.form-bg .btn-primary:active {
  transform: translateY(0);
}

/* Optional: reduce badge rounding to match design */
.review-badge {
  border-radius: 0.5rem;
}

/* ===========================================
   RESPONSIVE DESIGN - DESKTOP FIRST APPROACH
   =========================================== */

/* Default styles are for desktop (1320px and up) */
.hero-section {
  background-color: white;
}

/* Desktop (up to 1319px) */
@media (max-width: 1319px) {
  .testimonial-card{
    margin-left: -2.5rem;
  }
  .hero-h1 {
    font-size: 54px;
  }
  
  h2 {
    font-size: 48px;
  }
  
  .proven-results-section h2,
  .risk-free-section h2,
  .faq-section h2,
  .services-left-bg h2,
  .gallery-section h2 {
    font-size: 42px;
  }
  
  .proven-results-section {
    padding-bottom: 7rem !important;
  }
}

/* Large Tablet and small Desktop (up to 1199px) */
@media (max-width: 1199px) {
  #services
  {
  background-color: #006373;
  } 
  .hero-h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 42px;
  }
  
  .proven-results-section h2,
  .risk-free-section h2,
  .faq-section h2,
  .services-left-bg h2,
  .gallery-section h2 {
    font-size: 36px;
  }
  
  .hero-content {
    min-height: 70vh;
  }
  
  .testimonial-card {
    width: 400px;
    min-height: 260px;
  }
  
  .gallery-image {
    height: 350px;
  }
  
  .gallery-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

/* Tablet (up to 991px) */
@media (max-width: 991px) {
  .hero-bg {
    background-size: cover;
  }
  .services-left-bg{
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-h1 {
    font-size: 42px;
  }
  
  h2 {
    font-size: 36px;
  }
  
  .proven-results-section h2,
  .risk-free-section h2,
  .faq-section h2,
  .services-left-bg h2,
  .gallery-section h2 {
    font-size: 32px;
  }
  
  .hero-content {
    min-height: 60vh;
  }
  
  .testimonial-card {
    width: 350px;
    min-height: 240px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .gallery-image {
    height: 300px;
  }
  
  .gallery-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
  
  .gallery-nav-btn {
    width: 45px;
    height: 45px;
  }
  
  
}

/* Mobile Large (up to 767px) */
@media (max-width: 767px) {
  .roof-image-absolute{
    display: none;
  }

  #services {
    background-image: none !important;
    background-color: #4DA6B8 !important;
  }

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

  h2 {
    font-size: 32px;
  }

  .proven-results-section h2,
  .risk-free-section h2,
  .faq-section h2,
  .services-left-bg h2,
  .gallery-section h2 {
    font-size: 28px;
  }

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

  .hero-content {
    min-height: 70vh;
  }
  .hero-bg {
    background-size: cover;
  }

  /* Video remains visible on mobile */
  .hero-video-container video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .testimonial-card {
    width: 100%;
    min-height: 220px;
    margin-left: 0;
  }

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

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

  .cta-benefits {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .gallery-image {
    height: 250px;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }

  .gallery-nav-btn {
    width: 40px;
    height: 40px;
  }

  .emergency-banner {
    padding: 0.75rem 1rem !important;
    width: 100%;
    max-width: 100%;
  }

  .emergency-banner span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .hero-section .trust-badge {
    padding: 0.75rem 1.5rem;
    width: auto;
    max-width: 95%;
  }

  .hero-section .trust-badge span {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  /* Mobile navigation styling */
  .navbar-collapse {
    background: white;
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .nav-link {
    padding: 1rem !important;
    border-radius: 8px;
    margin-bottom: 0.25rem;
  }

  .nav-link:hover {
    background: rgba(236, 34, 36, 0.05);
  }

  .navbar .btn-primary,
  .navbar .btn-outline-primary {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
  #services {
    background-image: none !important;
    background-color: #4DA6B8 !important;
  }

  .hero-h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .proven-results-section h2,
  .risk-free-section h2,
  .faq-section h2,
  .services-left-bg h2,
  .gallery-section h2 {
    font-size: 24px;
  }
  
  .emergency-banner {
    padding: 0.65rem 0.75rem !important;
    width: 100%;
    max-width: 100%;
  }

  .emergency-banner span {
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }

  /* Video remains visible on small mobile */
  .hero-video-container video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-content {
    min-height: 60vh;
  }

  .hero-section .trust-badge {
    padding: 0.7rem 1.25rem;
    width: auto;
    max-width: 95%;
  }

  .hero-section .trust-badge span {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  
  .testimonial-card {
    width: 100%;
    min-height: 200px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .cta-benefits {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-section {
    padding: 5rem 0 1rem 0;
  }

  body[data-page="home"] .footer-section {
    padding-top: 10rem;
  }

  body[data-page="areas"] .footer-section {
    padding-top: 10rem;
  }

  .cta-section {
    margin-top: -100px;
    margin-bottom: -125px;
  }
  
  .cta-box {
    padding: 2rem 1.5rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .gallery-nav-btn {
    width: 35px;
    height: 35px;
  }
  
  
  
  .gallery-section {
    padding: 3rem 0;
  }
}

/* ===== PREMIUM ANIMATION ENHANCEMENTS ===== */

/* Smooth Card Hover Effects */
.card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Premium Button Ripple Effect */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:active {
  transform: scale(0.97);
}

/* Service Card Hover Animation */
.service-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Stat Numbers Pulse */
.stat-number {
  transition: all 0.3s ease;
}

.stat-number:hover {
  transform: scale(1.05);
  color: #EC2224;
}

/* Gallery Item Smooth Zoom */
.gallery-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Accordion Smooth Transitions */
.accordion-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(to right, rgba(236, 34, 36, 0.05), transparent);
}

/* Form Input Focus Effects */
.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(236, 34, 36, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Icon Hover Effects */
i {
  transition: all 0.3s ease;
}

/* Footer Social Icons Premium Hover */
.footer-social-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Navigation Link Active State Enhancement */
.nav-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
