/* 🔄 Reset and base styles */
html, body {
  margin: 0; 
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.6;
}

body {
  /* Keeping your specific body background */
  background: linear-gradient(135deg, #fafbfc, #fbfcfd);
  background-size: cover;
  /* NOTE: The color and line-height are inherited from html, body above,
           but including them here is harmless if you need to override. */
}

/* Ensure the body is scrollable and has no conflicting properties */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fafbfc, #fbfcfd);
    background-size: cover;
    color: #222;
    line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */

/* --- HEADER & NAVIGATION --- */


.main-header {
    background-color: #000;
    margin-top: 0; 
    padding-top: 0; 
    width: 100%; /* Ensure it spans the full width */
    display: block; /* Ensure it's treated as a full block element */
}
/* ... rest of your header CSS */


/* This new class provides a clean, high-priority sticky rule */
.sticky-header {
    position: sticky; 
    top: 0; 
    z-index: 1020; 
}

.navbar {
    background-color: #000 !important;
    padding: 0.25rem 1rem;
}

.phone-link {
    color: orange;
    text-decoration: none;
}
.phone-link:hover {
    color: #f8b500;
}




/* Desktop Layout */
/* ✅ Larger navbar text on DESKTOP ONLY */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 1.2rem; /* adjust size (1rem = default) */
    font-weight: 500;  /* optional: makes it a bit bolder */
    letter-spacing: 0.5px; /* optional for clean spacing */
  }
}

@media (min-width: 768px) {
    .navbar {
        position: relative;
    }

    .address-bar {
        background-color: #000;
        color: #fff;
        text-align: center;
        margin-top: 5px;
        padding: 6px 16px;
        font-size: 0.95rem;
    }

    .tagline-bar {
        background-color: orange;
        text-align: center;
        padding: 5px 14px;
    }

    .tagline-bar h2 {
        font-size: 1.4rem;
        padding: 0;
        margin: 0;
        color: #000;
    }

    .navbar-brand {
        margin-right: auto;
    }

    .header-logo-desktop {
        height: 55px;
        width: auto;
        margin-top:1px; /* pushes logo down */
    }

    .nav-link {
        color: white !important;
        font-weight: 500;
        padding: 12px 15px;
        transition: color 0.3s ease;
    }

    .nav-link:hover {
        color: orange !important;
    }

    .dropdown-menu {
        background-color: #111;
        border: none;
        padding: 0;
    }

    .dropdown-item {
        color: white;
        background-color: transparent;
        transition: background-color 0.3s ease;
    }

    .dropdown-item:hover {
        background-color: orange;
        color: #000;
    }
    .hero-header {
       margin-top:165px; }

@media (min-width: 768px) {
  #our-services h2 {
    margin-bottom: 1.5 rem; /* Reduce spacing below heading */
    margin-top: -30px;   /* Optional: pull it up slightly */
  }
}





    /* 🎯 FINAL GUARANTEED FIX: Use CSS Grid to force 2x2 layout and spacing */
    
    /* 1. Apply Grid to the row container */
    #our-services .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Exactly two equal columns */
        gap: 50px; /* Consistent 30px gap between all boxes (horizontal and vertical) */
        margin-left: auto; /* Center the grid (optional, but good practice) */
        margin-right: auto;
        /* Temporarily increased max width for better visualization of 2x2 */
        max-width: 1100px;
    }
    
    /* 2. Remove all conflicting Bootstrap column padding/margin from the children */
    #our-services .col-md-6 {
        /* Set these children elements to occupy a single grid item */
        width: 100%;
        padding: 0 !important; /* Remove all column padding */
        margin: 0 !important;  /* Remove all column margin */
    }

    /* 3. Ensure the service box itself is responsive within the grid cell */
    .service-box {
        margin: 0; /* Remove any previous explicit margin on the box */
        height: 100%; /* Ensure boxes fill the grid cell height */
    }
    
    /* END FINAL GUARANTEED FIX */
}
/* END DESKTOP MEDIA QUERY */

