
:root {
  /* --color-primary: #feb900; */
  --primary: #fc6119;
  --secondary: #5f656f;
  --light: #f5f5f5;
  --color-secondary: #52565e;
  --brown: #5A3E36;
}

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

.text-brown {
  color: var(--brown);
}

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

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

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

.topbar-right {
  position: relative;
  background: var(--primary);
}

.topbar-right::before {
  position: absolute;
  content: "";
  width: 30px;
  height: 100%;
  top: 0;
  left: -15px;
  transform: skewX(-30deg);
  background-color: var(--primary);
}

/* Navbar Styling */
/* Define brown color for navigation */
:root {
    --brown: #5A3E36;
}

.nav-link {
    color: var(--brown);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    height: 100px;
}

.navbar-title {
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 8px;
    transform: translateY(10%);
    text-transform: capitalize;
    padding-left: 8%;
    color: var(--primary);
}

.navbar-logo {
    height: 80px;
    padding-left: 0%;
}

.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;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 1000;
    color: var(--brown); /* Ensure nav links are brown by default */
}

.navbar .dropdown-menu .dropdown-item {
    font-weight: 700;
    padding: 8px 15px;
    color: var(--brown); /* Brown for dropdown items */
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: var(--primary); /* Keep hover orange */
    background: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary); /* Keep active and hover states orange */
    background: none;
}

.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 {
    color: var(--brown); /* Ensure dropdown toggles are brown by default */
}

.navbar .dropdown-toggle.active {
    color: var(--primary); /* Keep active state orange */
    background: none;
}

.navbar .dropdown-menu .dropdown-item.active {
    color: var(--primary); /* Keep active state orange */
    background: none;
}

/* Ensure text-brown class works properly */


.custom-email-link {
  color: #000;
}

.phone-link {
  color: #000;
}

.appointment {
  background: #ffffff;
  padding: 60px 0;
}

.form-control,
textarea.form-control,
.btn {
  border-radius: 1rem !important; /* Adjust the rem value for more or less rounding */
}


/* Optional: Add subtle border and shadow */
.form-control,
textarea.form-control {
  border: 1px solid #ccc;
  box-shadow: none;
  transition: border 0.3s ease;
}

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

.appointment form {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.text{
  color:#5A3E36;
}

.form-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ff6600; /* Optional: match your brand color */
}

#toastContainer {
  position: fixed;
  top: 20px; /* Distance from the top of the screen */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1055; /* Higher z-index to ensure it appears above the navbar */
  padding: 10px;
}

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

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        background-color: rgb(248, 247, 247) !important;
    }
    
    .footer .col-lg-4 {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

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