/* Define color variables */
:root {
    --primary-color: #790101;
    --secondary-color: #FFCB08;
    --background-color: #f4f4f4;
    --orange-color: #F38222;
    --text-color: #333333;
    --dimmed-text-color: #595757;
    --white: #ffffff;
    --border-color: #E5E5E5;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

/* Make main content area take full available space */
main {
    flex: 1;
}

/* Headings */
h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-family: "Manrope", sans-serif;
}

h2 {
    font-size: clamp(1.4rem, 2.7vw, 2.8rem);
    font-family: "Manrope", sans-serif;
}

h3 {
    font-size: clamp(1.2rem, 2vw, 3.8em);
    font-family: "Manrope", sans-serif;
}

h4 {
    font-size: clamp(1rem, 2vw, 3.8em);
    font-family: "Manrope", sans-serif;
}

/* Paragraphs */
p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Link */
a {
    text-decoration: none;
}

/* font colors */
.font-orange {
    color: var(--orange-color);
}

.font-light {
    color: var(--dimmed-text-color)
}

.font-manrope {
    font-family: "Manrope", sans-serif;
}

/* Buttons */
.btn-contained {
    font-size: 14px;
    background: var(--orange-color);
    color: white;
    border-radius: 12px;
}

.btn-contained:hover,
.btn-outlined:hover,.btn-contained:focus {
    background: rgb(231, 114, 3) !important;
    color: white !important;
}

.btn-contained:hover,
.btn-contained:focus {
   border-color: rgb(231, 114, 3) !important;
}

.btn-outlined {
    border: 1px solid var(--orange-color);
    font-size: 14px;
    border-radius: 12px;
    color: var(--orange-color);
    min-width: 95px;
}

.btn-outlined:hover {
    background: var(--orange-color);
    color: white;
}

/* Section CSS */

.common-padding {
    margin: 0 0 6%;
}

/* banner */
.mask {
    background-color: rgba(255, 255, 255, 0.5);
}

.banner {
    height: 500px;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FFF5E3;
}

/* Navigation */

.web-logo img {
    max-width: 300px;
    max-height: 41px;
}

.custom-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    padding: 20px 0;
}

