/*!
Theme Name: Oklahoma Home Inspection & Pest Control
Theme URI: https://oklahomahomeinspection.com/
Author: Afaq Khalid
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Oklahoma Home Inspection & Pest Control
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  box-sizing: border-box;
  text-decoration: none !important;
}

.scroll-arrow {
  position: fixed;
  bottom: 6rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e32f2c;
  color: white;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  font-size: 1.4rem;
  opacity: 0.9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.left-arrow {
  left: 5rem;
}

.right-arrow {
  right: 5rem;
}

.page-label {
  font-size: 1rem;
  font-weight: 500;
}

.primary-color {
  background-color: #f6e2e2b9;
}

/* Typography - Professional Styling */
.typography-heading {
  font-family: "Poppins", sans-serif;
  /* Modern, clean */
  font-weight: 700;
  /* Bold for impact */
  letter-spacing: 0.5px;
}

.typography-subheading {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.typography-body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  /* Enhances readability */
}

.typography-small {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.custom-btn-hover:hover {
  color: white !important;
  background-color: #a00920;
  border-color: #a00920;
  transform: translateX(2px);
  transition: transform 0.3s ease;
}

.pages-top-margin {
  margin-top: 6rem;
}
@media (max-width: 992px) {
  /* md and below */
  .pages-top-margin {
    margin-top: 4rem !important;
  }
}

/* Next Button */
/* Next Button */
.btn:active,
.btn.active,
.btn:focus,
.btn:focus-visible,
.btn:visited,
.btn:target,
.btn:focus-within {
  color: #ffffff !important;
  background: #e32f2c !important;
  border-color: #e32f2c !important;
  box-shadow: none !important;
}


.btn {
  color: #ffffff;
  font-size: 1.2rem !important;
  background: #e32f2c;
  padding: 10px 25px !important;
  font-weight: 600;
  /* text-transform: uppercase; */
  transition: transform 0.4s ease-in-out; /* Apply transition on base class */
}

.btn:hover {
  transform: scale(1.04) !important;
  transition: 0.3s ease !important ;
}

.next-previous-btn {
  background: #e32f2c;
  border-color: #e32f2c;
  font-size: 1.2rem !important;
  padding: 10px 25px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  color: #ffffff;
  transition: transform 0.4s ease-in-out; /* Apply transition on base class */
}

.next-previous-btn:hover {
  background-color: #a00920;
  border-color: #a00920;
  transform: scale(1.04) !important;
  transition: 0.3s ease !important ;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
  .next-previous-btn {
    font-size: 1rem !important;
    padding: 8px 20px;
  }
  #contactSubmitBtn:hover {
    background-color: #a00920;
    border-color: #a00920;
    transform: translateY(-2px); /* Moves button up visually */
  }
}

/* Small devices (phones, 576px and below) */
@media (max-width: 576px) {
  .next-previous-btn {
    font-size: 0.9rem !important;
    padding: 6px 15px;
  }
  #contactSubmitBtn:hover {
    background-color: #a00920;
    border-color: #a00920;
    transform: translateY(-2px); /* Moves button up visually */
  }
}
#contactSubmitBtn {
  margin-top: 2rem;
}
#contactSubmitBtn:hover {
  background-color: #a00920;
  border-color: #a00920;
  transform: translateY(-2px); /* Moves button up visually */
}

/* navbar*/

/* on click dropdown menu active  */
/* top navbar */
.custom-mx-responsive {
  margin-left: 6rem;
  margin-right: 6rem;
}

