@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-color: #F0F1F2;
    --primary-color: rgb(102, 102, 239);
    --text-color: rgb(75, 75, 75);
    --border-color: rgb(194, 188, 188);
    --white-color: white;
    --black-color: black;
    --dark-text-color: #12161B;
    --yellow-color: #FDBC14;
    --blue-color: #005DE0;
    --green-color: #008000;
    --red-color: #8a0a0a;
    --muted-color: #7c7f83;
    --dark-card-color: #1a1a1a;
    --light-yellow-color: #F5C000;
    --light-blue-color: #3B7EF5;
    --light-green-color: #2DB87A;
    --faq-blue-color: #184b93;
    --faq-blue-hover-color: #29599b;
    --faq-text-color: #333;
    --black-text-color: #020202;
    --dark-blue-text-color: rgb(4, 14, 39);
    --light-gray-text-color: rgb(171, 177, 190);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Header */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 22px;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.nav nav {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    list-style-type: none;
}

.nav li a {
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.2s;
    display: inline-block;
}

nav a:hover,
a:focus {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
}

.logo h4 {
    position: relative;
    left: 30px;
    top: 3px;
    font-family: "Asap Sharp", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 30px;
}

/* Hero Sec */

.hero_parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 3rem;
    gap: 12rem;
    position: relative;
    top: 4rem;
    margin-bottom: 18rem;
}

.herochild p {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    width: 18%;
    position: relative;
    left: 22px;
    top: 22px;
}

.herochild h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 12rem;
    letter-spacing: 16px;
}

.hero__texts__hero-title .word {
    display: block;
    white-space: nowrap;
}

.hero__texts__hero-title span span {
    display: inline-block;
}

.hero__texts__hero-title span span:hover {
    transition: 0.4s;
    animation: letterMove 0.45s ease-in-out;
    color: var(--primary-color);
}

@keyframes letterMove {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-19px);
    }

    45% {
        transform: translateX(12px);
    }

    65% {
        transform: translateX(-4px);
    }

    82% {
        transform: translateX(2px);
    }

    100% {
        transform: translateX(0);
    }
}

.herochild2 img {
    position: relative;
    right: 12rem;
    top: 8rem;
}

.herochild2 p {
    position: relative;
    right: 25rem;
    top: 6rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    width: 90%;
}

.herochild2 h1 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 12rem;
    letter-spacing: 10px;
    position: relative;
    right: 27rem;
    top: 6rem;
}

/* about us */

.about {
    position: relative;
}

.about img {
    margin-left: 3.9rem;
    border-radius: 12px;
}

.yellow-box p {
    position: absolute;
    top: 150px;
    right: 80px;
    width: 20%;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--yellow-color);
    border-radius: 15px;
    padding: 2rem;
}

.blue-box {
    background-color: var(--blue-color);
    position: absolute;
    bottom: 150px;
    top: 20rem;
    padding-bottom: 22rem;
    left: 45rem;
    width: 45rem;
    border-radius: 15px;
}

.blue-box h2 {
    position: relative;
    top: 6rem;
    left: 22px;
    width: 90%;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bg-color);
    font-size: 2.5rem;
}

.blue-box h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--bg-color);
    border: 1px solid var(--white-color);
    position: relative;
    top: 2rem;
    left: 2rem;
    border-radius: 30px;
    padding: 1rem;
    width: 15%;
}

.OurClinics {
    margin-top: 7rem;
    margin-inline: 4rem;
}

.clinics {
    display: flex;
    justify-content: space-evenly;
}

.clinic1-2,
.clinic3-4 {
    position: relative;
    top: 3rem;
}

.clinic3-4 {
    margin-right: 3rem;
}

.OurClinics h1 {
    color: var(--dark-text-color);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 6rem;
}

.clinic-1 {
    margin-bottom: 5rem;
    background-color: var(--blue-color);
    border-radius: 30px;
    padding: 4rem;
    width: 110%;
}