.custom-navbar.navbar-scrollEffect {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-navbar a {
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.header-navbar a:hover,
.header-navbar a.active {
    color: var(--orange-color) !important;
    text-decoration: none !important;
}

.header-navbar a.active {
    font-weight: 500;
}

.header-navbar a:hover::before,
.header-navbar a.active::before {
    content: '';
    border-bottom: 3px solid var(--orange-color);
    border-radius: 8px;
    display: block;
    width: 22px;
    bottom: 0;
    left: 16px;
    position: absolute;
}

.mobile-bar {
    border: none;
    outline: none;
    box-shadow: none;
    display: none;
    background-color: transparent;
    font-size: 25px;
    font-weight: 400;
}

.mobile-logo {
    display: none;
    color: #F55511;
    cursor: pointer;
}


/* Footer */
footer {
    background-color: var(--text-color);
    color: #F5F5F5;
    bottom: 0;
    width: 100%;
}

.footer-logo-container img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: 14px;
}

.footer-links a {
    color: #F5F5F5;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--orange-color)
}

.footer-location-img {
    height: 44px;
    width: 36px;
    object-fit: contain;
}

.social-links a {
    color: #ffffff;
    font-size: 20px;
}

.footer-navigation {
    height: max-content;
}

.custom-accordian {
    background-color: transparent !important;
    color: #fff !important;
    padding: 0 0 20px;
    font-size: 14px !important;
    font-weight: 600;
}

.custom-accordian::after {
    color: #fff !important;
    filter: invert(100%);
    transform: scale(0.7) !important;
}

.custom-accordian:not(.collapsed) {
    box-shadow: none !important;
}

.accordion-button:focus {
    border-color: none;
    box-shadow: none;
}

.footer-address p {
    line-height: 1.9;
}


/* Hero section */
.hero-section {
    background-color: #FFF5E3;
    position: relative;
    overflow: hidden;
}

.hero-content {
   height: 100%;
   margin: 16% 0;
}

.hero-image-effect {
    position: absolute;
    right: 0;
}

.hero-bottom-container {
    height: 150px;
    background-color: #942F33;
    width: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-height: 750px;
    object-fit: contain;
}

.banner-image-container {
    text-align: center ;
    z-index: 2;
    position: absolute;
    right: 0;
    bottom: 0;
}

.verticle-line {
    border-left: 0.1px solid #e7e2e2c4;
    height: 55px;
}

.contact-btn {
    width: 155px;
    padding: 11px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border-radius: 16px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* service section */

.service-box .description {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem; 
  }
  
  .service-box {
    flex: 0 1 210px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    min-height: 133px; 
  }

.service-box p {
    font-size: 14px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-box button {
    background-color: var(--primary-color);
    font-size: 13px;
}

.injection-div {
    background-color: #FFEEEE;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.injection-div img {
    height: 16px;
    width: auto;
}

.service-box:hover {
    background: var(--primary-color);
}

.service-box:hover i {
    color: #F55511;
}

.service-box:hover p,
.service-box:hover h6 {
    color: white;
}

.service-box:hover button {
    background-color: white;
    color: var(--primary-color);
}

.service-box:hover .injection-div {
    background-color: white;
}

.view-btn {
    color: var(--orange-color);
    cursor: pointer;
    outline: none;
    border: none;
    white-space: nowrap;
    padding-right: 0px;
}

.view-btn:focus,
.view-btn:hover {
    color: var(--orange-color);
    outline: none;
    border: none;
    box-shadow: none;
}
/* department css */
.department-tabs {
    justify-content: space-evenly;
    align-items: center;
    border-top: 1px solid rgba(161, 183, 206, 0.3);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.department-tabs li {
    height: 100%;
}

.department-tabs li a {
    padding-top: 17px;
    padding-bottom: 17px;
}

.department-tab {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    height: 100%;
    border-radius: 0 !important;
}

.department-tab.active,
.department-tab:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
}

.small-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


/* review css */
.review-section {
    background: #FFF4EB;
    padding: 5% 0;
}

.review-image {
    max-height: 40px;
    max-width: 144px;
}

.quote-image {
    max-height: 30px;
    max-width: 30px;
}

.review-star {
    color: #FFCB08;
}

.review-profile-image {
    height: 45px;
    object-fit: cover;
    width: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.review-box {
    display: block;
    width: 100% !important;
    background-color: #fff;
    padding: 30px;
    border-radius: 24px;
    min-height: 251px;
    display: flex;
    flex-direction: column;
}

.review-carousel .carousel-control-next,
.review-carousel .carousel-control-prev {
    background-color: transparent;
    border: 2px solid #F38222;
    color: #F38222;
    font-size: 22px;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    opacity: 1;
}

.review-carousel .carousel-control-next i,
.review-carousel .carousel-control-prev i {
  margin-top: 2px;
  margin-left: 2px;
}

.review-carousel .carousel-control-prev:hover,
.review-carousel .carousel-control-prev:focus,
.review-carousel .carousel-control-next:hover,
.review-carousel .carousel-control-next:focus {
    background-color: #F38222;
    color: white;
    border: none;
}

.carousel-inner.custom-carousel {
    padding: 0 60px !important;
}

.review-carousel .carousel-control-next,
.review-carousel .carousel-control-prev {
    top: 46%;
}

.clamp-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* contact css */
.contact-form-container {
    background: #fff;
    padding: 10px 0;
    max-height: 667px;
    border-radius: 10px;
    margin: 0;
    box-shadow: 0px 0px 30px 60px rgba(0, 0, 0, 0.03);
}

.contact-map-image {
    border-radius: 10px;
    height: 100%;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.bg-yellow {
    background-color: var(--orange-color);
}

.contact-form-container .form-control {
    border: none;
    border-bottom: 1px solid #8D8D8D;
    border-radius: 0;
    font-size: 14px;
}

.contact-form-container label {
    font-size: 13px;
    color: var(--dimmed-text-color);
}

.contact-form-container .form-control:focus {
    box-shadow: none;
}

.contact-form-container input,
.contact-form-container textarea {
    padding-left: 0;
}

.contact-form-container textarea::placeholder {
    font-size: 12px;
    color: var(--dimmed-text-color);
}


/* about banner css */
.about-banner {
    background-image: url(../assets/about/banner.webp);
}

.about-image {
    width: 100%;
    max-width: 474px;
}

.expertise-section {
    background: #FFF4EB;
}

.expertise {
    padding-top: 30px;
    padding-bottom: 40px;
}

.expert-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.expert-box {
    width: 260px;
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    background-color: #fff;
}

.expert-box:hover {
    background-color: var(--primary-color);
}

.expert-box:hover .title,
.expert-box:hover .date {
    color: white;
}

.expert-box:hover .designation {
    color: var(--orange-color);
}

.avatar-image {
    border-radius: 50%;
    height: 70px;
    width: 70px;
    object-fit: cover;
}


/* service banner css */
.service-banner {
    background-image: url(../assets/services/banner.webp);
}

.service-image {
    width: 100%;
    max-width: 225px;
    height: 100%;
    max-height: 225px;
    min-height: 153px;
    object-fit: cover;
    border-radius: 17px;
}

.services-list {
    color: #F55511;
    padding-left: 1rem;
}

.service-offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}


/* teams banner css */
.team-banner {
    background-image: url(../assets/teams/banner.webp);
}

.team-banner-container {
    background: rgba(255, 255, 255, .2);
    z-index: 3;
    position: relative;
    height: 100%;
}

.team-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    z-index: 2;
}

.banner-team-image {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.banner-team-image img {
    max-height: 440px;
}

.director-image {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    border-radius: 17px;
}

.doctors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 13px;
}

.doctor-box {
    border: 1px solid rgba(0, 0, 0, 0.33);
    border-radius: 18px;
    min-height: 300px;
    background-size: cover;
    display: flex;
    background-repeat: no-repeat;
    background-position-y: top;
    background-color: rgba(0, 0, 0, 0.10);
    background-size: contain;
    background-position: center;
}

.doctor-box.no-image {
    background-size: 68px;
    background-position-y: 75px;
    background-image: url(../assets/teams/noimage.webp);
    background-position-y: 83px;
    background-position-x: center;
}

.doctor-box:hover .doctor-description {
    background-color: #942F33;
    color: white;
}

.doctor-description {
    padding: 15px;
    padding-bottom: 20px;
    margin-top: auto;
    background: white;
    border-radius: 0 0 18px 18px;
    width: 100%;
    min-height: 90px;
}

.doctor-description .designation {
    font-size: 13px;
}

.doctor-image {
    height: 100%;
    width: 100%;
    max-width: 200px;
}

/* contact banner css */
.contact-banner {
    background-image: url(../assets/contact/banner.webp);
}

/* our package css */

.package-banner {
    background-image: url(../assets/packages/banner.webp);
}

.package-banner-image {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.package-banner-image img {
    max-height: 400px;
}

.package-card {
    border: 1px solid var(--border-color);
    box-shadow: 8px 8px 20px rgba(243, 130, 34, 0.1);
    border-radius: 24px;
    transition: all 0.2s ease;
    background: white;
}

.package-card:hover {
    border: 1px solid var(--orange-color);
}

.package-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.package-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.package-features {
    color: #464D62;
    margin-bottom: 1.5rem;
}

.package-price {
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    align-self: end;
    margin-top: auto;
    width: 100%;
}

.price-row {
    display: flex;
    align-items: end;
    gap: 12px;
}

.amount {
    font-size: 20px;
    font-weight: 500;
}

.package-price button {
    border-radius: 10px;
    min-height: 35px;
}

.original {
    font-size: 1rem;
    color: #464D62;
}

.rupee-symbol {
    font-size: 12px;
    font-weight: 400;
    margin-right: 4px;
}

/* media query */
@media (max-width: 1200px) {

    /* hero image */
    .hero-image-effect {
        right: -79px;
    }
}

@media (max-width: 1024px) {

    /* basic */
    .banner.team-banner,
    .banner.about-banner {
        background-position-x: left;
    }

    /* hero image */
    .hero-image-effect {
        right: -100px;
    }
}

@media (max-width: 910px) {

    .common-padding .container-lg {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 820px) {

    /* header */
    .web-logo img {
        max-width: 230px;
    }



    .hero-bottom-container {
        height: 120px;
    }

    .hero-image-effect {
        right: -153px;
    }
}

@media (max-width: 767px) {

    /* basic */
    .common-padding {
        margin: 0 0 12%;
    }

    p, .view-btn , .footer-links a,.services-list li {
        font-size: 12px !important; 
    }

    .amount , .package-card .card-title {
        font-size: 16px;
    }

    /* header */
    .header-navbar a:hover,
    .header-navbar a.active {
        color: initial !important;
    }

    .header-navbar a:hover::before,
    .header-navbar a.active::before {
        content: '';
        display: none;
    }

    .mbl-btn {
        background: transparent;
        border: none;
        color: #000000a6;
        padding-left: 0;
        font-weight: 400 !important;
    }

    .mbl-btn.focused {
        color: black;
        font-weight: 500 !important;
    }

    .mbl-btn:hover,
    .mbl-btn:focus {
        background: none;
    }

    .mobile-bar {
        display: block;
    }

    .custom-navbar {
        padding: 10px 0 !important;
    }

 

    .hero-content {
        margin: 100px 0 0;
    }

    .hero-bottom-container {
        height: 100px; 
        padding: 20px 0;
    }

    .verticle-line {
        display: none;
    }

    .hero-image {
        max-height: 428px;
    }

    .banner-image-container {
        max-height: 428px;
        position: relative;
    }

    .hero-image-effect {
        bottom: 0;
        left: -161px;
        right: -3px;
    }

    /* review css */
    .review-section {
        padding: 6% 0;
    }

    .navigation-btns {
        display: flex;
        justify-content: center;
        position: relative;
        margin-top: 1rem;
        align-items: center;
        gap: 14px;
    }

    .review-carousel .carousel-control-next,
    .review-carousel .carousel-control-prev {
        position: static;
    }

    .review-carousel .carousel-inner.custom-carousel {
        padding: 0 !important
    }

    /* about section */
    .about-banner {
        background-position-x: left;
    }

    /* department section */
    .small-image,
    .about-image,
    .service-offer-image {
        max-width: 300px;
    }

    .director-image {
        max-width: 230px;
    }

    /* package */
    .package-banner-image {
        opacity: 35%;
    }

}

@media (max-width: 660px) {

    /* services */
    .service-box button {
        background-color: var(--primary-color);
        font-size: 11px;
        padding: 5px;
    }


    .service-box p {
        font-size: 12px;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }

    .service-box .description {
        flex-direction: column;
    }

    /* departments home page */
    .department-tabs li a {
        padding: 10px 5px;
        font-size: 12px;
    }

}

@media (max-width: 460px) {

    /* basic */
    .common-padding {
        margin: 0 0 10%;
    }

    /*footer  */
    .footer-logo-container img {
        width: 100%;
        object-fit: contain;
    }

    /* services home page */
     .service-box {
        max-width: 115px;
        min-width: 115px;
        padding: 8px;
    }

}

@media (max-width: 393px) {

    /* home page services */
    .service-box {
        max-width: 150px;
        min-width:150px;
    }

    /* department */
    .department-tabs li a {
        padding: 10px 0px;
        font-size: 11px;
    }
}

@media (max-width: 355px) {

    /* home page services */
    .service-box {
        max-width: 115px;
        min-width:115px;
    }
}