@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



/* CSS Custom Properties */
:root {

  --dark-brown: #443627;
  --orange-accent: #D98324;
  --light-beige: #EFDCAB;
  --pale-green: #F2F6D0;
}


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

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

body {
 
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}


.button {
  background: var(--dark-brown);
  font-family: inherit;
  padding: 0.4em 1em;
  font-weight: 500;
  font-size: 24px;
  border: 0.5px solid black;
  border-radius: 0.1em;
  box-shadow: 0.1em 0.1em;
  cursor: pointer;
  color: var(--pale-green);
}


.business-name{
  color: var(--dark-brown);
  font-weight: 700;
  font-size: 2rem;
 
}

nav{
  padding-inline: 4% !important;
}


.hero{
  background-image: url(../images/garage-door-repair-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center ;
  height: 100vh;

}

.navbar-nav{
  background-color: var(--pale-green);
  border-radius: 5px ;
  padding: 5px;
}


 h1 {
  font-size: 3rem; /* Adjust to match your design */
   color: var(--dark-brown);
}



.hero-context-container{
  padding-inline: 4% !important;
  justify-content: center !important;
}

.hero-context-container article{
  width: 80%;
}
.hero-home_video-wrapper{
  position: relative;
}

.video-cta_hero >div{
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 20px;
  margin: auto;
}



/* hero video */

.hero-home_video-wrapper{
  background: url(../images/garage-door0img-video.webp);
  width: 450px;
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 1.5%;
  border-radius: 10px;
  border: 2px solid var(--light-beige);
}

.dropdown-menu{
  background-color: var(--pale-green);
  border: none;
  text-align: center;
}


/* ----------------------------------------- */
/* about us  */

#about-us{

  background-color: var(--pale-green);

}


#about-us-container{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.divider {
  width: 3px;
  height: 100%;
  background-color: var(--light-beige);
  margin: 0 ;
}

.about-us-left{
  display: flex;
  flex-direction:column;
  gap:40px ;
  padding: 10%;
 
}
.about-us-left span{
  font-weight: 400;
}





/* end of about us  */

/* ============= first sub =============== */

.sub-left{
  background-color: #EFDCAB88;
  border-radius: 15px;
  padding: 3%;
  margin: 2%;
}

.sub-left h2{
  font-weight: 600;
}
.sub-left img{
  margin-top: 5%;
  border-radius: 5px;
}
.sub-bottom-images{
 border-radius: 15px;
  padding: 1.8%;
  margin: 2%;
  background-color: #EFDCAB88;
  display:flex;
  flex-direction: row;
  justify-content: center;
  gap: 5%;

}

.sub-bottom-images img{
  width: 100%;
  height: 355px;
  border-radius: 15px;
  object-fit: contain; /* or cover */
}




/* ============= end first sub =============== */

/* ==================  services ================== */

.service-item{
  display: inline-flex;
  flex-direction: row;
  margin:0px !important;
  padding-inline:5% !important;
}
.service-item img{
   width:250px;
  height:300px;
  border-radius: 10px;
}
.service-item-title{
  font-weight: 600;
  
}



/* ===================  second sub context =============== */

.second-sub-context{
  height: 60vh;
  width: 100%;

}

.second-sub-text {
  
  overflow: auto; /* Enable scrolling if content overflows */
}
.second-sub-text-context{
 margin-inline: 5%;
  padding: 3%;
  background-color: #EFDCABbb;
  border-radius: 10px;
  margin-top: 45%;
  margin-bottom: 5%;
}
.second-sub-text-context h2, 
.second-sub-text-context article {
  margin-top: 2%;
  margin-bottom: 3%;
}

/* ================= end of second sub context ================= */

/* =========================gallery ============================= */


.gallery-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 10%;
}

.gallery-slider-track {
   display: flex;
  width: max-content;
  animation: scroll 15s linear infinite;
  animation-play-state: running; /* Ensures autoplay */
}

.gallery-slide {
 
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1%;

}


.gallery-slide img{
  border-radius: 20px;
  /* width: 200px !important;
  height: 200px; */
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}







/* ==================end of gallery ============================= */




/* ==================== third-sub-context ====================== */

#third-sub-context{
  margin-top: 10%;
  margin-bottom: 0%;
  text-align: center;
}


#third-sub-context h2{
 font-size: 3rem;
 font-weight: 700;
}


.third-sub-context-cards{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr ;
  gap: 2%;
}

.third-sub-context-cards_second{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr  1fr;
  gap: 2%;
}


.third-sub-context-cards_five-inline{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr  1fr 1fr;
  gap: 2%;
}