@media (max-width: 1200px) {
  .custom-mx-responsive {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

@media (max-width: 1000px) {
  .custom-mx-responsive {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (max-width: 768px) {
  .custom-mx-responsive {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 576px) {
  .custom-mx-responsive {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}

.stickyHeader {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw; /* Ensures it never overflows */
  max-width: 100vw;
  overflow-x: visible;
  transition: transform 0.4s ease;
  z-index: 1000;
  background-color: #fff;
}

.stickyHeader.hide-up {
  transform: translateY(-100%);
}


/* Responsive adjustments */
@media (max-width: 992px) {
  .stickyHeader {
    padding: 0 0rem;
  }

  /* Adjust body padding for mobile */
  body {
    padding-top: 0;
  }
}

/* Ensure content doesn't overflow on mobile */
@media (max-width: 767.98px) {
  body {
    padding-top: 0;
  }
}

@media (max-width: 992px) {
  .hide-below-992 {
    display: none !important;
  }
}

.topnav {
  background-color: #d5d5d5;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .dropdown-menu[data-bs-popper] {
    left: -50% !important;
    margin-top: 0 !important;
  }
}

/* navbar-animation  */
/* Initial Navbar Styles */
.navbar {
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}


/* Top Navbar */

.top-nav {
  background-color: #f8f9fa;
  font-size: 0.9rem;
}

.contact-number span {
  margin-right: 1rem;
}

.contact-number i {
  color: #e32f2c;
  margin-right: 0.5rem;
}

.social-link a {
  transition: all 0.3s ease;
}

.social-link a:hover {
  color: #e32f2c !important;
  transform: translateY(-2px);
}

/* Main Navbar */
.navbar-brand {
  padding: 0;
}
.navbar-brand svg {
  width: 300px;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: #212529;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  /* content: ''; */
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #e32f2c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: #e32f2c;
}

/* Dropdown Menu */
/* Dropdown Menu Hover Behavior */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  font-weight: 500;
  min-width: 20rem;
  left: -50%;
  background-color: #fff;
  margin: 1rem;
  overflow: hidden;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  /* border-radius: 6px; */
  transition: all 0.2s ease;
}

.dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.2s ease;
}
* .dropdown-item:hover {
  background-color: #e32f2c;
  color: #fff;
  transform: none;
}

@media (max-width: 1200px) {
  .navbar-nav {
    display: flex !important;
    gap: 0 !important;
  }

  .btn {
    padding: 10px 10px !important;
    /* width: 250px !important; */
    height: auto !important;
  }
  a.nav-link {
    margin: 0 !important;
  }
}

/* Mobile Navbar */
@media (max-width: 991px) {
  /* Ensure the collapse container is aligned to left */
  .navbar-collapse {
    height: 100vh;
    transition: height 0.5s ease, opacity 0.4s ease;
    /* margin-top: 1rem; */
    display: flex;
    align-items: flex-start;
    width: 100%;
    background: #e6e6e6;
    padding: 0 1rem;
    /* border-radius: 8px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    min-width: 100% !important;
    transform: translateY(10px);
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: none;
    position: static !important;
  }

  .dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) !important;
    min-width: fit-content !important;
  }

  /* If needed, force nav-items to display as block items */
  .navbar-nav {
    width: 100%;
    gap: 0 !important;
  }

  /* .nav-item {
    margin: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  } */

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

  .nav-link {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link::after {
    display: none;
  }

  a.nav-link {
    margin-top: 1rem;
  }

  .dropdown-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    color: #212529;
    transition: all 0.2s ease;
  }

  .dropdown-item:hover {
    background-color: #e32f2c;
    color: #fff;
  }

  Mobile Toggle Button .navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggler .navbar-toggler-icon:before,
  .navbar-toggler .navbar-toggler-icon:after,
  .navbar-toggler .navbar-toggler-icon {
    width: 100%;
    height: 2px;
    background-color: #212529;
    display: block;
    position: absolute;
    left: 0;
    content: "";
    transition: all 0.3s ease;
  }

  .navbar-toggler .navbar-toggler-icon:before {
    top: -8px;
  }

  .navbar-toggler .navbar-toggler-icon:after {
    bottom: -8px;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Small Screen Adjustments */
@media (max-width: 576px) {
  .top-nav {
    font-size: 0.8rem;
  }

  .contact-number span {
    margin-right: 0.5rem;
  }

  .logo {
    height: 50px;
  }
}

/* Remove Bootstrap Dropdown Caret */
.navbar-nav .dropdown > a::after {
  display: none !important;
}

.nav-link:hover {
  color: #e32f2c;
}

.contact-number {
  font-size: 1rem !important;
}

.social-link i {
  font-size: 1.5rem;
  /* Increase value as needed */
}

.social-link i:hover {
  color: #e32f2c;
  transform: scale(1.1);
  transition: 0.3s ease;
}

a.nav-link {
  opacity: 0.8;
  color: black;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 7px;
}

span.mr-md-3 {
  padding-right: 1rem;
}

.logo {
  height: 70px;
}

.banner-heading{
  font-size: 3.5rem
}

@media (max-width: 992px) {
  .banner-heading {
    margin-bottom: 2rem;
  }
  
}


.fw-bold {
  line-height: 1.5;
  font-weight: 700 !important;
}

.me-2 {
  margin-top: -2%;
  margin-right: 0.5rem !important;
}

/* Show dropdown on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
  /* optional: remove upward offset */
  animation: fadeIn 0.3s ease-in-out;
}

/* Optional fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section  */
/* Hero Section  */
/* Hero Section  */

@media (max-width: 575.98px) {
  .remove-padding-sm {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 992.98px) {
  .remove-padding-sm {
    /* margin-top: 4rem; */
  }
}

p.with-sidebar {
  font-size: 1.5rem;
  margin: 2rem 0px 0px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  font-weight: 600;
  position: relative;
  padding-left: 20px;
  /* Space for the sidebar */
}

.sidebar {
  content: "";
  background: red;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0;
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* Maintain 16:9 Aspect Ratio */
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

/* Responsive Iframe */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

@media (max-width: 1400px) {
  .hero-wraper {
    padding: 0 1rem !important;
  }
}

@media (min-width: 993x) {
  .hero-wraper {
    margin: 3rem 1rem !important;
  }
}

.hero-wraper {
  padding: 0 5rem;
}

@media (max-width: 1550px) {
  .hero h1 {
    font-size: 2.9rem;
  }
  .col-lg-6.text-center {
    padding: 0 2rem;
  }
}

@media (max-width: 1700px) {
  p.with-sidebar {
    max-width: 650px;
    font-size: 1.4rem !important;
  }
}

@media (max-width: 1551px) {
  p.with-sidebar {
    font-size: 1.2rem !important;
  }
}

p.with-sidebar {
  max-width: 680px;
}

iframe {
  width: 100%;
  height: 500px;
  opacity: 0.9;
}

.airforce-logo {
  /* Default size */
  margin-top: -1%;
  height: 44px;
  width: auto;
  vertical-align: middle;
  /* Aligns it properly with text */
}

/* Hero Section Gradient (Currently Disabled) */
.hero {
  background: linear-gradient(117deg, #ff0025, #000);
  min-height: 90vh;
  padding-top: 120px;
}

/* Add a dark overlay for better text contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Adjust transparency (0.6 = 60% dark) */
}

.container-fluid {
  --bs-gutter-x: 0;
}

/* Ensure text stays on top */
.hero .container-fluid {
  position: relative;
  z-index: 1;
}

/* section-three custom styling   */

.bg-light {
  opacity: 0.9;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

h4 {
  font-size: 22px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================= */
/*   Pixel-Perfect Feature Box   */
/* ============================= */
.feature-box {
  background: #f8f9fa !important;
  /* Light grey to make it visible */
  border: 1px solid #ddd;
  /* Add a border to check if it's hidden */
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box i {
  font-size: 2rem;
  margin-bottom: 10px;
  /* transition: transform 0.3s ease; */
}

.feature-box h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Hover effect */
.why-choose-us .feature-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
  /* Light gray background */
  color: #e32f2c;
  /* Change text color */
}

/* ============================= */
/*      Row Stretch for Boxes    */
/* ============================= */
@media (min-width: 768px) {
  .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .col-md-4 {
    display: flex;
    /* justify-content: center; */
  }

  .feature-box {
    width: 100%;
  }
}

.icon {
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.review-icon {
  width: 60px;
  height: 60px;
  background-color: #fff0f0;
  color: #e32f2c !important;
  /* Bootstrap danger red */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.review-icon:hover {
  transform: scale(1.1);
}

/*  Responsiveness */
/* Responsiveness*/
/* Responsiveness */

/* ================================================== */
/*                RESPONSIVE STYLES                 */
/* ================================================== */

/* Breakpoint: max-width 1400px */

@media (max-width: 1400px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p.lead {
    font-size: 1.4rem;
  }

  iframe {
    height: 470px;
  }
}

/* Breakpoint: max-width 1200px */
@media (max-width: 1200px) {
  .logo {
    height: 65px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  iframe {
    height: 470px;
  }
}

/* Breakpoint: max-width 991px (Tablets) */
@media (max-width: 991px) {
  .logo {
    height: 65px;
    /* Same as 1200px if needed */
  }
  .video-wrapper {
    margin-bottom: 5rem;
  }

  .contact-number {
    font-size: 0.875rem;
    /* Reduced font size */
  }

  .hero p.lead {
    font-size: 1.4rem !important;
    margin: auto;
  }

      .hero h1 {
        font-size: 2.5rem !important;
    }

  iframe {
    height: 430px;
  }
}

/* Breakpoint: max-width 768px (Landscape Phones / Smaller Tablets) */
@media (max-width: 768px) {
  .logo {
    height: 55px;
  }

  .contact-number {
    font-size: 0.875rem;
    /* Remains the same as 992px */
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p.lead {
    font-size: 1.2rem;
  }

  iframe {
    height: 380px;
  }

  .airforce-logo {
    height: 30px;
  }
}

/* Breakpoint: max-width 576px (Portrait Phones) */
@media (max-width: 576px) {
  .logo {
    height: 50px;
  }

  .contact-number {
    font-size: 0.75rem;
    /* Further reduced font size */
    text-align: left;
  }

  .social-link {
    text-align: right;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.5;
  }

  .hero p.lead {
    font-size: 1.1rem;
  }

  iframe {
    height: 350px;
  }

  .airforce-logo {
    height: 25px;
  }
}

/* Breakpoint: @media (max-width: 575.98px) (Ultra Small Screens) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem !important;
    padding: 1rem 0
  }

  .hero p.lead {
    font-size: 1rem !important;
  }

  iframe {
    height: 250px;
  }
}

/* CTA */

.hero-button {
  font-size: 1.3rem !important;
  color: #ffffff;
  background: #e32f2c;
  padding: 10px 25px !important;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
}

/* Thank you for serving   */

.thank-you-section {
  padding: 0;
  background: linear-gradient(135deg, #e32f2c, #000);
}

/* Left Box - Text Section */
.left-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 10px;
  color: white;
}

/* Right Box - Image */
.right-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.image-wrap {
  width: 80%;
  max-width: 300px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.image-wrap img {
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.image-wrap:hover img {
  transform: scale(1.1);
}

/* Headings */
h2,
h3 {
  /* text-transform: uppercase; */
  font-weight: bold;
  padding: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .left-box,
  .right-box {
    padding: 30px;
    text-align: center;
  }
}

.why-choose-us,
.thank-you-section {
  position: relative;
  z-index: 1;
  /* Ensures proper stacking */
}

.why-choose-us {
  min-height: 100vh;
}

/* review section */

.review-box .icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: rgb(187, 10, 36);
  /* Default danger color */
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.review-box .icon:hover {
  transform: scale(1.1);
  /* Slight zoom effect */
}
html, body {
  overflow-x: hidden !important;
}


/* General Styling */
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  width: 100% !important;
  padding-top: 0 !important; /* Will be adjusted by JS */
}

/* Header Section */
.inspector-header {
  text-align: center;
  padding: 50px 0;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

/* Home Animation */
.home-animation {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* Floating Animation */
@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0);
  }

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

.divider {
  width: 80px;
  height: 4px;
  background: #e32f2c;
  margin: 15px auto;
}

.intro-text {
  font-size: 1.2rem;
  color: #555;
  max-width: 750px;
  margin: auto;
  line-height: 1.8;
  font-weight: 400;
}

/* Reviews Section */
.reviews-section {
  padding: 70px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

.ratings {
  margin: 20px 0;
}

.rating-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

/* Feature Grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.review-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.review-box:hover {
  transform: translateY(-10px) scale(1.03) !important;
  transition: all 0.4s ease !important;
}

.review-box .icon {
  font-size: 2rem;
  /* Adjust icon size */
  color: #e32f2c;
  /* Red for important icons */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Use black color for alternate icons */
.review-box:nth-child(even) .icon {
  color: #212529;
  /* Black */
}

.review-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #212529;
  /* Black */
}

.review-box p {
  font-size: 1rem;
  color: #555;
  font-weight: 400;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .main-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* prining section  */

line-height {
  line-height: 2;
}

/* Schedule inspection  */
/* Fix for select input border after validation */
form#contactForm {
  display: flex;
  flex-direction: column;
  /* align-items: end; */
  width: 100%;
}

.form-select {
  border-color: #dee2e6;
  /* Default border color */
  box-shadow: none !important;
  transition: border-color 0.2s;
}

.form-select.is-invalid {
  border-color: #dc3545 !important;
  /* box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25); */
}

.form-select:not(.is-invalid) {
  border-color: #dee2e6 !important;
  box-shadow: none !important;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step.active {
  background-color: #0d6efd;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* schedule inspection first page  */
/* input[type="date"]:invalid {
  border: 1px solid red !important;
} */
input[type="date"].error {
  border: 1px solid red !important;
}

.section-heading {
  color: #e32f2c;
  font-weight: 700;
}

/* .form-check-label {
  font-weight: 500;
} */

.form-check-input:checked {
  background-color: #e32f2c;
  border-color: #e32f2c;
}

.btn-primary {
  background-color: #e32f2c;
  border-color: #e32f2c;
}

.btn-primary:hover {
  background-color: #a10b1f;
  border-color: #a10b1f;
}

.alert-info {
  background-color: white;
  border-left: 4px solid #e32f2c;
}

/* Schedule Inspection Section Styles */
#schedule-inspection {
  background-color: rgba(246, 246, 246, 0.8);
  padding: 7rem 0;
}

/* Step Indicator */
.steps {
  position: relative;
  padding: 0 30px;
  margin-bottom: 2rem;
}

.step-progress {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.step-progress-bar {
  height: 100%;
  background: #212529;
  transition: width 0.3s ease;
}

.step-items {
  position: relative;
  z-index: 2;
}

.step-item {
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.step-item.active .step-circle {
  border-color: #212529;
  background: #212529;
  color: white;
}

.step-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 0.875rem;
}

.step-item.active .step-label {
  color: #212529;
}

/* realtor custom checkbox */

  /* Optional: increase checkbox size if needed */
  .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem; /* aligns checkbox vertically */
    cursor: pointer;
  }

  /* ✅ Ensures the label is fully clickable */
  .form-check-label {
    cursor: pointer;
    display: inline-block;
    line-height: 1.5;
  }

  /* 👇 Optional: stretches clickable area */
  .stretched-clickable {
    padding-top: 4px;
    padding-bottom: 4px;
  }

/* Custom Alert */
.custom-alert {
  background-color: #ffffff;
  border-left: 4px solid #e32f2c;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.alert-icon {
  color: #e32f2c;
  font-size: 1.25rem;
}

/* Form Elements */
.card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  height: 100%;
  /* Make all cards equal height */
  display: block !important;
  overflow: hidden;
}

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

/* Date and Time Selection */

/* time picker  */

/* Main flatpickr popup */
.flatpickr-calendar.open {
  border: 1px solid #ddd;
  font-family: "Poppins", sans-serif;
  padding: 10px;
}

/* Time input container */
.flatpickr-time {
  justify-content: center;
  padding: 10px 0;
  border-top: 1px solid #eee;
  margin-top: 10px;
  text-align: center;
  max-height: 60px !important;
  padding: 10px;
}

/* Hour and minute inputs */
.flatpickr-time input {
  font-size: 1.8rem;
  padding: 0.4rem;
  border: none;
  background: #f3f3f3;
  width: 60px;
  text-align: center;
  border-radius: 8px;
}

/* Up/down arrows */
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
  font-size: 1.2rem;
  font-weight: 600 !important;
  margin: 0 10px;
}

/* AM/PM button */
.flatpickr-time .flatpickr-am-pm {
  background: #eee;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.flatpickr-am-pm {
  width: 20% !important;
}

.flatpickr-time .flatpickr-am-pm:hover {
  background: #d6c4fc;
}

/* Focus state */
.flatpickr-time input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b79af8;
}

/* Optional: input field style */
#inspectionTime {
  /* font-size: 1.1rem; */
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.row.g-3 {
  height: 100%;
  align-items: stretch;
}

.col-md-6,
.col-md-4,
.col-md-2 {
  display: flex;
  flex-direction: column;
}

/* .input-group {
  height: 100%;
} */

/* Services Grid */
.services-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  height: 100%;
}

.service-compact-card {
  position: relative;
  height: 100%;
}

.service-compact-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  justify-content: center;
}

.service-icon-small {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.service-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
  margin-bottom: 0.5rem;
  text-align: center;
}

.price-small {
  font-size: 0.875rem;
  color: #e32f2c;
  font-weight: 600;
}

.pricing-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* base shadow */
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); /* deeper shadow */
}

/* Service Card States */
.service-compact-label:hover {
  border-color: #e32f2c;
  box-shadow: 0 4px 8px rgba(187, 10, 36, 0.1);
}

.btn-check:checked + .service-compact-label {
  border-color: #e32f2c;
  background: #ffffff;
}

.btn-check:checked + .service-compact-label .service-icon-small {
  color: #e32f2c;
}

/* Recommended Badge */
.recommended-badge {
  border: 1px dashed #e32f2c;
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  min-height: 48px;
  /* Match form control height */
}

.recommended-badge .small {
  color: #212529;
  font-weight: 500;
}

.recommended-badge i {
  margin-right: 0.25rem;
  color: #e32f2c;
}

/* @media  (min-width: 992px){
  .card.h-100.shadow-sm.p-4{
    margin-top: 3rem;
  }
}  */

/* Responsive Adjustments */
@media (max-width: 768px) {
  .services-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
  }

  .service-compact-label {
    padding: 0.75rem;
  }

  .service-name {
    font-size: 0.75rem;
  }

  .price-small {
    font-size: 0.75rem;
  }

  .recommended-badge {
    padding: 0.5rem;
  }
}

/* Enhanced validation feedback for form controls */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #e32f2c !important;
  outline: none !important;
}

/* Time Select Grouping */
optgroup {
  font-weight: 600;
  color: #212529;
}

optgroup option {
  font-weight: normal;
  padding: 0.25rem 0.5rem;
}

/* Form Input Icons */
.small-icon {
  font-size: 0.9rem !important;
  line-height: 1;
  margin: 0;
  /* Remove margin */
}

.input-group {
  align-items: center;
}

.input-group-text {
  background-color: transparent;
  border-right: none;
  color: #212529;
  /* padding: 0.375rem 0.75rem; */
  height: 48px;
  /* Match the height of form controls */
  display: flex;
  align-items: center;
}

.form-control,
.form-select {
  /* border-radius: 4px; */
  font-size: 0.875rem;
  /* border-color: #dee2e6; */
  /* padding: 0.375rem 0.75rem; */
  /* Adjusted padding */
  height: 48px;
  /* Consistent height */
  display: flex;
  align-items: center;
}

text-area.form-select {
  height: auto;
}

/* Ensure input group corners are properly rounded */
.input-group > :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > :last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Services Selection */
.services-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  height: 100%;
}

/* Checkbox Styling */
.btn-check:checked + .service-compact-label {
  border-color: #e32f2c;
  background: #ffffff;
}

.btn-check[value="none"]:checked + .service-compact-label {
  border-color: #212529;
  background: #f8f9fa;
}

.btn-check[value="none"]:checked + .service-compact-label .service-icon-small {
  color: #dc3545;
}

/* Disable other options when None is selected */
.btn-check[value="none"]:checked
  ~ .service-compact-card:not(:last-child)
  .btn-check {
  pointer-events: none;
  opacity: 0.5;
}

/* Color Updates Only */
.form-control:focus,
.form-select:focus {
  border-color: #e32f2c;
  /* box-shadow: 0 0 0 0.2rem rgba(187, 10, 36, 0.15); */
}

/* Light green focus only for optional fields */
.form-control.optional:focus {
  border-color: #198754; /* Bootstrap success green */
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); /* subtle matching glow */
}

.service-compact-label:hover {
  border-color: #e32f2c;
  box-shadow: 0 4px 8px rgba(187, 10, 36, 0.1);
}

.btn-check:checked + .service-compact-label {
  border-color: #e32f2c;
  background: #ffffff;
}

.btn-check:checked + .service-compact-label .service-icon-small {
  color: #e32f2c;
}

.btn-check[value="none"]:checked + .service-compact-label {
  border-color: #212529;
  background: #f8f9fa;
}


.recommended-badge {
  border: 1px dashed #e32f2c;
  background-color: #ffffff;
}

.recommended-badge i {
  color: #e32f2c;
}

/* Step Progress */
.step-progress {
  background: #dee2e6;
}

.step-progress-bar {
  background: #e32f2c;
}

.step-circle {
  background: #ffffff;
  border: 2px solid #dee2e6;
  color: #212529;
}

.step-item.active .step-circle {
  border-color: #e32f2c;
  background: #e32f2c;
  color: #ffffff;
}

.step-label {
  color: #6c757d;
}

.step-item.active .step-label {
  color: #212529;
}

/* Alert and Button */
.custom-alert {
  background-color: #ffffff;
  border-left: 4px solid #e32f2c;
}

.alert-icon {
  color: #e32f2c;
}

.alert-link {
  color: black;
}

.alert-link:hover {
  color: #a00920;
}

/* Date and Time Selection Styles */
.date-input-group,
.time-input-group {
  position: relative;
}

.date-input-group::after,
.time-input-group::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #212529;
  font-size: 0.9rem;
  pointer-events: none;
}

.date-input-group::after {
  content: "\f133";
  /* Calendar icon */
}

.time-input-group::after {
  content: "\f017";
  /* Clock icon */
}

/* .form-control::placeholder {
  color: #6c757d;
  font-size: 0.875rem;
} */

@media (max-width: 992px) {
  .recommended-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .sibling-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Recommended Box Styling */
.recommended-box {
  border: 1px dashed #e32f2c;
  border-radius: 4px;
  background-color: #fff;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.recommended-box div {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 500;
}

.recommended-box i {
  color: #e32f2c;
  margin-right: 4px;
}

/* Column Width Adjustments */
@media (min-width: 768px) {
  .col-md-5 {
    width: 41.666667%;
  }

  .col-md-2 {
    width: 16.666667%;
  }
}

/* Text Styles */
.text-muted.small {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Date Input Group Styles */
.date-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input-group input[type="date"] {
  /* Space for the icon */
  padding-left: 1rem;
  width: 100%;
  height: 48px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #212529;
}

.date-input-group input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  /* Hide the default calendar icon */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.calendar-trigger {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #212529;
  z-index: 2;
}

.calendar-trigger i {
  font-size: 0.9rem;
}

.calendar-trigger:hover {
  color: #e32f2c;
}

.date-input-group input[type="date"]:focus {
  border-color: #e32f2c;
  box-shadow: 0 0 0 0.2rem rgba(187, 10, 36, 0.15);
  outline: none;
}

/* Remove the after pseudo-element since we're using a button now */
.date-input-group::after {
  display: none;
}

/* Form Styles */
.form-step {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
}

.form-step.active {
  opacity: 1;
  transform: translateY(0);
}

.input-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.input-group-text {
  background-color: transparent;
  border: 1px solid #dee2e6;
  border-right: none;
  color: #6c757d;
  padding: 0.375rem 0.75rem;
  height: 48px;
  display: flex;
  align-items: center;
}

.input-group .form-control {
  border-left: none;
}

.input-group .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.input-group .form-control:focus + .input-group-text {
  border-color: #e32f2c;
}

/* Form Labels */

/* Date Input Group */
.date-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input-group input[type="date"] {
  padding-left: 1rem;
  width: 100%;
  height: 48px;
  border: 1px solid #dee2e6;
  font-size: 0.875rem;
  color: #212529;
}

.date-input-group input[type="date"]:focus {
  border-color: #e32f2c;
  box-shadow: 0 0 0 0.2rem rgba(187, 10, 36, 0.15);
  outline: none;
}

/* Time Input Group */
.time-input-group {
  position: relative;
}

/* Small Icons */
.small-icon {
  font-size: 0.875rem;
}

/* Remove all other form control styles that aren't used in schedule-inspection section */

/* 
*
* footer styling
*
 */
/* Footer Styles */
.footer-column {
  margin-bottom: 2rem;
}

.service-coverage {
  padding-left: 0;
}

.footer-title {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #e32f2c;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateX(5px);
}

.icon-wrapper {
  width: 32px;
  height: 32px;
  background: rgba(187, 10, 36, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper i {
  color: #e32f2c;
  font-size: 14px;
}

.contact-info .label {
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-info .value {
  color: #ffffff;
  font-size: 0.9375rem;
}

.associations-grid {
  display: grid;
  gap: 0.75rem;
}

.association-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.association-link:hover {
  transform: translateX(5px);
}

.association-label {
  color: #fff;
  width: 60px;
  font-size: 0.875rem;
}

.association-value {
  color: #ffffff;
  font-size: 0.9375rem;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #e32f2c;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#toggleButton {
  background: #e32f2c !important;
  padding: 5px 10px !important;
  border: none !important;
  border-radius: 3px !important;
  color: white !important;
  font-weight: 500 !important;
}

@media (max-width: 1199px) {
  .heading-footer {
    display: flex !important;
    justify-content: center !important;
  }

  .footer-links {
    justify-content: center !important;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .footer-contact-item {
    flex-direction: row !important;
    /* or whatever your normal style is */
    align-items: flex-start !important;
    /* or stretch/center as needed */
    text-align: left !important;
    /* or right/justify as needed */
  }

  h5.footer-title {
    justify-content: start;
  }

  .footer-column {
    margin-bottom: 2.5rem;
  }

  .footer-title {
    margin-bottom: 1.25rem;
  }

  .footer-links.associations-grid {
    justify-content: start;
    align-items: center;
  }
}

/* Responsive Adjustments */

@media (max-width: 992px) {
  h5.footer-title {
    justify-content: center;
  }

  .footer-column {
    margin-bottom: 2.5rem;
  }

  .footer-title {
    margin-bottom: 1.25rem;
  }

  .footer-links.associations-grid {
    justify-content: start !important;
    align-items: center !important;
  }

  .footer-links {
    display: flex !important;
    justify-content: center !important;
  }
  .service-areas-wrapper {
    margin: 2rem 0;
    padding: 0 1rem;
  }
}

@media (max-width: 767.98px) {
  .footer-column {
    margin-bottom: 2rem;
  }

  .contact-info .value {
    font-size: 0.875rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

.footer-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer-contact-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quick-links {
  align-items: center;
}

/* @media (max-width: 575.98px) {
      .footer-column {
        text-align: center;
        margin-bottom: 2rem;
      }
      
      .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
      }
      
      .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      
      .associations-grid {
        justify-content: center;
      }
      
      .association-link {
        justify-content: center;
      }
      
      .quick-links {
        align-items: center;
      }
      
      .social-links {
        justify-content: center;
      }
    } */

@media (max-width: 399.98px) {
  .footer-title {
    font-size: 1rem;
  }

  .contact-info .value {
    font-size: 0.8125rem;
  }

  .association-label,
  .association-value {
    font-size: 0.8125rem;
  }
}

/* Social Icons */
.social-icons-container {
  justify-content: flex-start;
}

@media (max-width: 992px) {
  .social-icons-container {
    justify-content: center;
  }
}

.hover-danger:hover {
  color: #e32f2c !important;
  transition: color 0.3s ease;
}

.social-icon-link {
  text-decoration: none;
}

.social-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(187, 10, 36, 0.1);
  border: 1px solid rgba(187, 10, 36, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon-wrapper i {
  color: #e32f2c;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icon-link:hover .social-icon-wrapper {
  background: #e32f2c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(187, 10, 36, 0.3);
}

.social-icon-link:hover .social-icon-wrapper i {
  color: white;
}

.service-areas-wrapper {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .service-areas-wrapper {
    text-align: center;
  }
}

.footer-links {
  min-height: 120px;
}

.footer-links a {
  padding: 4px 0;
}

@media (max-width: 992px) {
  .col-lg-3 {
    text-align: center;
  }

  .d-flex.flex-column.gap-2 {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-links {
    min-height: auto;
    margin-bottom: 20px;
  }
}

img.emblem {
  width: 110px;
  margin-right: 1rem;
}

/* Why Choose Us Section */

.why-choose-us {
  padding: 80px 0;
}

.why-choose-us .feature-box {
  background: white;
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.why-choose-us .icon {
  margin-bottom: 1.5rem;
}

.why-choose-us .icon i.text-dark {
  color: #212529 !important;
}

.why-choose-us .icon i.text-danger {
  color: #e32f2c !important;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.why-choose-us h5 {
  color: #212529;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.why-choose-us p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 60px 0;
  }

  .why-choose-us h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .why-choose-us .feature-box {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .why-choose-us h5 {
    font-size: 1rem;
  }

  .why-choose-us p {
    font-size: 0.9rem;
  }
}

/* Animation delay for feature boxes */
.why-choose-us [data-aos]:nth-child(2) {
  transition-delay: 100ms;
}

.why-choose-us [data-aos]:nth-child(3) {
  transition-delay: 200ms;
}

.why-choose-us [data-aos]:nth-child(4) {
  transition-delay: 300ms;
}

.why-choose-us [data-aos]:nth-child(5) {
  transition-delay: 400ms;
}

.why-choose-us [data-aos]:nth-child(6) {
  transition-delay: 500ms;
}

/* Navbar Toggle Button Styling */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after,
.navbar-toggler .navbar-toggler-icon {
  width: 100%;
  height: 2px;
  background-color: #000;
  display: block;
  position: absolute;
  left: 0;
  content: "";
  transition: all 0.3s ease-in-out;
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  bottom: -8px;
}

/* Animation for toggle button */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: translateY(-8px) rotate(-45deg);
}

/* For all Page is img styling  */

/* Default for >= 992px (no changes needed, use your original height) */
.responsive-img {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

/* Below 992px (medium) */
@media (max-width: 992px) {
  .responsive-img {
    height: 350px;
  }
}

/* Below 768px (small) */
@media (max-width: 767.98px) {
  .responsive-img {
    height: 300px;
  }
}

/* Below 576px (extra small) */
@media (max-width: 575.98px) {
  .responsive-img {
    height: 250px;
  }
}

/* Base style (desktop and up) */
.h2 {
  font-size: 2rem;
}

/* Small screens only (below 768px) */
@media (max-width: 767.98px) {
  .h2 {
    font-size: 1.5rem;
  }
}

/* @media (max-width: 1025px) and (min-width: 768px) {
  .btn.typography-heading 
  {
    font-size: 1.3rem !important ;
    padding: 0.8rem 2rem !important;
    font-weight: 600 !important;
  }
} */

.bg-afaq {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 
*
* Radon Testing Styling
*
*/
.radon-section {
  background: #f8f9fa;
  color: #333;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
}

.radon-list {
  padding-left: 1rem;
}

.radon-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #444;
}

.radon-list li strong {
  color: #e32f2c;
  /* red accent */
}

.badge {
  padding: 7px 14px !important;
}

/* FAQ section styling */

.accordion-body:active {
  color: #6f7b8f4a;
}

.accordion-button:not(.collapsed) {
  color: #000000;
  background-color: #ebebeb;
}

.accordion-button:focus {
  box-shadow: none !important;
}

@media (max-width: 778px) {
  .accordion-body.typography-body {
    font-size: 0.9rem !important;
  }

  .accordion-button {
    font-size: 0.9rem !important;
  }
}

/* @media (min-width: 1400px) {
  .faq-section {
    height: auto;
  }
} */

/* @media (max-width: 1399.98px) {
  .faq-section {
    height: 800px;
  }
} */

@media (max-width: 1199.98px) {
  .respnsiveness {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: 1 !important;
  }

  .faq-section {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .footer-column {
    width: 50%;
    float: left;
    clear: none;
  }

  .footer-column:nth-child(odd) {
    clear: left;
  }

  h5.text-uppercase.fs-6.text-white.mb-4.footer-title {
    display: flex;
  }
}

/* Navbar Toggler Icon */
.navbar-toggler {
  transition: all 0.3s ease;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

.navbar-toggler-icon-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

/* Remove Bootstrap background icons and add custom invalid styling */
.form-select.is-invalid,
.was-validated .form-select:invalid,
.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: none !important;
  background-position: unset !important;
  background-repeat: unset !important;
  background-size: unset !important;
  padding-right: 0.75rem !important;
  border-color: #dc3545 !important;
  /* box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important; */
}

#inspectionTimeDisplay.is-invalid {
  border-color: #dc3545 !important;
}

/* Optional: custom focus effect */
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  outline: none !important;
  /* box-shadow: 0 0 0 0.3rem rgba(220, 53, 69, 0.4) !important; */
}

.service-areas-wrapper {
  opacity: 1;
  max-width: 800px;
  font-size: 1rem;
  color: #fff;
  position: relative;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  padding: 1rem;
  background-color: black;
}

@media (max-width: 1200px) {
  .service-areas-wrapper {
    max-width: 500px !important;
  }
}
.locations-text.expanded {
  max-height: 1000px; /* Fully expanded */
}

.toggle-container {
  text-align: right;
  margin-top: 0.5rem;
}

.toggle-btn:hover {
  text-decoration: underline;
}

.locations-text {
  overflow: hidden;
  white-space: pre-wrap;
  transition: max-height 0.3s ease;
}

.locations-text.truncated::after {
  content: "...";
}

@media (max-width: 993px) {
  input#hour,
  #minute {
    padding-left: 1rem;
    height: 6rem;
    width: 4.5rem;
    display: flex;
    font-size: 2rem;
    font-weight: bold;
  }
  div#timePickerPanel {
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    height: 250px;
    width: 100%;
    padding: 1rem 4rem !important;
    opacity: 1;
  }
}

input#hour,
#minute {
  padding-left: 1.4rem;
  height: 6rem;
  width: 6rem;
  display: flex;
  font-size: 2rem;
  font-weight: bolder;
}
.time-container {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.time-label {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: bold;
  color: #333;
}

.time-boxes {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.time-box {
  flex: 1;
  text-align: center;
  margin: 0 8px;
}

.time-input {
  border: 2px solid #6c2bd9;
  border-radius: 6px;
  font-size: 36px;
  font-weight: bold;
  width: 100%;
  height: 80px;
  text-align: center;
}

.time-label-text {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}

.am-pm {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 6rem;
  width: 4rem;
}

.am-pm button {
  flex: 1;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #444;
}

.am-pm button.active {
  background: #b31e28;
  color: white;
  font-size: 1.2rem;
}

.footer-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 20px;
}

.footer-buttons button {
  background: none;
  border: none;
  color: black;
  font-size: 16px !important;
}
button.btn.btn-sm:hover {
  background: none !important;
  color: black;
}

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

.is-invalid {
  border: 1px solid red !important;
}

#timePickerPanel {
  position: fixed !important;
  z-index: 9999 !important;
  background-color: #fff !important;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15) !important;
  opacity: 1;
  animation: fadeIn 0.2s ease-in-out;
}

/* Responsive fix for <992px: inherit width from parent */
@media (max-width: 992px) {
  #timePickerPanel {
    position: static !important;         /* Removes fixed positioning */
    width: 100% !important;              /* Full width of parent */
    max-width: 100% !important;          /* Prevent overflow */
    left: auto !important;
    top: auto !important;
    box-shadow: none !important;         /* Optional: remove shadow for mobile */
    border-radius: 0 !important;         /* Optional: flat edges on mobile */
    z-index: auto !important;            /* Reset if overlapping */
  }
}