/*=========================================
Premium About Intro
=========================================*/

.about-intro {
    background:
        radial-gradient(
            circle at 8% 20%,
            rgba(185, 30, 38, .07),
            transparent 28%
        ),
        linear-gradient(135deg, #fff 0%, #fffafa 100%);
    overflow: hidden;
    padding: 50px 0;
    position: relative;
}

.about-intro::after {
    border: 1px solid rgba(180, 30, 38, .08);
    border-radius: 50%;
    content: "";
    height: 380px;
    position: absolute;
    right: -170px;
    top: 70px;
    width: 380px;
}

.about-wrapper {
    align-items: center;
    display: grid;
    gap: 90px;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
}

/* Image */

.about-image-column {
    position: relative;
}

.about-image-glow {
    background: #c51e28;
    border-radius: 50%;
    filter: blur(55px);
    height: 220px;
    left: 8%;
    opacity: .18;
    position: absolute;
    top: 12%;
    width: 220px;
}

.about-image {
    animation: aboutFloat 5s ease-in-out infinite;
    margin: 0 auto;
    max-width: 510px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.about-image::before {
    border: 1px solid rgba(174, 26, 35, .25);
    border-radius: 34px;
    content: "";
    inset: -14px;
    position: absolute;
    transform: rotate(-4deg);
    z-index: -1;
}

.about-image::after {
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, .45)
    );
    border-radius: 30px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.about-image img {
    border: 8px solid #fff;
    border-radius: 30px;
    box-shadow: 0 28px 65px rgba(42, 20, 20, .18);
    display: block;
    height: 570px;
    object-fit: cover;
    transition: transform .6s ease;
    width: 100%;
}

.about-image:hover img {
    transform: scale(1.025);
}

@keyframes aboutFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

.experience-box {
    align-items: center;
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 20px;
    bottom: 30px;
    box-shadow: 0 20px 45px rgba(59, 25, 25, .16);
    display: flex;
    gap: 10px;
    padding: 17px 20px;
    position: absolute;
    right: -28px;
    z-index: 3;
}

.experience-box strong {
    color: #b51d27;
    font-family: 'Philosopher', serif;
    font-size: 37px;
    line-height: 1;
}

.experience-box span {
    color: #68736f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.doctor-status {
    align-items: center;
    background: #fff;
    border: 1px solid #edf0ef;
    border-radius: 30px;
    bottom: -22px;
    box-shadow: 0 12px 30px rgba(30, 42, 38, .1);
    color: #5b6964;
    display: flex;
    font-size: 10px;
    gap: 7px;
    left: 25px;
    padding: 10px 15px;
    position: absolute;
    z-index: 4;
}

.status-dot {
    background: #42b77b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(66, 183, 123, .13);
    height: 7px;
    width: 7px;
}

/* Content */

.about-content {
    position: relative;
    z-index: 2;
}

.section-tag {
    align-items: center;
    background: #fff0f0;
    border: 1px solid #f5d4d4;
    border-radius: 30px;
    color: #b51d27;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: .7px;
    margin-bottom: 22px;
    padding: 10px 16px;
    text-transform: uppercase;
}

.section-tag i {
    font-size: 13px;
}

.about-content h2 {
    color: #18221f;
    font-family: 'Philosopher', serif;
    font-size: clamp(35px, 4vw, 58px);
    line-height: 1.08;
    margin: 0 0 22px;
    max-width: 650px;
}

.about-content h2 span {
    color: #b51d27;
    display: block;
}

.about-content p {
    color: #6c7773;
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 15px;
    max-width: 680px;
}

.about-content .about-lead {
    color: #3f4d48;
    font-size: 18px;
}

/* Doctor profile */

.doctor-profile {
    align-items: center;
    background: #fff;
    border: 1px solid #edf0ee;
    border-left: 4px solid #b51d27;
    border-radius: 17px;
    box-shadow: 0 13px 28px rgba(35, 32, 30, .06);
    display: flex;
    gap: 13px;
    margin: 29px 0 25px;
    max-width: 510px;
    padding: 15px 17px;
}

.doctor-profile-icon {
    align-items: center;
    background: #fff0f0;
    border-radius: 13px;
    color: #b51d27;
    display: flex;
    flex: 0 0 45px;
    font-size: 19px;
    height: 45px;
    justify-content: center;
}

.doctor-profile > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.doctor-profile strong {
    color: #27332f;
    font-size: 15px;
}

.doctor-profile span {
    color: #b51d27;
    font-size: 11px;
    font-weight: 700;
}

.doctor-profile small {
    color: #8a9691;
    font-size: 10px;
}

.doctor-profile-mark {
    color: #d5e8de;
    font-size: 30px;
    margin-left: auto;
}

/* Highlights */

.about-highlights {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 25px 0 30px;
    max-width: 590px;
}

.highlight-card {
    align-items: center;
    background: rgba(255, 255, 255, .78);
    border: 1px solid #edf0ee;
    border-radius: 14px;
    display: flex;
    gap: 11px;
    min-height: 63px;
    padding: 12px 14px;
    transition: border-color .3s ease, box-shadow .3s ease,
        transform .3s ease;
}

.highlight-card:hover {
    border-color: #e2a5a8;
    box-shadow: 0 12px 25px rgba(150, 25, 35, .09);
    transform: translateY(-5px);
}

.highlight-card i {
    align-items: center;
    background: #fff0f0;
    border-radius: 11px;
    color: #b51d27;
    display: flex;
    flex: 0 0 35px;
    font-size: 15px;
    height: 35px;
    justify-content: center;
}

.highlight-card span {
    color: #3e4b47;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

/* Buttons */

/* About buttons fixed premium size */

.about-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-primary-btn,
.about-secondary-btn {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex !important;
    justify-content: center;
    white-space: nowrap;
}

/* Main button */

.about-primary-btn {
    background: #b51d27 !important;
    border: 1px solid #b51d27 !important;
    border-radius: 50px !important;
    box-shadow: 0 12px 24px rgba(181, 29, 39, .22);
    color: #fff !important;
    gap: 12px;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 24px !important;
    width: 205px !important;
    margin-top:0px !important;
}

/* Secondary button */

.about-secondary-btn {
    background: #fff;
    border: 1px solid #e6cacc;
    border-radius: 50px;
    color: #a71923 !important;
    gap: 8px;
    height: 52px;
    padding: 0 20px;
    width: 165px;
}

/* Hover */

.about-primary-btn:hover {
    background: #92151f !important;
    box-shadow: 0 17px 30px rgba(181, 29, 39, .30);
    color: #fff !important;
    transform: translateY(-3px);
}

.about-secondary-btn:hover {
    background: #fff3f3;
    border-color: #b51d27;
    transform: translateY(-3px);
}

/* Mobile */

@media (max-width: 576px) {
    .about-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-left: auto;
        margin-right: auto;
        max-width: 290px;
        width: 100%;
    }

    .about-primary-btn,
    .about-secondary-btn {
        height: 50px !important;
        min-height: 50px !important;
        width: 100% !important;
    }
}

/* Responsive */

@media (max-width: 1100px) {
    .about-wrapper {
        gap: 55px;
        grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    }

    .about-image img {
        height: 500px;
    }

    .experience-box {
        right: -12px;
    }
}

@media (max-width: 900px) {
    .about-intro {
        padding: 80px 0;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 520px;
    }

    .about-content {
        text-align: center;
    }

    .about-content h2,
    .about-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .doctor-profile,
    .about-highlights {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .about-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-intro {
        padding: 68px 0;
    }

    .about-image img {
        border-width: 5px;
        border-radius: 22px;
        height: 410px;
    }

    .about-image::before {
        border-radius: 25px;
        inset: -8px;
    }

    .experience-box {
        bottom: 20px;
        padding: 13px 14px;
        right: 8px;
    }

    .experience-box strong {
        font-size: 29px;
    }

    .experience-box span {
        font-size: 9px;
    }

    .doctor-status {
        bottom: -20px;
        font-size: 8px;
        left: 8px;
        padding: 8px 10px;
    }

    .about-content h2 {
        font-size: 33px;
    }

    .about-content .about-lead {
        font-size: 15px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-highlights {
        gap: 9px;
    }

    .highlight-card {
        align-items: flex-start;
        flex-direction: column;
        min-height: 88px;
        padding: 12px;
        
    }

    .highlight-card span {
        font-size: 10px;
    }

    .about-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-primary-btn,
    .about-secondary-btn {
        justify-content: center;
        width: 100%;
    }
}

/*=========================================
About Final UI Fixes
=========================================*/

.about-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-primary-btn {
    align-items: center;
    background: #b51d27 !important;
    border: 1px solid #b51d27 !important;
    border-radius: 50px !important;
    box-shadow: 0 12px 24px rgba(181, 29, 39, .22);
    color: #fff !important;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 700;
    gap: 12px;
    justify-content: center;
    min-height: 48px !important;
    min-width: 190px;
    padding: 0 21px !important;
    transition: transform .3s ease, box-shadow .3s ease,
        background .3s ease;
}

.about-primary-btn:hover {
    background: #92151f !important;
    box-shadow: 0 17px 30px rgba(181, 29, 39, .3);
    color: #fff !important;
    transform: translateY(-3px);
}

.about-primary-btn i {
    font-size: 11px;
    transition: transform .3s ease;
}

.about-primary-btn:hover i {
    transform: translateX(5px);
}

.about-secondary-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #ead8d8;
    border-radius: 50px;
    color: #a71923 !important;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 8px;
    min-height: 46px;
    padding: 0 17px;
    transition: .3s ease;
}

.about-secondary-btn:hover {
    background: #fff3f3;
    border-color: #c86d72;
    transform: translateY(-3px);
}

/* Features always stay in horizontal layout */

.highlight-card {
    align-items: center !important;
    flex-direction: row !important;
    min-height: 63px;
}

.highlight-card i {
    flex: 0 0 35px !important;
}

.highlight-card span {
    display: block;
}

/* Mobile */

@media (max-width: 576px) {

    .about-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 11px;
        margin-left: auto;
        margin-right: auto;
        max-width: 290px;
    }

    .about-primary-btn,
    .about-secondary-btn {
        box-sizing: border-box;
        justify-content: center;
        min-width: 0;
        width: 100%;
    }

    .about-highlights {
        gap: 9px;
    }

    .highlight-card {
        align-items: center !important;
        flex-direction: row !important;
        min-height: 62px;
        padding: 11px 10px;
    }

    .highlight-card i {
        flex: 0 0 32px !important;
        height: 32px;
        width: 32px;
    }

    .highlight-card span {
        font-size: 9px;
        line-height: 1.25;
    }
}