/* ------------------------------------ */
/* --- HERO SECTION (REST OF CSS REMAINS THE SAME) --- */
/* ------------------------------------ */
.hero-header {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.floating-logo-link {
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: block;
  width: 260px; /* Match logo width */
}
/* Resize only Auto Window Tinting logo */
.main-logo-link .hero-logo {
  width: 300px; /* or height: auto; */
}

/* Resize only Paint Protection Film logo */
.paint-logo-link .hero-logo {
  width: 300px;
}

.main-logo-link {
    left: 25%;
    height:600px;
}

.paint-logo-link {
    left: 75%;
    height:600px;
}

.residential-logo-link {
    left: 75%;
    height:50px;
}

.commercial-logo-link{
    left: 25%;
    height:50px;
}



.hero-logo {
    width: 260px;
    height: 300px;
    opacity: 0.85;
    pointer-events: auto;
    transition: filter 0.3s ease;
}

.hero-logo:hover {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}




/* 🔹 Intro Section */
.intro-section {
    position: relative;
    z-index: 1;
    padding: 0.5px 30px;
    background-color: rgb(219, 219, 217);
    text-align: center;
    animation: fadeIn 1.2s ease forwards;
    opacity: 0;
}

.section-heading {
    font-size: clamp(1.4rem, 2.5vw, 1.4rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: darkorange;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: black;
}

/* 🔹 Fade-In Animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 🔹 Slanted Buttons (Kept for navigation/links outside service boxes) */
.slanted-btn {
    background-color: darkorange;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 30px;
    transform: skew(-20deg);
    border: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.slanted-btn span {
    display: inline-block;
    transform: skew(20deg);
}

.slanted-btn:hover {
    background-color: #f8b500;
    color: #fff;
}

/* 🔹 Our Services Section - GENERAL STYLING */
#our-services {
    text-align: center;
    margin-top: -60px; /* reduce this value */
  padding-top: 0;   /* optional: remove extra spacing */
}

.service-box {
    overflow: hidden; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    color: #333;
    padding: 30px;         /* Add internal spacing */
    min-height: 500px;     /* Optional: force taller boxes */
}


body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

.ppf-header {
  text-align: center;
  padding: 40px 20px;
  background-color: #111;
  color: #fff;
}

.ppf-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ppf-intro {
  text-align: center;
  margin-bottom: 30px;
   color: darkorange
  padding-top: 20px; /* Pushes content down from top */

}
.ppf-title{
  font-size: 2.3rem;
  font-weight: 700;
  color: darkorange;             /* Dark orange tone */
  font-family: 'Poppins', sans-serif; /* Or swap with a premium font like 'Montserrat' */
  text-align: center;
  margin-top: 30%;
  margin-bottom: 10px;
  letter-spacing: 0.5px;

}

.ppf-tagline {
  font-size: 1.5rem;
  font-weight: 450;
  color: #555;
  margin-top: 20px; /* Pushes tagline down from title */
}

.ppf-description {
  font-size: 1.05rem;           /* Slightly larger for readability */
  line-height: 1.8;             /* More breathing room between lines */
  padding: 0 20px;              /* Prevent edge-to-edge text */
  margin-top: 20px;
  margin-bottom: 30px;
  color: #444;
  text-align: left;             /* Avoid full justification for better legibility */
  letter-spacing: 0.2px;        /* Subtle spacing between letters */
  word-break: break-word;       /* Prevent overflow on long words */
}



.ppf-demo {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: 50px;
  border-radius: 0px;
}



.ppf-benefits {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 0.5px auto;
  display: block;
  border-radius: 6px;
}


.ppf-benefits {
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.ppf-benefits h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #333;
}

.ppf-benefits ul {
  list-style-type: disc;
  padding-left: 20px;
}

.ppf-benefits li {
  margin-bottom: 12px;
  font-size: 1.1em;
  color: #444;
}

.ppf-back {
  text-align: center;
  margin-top: 40px;
}

.ppf-tagline{ opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.3s;}


.ppf-description{
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.3s;
}

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

/* 🔹 Automotive Section Styling */

@media (max-width: 767.98px) {
  .automotive-img {
    width: 100%;
    height: auto;
    max-width: 350px;     /* Optional: limits how large it can get */
    display: block;
    margin: 0 auto;
    border-radius: 6px;   /* Optional: adds soft corners */
  }
}

@media (max-width: 767.98px) {
  .automotive-img-car {
    width: 100%;
    height: 450px;
    max-width: 350px;     /* Optional: limits how large it can get */
    display: block;
    margin: 0 auto;
    border-radius: 6px;   /* Optional: adds soft corners */
  }
}



.automotive-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

.automotive-intro {
  text-align: center;
  margin-bottom: 30px;
  padding-top:150px;
}

.automotive-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: darkorange;             /* Dark orange tone */
  font-family: 'Poppins', sans-serif; /* Or swap with a premium font like 'Montserrat' */
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}


.automotive-tagline {
  font-size: 1.15rem;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
  margin: 20px auto;
  padding: 0 25px;
  max-width: 700px;
  text-align: center;
  letter-spacing: 0.3px;
}

.automotive-description{
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.3s;
}
img {
  margin-bottom: 40px; /* or margin-right if side-by-side */
}

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

.automotive-description {
   font-size: 1.2rem;           /* Slightly larger for readability */
  line-height: 1.8;             /* More breathing room between lines */
  padding: 0 20px;              /* Prevent edge-to-edge text */
  margin-top: 20px;
  margin-bottom: 30px;
  color: #444;
  text-align: left;             /* Avoid full justification for better legibility */
  letter-spacing: 0.2px;        /* Subtle spacing between letters */
  word-break: break-word;       /* Prevent overflow on long words */
}

/* 🔹 Automotive Benefits Styling */

.automotive-benefits {
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px; /* Pushes content down from top */

}
.automotive-benefits {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 0.5px auto;
  display: block;
  border-radius: 6px;
  background-color: #f9f9f9;
  padding: 10px;
}

.automotive-benefits h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
  color: darkorange; 
  text-align: center;
}

