/* =========================================
   SERVICE DETAILS PAGE
   Praveen Physiotherapy Clinic
========================================= */

:root {
    --primary: #0F4C81;
    --secondary: #16A085;
    --dark: #17324D;
    --text: #4A5568;
    --light: #F5FAFA;
    --white: #ffffff;
    --border: #E4EEEE;
    --shadow: 0 15px 40px rgba(15, 76, 129, 0.10);
}


/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.service-hero {
    position: relative;
    padding: 105px 0 110px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 160, 133, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F3FAFC 0%,
            #FFFFFF 55%,
            #EEF9F7 100%
        );
}

.service-hero::before {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    right: -150px;
    bottom: -180px;

    background: rgba(15, 76, 129, 0.05);
}

.service-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: auto;

    text-align: center;
}

.hero-badge {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    padding: 10px 20px;

    border-radius: 50px;

    background: #E8F7F4;

    color: var(--secondary);

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 15px;
}

.service-hero h1 {
    margin: 0 0 22px;

    color: var(--dark);

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1px;
}

.service-hero p {
    max-width: 760px;

    margin: 0 auto 35px;

    font-size: 18px;

    line-height: 1.7;

    color: #596A78;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* =========================================
   BUTTONS
========================================= */

.btn-primary,
.btn-call {
    min-height: 52px;

    padding: 0 26px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 30px;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--secondary);

    color: #ffffff;

    box-shadow:
        0 12px 28px rgba(22, 160, 133, 0.20);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 32px rgba(22, 160, 133, 0.28);
}

.btn-call {
    background: var(--primary);

    color: #ffffff;

    box-shadow:
        0 12px 28px rgba(15, 76, 129, 0.18);
}

.btn-call:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 32px rgba(15, 76, 129, 0.25);
}


/* =========================================
   SECTIONS
========================================= */

.service-section {
    padding: 90px 0;
}

.light-section {
    background: var(--light);
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-tag {
    display: inline-block;

    padding: 9px 19px;

    margin-bottom: 16px;

    border-radius: 50px;

    background: #EAF7F5;

    color: var(--secondary);

    font-size: 14px;

    font-weight: 700;
}

.section-heading h2 {
    margin: 0 0 15px;

    color: var(--dark);

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.2;

    font-weight: 800;
}

.section-heading p {
    margin: 0;

    line-height: 1.7;

    font-size: 16px;
}


/* =========================================
   WHAT IS TREATMENT
========================================= */

.content-box {
    max-width: 900px;

    margin: auto;

    padding: 38px 42px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.content-box p {
    margin: 0;

    font-size: 17px;

    line-height: 1.8;

    text-align: center;
}


/* =========================================
   BENEFITS
========================================= */

.benefit-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    max-width: 900px;

    margin: auto;
}

.benefit-card {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 14px;

    transition: all 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);

    border-color: rgba(22, 160, 133, 0.35);

    box-shadow: var(--shadow);
}

.check-icon {
    width: 36px;
    height: 36px;

    min-width: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #EAF7F5;

    color: var(--secondary);
}

.benefit-card span {
    font-size: 15px;

    font-weight: 600;

    color: #34495E;

    line-height: 1.5;
}


/* =========================================
   CONDITIONS
========================================= */

.conditions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.condition-card {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 21px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow: 0 7px 22px rgba(15, 76, 129, 0.05);

    transition: all 0.25s ease;
}

.condition-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.condition-card i {
    color: var(--secondary);

    font-size: 18px;
}

.condition-card span {
    color: #34495E;

    font-weight: 600;

    line-height: 1.45;
}


