:root {
  /* --color-primary: #feb900; */
  --primary: #fc6119;
  --secondary: #5F656F;
  --light: #F5F5F5;
  --dark: #5A3E36;
  --color-secondary: #fcf5f5d2;
}

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

.footer {
  background-color: #5A3E36 !important;
}

.text-brown {
  color: #5A3E36;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}


/*** 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 ***/
/*** Button ***/
.btn {
  transition: .5s;
  font-weight: 500;
  border-radius: 30px;
  /* Rounded corners for all buttons */
}

.btn-square {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* Perfect circle for square buttons */
}

.btn-sm-square {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* Perfect circle for small square buttons */
}

.btn-lg-square {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* Perfect circle for large square buttons */
}

.btn-primary,
.btn-outline-primary:hover {
  color: #FFFFFF;
}

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

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

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

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

.btn-outline-dark {
  color: #5A3E36;
  border-color: #5A3E36;
}

.btn-outline-dark:hover {
  background-color: #5A3E36;
  color: white;
  border-color: #5A3E36;
}


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

.navbar-title {
  font-weight: 900;
  /* Max boldness supported by most browsers */
  font-size: 2rem;
  /* Increase the font size */
  margin-bottom: 8px;
  transform: translateY(10%);
  text-transform: capitalize;
  padding-left: 8%;
  color: #fc6119;
}

.navbar-logo {
  height: 80px;
  /* Adjust logo size */
  padding-left: 0%;
  /* Add spacing between logo and text */
}

.navbar .navbar-brand {
  position: relative;
  padding-right: 50px;
  height: 10px;
  display: flex;
  align-items: center;
}

.navbar .navbar-brand::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 100%;
  top: 0;
  right: -25px;
  transform: skewX(-30deg);

}

.navbar .navbar-nav .nav-link {
  margin-right: 20px;
  /* Reduced spacing */
  padding: 20px 0;
  /* Adjust padding */
  font-size: 18px;
  font-weight: 1000;
  color: var(--dark);
}

.navbar .dropdown-menu .dropdown-item {
  font-weight: 700;
  /* Bolder font */
  padding: 8px 15px;
  /* Adjust padding */
}

.navbar .dropdown-menu .dropdown-item:hover {
  color: #fc6119;
  background: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #fc6119;
  /* Text hover in orange */
  background: none;
  /* Ensure no box hover */
}




.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .dropdown-toggle.active {
  color: #fc6119;
  background: none;
}

.navbar .dropdown-menu .dropdown-item.active {
  color: #fc6119;
  background: none;
}

/* Ensure navbar background in mobile view */
@media (max-width: 768px) {
  .navbar {
    background-color: rgb(248, 247, 247) !important;
    /* Adjust to your desired color */
  }
}

@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;
  }
}

/**banner*/
/* Set a maximum height and crop the top of the image */
#header-carousel .carousel-item {
  max-height: 600px; /* Reduced height */
  overflow: hidden;
  position: relative;
}

#header-carousel .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: translateY(-100px); /* Move image up to crop top */
}

/* Caption placement */
.carousel-caption {
  top: 0;
  left: 0; 
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2); /* Optional: subtle background for contrast */
}

.carousel-caption h1 {
  color: white;
}

/** About us */
.custom-email-link,
.phone-link {
  font-size: 17px;
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.custom-email-link:hover,
.phone-link:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Ensure uniform icon size */
.btn-lg-square {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rounded box style */
.custom-rounded {
  border-radius: 15px;
}

/* Adjust spacing for small screens */
@media (max-width: 576px) {
  .row .col-sm-6 {
    margin-bottom: 10px;
  }
}
/**About us end**/

/*** Facts ***/
.facts {
  position: relative;
  margin: 3rem 0;
  background: var(--dark);
  min-height: 250px
    /* example dark background */
}

.facts .border {
  padding: 0.5rem;
  border-color: rgba(240, 238, 238, 0.315) !important;
}

.facts i {
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

.facts h2 {
  font-size: 2rem !important;
  margin-bottom: 0.25rem !important;
}

.facts span {
  font-size: 0.95rem important;
}

.text-white {
  color: white !important;
}

.text-primary {
  color: var(--primary) !important;
  /* Bootstrap primary blue */
}

/*Clients*/
.clients-title {
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 100px;
}

.clients-title {
  text-align: center;
  justify-content: center;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 22));
    /* Adjust to match logo width */
  }
}