.automotive-benefits ul {
  list-style-type: disc;
  padding-left: 20px;
}

.automotive-benefits li {
  margin-bottom: 12px;
  font-size: 1.1em;
  color: #444;
}



.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 0 20px;
}

.benefit-item i {
  color: darkorange;
  font-size: 1.4rem;
  margin-right: 15px;
  margin-top: 4px;
  flex-shrink: 0;
}

.benefit-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}






/* === Hero Header with See-Through Image === */
.hero-image {
  background-image: url("Images/Residential 3.jpg"); /* Corrected path with space */
  background-size: cover;
  background-position: center;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: darkorange;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

/* === Main Content Layout for Desktop === */
.residential-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 30px;
}

.residential-left {
  flex: 1 1 50%;
  padding-right: 20px;
}

.residential-right {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.residential-right img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* === Title and Description Styling === */
.residential-title {
  font-size: 2.5rem;
  color: darkorange;
  margin-bottom: 20px;
}

.residential-description,
.Rsidential-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* === Benefits Section === */
.benefits-heading {
  font-size: 2rem;
  color: darkorange;
  margin-top: 40px;
  margin-bottom: 20px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.benefit-item i {
  font-size: 24px;
  color: darkorange;
  flex-shrink: 0;
}

/* === Responsive Layout for Mobile === */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
    padding: 0 20px;
  }

  .residential-content {
    flex-direction: column;
    gap: 20px;
  }

  .residential-left,
  .residential-right {
    flex: 1 1 100%;
    padding: 0;
  }

  .residential-right img {
    margin-bottom: 10px;
  }

  .benefits-heading {
    font-size: 1.6rem;
    text-align: center;
  }

  .benefit-item {
    flex-direction: row;
    align-items: center;
  }

  .benefit-item p {
    font-size: 1rem;
  }
}












/* Internal padding for the content area, applied inside the box */
.service-box-content {
    padding: 20px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.service-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #222;
    text-transform: uppercase;
}

/* Smaller tag button style used inside the service boxes */
.service-name-tag {
    background-color: darkorange;
    color: white;
    font-size: 1rem; 
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 12px; 
    border-radius: 0;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.service-name-tag:hover {
    background-color: #f8b500;
    color: #fff;
}


.service-box p {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1; 
}

.image-wrapper {
    width: 100%;
    height: 300px; 
    overflow: hidden;
    position: relative;
    
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-attachment: fixed;
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1);
}

