:root {
    --primary: #00B0FF;
    --secondary: #5F656F;
    --light: #F5F5F5;    
    --dark: #033e7e;
    --color-secondary:#0057b3;
    --bs-primary:#00B0FF ; 
}
 
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

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

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


.btn-lg-square {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-lg-square {
  width: 60px;
  height: 60px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*** 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 {
  background-color: var(--primary) !important;
  color: #FFFFFF;
  border: none;
}

.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: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline-dark:hover {
  background-color: var(--color-secondary);
  color: white;
  border-color:  var(--color-secondary);
}


/** 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: #0057b3;
}

.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: var(--primary);
  background: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  /* 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: var(--primary);
  background: none;
}

.navbar .dropdown-menu .dropdown-item.active {
  color: var(--primary);
  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 for the carousel */
/* 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 */
/* About us section styling */
.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 {
  background-color: var(--primary);
  color: white;
  border-radius: 1rem;
}

/* 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;
}


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


.btn-outline-primary {
    color: var(--bs-primary); /* Bootstrap primary blue or your custom blue */
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.custom-service-boxes .service-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--color-secondary); /* Brown border on hover */
}

.custom-service-boxes .btn-outline-primary {
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-left: -10px; /* Slightly left */
    align-self: center;
}

.custom-service-boxes .btn-outline-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

/*** Service info End  ***/

/*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;
  /* Fixed width */
  height: 100px;
  /* Fixed height */
  max-width: none;
  /* Remove previous width cap */
  object-fit: cover;
  /* Maintain circular shape cleanly */
  border-radius: 50%;
  /* Make image circular */
  display: block;
  margin: auto;
  border: 2px solid #ccc;
  /* Optional: adds a subtle border */
}

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

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

.border-sec{
  color: var(--primary) !important;
  border-color: var(--primary) !important; 
}

.toast-container {
  z-index: 2000;
}

.toast {
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(-20px);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


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


/*** Footer ***/
.footer {
  width: 100%;
  background-color: var(--dark);
  /* 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 */
  }
}