.slider-container {
  padding: 0 20px;
  padding-left: 10%;
  /* Adjust left and right padding as needed */
  ;
  padding-right: 10%;
  padding-top: 30px;
  padding-bottom: 50px;
  overflow: hidden;
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Increase space between logos */
.slider .slide {
  margin-right: 50px;
  /* Adjust this value to set desired spacing */
}


/* Adjust logos to have a consistent size */
.slider .slide img {
  width: 100px;
  height: 100px;
  max-width: none;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: auto;
  border: 2px solid #ccc;
}

.slider .slide-track {
  animation: scroll 30s linear infinite;
  display: flex;
  width: calc(250px * 22);
}
/*Clients end*/


/*** Product Info ***/
/* SECTION START: Product Info */
.custom-product-boxes .product-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-product-boxes .product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border: 2.5px solid var(--primary); /* orange on hover */
}

.custom-product-boxes h5 {
  font-weight: 600;
  color: var(--dark) !important; /* brown */
}

.custom-product-boxes .product-card .btn {
  margin-top: auto;
  display: block;
  margin-left: auto;
  margin-right: auto; /* centers the button */
}

.custom-product-boxes .btn-outline-primary {
  color: var(--dark);               /* brown text */
  border: 1.5px solid var(--dark); /* brown border */
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.custom-product-boxes .btn-outline-primary:hover {
  background-color: var(--primary); /* orange */
  border-color: var(--primary);
  color: #fff;
}
/*** Product Info End ***/


/* SECTION START: Contact Form */
.form-title {
  text-align: center;
  font-size: 10rem;
  margin-bottom: 0.25rem;
}

/* Toast container position */
.toast-container {
  z-index: 1055; /* Above modals and navs */
}

/* Optional: Slight fade for smoother feel */
.toast {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.toast.show {
  opacity: 1;
}


.form-control,
textarea.form-control,
.btn {
  border-radius: 1rem !important;
}

.form-control,
textarea.form-control {
  border: 2px solid #ccc !important;
  box-shadow: none;
  padding: 0.7rem 1rem !important;
  font-size: 1rem !important;
  height: auto !important;
}

.form-floating > label {
  font-size: 0.95rem !important;
  padding: 0.7rem 1rem !important;
  color: #666;
}

.form-floating {
  margin-bottom: 0 !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem) !important;
  color: var(--primary);
}

.form-control:focus,
textarea.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(252, 97, 25, 0.2);
  background-color: #fffdf9;
}

.appointment {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(../img/Banner\ 2.jpg) center center no-repeat;
  background-size: cover;
  padding: 3rem 0;
}

.appointment .container {
  padding: 2rem 0 !important;
}

.appointment .row.g-5 {
  --bs-gutter-y: 2rem !important;
}

form#contactForm .row.g-3 {
  --bs-gutter-y: 0.5rem !important;
}

form#contactForm .btn {
  padding: 0.8rem 1.2rem !important;
  font-size: 1rem !important;
}

.appointment .border-start.ps-4 {
  padding-left: 1rem !important;
  margin-bottom: 1.5rem !important;
}

.appointment h6 {
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

.appointment h1 {
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  color: #fff;
}

@media (min-width: 768px) {
  .appointment .row.align-items-center {
    min-height: auto;
  }
  .appointment .col-lg-5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .appointment {
    padding: 2rem 0;
  }

  .appointment h1 {
    font-size: 1.25rem !important;
  }

  form#contactForm .form-control,
  form#contactForm textarea.form-control { 
    font-size: 0.95rem !important;
    padding: 0.65rem 1rem !important;
  }

  form#contactForm textarea.form-control {
    height: 80px !important;
  }

  form#contactForm .row.g-3 {
    --bs-gutter-y: 0.25rem !important;
  }
}
/* SECTION END: Contact Form */


/*** Footer ***/
.footer {
  width: 100%;
  background-color: #001B49;
  /* Adjust color as needed */
  padding: 10px 0;
  /* Add padding for better spacing */
}

.footer-container {
  max-width: 200%;
  /* Adjust max width as needed */
  margin: 0 auto;
  /* Center content within the footer */
  padding: 0 10px;
  /* Add some padding for mobile */
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #B0B9AE;
  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;
  margin-right: 10px;
}

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

/* Ensure even spacing for columns */
.row.g-4>div {
  text-align: left;
  /* Align content to the left */
}

/* Adjust column width and spacing */
.footer .col-lg-4 {
  max-width: 30%;
  /* Keeps columns proportional */
  flex: 0 0 auto;
  /* Prevent shrinking */
  margin: 0 auto;
  /* Centers the columns */
}

/* Optional: Add padding for equal spacing */
.footer .row.g-4 {
  justify-content: space-around;
  /* Adds space between columns */
  gap: 30px;
  /* Adds consistent gap */
}

/* General styling for responsiveness */
@media (max-width: 768px) {
  .footer .col-lg-4 {
    max-width: 100%;
    margin-bottom: 20px;
    /* Adds spacing for smaller screens */
  }
}