.third-sub-context-card{
  display: flex;
  flex-direction: column;
  padding: 10%;
  background-color: var(--pale-green);
  justify-content: center;
  align-content: center;
  align-items: center;
 border-radius: 30px;
  color: var(--dark-brown);
}
.third-sub-context-card:hover{
  background-color: var(--light-beige);
   border-radius: 50px;
}



.third-sub-context-card span {
  font-weight: 700;
  font-size: 1.7rem;

}





/* ========================= scrollspy-example ===================== */

#scrollspy-id{
  background-color: var(--pale-green) !important;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge */
  margin-top: 10%;
}

#scrollspy-id::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
.list-item-custom-link{
  border: 1px solid var(--orange-accent);
  color: var(--dark-brown) !important;
  display: block;
  text-decoration: none;
  height: 100% !important;
  color: inherit;
  padding-top: 2%;
  margin-top: 2%;
  padding-bottom: 2%;
  padding-inline: 5%;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.list-item-custom-link h3{
  font-weight: 600;
  margin-bottom: 5%;
}

.list-item-custom-link article {
  margin-top: 2%;
}
.list-item-custom-link:hover {
   background-color: var(--light-beige) !important;
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

 

.scrollspy-example{
  width: 500px !important;
  height: 500px !important;
   
} 

.scrollspy-example > div img{
   border-radius: 20px;
}

/* ===================== scrollspy-example =============================== */

/* ================================= offers section ======================== */



#offers{
  margin-top: 7%;
  margin-bottom: 5%;
}

.offer-item {

  border-radius: 20px;
  border: 1px solid var(--orange-accent);
  text-align: left;
  padding: 3%;
  text-align: center;
  color: #443627;
  margin-top: 5%;

}

.offer-item-circle {
  margin-bottom: 10%;
  margin-top: 10%;
  margin: 5%;
}
.offer-item-circle  span  i{
 
  padding-top: 3%;
    width:  50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--dark-brown);
    background-color: var(--pale-green);
    font-size: 1.6rem;
    font-weight: bold;


}


.offer-price{
  margin-bottom: 5%;
  font-size: 3rem;
}

.offer-item a{
  margin-top: 5%;
  padding-top: 10%;
}


.offer-item p{
  margin-bottom: 5%;
  font-size: 1.5rem;
}


.offer-item:hover   {
  background-color: #EFDCAB;
}
.offer-item:hover .offer-item-circle {
   display: none;

}


.offer-item:hover .offer-price {

 font-size: 5rem;

}




/* =========================  offers section ================== */

/* ======================== cta =========================== */

.cta{
  background-color: var(--pale-green);
  padding-bottom: 5%;
}







/* ========================== end of cta ============================ */


/* ===================== contact us  =========================== */

.iframe-background {
    z-index: 1;
    overflow: hidden;
  }
  .iframe-background iframe {
    filter: brightness(0.5);
    object-fit: cover;
  }

form{
  border: 5px solid var(--dark-brown);
  padding: 5%;
  border-radius: 30px;
  background-color:#D98324dd;

 min-height: 30vh;
}

.subject{
  display: none;
}


/* ================== end of contact us ================================ */



/* =============================== info section =========================== */

#info-section{
  padding-left: 10%;
}

.info {
display: flex;              /* Enable flexbox */
    justify-content: left;   /* Center horizontally */
    align-items: center;   
    gap: 40px;
}
.info-icon {
      
    margin-bottom: 1%;
    margin-top: 1%;
}

.info-icon i {
    padding: 3%;
    width:3rem;
    height:3rem;
    border-radius: 50%;
    border: 1px solid var(--dark-brown);
    background-color: var(--pale-green);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;             /* Enable flexbox for the icon */
    justify-content: center;  /* Center icon horizontally */
    align-items: center;      /* Center icon vertically */
    /* Remove margin-top as it's no longer needed with flexbox */
}

.info-txt span{
 color: var(--dark-brown);
  font-size: 1.5rem;
  font-weight: 600;
}

.user-select-none{
color: var(--dark-brown);
 font-size: 1.4vw;
  font-weight: 600;
 

}

.business-name-info{
  color: var(--dark-brown);
  font-size: 2.5rem;
  font-weight: 600;
}




/* ===========================end of info section ============================ */

/* ===========================FAQS========================== */
#faqs{
  background-color: var(--pale-green);
  padding-bottom: 10%;
}


.question {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 80px 20px 20px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
 background-color: #fff;
  margin-bottom: 5px;
  border-radius: 20px;
}