.clinic-1 h2,
a {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bg-color);
    font-size: 2.5rem;
    position: relative;
    right: 3rem;
}

.clinic-1 h2 {
    position: relative;
    top: -3rem;
}

.clinic-1 a {
    position: relative;
    text-decoration: none;
    bottom: -3rem;
    display: inline-block;
    transition: 0.2s;
}

.clinic-1 a:hover,
a:focus {
    color: var(--dark-blue-text-color);
    transform: translateY(-4px);
}

.clinic-2 {
    margin-bottom: 12rem;
    background-color: var(--green-color);
    border-radius: 30px;
    padding: 4rem;
    width: 110%;
}

.clinic-2 h2,
a {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bg-color);
    font-size: 2.5rem;
    position: relative;
    right: 3rem;
}

.clinic-2 h2 {
    position: relative;
    top: -3rem;
}

.clinic-2 a {
    position: relative;
    text-decoration: none;
    bottom: -3rem;
    display: inline-block;
    transition: 0.2s;
}

.clinic-2 a:hover,
a:focus {
    color: var(--dark-blue-text-color);
    transform: translateY(-4px);
}

.clinic-3 {
    margin-bottom: 5rem;
    background-color: var(--dark-text-color);
    border-radius: 30px;
    padding: 4rem;
    width: 110%;
}

.clinic-3 h2,
a {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bg-color);
    font-size: 2.5rem;
    position: relative;
    right: 3rem;
}

.clinic-3 h2 {
    position: relative;
    top: -3rem;
}

.clinic-3 a {
    position: relative;
    text-decoration: none;
    bottom: -3rem;
    display: inline-block;
    transition: 0.2s;
}

.clinic-3 a:hover,
a:focus {
    color: var(--light-gray-text-color);
    transform: translateY(-4px);
}

.clinic-4 {
    margin-bottom: 5rem;
    background-color: var(--red-color);
    border-radius: 30px;
    padding: 4rem;
    width: 110%;
}

.clinic-4 h2,
a {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bg-color);
    font-size: 2.5rem;
    position: relative;
    right: 3rem;
}

.clinic-4 h2 {
    position: relative;
    top: -3rem;
}

.clinic-4 a {
    position: relative;
    text-decoration: none;
    bottom: -3rem;
    display: inline-block;
    transition: 0.2s;
}

.clinic-4 a:hover,
a:focus {
    color: var(--dark-blue-text-color);
    transform: translateY(-4px);
}

.stories {
    margin-inline: 3rem;
    margin-bottom: 7rem;
}

