/********** Template CSS **********/
:root {
    --bs-primary: #f8ae00;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}


/* This updates text color */
.text-primary {
    color: var(--bs-primary) !important;
}

/* This updates border color */
.border-primary {
    border-color: var(--bs-primary) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

  .h-80vh {
    height: 80vh !important;
    object-fit: cover;
  }

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
/* Primary button background and border */
.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: #fff!important;
}

/* Optional: Hover effect */
.btn-primary:hover {
    background-color: #d99500 !important; /* Slightly darker shade */
    border-color: #d99500 !important;
}
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-primary);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar-toggler {
    background-color: #f8ae00; /* or , etc. */
    border-color: #f8ae00;
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
/* ========== Base Carousel Styles ========== */

.carousel-item {
    height: 80vh !important;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Responsive Styles ========== */

/* Extra Large Screens (≥1200px) */
@media (min-width: 1200px) {
    .carousel-item {
        height: 80vh !important;
    }
    .carousel .carousel-item .display-1 {
        font-size: 3.5rem;
    }
}

/* Large Screens (992px–1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .carousel-item {
        height: 70vh !important;
    }
    .carousel .carousel-caption {
        padding-left: 4rem;
    }
    .carousel .carousel-item .display-1 {
        font-size: 3rem;
    }
}

/* Medium Screens (768px–991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-item {
        height: 70vh !important;
    }
    .carousel .carousel-caption {
        padding-left: 4rem;
    }
    .carousel .carousel-item .display-1 {
        font-size: 2.5rem;
    }
    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }
}

/* Small Screens (576px–767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-item {
        height: 67vh !important;
    }
    .carousel .carousel-caption {
        padding-left: 2rem;
    }
    .carousel .carousel-item .display-1 {
        font-size: 2.5rem;
    }
    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }
}

/* Extra Small Screens (<576px) */
@media (max-width: 575.98px) {
    .carousel-item {
        height: 60vh !important;
    }
    .carousel .carousel-caption {
        padding-left: 3.2rem;
    }
    .carousel .carousel-item .display-1 {
        font-size: 2rem;
    }
    .carousel .carousel-indicators [data-bs-target] {
        width: 45px;
        height: 45px;
    }
}

/* Optional: Force absolute positioning on image for smaller screens */
@media (max-width: 992px) {
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ========== Page Header Background ========== */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}
.carousel-caption .btn {
  font-size: 1.125rem; /* Default size */
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}

.carousel-caption .btn:hover {
  background-color: #fff;
  color: var(--bs-primary);
  transform: scale(1.05);
}

/* Tablet (768px–991.98px) */
@media (max-width: 991.98px) {
  .carousel-caption .btn {
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
  }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
  .carousel-caption .btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}



/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}
.about-img img {
    width: 100%;
    height: 505px;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .about-img img {
        height: 550px;
    }
}
@media (max-width: 992px) {
    .about-img img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .about-img img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .about-img img {
        height: 280px;
    }
}

/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;

}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white) !important;
}

.service .service-item:hover a {
    padding-left: 45px !important;
    background-color: white!important;
    color: var(--bs-primary)!important;
}
.service .service-item img {
    width: 100%;
    height: 200px; /* or any fixed height you prefer */
    object-fit: cover; /* ensures the image covers area without stretching */
    margin-top: -45px;
    padding-left: 45px;
}

/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}
/*new add in css*/
.btn-square:hover {
    background-color: #f8ae00 !important;
    color: #fff !important;
    border-color: transparent;
}
.dropdown-item:hover, .dropdown-item:focus{
    color: white;
  background-color: var(--bs-primary);
  font-weight: bold;
}
/*.dropdown-item{
    padding: 0.5rem 1.5rem;
}*/
.dropdown-item {
  padding: 0.5rem 1.5rem;
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/*wt app */
#whatsapp-button {
  position: fixed;
  bottom: 90px;
  right: 26px;
  z-index: 100;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
#whatsapp-button img {
  width: 40px;
  height: 40px;
}
.text-primary-custom{
  color: var(--bs-primary); /* Replace with any color you want */
}
 .service-box {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); /* soft large shadow */
  font-family: 'Poppins', sans-serif;
  transition: 0.3s;
  cursor: pointer;
}

.service-box h5 {
  color: #333;
  font-weight: 600;
}

.service-box p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.service-box:hover {
  background-color: var(--bs-primary); /* Bootstrap primary color */
  color: white; /* Text color */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Make sure child elements like h5 and p also turn white */
.service-box:hover h5,
.service-box:hover p {
  color: white;
}
/* Modal header with Bootstrap primary background */
.modal-header {
  background-color: var(--bs-primary);
  color: #fff;
  border-bottom: none;
}

/* Modal title (h5) inside header */
.modal-header h5 {
  color: #fff;
  font-weight: 600;
  margin: 0;
}

/* Close button color (optional for better contrast) */
.modal-header .btn-close {
  filter: invert(1);
}

/* Modal body text */
.modal-body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}
.service-box img {
  width: 100%;
  max-width: 281px; /* Controls the actual size */
  height: 221px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.service-box:hover img {
  transform: scale(1.05);
}
.photo-box {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.photo-box:hover {
  transform: scale(1.05);
}
/* Responsive Stacking for Smaller Devices */
@media (max-width: 767.98px) {
  .newsletter .row {
    text-align: center;
  }

  .newsletter .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .newsletter .fa-envelope-open {
    margin-bottom: 15px;
  }

  .newsletter h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .newsletter p {
    font-size: 1rem!important;
    margin-bottom: 20px;
  }

  .newsletter .btn {
    width: 100%;
    padding: 12px!important;
  }

}
.newsletter p {
  font-size: 1.6rem;
  line-height: 1.6;
}
/* Default button styling */
.btn.btn-light {
  background-color: var(--bs-primary) !important;
  color: #fff !important;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover state — reverse colors */
