:root {
  --base: #FAF1E6 ;
  --base-text: #000958;
  --tail : #FF5B2E;
  --snow:#FDFAF6;
  --white:#FFFFFF ;

}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 85%;
  }
}


body {
  padding: 0;
  margin: 0;
  background-color: var(
    --base
  ); 
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.35rem;
  color: var(--base-text);
}




/* 
                  Navbar 
*/

.brandname-tail{
  color: var(--tail);
}
.brandname-town{
  color: var(--base-text);
}

.navbar-toggler {
  border: none;
  background-color: transparent;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

#menu-list .nav-link {
  font-size: larger;
  font-weight: bold;
  color: var(--base-text);
}





hr.nav-hr {
  margin-left: 2rem;  
  margin-right: 2rem;  
  margin-top: 0;
  border: 1px solid;
}




/* home  */

#home {
  background-color: var(--base);
}

#home .text-primary {
  color: var(--tail);
}

.carousel img {
  width: 100%;
  height: auto;
  max-height: 400px;
}

@media (max-width: 576px) {
  .carousel img {
    max-height: 250px;
  }
}


.home-btn {
  border: 2px solid var(--base-text);
  color: var(--base-text);
  background-color: transparent;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background-color: var(--base-text);
  color: #fff;
}


/* Services and cards */

.flip-card {
  height: 250px;
}

@media (max-width: 576px) {
  .flip-card {
    height: 150px;
  }

  .icon {
    width: 50px;
    height: 50px;
  }
}


.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-back {
  background-color: var(--snow);
  transform: rotateY(180deg);
  text-align: center;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.icon {
  width: 60px;
  height: 60px;
}


/* about */



.about-content {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 50px;
  font-size: 1.35rem;
}

.about-content .lead {
  font-size: 1.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-content {
    border-radius: 30px;
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  .about-content .lead {
    font-size: 1.3rem;
  }

  .about-pic {
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .about-content {
    padding: 1rem;
    font-size: 1rem;
  }

  .about-content .lead {
    font-size: 1.2rem;
  }

}



.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--base-text);
}


.about-pic{
  background: var(--white);
}


/* gallery */

.gallery-img {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  object-fit: cover;
}
@media (max-width: 576px) {
  .gallery-img {
    width: 80%;
    height: auto;
  }
}


/* testimonials */

.testimonial-card {
  flex: 0 0 400px;
  scroll-snap-align: center;
  max-height: 180px;
}
@media (max-width: 576px) {
  .testimonial-card {
    flex: 0 0 90%;
  }
}

.gallery-scroll,
.testimonials-scroll {
  -ms-overflow-style: none; 
  scrollbar-width: none;    
  padding: 1rem; 
}
.gallery-scroll::-webkit-scrollbar,
.testimonials-scroll::-webkit-scrollbar {
  display: none;            
}

@media (max-width: 576px) {
  .gallery-img {
    height: 160px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    font-size: 1rem;
  }
}


/* contact  */

.contact-card {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 20px;
}

@media (max-width: 576px) {
  .contact-card {
    font-size: 1rem;
    padding: 1rem;
  }
}

.map-container{
  max-width: 900px; 
  height: 400px; 
  overflow: hidden
}

@media (max-width: 576px) {
  .map-container{
  height: 200px; 
}
}


/* footer */

.footer {
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FDE7CB;
  color: #000958;
}

@media (max-width: 576px) {
  .footer {
    font-size: 0.9rem;
    text-align: center;
  }

  .footer-icon {
    font-size: 1.5rem;
  }
}

.footer-icon {
  transition: color 0.3s ease;
  color: var(--base-text);
}

.footer-icon:hover {
  color: #ff6f61; /* soft accent color */
  text-decoration: none;
}

.footer a {
  transition: color 0.3s ease;
  color: var(--base-text);
  font-weight: bold;
  font-style: italic;
}

.footer a:hover {
  color: #ff6f61;
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  padding: 15px;
  z-index: 1000;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  text-decoration: none;
}
