.btn-theame-default {
  color: var(--contrast-color);
  background: var(--primary-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
  border: 0px;
}

.head-profile {
  width: 35px;
  height: 35px;
  border: 2px solid var(--primary-color);
  padding: 5px;
  border-radius: 100%;
  font-size: 21px;
  text-align: center;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.respimg {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
}

.head-profile img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 50%;
}

.li-active {
  background: var(--primary-color);
  color: #ffffff;
}

.li-active a {
  color: #ffffff;
}

.designed-radio.radio-group {
  display: flex;
  gap: 10px;
}

.designed-radio .radio-tab {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  user-select: none;
  /* Disable text selection */
  display: flex;
  flex-direction: column;
}

/* Hide the radio input */
.designed-radio input[type="radio"] {
  display: none;
}

/* Change entire div background when checked */
.designed-radio input[type="radio"]:checked+.radio-tab {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.select2-container {
  width: 100% !important;
}

.login-register-btns {
  display: flex;
  align-items: center;
  gap: 1px;
}

.login-register-btns a:first-child {
  border-radius: 0px;
  height: 50px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--primary-color);
  color: #000000;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.login-register-btns a:last-child {
  border-radius: 0px;
  height: 50px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--primary-color);
  color: #000000;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.slider_title {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 27px;
}

/* New design */
.navmenu.prodrop{
  padding: unset;
  height: auto;
}

.navmenu.prodrop .dropdown-toggle::after{
  content: unset;
}

.navmenu.prodrop ul.dropdown-menu.dropdown-menu-end{
  left: unset;
  right: 0px;
}

/* navbar design */
@media screen and (min-width: 768px) {

  .home-carsousel-item {
    height: 780px;
  }

  .navmenu {
    padding-right: 10px;
    background: white;
    border-radius: 9999px;
    height: 60px;
    border: 1px solid var(--primary-color);
  }

  .logo {
    background: white;
    border-radius: 9999px;
    height: 53px;
    border: 1px solid var(--primary-color);
    width: fit-content;
  }

}

/* end navbar design */


.select2-container .select2-search--inline .select2-search__field {
  height: 20px;
}

/* 1) Overlay that covers the whole viewport */
#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(218, 218, 218, 0.8);
  display: none;
  /* hidden by default */
  align-items: center;
  /* center the spinner */
  justify-content: center;
  z-index: 9999;
  /* on top of everything */
  cursor: default;
  /* override pointer cursor */
}

/* 2) The spinner itself */
.spinner {
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #1d72b8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* 3) Spin animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.dt-length .dt-container select.dt-input {
  margin-right: 8px;
}

.dt-length .dt-container label {
  text-transform: capitalize;
}

/* Circle style for side buttons */
.circle-btn {
  background: #f1f1f1;
  color: #333;
}

.circle-btn:hover {
  background: #e4e4e4;
}

.nav-active{
  background-color: var(--primary-color);
  color: #ffffff;
}

@media screen and (max-width: 768px) {

  
  .home-carsousel-item .form-control{
    height: 31px;
    font-size: 13px;
  }

  .home-carsousel-item .slider_title{
    font-size: 23px;
    margin-bottom: 6px;
  }

  .message-btn{
    height: 31px;
  }

  .message-btn button{
      bottom: 94% !important;
      right: -37% !important;
      font-size: 12px;
      padding: 4px;
  }
  
  .header{
    background-color: #ffffff;
  }

  .login-register-btns {
    display: none;
  }

  .p-m-0 {
    padding: 0 !important;
  }

  section{
    padding-top: 25px;
  }

  /* Footer base */
  .mobile-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1030;
    border-top: 1px solid #dedede99;
    height: 47px;
  }

  /* Common footer button styles */
  .footer-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    font-size: 13px;
  }

  /* Home Button Special Styling */
  .home-wrapper {
    position: relative;
    top: -20px;
    /* Lifted */
    background: #ffffff;
    padding: 6px;
    border-radius: 50px 50px 0 0;
    border-top: 1px solid #e8e8e8;
  }

  .home-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: white;
  }

  section {
    padding-bottom: 20px;
  }

  .home-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #142e68, #63b3ed);
    z-index: -1;
    animation: rotateGradient 5s linear infinite;
    transform-origin: center;
  }

  @keyframes rotateGradient {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  /* Optional: Focus styles */
  .footer-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 100, 255, 0.2);
  }

  /* Dropdown menu position */
  .mobile-footer .dropdown-menu {
    min-width: 10rem;
    transform: translateX(-12%) !important;
    bottom: 47px !important;
    top: auto !important;
    border-radius: 10px;
    animation: dropdownFade 0.3s ease;
  }

  /* Smooth dropdown animation */
  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-dropdown {
    animation: dropdownFade 0.3s ease;
  }


  .scroll-top {
    bottom: 75px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section-title {
    padding-bottom: 24px;
  }

  .designed-radio .radio-tab {
    padding: 5px 15px;
    font-size: 13px;
  }

  .signup-form .col-md-3,
  .signup-form .col-md-6,
  .signup-form .col-md-12 {
    padding: 0px;
  }

  .slider-section{
    padding-top: 60px;
  }

  .md-t-5{
    margin-top: 5rem;
  }

  .page-title .heading{
    padding: 50px 0px 30px 0px;
    border: unset;
  }

  .page-title nav ol{
    padding: 0px;
    font-size: 13px;
  }

  .specaltxt{
    padding: 4px 8px;
    font-size: 20px;
  }
  
  h4{
    font-size: 18px;
  }

  .about .content .read-more{
      font-size: 13px;
      padding: 7px 12px;
  }
  .about .icon-box h3{
    font-size: 21px;
    margin: 0px;
  }

  .page-title .heading h1{
    font-size: 30px;
  }

  .page-title nav{
    padding: 6px 0px;
  }

  .contact .php-email-form{
    padding: 20px;
  }

 
}