@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Marcellus&display=swap');

:root {
    --title-color: #101437;
    --link-hover: #53A9FF;
    --text-color: #4a4a4a;
    --light-bg: #FFFAF6;
    --border: #ddd;
    --white: #fff;

    --header-ff: "Marcellus", serif;
    --text-ff: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--text-ff);
    color: var(--text-color);
    font-size: 100%;
}

ul,
ol {
    list-style: none;
    padding-left: 0;
    font-size: .875rem;
}

img {
    width: 100%;
    border-radius: 5px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--header-ff);
    color: var(--title-color);
    line-height: 1.4;
    margin-bottom: 1rem;
}

h6 {
    font-family: var(--text-ff);
    color: var(--title-color);
    text-transform: uppercase;
}

p {
    font-family: var(--text-ff);
    font-size: .875rem;
    line-height: 1.8;
}
p:last-child {
    margin-bottom: 0;
}

h1,
.h1 {
    font-size: 3rem;
    line-height: 1.2em;
}

h2,
.h2 {
    font-size: 2rem;
}

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

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

button:focus {
    border: 0;
    outline: 0 !important;
}

a,
.btn {
    transition: all .3s ease-out;
    text-decoration: none;
    border-radius: 5px;
    font-size: .875rem;
}

/*-------------------- Common Styles --------------------*/
.bottom-space {
    margin-bottom: 6.25rem;
}
.main-btn {
    background: var(--title-color);
    border: none;
    border-radius: 3px;
    color: var(--white);
    padding: 12px 24px;

    &:hover,
    &:focus {
        background: var(--link-hover);
        color: var(--white);
        outline: none;
    }
}

/*-------------------- Header Styles --------------------*/
.custom-header {
    --bs-navbar-padding-y: 1rem;
    background: var(--white);
}

.navbar-brand img {
    width: 166px;
}

.custom-header .navbar-nav .nav-link {
    color: var(--title-color);
    padding-inline: 0;
    margin-inline: 1rem;

    &:hover,
    &.active {
        color: var(--link-hover);
    }
}

.navbar-toggler {
    padding: 0;
    border: none;

    &:focus,
    &:active,
    .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
    }
}

/*-------------------- Hero Styles --------------------*/
.hero-section {
    margin-top: 3.125rem;
    padding-top: 4rem;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    gap: 1.875rem;
}
.hero-caption {
    display: flex;
    flex-direction: column;
}

/*-------------------- Facilities Styles --------------------*/
.facilities-section {
    background: var(--light-bg);
    padding-block: 6.25rem;
}
.facilities-box-wrap {
    margin-top: -100px;
}

/*-------------------- Home About Styles --------------------*/
.about-data h2 {
    position: relative;
    padding-bottom: 30px;

    &::after {
        content: '';
        position: absolute;
        border-bottom: 3px solid var(--title-color);
        width: 60px;
        display: block;
        padding-top: 25px;
    }
}

/*-------------------- Treatments Style --------------------*/
.accordion {
    border: none;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-btn-focus-border-color: unset;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-border-radius: 0;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-body-padding-x: 0;
}
.accordion-button:not(.collapsed) {
    box-shadow: none;
}
.accordion-header h4 {
    margin-bottom: 0;
}
.accordion-item {
    border: 2px solid var(--title-color);
}
.accordion-body {
    padding-block: 0 15px;
}

/*-------------------- Testimonial Style --------------------*/
.testimony-wrap {
    border-top: 1px solid var(--border);
    padding-top: 6.25rem;
}
.testimonial-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
    background-color: var(--link-hover);
    border-radius: 100%;
}
.carousel-item {
    margin-top: 30px;

    & i {
        font-size: 3rem;
        margin-bottom: 30px;
        color: var(--link-hover);
    }
    &.blockquote {
        font-size: 1rem;
    }
}

/*-------------------- Footer Style --------------------*/
footer {
    padding-block: 6.25rem;
    background: var(--light-bg);

    & h4 {
        margin-bottom: 1.25rem;
    }
}

.footer-menu li {
    line-height: 2;
    
    & a {
        color: var(--text-color);
    }

    & a:hover {
        color: var(--link-hover);
    }
}

.address {
    & a {
        color: var(--text-color);
    }
    & a:hover {
        color: var(--link-hover);
    }
}

.social {
    & i {
        color: var(--text-color);
        font-size: 1.25rem;
        transition: all .3s ease-out;
    }

    & i:hover {
        color: var(--link-hover);
    }
}

.copyright {
    border-top: 1px solid var(--border);
    margin-top: 30px;
    padding-top: 50px;

    & p {
        font-size: .875rem;
    }
    & a {
        color: var(--text-color);
    }
    & a:hover {
        color: var(--link-hover);
    }
}