.question::after {
  content: "\002B"; /* Plus sign */
  font-size: 2.2rem;
  position: absolute;
  right: 20px;
  transition: 0.2s;
}
.question.active{
   background: var(--light-beige);
}

.question.active::after {
  transform: rotate(45deg);
}

.answercont {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.answer {
  background: var(--pale-green);
  padding: 10px;
  margin: 3%;
}

.faq-text{
  display: flex;
  text-align: center;
  flex-direction: column;
  padding-top: 5%;
  margin-top: 5%;
   padding-bottom: 5%;
  margin-bottom: 5%
}


/* =================================END OF FAQS ===================== */


/* ======================testimonials ================== */
    .swiper {
  width: 500px;
  height: 500px;
  position: relative; /* changed from absolute for better layout control */
  margin: 0 auto;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  padding-top: 10%;
  color: rgb(0, 0, 0);
 
}
.testimonial-item{
 position: absolute;
}
.client-info{
  padding-inline: 3%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10%;
}

.client-info img {
  display: block;
  width:50px;
  height:50px;
  border-radius: 50%;
  object-fit: cover;
}
.client-name{
  text-align: center;
 margin-top: 3%;
 padding-left: 5%;
}

.client-review{
  width: 95%;
}
.pagination {
  display: flex;
  justify-content: right;
  align-items: right;
  gap: 15px;
  padding: 0px 0;
  margin-top: 20px;
  border-radius: 5px;
  position: relative;
  top: -39%;
  left: -20%;
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important; /* remove default Swiper positioning */
  color: var(--orange-accent);
  background-color: var(--light-beige);
  padding: 3% 3%; 
  border-radius: 50%;
  width: 0px;
  height: 0px;
  font-weight: bold;
  cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
}

/* =======================end of tstimonials ================== */

/* ======================footer ======================= */

.footer{
  background-color: var(--light-beige);
  margin-top: 5%;
  padding-top: 5%;
}


.list-unstyled{
  margin-top: 5% !important;
}

.item-footer{
  display:inline-block;
  border-radius:0.5rem;
  /* border: 2px solid var(--light-beige); */
  margin:2px 2px;
  padding: 5px;
  margin-top: 5px;
}

.main-button{
  text-decoration:none;
  font-size:1.2rem;
   background-color: var(--pale-green);
  border: 1px solid var(--orange-accent); 
  padding: 7px;
  border-radius: 10px;
}

.social a{
  color: var(--dark-brown);
}


.bottom-footer{
  padding-inline: 10%;
  
}

/* ===================footer ============================= */


/* ==========================marquee ======================== */

#brands-marquee{
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 400px; */

}

.mySwiperMarquee{
  width: 100%;
  padding: 0px 0;
  
 
}

.mySwiperMarqueeContainer {
  overflow: visible !important;
 
}
.mySwiperMarquee  .swiper-slide{
  position: relative;
  /* z-index: 1; */
  width: 200px; /* Increased from 100px for better visibility */
  height: 100%; /* Added fixed height */
  border-radius: 5px;
  cursor: grab;
  user-select: none;
  overflow: hidden;
  display: flex; /* Added for better centering */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

/* Force images to be visible */
.swiper-slide img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-size: cover;
  height: auto !important;
  max-width: 100% !important;
}



/* ===================end of marquee ====================== */


/* ======================== ERROR ======================= */
.error-head-title{
  position:relative;
}
.error-head-title h1{
  font-weight: 500;
  font-size: 33vw;
  color: var(--pale-green);
}

.error-image-container {
  position: absolute;
  top: 20%;
}


/* =========================  ERROR ================= */
/* ================  Map  ==================== */
#map{
  margin-top: 0%;
}


.sitemap-wrapper{
 padding-top: 10%;
}


.sitemap-navigation {
  display: inline-block;
  width: 900px;
  max-width: 100%;
   margin-top: 0%;
  overflow: hidden;
  padding-top: 10%;
  /* background-color: red; */
}

.sitemap-navigation ul,
.sitemap-navigation li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.sitemap-navigation a {
  display: inline-block;
}

.sitemap-navigation .menu-item::before,
.sitemap-navigation > .menu-item-has-children > .sub-menu::before {
  content: '';
  display: block;
  position: relative;
  left: 50%;
  margin-left: -2px;
  width: 100%;
  border-left:var(--dark-brown)   solid 4px;
  height: 2em;
}

.sitemap-navigation > .menu-item-has-children::before {
  display: none;
}

.sitemap-navigation > .menu-item-has-children > .sub-menu {
  display: flex;
  justify-content: space-between;
  border-top: var(--dark-brown) solid 4px;
  margin-top: 2em;
}

