﻿/*
    The treatment overview master page's stylesheet.
*/

/*=== TITLE ===*/
.service-bg-img {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%), url(../images/dermdoctors-service-title.png) !important;
}

.service-title-block {
    margin-top: 100px;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    padding-left: 80px !important;
    background-color: #ffffff;
    border-radius: 60px 0 60px 0;
    overflow: hidden;
    box-shadow: 40px 40px 190px 0px rgba(6, 10, 76, 0.19);
}

.service-overlay-img {
    border-radius: 30px 0 0 0;
}


.service-title-heading {
    font-size: 60px;
    line-height: 1.25;
    padding-right: 30px;
}

a.sidebar-link {
    color: black;
    font-size: 14px;
    line-height: 1.25;
}

.sidebar-btn {
    border: 2px solid #e09900;
    border-radius: 60px;
    background: white;
    color: #a5864c !important;
    text-align: center;
    width: fit-content;
    padding: 20px 35px;
    font-size: 18px;
}

a.service-link-btn {
    background-image: linear-gradient(90deg, #957b4a 0%, #bc954c 17%, #dec89f 34%, #e7cc9c 50%, #dec89f 65%, #bc954c 83%, #957b4a 100%) !important;
    border-radius: 20px 0 20px 0;
    color: white;
    display: block;
    text-align: center;
    padding: 10px;
    margin: 5px 0px;
}

    a.service-link-btn:hover {
        color: gray;
    }
    


/* === BOTTOM CTA === */


/* Wrapper just for spacing above/below */
.schedule-section {
    padding: 60px 0 0; /* top padding only, no bottom */
    margin-bottom: 0; /* no bottom margin */
}

/* Main left block */
.schedule-card {
    position: relative;
    min-height: 560px; /* was 420px – make it taller */
    border-radius: 0 160px 0 0; /* slightly larger curve like the design */
    overflow: hidden;
    background-image: url('../images/treatment-overview/health-clinic-86.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* fill the card */
    background-position: left center;
    color: #ffffff;
}



    /* Darken slightly so white text is readable */
    .schedule-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.12);
    }

/* Text layout */
.schedule-content {
    position: relative;
    height: 100%;
    padding-top: 16vw !important;
    padding-right: 100px !important;
    padding-bottom: 100px !important;
    padding-left: 100px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
}

.schedule-title {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
}

.schedule-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Button */
.schedule-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 999px;
    background-color: #a5864c;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schedule-card,
.schedule-card * {
    color: #ffffff;
}

.schedule-title {
    color: #ffffff;
}

.schedule-text {
    color: #ffffff;
}

.schedule-btn {
    color: #ffffff;
}


/* Responsive tweaks */
@media (max-width: 991.98px) {
    .schedule-card {
        border-radius: 0 80px 80px 0;
        min-height: 360px;
    }

    .schedule-content {
        padding: 60px 30px;
    }

    .schedule-title {
        font-size: 2.4rem;
    }
}
