﻿/* ABOUT PROFILE SECTION START */
.about-profile-section {
    padding: 4.5rem 0;
    background: #f7fafc;
}

.about-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 4rem;
    align-items: center;
}

.about-profile-copy {
    max-width: 620px;
}

.about-section-kicker {
    margin: 0 0 0.7rem;
    color: #C62828;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-profile-copy h1 {
    margin: 0 0 1rem;
    color: #0B2D4D;
    font-size: 3rem;
    line-height: 1.1;
}

.about-qualifications {
    margin: 0 0 1.4rem;
    padding-left: 0.9rem;
    border-left: 3px solid #C62828;
    color: #44546a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}

.about-profile-copy > p:not(.about-section-kicker):not(.about-qualifications) {
    max-width: 580px;
    color: #526174;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-focus-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.about-focus-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #27374a;
    font-weight: 600;
}

.about-focus-list i {
    color: #C62828;
}

.about-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border-radius: 4px;
    background: #0B2D4D;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.about-primary-link:hover {
    background: #061d32;
    color: #fff;
}

.about-profile-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #313239;
    box-shadow: 0 16px 30px rgba(25, 53, 87, 0.14);
}

.about-profile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
}

.about-profile-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.9rem 1rem;
    background: rgba(19, 44, 112, 0.92);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}

/* ABOUT PROFILE SECTION END */

/* ABOUT VALUES SECTION START */
.about-values-section {
    padding: 4.5rem 0;
    background: #fff;
}

.about-values-heading {
    max-width: 620px;
    margin-bottom: 2rem;
}