.sitemap-navigation > .menu-item-has-children > .sub-menu::before {
  position: absolute;
  top: -2em;
  margin-top: -4px;
}

.sitemap-navigation > .menu-item-has-children > .sub-menu > .menu-item {
  flex: 1 0 auto;
  margin-top: -4px;
  padding-left: 1em;
  padding-right: 1em;
}



.sitemap-navigation > .menu-item-has-children > .sub-menu > .menu-item:first-child::before {
  left: auto;
  right: 50%;
  width: 100%;
  border-left: none;
  border-right: var(--dark-brown) solid 4px;
}



.sitemap-wrapper {
  padding: 2rem;
  text-align: center;
}

.sitemap-navigation a {
  background: var(--pale-green);
  border-radius: 0.25em;
  color: var(--dark-brown);
  text-decoration: none;
  padding: 1em;
  transition: 0.25s;
}

.sitemap-navigation a:hover {
  background: var(--light-beige);
}

.sitemap-navigation > .menu-item-has-children > a {
  background: var(--light-beige);
  font-size: 1.2rem;
}

.sitemap-navigation > .menu-item-has-children > a:hover {
  background: var(--pale-green);
}

.sitemap-navigation > .menu-item-has-children > .sub-menu > .menu-item > a {
  background: #f1dba6;
  font-weight: 700;
}

.sitemap-navigation > .menu-item-has-children > .sub-menu > .menu-item > a:hover {
  background: #c0a173;
}

/* =========================end of map====================== */

 /* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) { 

.hero{
  background-image: url(../images/garage-door-repair-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center ;
  height: 100vh;

}
.hero-context{
  background-color: #F2F6D0aa; 
  padding: 5%;
  border-radius: 5px;
}
  
.business-name {
  display: none;
}

.hero-home_video-wrapper{
  
  width: 250px;
  height: 100px;
 
}
.video-cta_hero-headtitle{
  font-size: 1.5rem !important;
  color: var(--pale-green);
}
 
.hero-context-container article{
  width: 100%;
}

.hero-home_video-wrapper svg{
  width: 50px;
  height: 50px;
}

#about-us-container{
  display: grid;
  grid-template-columns: 1fr ;
  align-items: center;
}

.sub-bottom-images img{
   width: 200px;
  height: 220px;
  border-radius: 15px;
}
.second-sub-context{

 margin-top: 40%;

}



.service-item{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin:0px !important;
  padding-inline:5% !important;
}


.third-sub-context-cards{
  display: grid;
  grid-template-columns: 1fr  ;
  gap: 2%;
}

.third-sub-context-cards_second{
  display: grid;
  grid-template-columns: 1fr ;
  gap: 2%;
}


.second-sub-context {
    height: 60vh; /* Slightly taller on mobile */
  }
  .second-sub-text-context {
    margin-top: 100%;
  }
.scrollspy-example img{
  justify-content: center;
  width: 300px !important;
  height: 300px !important;
   
} 

form{
  width: 80%;
  margin-top: 10%;
  justify-content: center;
  align-items: center;
}
.user-select-none{
 font-size: 4.3vw;
 
}
#info-section{
  padding-left: 2%;
}

.client-review{
  width: 85%;
}

.pagination {
  top: -37%;
  left: -20%;
}


.footer{
  padding-bottom: 7%;
}
#brands-marquee{

  height: 200px;

}

 .gallery-slide img {
    width: 120px;
    height: 120px;
  }



  /* opener  */
.opener-image-mobile{
  background-position:  center !important;
}
/* cable */

.cable-bg-mobile{
    background-position:  center !important;
}

.track-bg-mobile{
  background-position: center !important;
}

/* site map */


        .sitemap-wrapper {
          padding: 1rem;
          text-align: center;
        }

        .sitemap-navigation {
          margin-top: 20%;
          padding: 0;
        }

        .sitemap-navigation ul,
        .sitemap-navigation li {
          list-style: none;
          margin: 0;
          padding: 0;
          position: relative;
        }

        .sitemap-navigation a {
          display: block;
         
          border-radius: 0.25em;
          color: var(--dark-brown);
          text-decoration: none;
          padding: 0.8em;
          margin: 0.3em 0;
          transition: 0.25s;
          text-align: center;
        }

      

        

/* site map */


.client-review{
  
  padding-left: 0% ;
  padding-right: 10%;
  text-align: left !important;
}

 }

 /* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 


  
.gallery-slide img {
    width: 140px;
    height: 140px;
  }

 }

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) { 

 }

 /* X-Large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) { 

 }


/* XX-Large devices (larger desktops, 1400px and up) */
@media (max-width: 1400px) { 


 }