/* ----------------------------- Home Page Styles ---------------------------- */

/* ------------------------------ About Section ------------------------------ */

.about, 
.about-our-treatments,
.booking-process {
    padding-top: 2em;
    text-align: center;
    margin: 0 2.5%;
}

.booking-process > div > ol {
    text-align: justify;
}

.about > div > div > h2,
.about-our-treatments > div > h2,
.booking-process > div > h2 {
    font-size: var(--font-size-small);
    padding-bottom: 0.5em;
    letter-spacing: 0.7mm;
}

/* ------------------------------ Google Maps ------------------------------ */

.mapouter #gmap_canvas iframe {
    border: none; /* replaces frameborder=0 */
    width: 100%; /* make iframe responsive */
    height: 500px; /* set a fixed height */
    overflow: hidden; /* disables scrolling */
}

#maps {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 1em;
}

#maps h2 {
    text-align: center;
    font-size: 100%;
    letter-spacing: 0.7mm;
}

/* ------------------------------ Treatments Section ------------------------------ */

/* Carousel */
.carousel-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border: var(--border-width) solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.carousel-img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    height: 40px;
    width: 40px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 767px) {

    .carousel-img {
        height: 200px;
    }
}

/* ------------------------------------- Medium devices such as tablets (768px and up) ---------------------------------------*/
@media screen and (min-width: 768px) {

    /* ----------------------------- About Section ---------------------------- */
    .about>div>div>h2,
    .about-our-treatments>div>h2,
    .booking-process > div > h2 {
        font-size: 20px;
    }

    .about>div>div>p,
    .about-our-treatments>div>p,
    .booking-process > div > p {
        font-size: 18px;
    }

    /* ------------------------------ Google Maps ------------------------------ */    

    #maps h2 {
        text-align: center;
        font-size: 120%;
        letter-spacing: 0.9mm;
    }

    .gmap_canvas iframe {
        width: 100%;
        height: 300px;
        margin: 0 auto;
        padding-bottom: 30px;
    }
}

/* -------------------------- Mid to large devices such as large tablets or small laptops (1024px and up) ------------------------ */
@media screen and (min-width: 1024px) {

    /* ----------------------------- About Section ---------------------------- */

    section.about > div:nth-child(2) {
        margin: 0% 5%;
    }

    section.about-our-treatments > div,
    section.booking-process > div {
        margin: 0% 5%;
    }

    .about, 
    .about-our-treatments,
    .booking-process {
        margin: 5%;
        padding-top: 0px;
    }

    .about>div>div>h2,
    .about-our-treatments>div>h2,
    .booking-process > div > h2 {
        font-size: 22px;
    }


    .about > div > div > p,
    .about-our-treatments > div > p,
    .booking-process > div > p {
        font-size: 24px;
    }

    /* ------------------------------ Google Maps ------------------------------ */

    #maps {
        padding: 2em 5em 2em 5em;
    }

    .gmap_canvas iframe {
        width: 100%;
        height: 500px;
        margin: 0 auto;
        padding-bottom: 30px;
    }

    /* Treatments */
    .home-treatment-item {
        margin-bottom: 40px;
    }

    .home-treatment-item > div > div > div > p {
        font-size: 16px;
    }

    #home-carousel {
        padding: 2em 3em 2em 3em;
    }

    .carousel-img, .carousel-video {
        height: 300px;
    }
}

/* ------------------------------------- Large devices such as laptops (1280px and up) -------------------------------- */
@media screen and (min-width: 1280px) {

    /* ----------------------------- About Section ---------------------------- */

    .about,
    .about-our-treatments,
    .booking-process {
        font-size: 36px;
    }

    .about div > div > h2,
    .about-our-treatments div > h2,
    .booking-process > div > h2 {
        font-size: 40px;
    }

    .home-treatments h2.text-uppercase {
        font-size: 40px !important;
        padding-bottom: 60px !important;
    }

    .home-treatments h4 {
        font-size: 2.5rem;
    }

    .home-treatment-item small {
        font-size: 26px;
    }

    .home-treatment-item {
        margin-bottom: 80px;
    }

    .home-treatment-item > div > div p {
        font-size: 30px;
    }

    .carousel-img {
    height: 350px;
    }

    /* ------------------------------ Google Maps ------------------------------ */

    #maps h2 {
        font-size: 40px;
    }

    .gmap_canvas iframe {
        width: 100%;
        height: 700px;
        margin: 0 auto;
        padding-bottom: 30px;
    }
}

/* ------------------------------------- Larger devices such as large desktops (1400px and up) */
@media screen and (min-width: 1400px) {

    /* ----------------------------- About Section ---------------------------- */

    .about,
    .about-our-treatments,
    .booking-process {
        font-size: 36px;
    }

    .about div > div > h2,
    .about-our-treatments div > h2,
    .booking-process > div > h2 {
        font-size: 40px;
    }

    .home-treatments h2.text-uppercase {
        font-size: 40px !important;
        padding-bottom: 60px !important;
    }

    h4 {
        font-size: 2.5rem;
    }

    .home-treatment-item small {
        font-size: 26px;
    }

    .home-treatment-item {
        margin-bottom: 80px;
    }

    .home-treatment-item > div > div p {
        font-size: 30px;
    }

    .carousel-img {
    height: 400px;
    }

    /* ------------------------------ Google Maps ------------------------------ */

    #maps h2 {
        font-size: 40px;
    }

    .gmap_canvas iframe {
        width: 100%;
        height: 700px;
        margin: 0 auto;
        padding-bottom: 30px;
    }
}