/*-------------------- About Page Style --------------------*/
.inner-hero-section {
    background: url(../images/banner-about-us.webp) no-repeat center;
    background-size: cover;
    padding-block: 150px;
    margin-top: 4rem;
}

.abt-sub-cont h4 {
    border-bottom: 2px solid var(--title-color);
    padding-bottom: 10px;
}

.dr-pic img {
    max-width: 175px;
}

ol.inner-list {
    list-style: decimal;
    padding-left: 20px;

    & li {
        margin-bottom: 10px;
        line-height: 1.8;
    }
    & li span {
        font-weight: 500;
        color: var(--title-color);
    }
}

.treatments h4 {
    border-bottom: 2px solid var(--title-color);
    padding-bottom: 10px;
}

.horizontal-line {
    border-top: 1px solid var(--border);
    opacity: 1;
    margin-block: 3.125rem;
}

/*-------------------- Contact Page Style --------------------*/
.form-group {
    margin-bottom: 1.5rem;
}
textarea {
    resize: none;
}
.form-control::-webkit-input-placeholder {
    color: #ccc;
}
.form-control {
    font-family: var(--text-ff);
    border: 1px solid var(--border) !important;
    border-radius: 5px;
    outline:none !important;
    box-shadow: none !important;
    padding: .875rem;
    font-size: 14px;
}
.help-block li {
    color: red;
    font-size: 14px;
}
.btn-send {
    border-radius: 5px;
    padding: 10px 15px 12px 15px;
    background: transparent;
    border: 1px solid var(--border) !important;
    color: var(--text-color);
    font-size: 14px;
}
.btn-send:hover {
    background: transparent;
    color: var(--theme-red)
}

.contact-right {
    padding: 50px;
    background: var(--title-color);
    border-radius: 5px;

    h4, h6, p {
        color: var(--white);
    }

    p span {
        margin-inline: 10px;
    }

    a {
        color: var(--white);
    }
    a:hover {
        color: var(--link-hover);
    }
}

.map-area {
    margin-top: 50px;
    border-radius: 5px;
    overflow: hidden;
}

/*-------------------- Thiruvalla Landing Page --------------------*/
.lp-hero-thiruvalla {
    background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 40%, rgba(255,255,255,0) 70%), url(../images/landing-page-thiruvall-hero-bg.webp) no-repeat center;
    background-size: cover;
    padding-block: 6rem 4rem;
    margin-top: 4rem;
}
.lp-hero-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.lp-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}
.lp-hero-subtitle span {
    font-weight: 500;
    color: var(--title-color);
}

/*-------------------- Distance Bar --------------------*/
.distance-bar {
    background: var(--title-color);
    padding-block: 3.125rem;

    & p {
        font-size: 1.125rem;
        margin-bottom: 0;
        color: var(--white);
    }
}

/*-------------------- Why Choose --------------------*/
.why-choose-section {
    padding-block: 6.25rem;
    background: var(--light-bg);
}
.why-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all .3s ease-out;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(16,20,55,0.10);
    border-color: var(--border);
}
.why-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all .3s ease-out;
}
.why-card:hover .why-icon {
    background: var(--title-color);
}
.why-card:hover .why-icon i {
    color: var(--white);
}
.why-icon i {
    font-size: 1.5rem;
    color: var(--title-color);
    transition: all .3s ease-out;
}

/*-------------------- Conditions We Treat --------------------*/
#conditions {
    padding-block: 6.25rem;
    background: var(--white);
}
#conditions .section-header {
    margin-bottom: 3.5rem;
}
#conditions .section-header h2 {
    margin-bottom: 1.25rem;
}
#conditions .section-header p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-color);
}
.conditions-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.condition-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s ease-out;
    height: 100%;
}
.condition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(16,20,55,0.10);
    border-color: var(--title-color);
}
.condition-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--title-color);
    transition: all .3s ease-out;
}
.condition-card:hover .condition-icon {
    background: var(--title-color);
    color: var(--white);
}
.condition-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}
.condition-card p {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-color);
}

/*-------------------- Facilities & Advanced Treatments --------------------*/
#facilities {
    padding-block: 6.25rem;
    background: var(--light-bg);
}
.facilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.facilities-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.facilities-info > p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}
.facility-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.facility-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.facility-icon-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--title-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--header-ff);
    font-size: 1.125rem;
    font-weight: 600;
    transition: all .3s ease-out;
}
.facility-item:hover .facility-icon-num {
    background: var(--link-hover);
}
.facility-content h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.facility-content p {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-color);
}
.facility-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.facility-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16,20,55,0.10);
}
.facility-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/*-------------------- How to Reach --------------------*/
#how-to-reach {
    padding-block: 6.25rem;
    background: var(--title-color);
    color: var(--white);
}
#how-to-reach h2,
#how-to-reach h6,
#how-to-reach h3,
#how-to-reach p {
    color: var(--white);
}
.travel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.travel-left h6 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: .75rem;
    opacity: .75;
}
.travel-left h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.travel-left > p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: .85;
}
.travel-modes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.travel-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all .3s ease-out;
}
.travel-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}
.travel-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    transition: all .3s ease-out;
}
.travel-card:hover .travel-icon {
    background: var(--white);
    color: var(--title-color);
}
.travel-info h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.travel-info p {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 0;
    opacity: .8;
}
.clinic-address-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(4px);
}
.clinic-address-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.address-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.address-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.address-item i {
    flex-shrink: 0;
    width: 20px;
    margin-top: 3px;
    font-size: 1rem;
    color: var(--link-hover);
}
.address-item p {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 0;
    opacity: .9;
}
.address-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}
#how-to-reach .btn-primary {
    background: var(--white);
    color: var(--title-color);
    font-weight: 600;
}
#how-to-reach .btn-primary:hover {
    background: var(--link-hover);
    color: var(--white);
}