.stories h1 {
    text-align: center;
    margin-bottom: 5rem;
    color: var(--dark-text-color);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 6rem;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stories-images {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 14%;
    margin: auto;
}

.stories-images img:last-child {
    position: relative;
    bottom: -2rem;
}

.stories-images img:first-child {
    position: relative;
    bottom: 0.5rem;
    width: 5rem;
    left: -1rem;
}

.card {
    background-color: var(--blue-color);
    text-align: center;
    border-radius: 20px;
    padding: 4rem 0;
}

.card p:first-child {
    color: var(--bg-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    top: -2rem;
    width: 80%;
    margin: auto;
}

.card p:last-child {
    color: var(--bg-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: -3rem;
    margin: auto;
}

.progress {
    background-color: var(--black-color);
    margin-inline: 4rem;
    border-radius: 20px;
    padding: 10rem 0;
    margin-bottom: 5rem;
    color: var(--white-color);
}

.texts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-inline: 3rem;
}

.texts h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    position: relative;
    top: -4rem;
    font-size: 5rem;
    width: 444px;
}

.texts p {
    color: var(--muted-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: -6rem;
    width: 40%;
}

.progress_cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-inline: 3rem;
    bottom: -8rem;
    position: relative;
}

.progress-card {
    background-color: var(--dark-card-color);
    border-radius: 20px;
    padding: 3rem 5.5rem;
}

.progress-card:first-child h2 {
    color: var(--light-yellow-color);
    font-size: 4rem;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    position: relative;
    left: -40%;
    top: -2rem;
}

.progress-card:first-child p {
    color: var(--muted-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: 1rem;
    left: -3rem;
}

.progress-card:nth-child(2) h2 {
    color: var(--light-blue-color);
    font-size: 4rem;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    position: relative;
    left: -40%;
    top: -2rem;
}

.progress-card:nth-child(2) p {
    color: var(--muted-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: 1rem;
    left: -3rem;
}

.progress-card:nth-child(3) h2 {
    color: var(--light-green-color);
    font-size: 4rem;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    position: relative;
    left: -40%;
    top: -2rem;
}

.progress-card:nth-child(3) p {
    color: var(--muted-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: 1rem;
    left: -3rem;
}

.progress-card:nth-child(4) h2 {
    color: var(--bg-color);
    font-size: 4rem;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    position: relative;
    left: -40%;
    top: -2rem;
}

.progress-card:nth-child(4) p {
    color: var(--muted-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    position: relative;
    bottom: 1rem;
    left: -3rem;
}

.faq-section {
    background-color: var(--bg-color);
    padding: 80px 20px;
    min-height: 100vh;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 56px;
    font-weight: 700;
    color: var(--black-text-color);
    margin-bottom: 10px;
}

.faq-title p {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: gray;
}

/* Accordion */

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white-color);
}

/* Question */

.accordion-button {
    width: 100%;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--faq-blue-color);
    color: var(--white-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.accordion-button:hover {
    background-color: var(--faq-blue-hover-color);
}

.accordion-button:focus {
    outline: none;
}

.faq-icon {
    font-size: 25px;
    font-weight: 400;
}

/* Answer */

.faq-answer {
    display: none;
}

.faq-answer.show {
    display: block;
}

.accordion-body {
    padding: 20px 25px;
    background-color: var(--white-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--faq-text-color);
    font-size: 16px;
    line-height: 1.6;
}

.footer-parent {
    background-color: var(--black-color);
    border-radius: 20px;
    margin-inline: 20px;
    height: 68vh;
    color: var(--white-color);
    display: flex;
    justify-content: space-between;
    padding: 5rem 0 1rem 2rem;
    margin-bottom: 1.5rem;
}

.footer-child h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2rem;
}

.footer-child:first-child p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    bottom: -80%;
}

.footer-child h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-child:nth-child(2) {
    position: relative;
    left: 5rem;
}

.footer-child:nth-child(2) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer-child:nth-child(3) {
    position: relative;
    right: -12rem;
}

.footer-child:nth-child(3) p {
    line-height: 2rem;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 40%;
}

.footer-child:nth-child(4) {
    position: relative;
    left: -3rem;
}

.footer-child ul {
    list-style-type: none;
}

.footer-child a {
    font-size: 1rem;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    left: 1px;
    line-height: 2rem;
}

.footer-child a:hover,
a:focus {
    color: var(--muted-color);
}

/* Tablet Responsiveness: 769px to 972px */

@media (min-width: 769px) and (max-width: 972px) {

    body {
        overflow-x: hidden;
    }

    .header {
        width: 100%;
        margin-inline: 0;
        padding: 12px 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo img {
        width: 40px;
    }

    .logo h4 {
        left: 10px;
        top: 0;
        font-size: 22px;
    }

    .nav {
        width: 100%;
    }

    .nav nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 14px;
        position: static !important;
        left: 0 !important;
        top: 0 !important;
    }

    .nav li a {
        font-size: 12px;
        left: 0 !important;
        white-space: nowrap;
    }

    .hero_parent {
        flex-direction: row;
        gap: 30px;
        margin-inline: 30px;
        margin-bottom: 170px;
        align-items: center;
        justify-content: center;
    }

    .herochild {
        width: 45%;
        flex: 0 1 45%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .herochild p {
        width: 100%;
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        font-size: 13px;
        margin-bottom: 15px;
    }

    .herochild h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .herochild img {
        width: 100%;
        max-width: 900px;
        height: auto;
        margin-top: 15px;
    }

    .herochild2 {
        width: 45%;
        flex: 0 1 45%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .herochild2 img {
        position: static !important;
        right: 0 !important;
        top: 0 !important;
        width: 100%;
        max-width: 800px;
        height: auto;
        margin-bottom: 15px;
    }

    .herochild2 p {
        position: static !important;
        right: 0 !important;
        top: 0 !important;
        width: 100%;
        font-size: 13px;
        margin-bottom: 15px;
    }

    .herochild2 h1 {
        position: static !important;
        right: 0 !important;
        top: 0 !important;
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .about {
        position: relative;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about img {
        margin-left: 0;
        width: 100%;
        max-width: 820px;
        height: auto;
        margin-bottom: 20px;
    }

    .yellow-box p {
        position: static !important;
        width: 90% !important;
        max-width: 350px;
        margin: 15px auto;
        padding: 1.2rem;
        font-size: 14px;
    }

    .blue-box {
        position: static !important;
        width: 90% !important;
        max-width: 800px;
        margin: 25px auto 0;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .blue-box h2 {
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        font-size: 1.6rem;
        margin-bottom: 10px;
        width: 100%;
    }

    .blue-box h4 {
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        width: auto;
    }

    .OurClinics {
        margin-inline: 15px;
    }

    .OurClinics h1 {
        font-size: 2rem;
    }

    .clinics {
        flex-direction: column;
        gap: 15px;
    }

    .clinic1-2,
    .clinic3-4 {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .clinic-1,
    .clinic-2,
    .clinic-3,
    .clinic-4 {
        width: 100% !important;
        padding: 1.5rem;
    }

    .clinic-1 h2,
    .clinic-2 h2,
    .clinic-3 h2,
    .clinic-4 h2,
    .clinic-1 a,
    .clinic-2 a,
    .clinic-3 a,
    .clinic-4 a {
        position: static !important;
        right: 0 !important;
        left: 0 !important;
        top: 0 !important;
    }

    .stories {
        margin-inline: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stories h1 {
        font-size: 1.6rem;
        width: 100%;
    }

    .cards {
        flex-wrap: wrap;
        gap: 1rem;
        max-width: 100%;
        justify-content: center;
    }

    .card {
        flex: 0 1 calc(50% - 0.5rem);
        max-width: 450px;
        padding: 2rem 1rem;
    }

    .card p:first-child {
        font-size: 11px;
        top: -1rem;
    }

    .card p:last-child {
        font-size: 11px;
        bottom: -1rem;
    }

    .stories-images {
        width: 100%;
        max-width: 100px;
        margin: 0 auto 10px;
        gap: 0.3rem;
    }

    .stories-images img:first-child {
        width: 30px;
        height: auto;
        left: 0;
        bottom: 0;
    }

    .stories-images img:last-child {
        width: 50px;
        height: auto;
        bottom: 0;
    }

    .progress {
        margin-inline: 15px;
        padding: 2rem 1rem;
        border-radius: 15px;
    }

    .texts {
        margin-inline: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .texts h2 {
        width: 100%;
        font-size: 1.5rem;
        top: 0 !important;
        margin-bottom: 10px;
    }

    .texts p {
        width: 90%;
        bottom: 0 !important;
        position: static !important;
        font-size: 12px;
    }

    .progress_cards {
        flex-direction: row;
        flex-wrap: wrap;
        margin-inline: 0;
        position: static !important;
        gap: 10px;
        justify-content: center;
        padding: 12px 10px;
    }

    .progress-card {
        padding: 1.2rem 1.5rem;
        flex: 1 1 calc(50% - 5px);
        min-width: 120px;
    }

    .progress-card h2 {
        left: 0 !important;
        font-size: 1.5rem;
        top: 0 !important;
    }

    .progress-card p {
        left: 0 !important;
        position: static !important;
        font-size: 11px;
    }

    .footer-parent {
        height: auto;
        flex-direction: column;
        gap: 1rem;
        margin-inline: 10px;
        padding: 1.5rem 1rem;
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }

    .footer-child a {
        left: 0 !important;
    }
}

@media (max-width: 768px) {

    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
    }

    .header {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-inline: 10px;
        padding: 15px 10px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo img {
        width: 40px;
    }

    .logo h4 {
        left: 10px;
        top: 0;
        font-size: 22px;
    }

    .nav {
        width: 100%;
    }

    .nav nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 16px;
        position: static;
        left: 0;
        right: 0;
    }

    .nav li a {
        font-size: 13px;
        left: 0;
    }

    .hero_parent {
        flex-direction: column;
        gap: 30px;
        margin-inline: 20px;
        margin-bottom: 100px;
    }

    .herochild {
        width: 100%;
    }

    .herochild p {
        width: 50%;
        left: 0;
        top: 20px;
        font-size: 14px;
    }

    .herochild h1 {
        font-size: 4.5rem;
        letter-spacing: 5px;
        margin-top: 30px;
        position: relative;
        right: 0.5rem;
    }

    .herochild img {
        width: 100%;
        height: auto;
    }

    .herochild2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .herochild2 img {
        width: 100%;
        height: auto;
        position: relative;
        right: 0;
        top: 0;
    }

    .herochild2 h1 {
        font-size: 4.5rem;
        letter-spacing: 5px;
        right: 0;
        top: 0;
        margin-top: 20px;
        align-self: flex-start;
    }

    .herochild2 p {
        position: relative;
        right: 0;
        top: 0;
        width: 90%;
        font-size: 14px;
        margin-top: 20px;
    }

    .about {
        display: flex;
        flex-direction: column;
        margin-inline: 14px;
    }

    .about img {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .yellow-box p {
        position: static;
        width: 100%;
        margin-top: 20px;
        padding: 1.5rem;
    }

    .blue-box {
        position: static;
        width: 100%;
        padding: 2rem;
        margin-top: 20px;
    }

    .blue-box h4 {
        position: static;
        width: fit-content;
        padding: 10px 20px;
    }

    .blue-box h2 {
        position: static;
        width: 100%;
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .OurClinics {
        margin-top: 80px;
        margin-inline: 20px;
    }

    .OurClinics h1 {
        font-size: 3rem;
        position: relative;
        left: 10px;
    }

    .clinics {
        flex-direction: column;
        gap: 30px;
    }

    .clinic1-2,
    .clinic3-4 {
        width: 100%;
    }

    .clinic-1,
    .clinic-2,
    .clinic-3,
    .clinic-4 {
        width: 100%;
        padding: 2rem;
    }

    .clinic-1 {
        margin-bottom: 30px;
    }

    .clinic-2 {
        margin-bottom: 7px;
    }

    .clinic-3 {
        margin-bottom: 30px;
    }

    .clinic-4 {
        margin-bottom: 30px;
    }

    .clinic-1 h2,
    .clinic-2 h2,
    .clinic-3 h2,
    .clinic-4 h2 {
        position: static;
        font-size: 1.5rem;
    }

    .clinic-1 a,
    .clinic-2 a,
    .clinic-3 a,
    .clinic-4 a {
        position: static;
        font-size: 1rem;
        margin-top: 30px;
    }

    .stories {
        display: flex;
        flex-direction: column;
        margin-inline: 20px;
    }

    .stories h1 {
        font-size: 3rem;
        bottom: -3rem;
        position: relative;
    }

    .cards {
        display: flex;
        flex-direction: column;
    }

    .progress {
        margin-inline: 15px;
        padding: 5rem 0;
        margin-bottom: 4rem;
    }

    .progress .texts {
        flex-direction: column;
        margin-inline: 20px;
    }

    .progress .texts h2 {
        position: static;
        width: 100%;
        font-size: 2.5rem;
    }

    .progress .texts p {
        position: static;
        width: 100%;
        font-size: 14px;
        margin-top: 20px;
    }

    .progress_cards {
        flex-direction: column;
        gap: 20px;
        margin-inline: 20px;
        bottom: 0;
        position: static;
        margin-top: 40px;
    }

    .progress-card {
        width: 100%;
        padding: 2rem;
    }

    .progress-card h2 {
        position: static;
        font-size: 3rem;
        left: 0 !important;
        top: 0 !important;
    }

    .progress-card p {
        position: static !important;
        font-size: 14px;
        margin-top: 10px;
    }

    .footer-parent {
        margin-inline: 15px;
        height: auto;
        min-height: 100vh;
        padding: 3rem 2rem;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 10rem;
    }

    .footer-child:nth-child(2) {
        position: static;
    }

    .footer-child:nth-child(3) {
        position: static;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }

    .footer-child:nth-child(4) {
        position: static;
    }
}

/* =========================================
   RESPONSIVE: 973px - 1241px
   ========================================= */

@media (min-width: 973px) and (max-width: 1241px) {

    body {
        overflow-x: hidden;
    }

    /* ================= HEADER ================= */

    .header {
        margin-inline: 15px;
        padding: 15px 10px;
    }

    .nav nav {
        gap: clamp(18px, 2.5vw, 32px);
    }

    .nav li a {
        font-size: clamp(15px, 1.4vw, 18px);
    }

    .logo img {
        width: 45px;
    }

    .logo h4 {
        left: 15px;
        font-size: clamp(23px, 2vw, 27px);
    }


    /* ================= HERO ================= */

    .hero_parent {
        margin-inline: 30px;
        gap: clamp(35px, 5vw, 70px);
        top: 2rem;
        margin-bottom: 12rem;
        align-items: center;
    }

    .herochild,
    .herochild2 {
        width: 50%;
        min-width: 0;
    }

    .herochild p {
        width: 80%;
        left: 0;
        top: 0;
        font-size: clamp(12px, 1.1vw, 15px);
    }

    .herochild h1 {
        font-size: clamp(6rem, 9vw, 9rem);
        letter-spacing: clamp(5px, 0.6vw, 9px);
    }

    .herochild img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .herochild2 {
        position: relative;
        top: 4rem;
        left: 0;
    }

    .herochild2 img {
        position: static;
        width: 100%;
        max-width: 450px;
        height: auto;
    }

    .herochild2 p {
        position: static;
        width: 90%;
        font-size: clamp(12px, 1.1vw, 15px);
        margin-top: 10px;
    }

    .herochild2 h1 {
        position: static;
        font-size: clamp(6rem, 9vw, 9rem);
        letter-spacing: clamp(5px, 0.6vw, 9px);
    }


    /* ================= ABOUT ================= */

    .about {
        padding: 0 30px;
    }

    .about img {
        margin-left: 0;
        width: 100%;
        height: auto;
    }

    .yellow-box p {
        top: clamp(100px, 10vw, 140px);
        right: clamp(50px, 7vw, 90px);
        width: clamp(250px, 27%, 330px);
        padding: 1.2rem;
        font-size: clamp(12px, 1.1vw, 14px);
    }

    .blue-box {
        left: 45%;
        top: clamp(14rem, 17vw, 18rem);
        width: 48%;
        padding-bottom: clamp(12rem, 15vw, 17rem);
    }

    .blue-box h2 {
        top: clamp(3rem, 5vw, 5rem);
        left: 15px;
        font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    }

    .blue-box h4 {
        top: 1rem;
        left: 1.2rem;
        width: fit-content;
        padding: 0.8rem 1rem;
    }


    /* ================= OUR CLINICS ================= */

    .OurClinics {
        margin-top: 6rem;
        margin-inline: 30px;
    }

    .OurClinics h1 {
        font-size: clamp(3.5rem, 5vw, 5rem);
    }

    .clinics {
        gap: clamp(20px, 3vw, 40px);
        justify-content: center;
    }

    .clinic1-2,
    .clinic3-4 {
        width: 45%;
        top: 2rem;
    }

    .clinic3-4 {
        margin-right: 0;
    }

    .clinic-1,
    .clinic-2,
    .clinic-3,
    .clinic-4 {
        width: 100%;
        padding: clamp(2rem, 3vw, 3rem);
        border-radius: 25px;
    }

    .clinic-1 h2,
    .clinic-2 h2,
    .clinic-3 h2,
    .clinic-4 h2 {
        font-size: clamp(1.6rem, 2vw, 2rem);
        right: 0;
        top: -1.5rem;
    }

    .clinic-1 a,
    .clinic-2 a,
    .clinic-3 a,
    .clinic-4 a {
        font-size: clamp(1.3rem, 1.7vw, 1.6rem);
        right: 0;
        bottom: -1.5rem;
    }


    /* ================= STORIES ================= */

    .stories {
        margin-inline: 30px;
        margin-bottom: 6rem;
    }

    .stories h1 {
        font-size: clamp(3.5rem, 5vw, 5rem);
        margin-bottom: 4rem;
    }

    .cards {
        gap: clamp(12px, 1.5vw, 20px);
        align-items: stretch;
    }

    .stories-images {
        width: 15%;
    }

    .card {
        padding: clamp(2.5rem, 3vw, 3.5rem) 1rem;
        flex: 1;
        min-width: 0;
    }

    .card p:first-child {
        width: 90%;
        font-size: clamp(11px, 1vw, 13px);
    }

    .card p:last-child {
        font-size: clamp(11px, 1vw, 13px);
    }


    /* ================= PROGRESS ================= */

    .progress {
        margin-inline: 25px;
        padding: clamp(6rem, 8vw, 8rem) 0;
        border-radius: 20px;
    }

    .texts {
        margin-inline: 30px;
        gap: 30px;
        align-items: center;
    }

    .texts h2 {
        width: 45%;
        font-size: clamp(3rem, 4vw, 4rem);
        top: 0;
    }

    .texts p {
        width: 45%;
        bottom: 0;
        font-size: clamp(12px, 1.1vw, 14px);
    }

    .progress_cards {
        margin-inline: 25px;
        gap: clamp(12px, 1.5vw, 20px);
        bottom: -5rem;
    }

    .progress-card {
        padding: clamp(1.7rem, 2.5vw, 2.5rem);
        flex: 1;
        min-width: 0;
    }

    .progress-card h2 {
        font-size: clamp(2.2rem, 3vw, 3rem) !important;
        left: 0 !important;
        top: 0 !important;
    }

    .progress-card p {
        left: 0 !important;
        bottom: 0 !important;
        font-size: clamp(11px, 1vw, 13px);
    }


    /* ================= FAQ ================= */

    .faq-section {
        padding: 70px 30px;
    }

    .faq-container {
        max-width: 850px;
    }

    .faq-title h2 {
        font-size: clamp(3rem, 4.5vw, 4rem);
    }

    .accordion-button {
        padding: 18px 20px;
        font-size: clamp(15px, 1.3vw, 17px);
    }

    .accordion-body {
        padding: 18px 20px;
        font-size: clamp(13px, 1.1vw, 15px);
    }


    /* ================= FOOTER ================= */

    .footer-parent {
        margin-inline: 15px;
        height: auto;
        min-height: 500px;
        padding: 4rem 2rem 2rem;
        gap: clamp(20px, 3vw, 40px);
    }

    .footer-child:nth-child(2),
    .footer-child:nth-child(3),
    .footer-child:nth-child(4) {
        position: static;
    }

    .footer-child:nth-child(3) p {
        width: 100%;
    }

    .footer-child a {
        left: 0;
    }
}