/* =========================================
   TREATMENT PROCESS
========================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.process-card {
    position: relative;

    padding: 30px 23px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: 0 8px 25px rgba(15, 76, 129, 0.06);

    overflow: hidden;

    transition: all 0.25s ease;
}

.process-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.process-number {
    position: absolute;

    top: 15px;
    right: 18px;

    font-size: 13px;

    font-weight: 800;

    color: #B9D9D4;
}

.process-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 15px;

    background: #EAF7F5;

    color: var(--secondary);

    font-size: 22px;
}

.process-card h3 {
    margin: 0 0 12px;

    color: var(--dark);

    font-size: 19px;
}

.process-card p {
    margin: 0;

    font-size: 14px;

    line-height: 1.7;

    color: #647482;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-wrapper {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.why-content h2 {
    margin: 0 0 18px;

    color: var(--dark);

    font-size: 40px;

    line-height: 1.2;

    font-weight: 800;
}

.why-content p {
    margin: 0;

    font-size: 16px;

    line-height: 1.75;
}

.why-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.why-item {
    display: flex;

    gap: 15px;

    padding: 21px;

    border-radius: 16px;

    background: #F7FBFB;

    border: 1px solid var(--border);
}

.why-item > i {
    color: var(--secondary);

    font-size: 21px;

    margin-top: 3px;
}

.why-item h3 {
    margin: 0 0 6px;

    color: var(--dark);

    font-size: 17px;
}

.why-item p {
    margin: 0;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================
   FAQ
========================================= */

.faq-section {
    background: #F7FBFB;
}

.faq-container {
    max-width: 850px;

    margin: auto;
}

.faq-item {
    margin-bottom: 12px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;
}

.faq-question {
    width: 100%;

    border: none;

    background: #ffffff;

    padding: 21px 23px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    text-align: left;

    cursor: pointer;

    color: var(--dark);

    font-size: 15px;

    font-weight: 700;
}

.faq-question i {
    color: var(--secondary);

    font-size: 14px;

    min-width: 18px;
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;

    padding: 0 23px 22px;

    font-size: 14px;

    line-height: 1.7;

    color: #647482;
}


/* =========================================
   CTA
========================================= */

.service-cta {
    padding: 95px 0;

    background:
        linear-gradient(
            135deg,
            #0F4C81,
            #116B7A
        );

    position: relative;

    overflow: hidden;
}

.service-cta::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    top: -250px;
    right: -100px;

    background: rgba(255, 255, 255, 0.06);
}

.service-cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    bottom: -220px;
    left: -100px;

    background: rgba(255, 255, 255, 0.05);
}

.cta-content {
    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 750px;

    margin: auto;
}

.cta-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 25px;
}

.cta-content h2 {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 42px;

    line-height: 1.2;
}

.cta-content p {
    margin: 0 0 28px;

    color: rgba(255,255,255,0.88);

    font-size: 17px;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 13px;

    flex-wrap: wrap;
}

.service-cta .btn-primary {
    background: #16A085;
}

.service-cta .btn-call {
    background: #ffffff;

    color: var(--primary);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .conditions-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .why-wrapper {
        grid-template-columns:
            1fr;

        gap: 40px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .container {
        width: min(100% - 30px, 600px);
    }

    .service-hero {
        padding: 70px 0 75px;
    }

    .service-hero h1 {
        font-size: 36px;

        letter-spacing: -0.5px;
    }

    .service-hero p {
        font-size: 15px;

        line-height: 1.7;
    }

    .hero-badge {
        font-size: 12px;

        padding: 9px 15px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .service-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .content-box {
        padding: 27px 22px;

        border-radius: 16px;
    }

    .content-box p {
        font-size: 15px;

        text-align: left;
    }

    .benefit-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .benefit-card {
        padding: 17px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .condition-card {
        padding: 17px;
    }

    .process-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .process-card {
        padding: 25px 21px;
    }

    .why-content h2 {
        font-size: 30px;
    }

    .why-wrapper {
        gap: 30px;
    }

    .why-item {
        padding: 17px;
    }

    .faq-question {
        padding: 18px;

        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 18px 19px;
    }

    .service-cta {
        padding: 70px 0;
    }

    .cta-content h2 {
        font-size: 31px;
    }

    .cta-content p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .service-hero h1 {
        font-size: 32px;
    }

    .service-hero {
        padding: 60px 0 65px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .process-card h3 {
        font-size: 18px;
    }

}