/* Testimonials */
.testimonials-section {
    padding-block: 6.25rem;
    background: var(--light-bg);
}
.testimonials-section .section-header {
    margin-bottom: 0;
}
.testimonials-section .section-header h2 {
    margin-bottom: 1.25rem;
}
.testimonials-section .section-header p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-color);
}
.testimonial-carousel {
    max-width: 720px;
    margin: 0 auto;
}
.testimonial-card {
    text-align: center;
    padding: 2.5rem 2rem;
}
.quote-icon {
    font-size: 2.5rem;
    color: var(--link-hover);
    margin-bottom: 1.5rem;
    opacity: .6;
}
.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    font-family: var(--header-ff);
    font-size: 1.125rem;
    color: var(--title-color);
    font-weight: 500;
}
.testimonial-carousel .owl-dots {
    margin-top: 1.5rem;
}
.testimonial-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border) !important;
    transition: all .3s ease-out;
    margin: 0 6px;
}
.testimonial-carousel .owl-dot.active span {
    background: var(--title-color) !important;
}
.testimonial-carousel .owl-dot:hover span {
    background: var(--link-hover) !important;
}
.testimonial-carousel .owl-stage-outer {
    overflow: hidden;
}

/*-------------------- Landing Page Hero Buttons --------------------*/
.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.btn-primary {
    background: var(--title-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    display: inline-block;
}
.btn-primary:hover {
    background: var(--link-hover);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--title-color);
    border: 1px solid var(--title-color);
    padding: 12px 24px;
    display: inline-block;
}
.btn-secondary:hover {
    background: var(--title-color);
    color: var(--white);
}

/*-------------------- Doctor Section --------------------*/
.doctor-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.doctor-stats {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}
.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--light-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all .3s ease-out;
}
.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16,20,55,0.08);
    border-color: var(--title-color);
}
.stat-number {
    font-family: var(--header-ff);
    font-size: 2rem;
    color: var(--title-color);
    line-height: 1.2;
}
.stat-label {
    font-size: .8125rem;
    color: var(--text-color);
    margin-top: 4px;
}
.doctor-cta {
    margin-top: 2rem;
}
.btn-accent {
    background: var(--title-color);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
}
.btn-accent:hover {
    background: var(--link-hover);
    color: var(--white);
}
.doctor-image-container {
    position: relative;
}
.doctor-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.doctor-image-wrapper img {
    display: block;
    border-radius: 12px;
}
.doctor-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    color: var(--title-color);
    font-size: .8125rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
}

/*-------------------- FAQ --------------------*/
#faq {
    padding-block: 6.25rem;
    background: var(--white);
}
#faq .section-header {
    margin-bottom: 3.5rem;
}
#faq .section-header h2 {
    margin-bottom: 1.25rem;
}
#faq .section-header p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-color);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease-out;
}
.faq-item:hover {
    border-color: var(--title-color);
}
.faq-item.active {
    border-color: var(--title-color);
}
.faq-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all .3s ease-out;
}
.faq-header h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
    flex: 1;
}
.faq-icon-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    color: var(--title-color);
    transition: all .3s ease-out;
}
.faq-item.active .faq-icon-toggle {
    background: var(--title-color);
    color: var(--white);
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease-out;
}
.faq-item.active .faq-body {
    max-height: 500px;
}
.faq-content {
    padding: 0 1.5rem 1.5rem;
}
.faq-content p {
    font-size: .9375rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
}

/*-------------------- Final CTA --------------------*/
.cta-section {
    padding-block: 6.25rem;
    background: var(--title-color);
}
.cta-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.cta-container h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}
.cta-container p {
    color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.8;
    opacity: .85;
    margin-bottom: 2rem;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--title-color);
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 16px 36px;
    border: none;
    border-radius: 8px;
    transition: all .3s ease-out;
}
.btn-cta:hover {
    background: var(--link-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.20);
}
.btn-cta i {
    font-size: 1.125rem;
}