.learn-more-btn {
    background-color: darkorange;
    color: white;
    font-size: 0.6rem; 
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0; 
    display: inline-block;
    margin-top: auto; 
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #f8b500;
    color: #fff;
}


/* 🖼️ Gallery (Image Looping) */
.gallery {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 300px; 
    overflow: hidden;
}

.gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    border-radius: 8px;
    
}


/* 🔸 Testimonials Section */
#testimonials {
  padding: 20px 10px;
}

.google-review-btn {
  display: inline-block;
  background-color: #4285F4;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.google-review-btn:hover {
  background-color: #3367D6;
}

.testimonial-card {
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  height: 100%;
}

.testimonial-icon {
  width: 40px;
  height: 40px;
  background-color: orange;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.testimonial-card h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.review-date {
  font-size: 0.85rem;
  color: gray;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.testimonial-card .stars {
  color: orange;
  font-size: 1rem;
  margin-bottom: 10px;
}
.google-review-logo {
  width: 100px;         /* Adjust size as needed */
  display: block;
  margin: 20px auto;
  cursor: pointer;      /* Shows pointer on hover */
  transition: transform 0.3s ease;
}

.google-review-logo:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
  width: fit-content;
}

.testimonial-card {
  flex: 0 0 33.333%;
  scroll-snap-align: start;
}

/* Hide scrollbar on desktop */
.testimonial-track::-webkit-scrollbar {
  display: none;
}
.testimonial-track {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: orange;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}





/* 📞 Contact Form */
.contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 2px solid orange;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #222;
}

.contact input,
.contact textarea {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: orange;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #f8b500;
}



/* 🧾 Footer */
footer {
    background-color: #111;
    color: silver;
    padding: 20px;
    border-top: 2px solid orange;
}

/* Mobile Layout */
@media (max-width: 767.98px) {
  .mobile-nav-items {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }


  .navbar-brand {
    margin: 0 auto;
  }

  .header-logo-mobile {
    height: 20px;
    width: auto;
    margin-top: 20px; /* pushes logo down */
  }

  .phone-icon-mobile {
    color: orange;
    font-size: 1.5rem;
    padding-right: 15px;
    text-decoration: none;
  }

  .navbar-toggler {
    border-color: #fff;
  }


  .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

.navbar-collapse.collapse {
  display: none;
}

.navbar-collapse.collapse.show {
  display: block;
}


  .dropdown-menu {
    background-color: #111;
    border: none;
    text-align: center;
  }

  .dropdown-item {
    color: white;
    background-color: transparent;
  }

  .dropdown-item:hover {
    background-color: orange;
  }




@media (max-width: 767.98px) {
  body {
    margin-top: 0;
    padding-top: 0;
  }

  .main-header {
    margin-top: 0;
    padding-top: 0;
  }

  .navbar {
    margin-top: -35px; /* pull navbar up */
  }

  .navbar-brand {
    margin-top: -10px;
    padding-top: 0;
  }

  .address-bar {
    display: none !important; /* ensure it's not occupying space */
  }
}
.navbar-toggler {
  display: block;
}







  /* ✅ Testimonial Carousel Mobile Fix */
  .testimonial-carousel {
    position: relative;
    overflow-x: visible;
  }
  
.testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 0 15px 10px 15px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  justify-content: center; /* 👈 Force centering */
  scroll-padding-left: 15px;
  scroll-padding-right: 15px;
}

.testimonial-card {
  flex: 0 0 auto; /* 👈 Let it size naturally */
  min-width: 90%; /* 👈 Force visible width */
  max-width: 90%;
  scroll-snap-align: center;
}

  /* Mobile Service Box Spacing */
  #our-services .row {
    margin-left: 0;
    margin-right: 0;
  }

  #our-services .row > div[class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .service-box {
    margin: 1px 0;
  }

  .service-box h3 {
    font-size: 1.3rem;
  }

  .service-box p {
    font-size: 0.95rem;
  }


