/* Main Contact */
.contact-form {
    width: 100%;
}

.contact-form .captcha_main {
    position: relative;
}

.contact-form #captchaimg {
    position: absolute;
    right: 4px;
    top: 4px;
}

.contact-form .required_text {
    color: #999;
    float: left;
    font-size: 12px;
    font-style: italic;
    margin-top: 15px;
}

.contact-form input[type=text], 
.contact-form textarea, 
.contact-form select {
    background: none;
    border: none;
    color: #939494;
    font: 12px/18px Arial, Helvetica, sans-serif;
    width: 100%;
    height: auto;
}

.contact-form .field {
    background: #E9EAEA;
    border: none;
    margin-bottom: 7px;
    padding: 12px 15px;
    height: auto;
}

.contact-form select {
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
    width: 100%;
}

.contact-form .err {
    color: #990000;
}

.contact-form .err ul, 
.contact-form .err ul li {
    background: none;
}

.contact-form input[type="button"] {
    cursor: pointer;
    float: right;
    margin-top: 8px;
    padding: 14px 24px;
    box-sizing: content-box;
    border-radius: 4px;
}

/* Quick Contact */
.contact-form.qc textarea {
    height: 85px;
}

/* Responsive Video */
video {
    width: 100%;
    height: auto;
}

/* Logo and Headers */
.logo img {
    max-width: 250px;
    width: 100%;
}

h1, .h1 {
    font-size: 7rem;
    line-height: 9rem;
}

h2, .h2 {
    font-size: 4rem;
    line-height: 6rem;
}

h3, .h3 {
  font-size: 3rem;
}

.container {
    max-width: 1440px;
}

.ratings-container {
    color: #fdb714;
    padding-bottom: 1rem;
}

.info-box p {
    font-size: 2rem;
    color: #fff;
    margin: 0;
}

.footer-bottom a {
    color: #838cb1;
    font-size: 1.4rem;
}

/* Breadcrumb */
.breadcrumb li {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.breadcrumb li + li {
    padding-left: 1.1rem;
}

.breadcrumb li + li::before {
    content: '\f0da';
    font-family: "Font Awesome 5 Pro";
    padding-right: 1.1rem;
    font-size: 1.4rem;
    font-weight: 300;
    color: #858890;
    vertical-align: middle;
    margin-top: -0.1rem;
}

.blog-content ul{
    margin-left: 0;
}

.body-content ul{
    padding: 0 0 3rem 4rem;
}
.body-content ul li::before {
    content: '\f0da';
    font-family: "Font Awesome 5 Pro";
    font-weight: 400; /* Ensure solid style (fas) is applied */
    margin-right: 8px;
    color: #ff594d; /* Set the icon color (optional) */
    line-height: 3.4rem;
}

.body-content ul li{
    padding-bottom: 1rem;
    line-height: 2;
}

.body-content ul li strong, .body-content a{
    color: #283779;
}

.body-content a:hover{
    color: #ff594d;
}

.body-content img{
    max-width: 100%;
    height: auto;
}

.banner-heading {
  width: 50%;
}
.services-sidebar{
    position: relative;
    margin-top: -34rem;
    z-index: 10
}

.main-nav .sub-menu .services{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}
.puzzle {
    top: -78px;
}
.captcha_main a{
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 1000;
}

.btn-form{
    background: #ff594d;
    max-height:inherit;    
}

h1.page-title span{
    display: block;
    padding-left: 0.5rem;
}
footer a{color: #fff;}
.contact-info a{
    color: #fff;
}
/* Responsive Adjustments */
.doctor-list-section{ 
    text-align: center; 
}
.doctor-list-section .box-title{
    font-size: 2rem;
}
.doctor-list-section figure{
    max-width: 70%;
    margin: 0 auto;
    margin-bottom: 2rem;
}
@media (max-width: 991px) {
    .main-nav .sub-menu .services{
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .intro-slider-1 .intro-slide {
        padding-bottom: calc(150px + (150 - 60) * ((100vw - 1000px) / (992 - 200)));
    }

    .header-middle {
        background-color: #EBF6FA;
    }

    .logo img {
        max-width: 220px;
    }

    h1, .h1 {
        font-size: 5rem;
        line-height: 6rem;
    }

    .home .card-rating {
        position: relative;
    }
    .sf-with-ul .fa-caret-down{
        display: none;
    }
    .banner-heading {
        width: 100%;
    }
    .services-sidebar{
        margin-top: 0;
    }
    .body-content ul{
        padding: 0 0 3rem 2rem;
    }
    .puzzle {
        display: none;
    }
    h1.page-title span{
        padding-left: 0;
    }
}

/* Desktop: scrollable dropdown */
ul.sub-menu.services {
  max-height: 400px; /* adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ccc transparent;
}

/* Optional: style scrollbar for WebKit browsers */
ul.sub-menu.services::-webkit-scrollbar {
  width: 6px;
}
ul.sub-menu.services::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}
ul.sub-menu.services::-webkit-scrollbar-track {
  background: transparent;
}

/* Mobile: revert to normal full dropdown */
@media screen and (max-width: 767px) {
  ul.sub-menu.services {
    max-height: none;
    overflow: visible;
  }
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