.about-values-heading h2 {
    margin: 0;
    color: #0B2D4D;
    font-size: 2.35rem;
    line-height: 1.15;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-value {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.75rem;
    border: 1px solid #dce5ef;
    border-left: 4px solid #C62828;
    border-radius: 6px;
    background: #f7fafc;
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fbe5e5;
    color: #C62828;
    font-size: 1.1rem;
}

.about-value h3 {
    margin: 0 0 0.5rem;
    color: #0B2D4D;
    font-size: 1.35rem;
}

.about-value p {
    margin: 0;
    color: #526174;
    line-height: 1.7;
}

/* ABOUT VALUES SECTION END */

/* ABOUT DOCTOR SECTION START */
.about-doctor h2 {
    color: #0B2D4D;
    font-size: 28px;
    font-weight: 600;
}

.about-doctor button {
    background-color: #0B2D4D;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    border: 0px;
    font-size: 18px;
    font-weight: 600;
}

/* ABOUT DOCTOR SECTION END */

/* VISION AND MISSION SECTION START */
.vision-mission {
    background-color: #0B2D4D;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision,
.mission {
    border: 20px solid white;
    background-color: rgb(245, 228, 220);
    border-radius: 50%;
    height: 500px;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: white;
}

.vision {
    background-color: #0B2D4D;
    margin-left: 160px;

}

.mission {
    background-color: #C62828;
    margin-left: -50px;
}

/* VISION AND MISSION SECTION END */

/* WHY CHOOSE US SECTION START */
.choose {
    background-color: #0B2D4D;
}

.choose-block img {
    border-radius: 7px;
    margin-bottom: 20px;
    width: 100%;
}

.review {
    border-right: 2px solid #0B2D4D;
    text-align: center;
    display: flex;
    justify-content: center;
}

.review4 {
    border: none;
}

.clinic,
.review-section {
    background-color: white;
    border-radius: 7px;
    padding: 20px;
    font-size: 22px;
    text-align: center;

}

.clinic h4 {
    font-size: 25px;
    font-weight: 700;
    color: #0B2D4D;
}

.review-section {
    margin: 20px 0px;
    padding: 40px 20px;
    font-size: 25px;
}

.review-section p:first-child {
    color: #C62828;
    padding-right: 10px;
    font-weight: 600;
}

.review-section p:last-child {
    color: #0B2D4D;
    padding-right: 10px;
    font-weight: 600;
}

.choose-title h3 {
    color: white;
    text-align: center;
    font-size: 50px;
}

/* WHY CHOOSE US SECTION END */

/* MEET THE DOCTOR SECTION START */
/* .doctor-title h3 {
    text-align: center;
    font-size: 50px;
    color: rgb(46, 6, 84);
}

.doctor-block img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin: 50px 10px;
    border: 2px solid #0B2D4D;
}

.doctor-block {
    border: 1px solid black;
    padding: 10px;
    border-radius: 7px;
    margin: 20px;
}

.doctor-block:hover h3 {
    color: orangered;
}

.doctor-block:hover p {
    color: #0B2D4D;
}

.doctor-block {
    background-color: white;
}

.doctor-block::before {
    content: "";
    color: orangered;
    background-color: orangered;
    height: 200px;
    width: 110px;
    position: absolute;
    top: 143%;
    margin-left: -120px;
    z-index: -1;
}

.doctor-block::after {
    content: "";
    color: orangered;
    background-color: orangered;
    height: 200px;
    width: 110px;
    position: absolute;
    top: 143%;
    margin-left: 150px;
    z-index: -1;
} */

/* MEET THE DOCTOR SECTION END */

/* MEDIA QUERIES SECTION START */
@media only screen and (max-width: 576px) {

    .vision,
    .mission {
        height: 300px;
        width: 300px;
        line-height: 16px;
        border: 15px solid white;
    }

    .vision {
        margin: 0 auto
    }

    .mission {
        margin: 0 auto;
    }

    .review {
        border-bottom: 1px solid black;
        border-right: none;
        font-size: 20px;

    }

    .clinic {
        font-size: 20px;
        padding: 10px;
    }

    .choose-title h3 {
        font-size: 35px;
    }

    .doctor-block img {
        height: 200px;
        width: 200px;
        margin: 10px 0px;
    }

    .doctor-title h3 {
        font-size: 35px;
    }

    .doctor-block::before {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;

    }

    .doctor-block::after {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;
    }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {

    .vision,
    .mission {
        height: 350px;
        width: 350px;

    }

    .vision {
        margin-left: 30px;

    }

    .mission {
        margin-left: -30px;
    }

    .review {
        border-bottom: 1px solid black;
        border-right: none;
        font-size: 20px;
    }

    .clinic {
        font-size: 20px;
    }

    .doctor-block img {
        height: 150px;
        width: 150px;
        margin: 10px 0px;
    }

    .doctor-title h3 {
        font-size: 35px;
    }

    .doctor-block {
        width: 50%;
        margin: 0 auto;
        justify-content: center;
        margin-bottom: 10px;
    }

    .doctor-block::before {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;

    }

    .doctor-block::after {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;
    }
}

@media only screen and (min-width: 769px) and (max-width: 992px) {

    .vision,
    .mission {
        height: 350px;
        width: 350px;

    }

    .vision {
        margin-left: 20px;

    }

    .mission {
        margin-left: -20px;
    }

    .review {
        font-size: 20px;
    }

    .clinic {
        font-size: 20px;
    }

    .doctor-block img {
        margin: 0;
        height: 200px;
        width: 200px;
    }

    .doctor-block {
        width: 50%;
        margin: 0 auto;
        justify-content: center;
        margin-bottom: 10px;
    }

    .doctor-block::before {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;

    }

    .doctor-block::after {
        content: "";
        color: none;
        background: none;
        position: relative;
        height: 0px;
        width: 0px;
        top: 0%;
        margin-left: 0px;
        z-index: 0;
    }
    .review2{
        border:none;
    }
    

}

@media only screen and (min-width: 993px) and (max-width: 1200px) {

    .vision {
        margin-left: 10px;

    }

    .mission {
        margin-left: -10px;
    }

    .review {

        font-size: 20px;
    }

    .clinic {
        font-size: 20px;
    }

    .doctor-block img {
        margin: 0;
        margin-bottom: 10px;
        height: 200px;
        width: 200px;
    }

    .doctor-block {
        padding: 10px;
    }

    .doctor-block::before {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: -90px;
        z-index: -1;
    }

    .doctor-block::after {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: 140px;
        z-index: -1;

    }
    
}

@media only screen and (min-width: 1201px) and (max-width: 1400px) {
   
    .vision {
        margin-left: 100px;

    }

    .mission {
        margin-left: -20px;
    }

    .doctor-block::before {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: -90px;
        z-index: -1;
    }

    .doctor-block::after {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: 140px;
        z-index: -1;

    }

}

@media only screen and (min-width: 1401px) and (max-width: 2000px) {
    .doctor-block::before {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: -90px;
        z-index: -1;
    }

    .doctor-block::after {
        content: "";
        color: orangered;
        background-color: orangered;
        height: 200px;
        width: 70px;
        position: absolute;
        top: 310%;
        margin-left: 150px;
        z-index: -1;

    }
}


/* MEDIA QUERIES SECTION END */

@media (max-width: 991.98px) {
    .about-profile-section,
    .about-values-section {
        padding: 3.5rem 0;
    }

    .about-profile-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .about-profile-copy {
        max-width: 720px;
    }

    .about-profile-photo {
        width: min(100%, 620px);
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .about-profile-section,
    .about-values-section {
        padding: 2.75rem 0;
    }

    .about-profile-copy h1 {
        font-size: 2.25rem;
    }

    .about-profile-copy > p:not(.about-section-kicker):not(.about-qualifications) {
        font-size: 0.98rem;
    }

    .about-values-heading h2 {
        font-size: 1.9rem;
    }

    .about-value {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }
}