.service-name-tag {
    background-color: darkorange;
    color: white;
    font-size: 0.9rem; 
}
  .learn-more-btn {
    font-size: 0.5rem;
    padding: 8px 16px;
  }
}
/* ✅ Ensure mobile navbar hides desktop version correctly */
@media (max-width: 767.98px) {
  .desktop-nav,
  .address-bar,
  .tagline-bar {
    display: none !important;
  }

  .mobile-nav {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
}

/* ✅ Ensure desktop navbar hides mobile version */
@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}


@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
    z-index: 1030;
  }

  .navbar-collapse.collapse {
    display: none;
  }

  .navbar-collapse.collapse.show {
    display: block;
    background-color: #000;
    text-align: center;
  }

  .address-bar,
  .tagline-bar {
    display: none !important;
  }

  .header-logo-mobile {
    height: 50px;
    width: auto;
  }

  .phone-icon-mobile {
    color: orange;
    font-size: 1.5rem;
    padding-right: 15px;
    text-decoration: none;
  }
}



/* ✅ Smooth and stable mobile dropdown positioning */
@media (max-width: 767.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #000;
    text-align: center;
    z-index: 1000;
    transition: none !important; /* Stop it from jumping */
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.show {
    display: block !important;
  }
}





/* Hide mobile video on desktop */
@media (min-width: 768px) {
  .mobile-video {
    display: none;
  }
}

/* Hide desktop video on mobile */
@media (max-width: 767.98px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    width: 100%;
    max-width: 500px;
    height: 500;
    display: block;
    margin: 0 auto;
    border-radius: 0;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}





 .contact-info a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #c00; /* your brand red */
  text-decoration: underline;
}


select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}



/* Ensure hero is positioning context */
.hero-header {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Make hero videos fluid */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fluid logo base */
.hero-logo {
  width: 100%;
  height: auto;
  max-width: 300px;
}

/* Desktop behavior */
@media (min-width: 768px) {
  .floating-logo-link {
    display: block;
    position: absolute;
    pointer-events: auto;
    max-width: 40%;
  }

  .hero-logo {
    max-width: 300px;
  }

}

@media (max-width: 767.98px) {
  .floating-logo-link {
    display: block;
    position: absolute;
    pointer-events: auto;
    max-width: 44%;
    padding: 0 6px;
    z-index: 10;
  }

  /* Individual logo positioning — customize freely */
  .main-logo-link {
    top: 5%;
    left: 20%;
    transform: translateX(-50%);
  }

  .paint-logo-link {
    top: 60%;
    right: 10%;
    z-index: 11; /* ensure it's above others */
    transform: translateX(-50%);
  }

  .residential-logo-link {
    top: 10%;
    left: 70%;
  }

  .commercial-logo-link {
    z-index: 12;
    top: 54%;
    left: 20%;
    transform: translateX(-50%);
  }



  /* Logo size per type */
  .main-logo-link .hero-logo       { max-width: 180px; }
  .paint-logo-link .hero-logo      { max-width: 160px; }
  .residential-logo-link .hero-logo{ max-width: 160px; }
  .commercial-logo-link .hero-logo { max-width: 160px; }

  /* Prevent horizontal scroll */
  .hero-header,
  .hero-video,
  .mobile-video,
  .desktop-video {
    max-width: 100%;
    overflow: hidden;
  }
}



html, body { overflow-x: hidden; }





/* ✅ Force header to stay sticky across all devices */

/* ✅ Keep header fixed and visible on all devices */
.main-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background-color: #000;
}

/* ✅ Prevent Bootstrap navbar from conflicting */
.navbar {
  position: static !important;
}

/* ✅ Ensure scrolling works normally */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* ✅ Mobile adjustments only */
@media (max-width: 767.98px) {
  /* Make sure header sits correctly */
  .main-header {
    top: 0 !important;
  }

  /* Fix logo cut-off issue */
  .navbar {
    margin-top: 0 !important;
  }

  /* Remove global body padding and fix header gap */
  body {
    padding-top: 0 !important;
  }

  /* Create proper spacing below fixed header so hero video isn't hidden */
  .hero-header {
    margin-top: 80px; /* adjust this number if needed */
  }
}


@media (min-width: 768px) {
  .automotive-img-car {
    /* Desktop-specific styles here */
    width: 600px;
    height: 800px;
    border-radius: 0; /* Optional: remove rounding for desktop */
    margin: 0 auto;
  }
}
