/* =========================================================
   MARVELLOUS MAVIS
   SERVICES PAGE
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111111;

    background-image: url("../images/services_background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
}



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

.services-hero {
    position: relative;

    width: 100%;

    min-height: 350px;

    background: transparent;

    overflow: hidden;
}



/* =========================================================
   TOP NAVIGATION
   ========================================================= */

.topbar {
    position: relative;

    z-index: 20;

    width: min(1400px, calc(100% - 8vw));

    margin: 0 auto;

    padding-top: 20px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;
}



/* LOGO */

.logo-link {
    width: clamp(190px, 17vw, 260px);
}


.logo {
    width: 100%;
    height: auto;
}



/* NAV */

.main-nav {
    display: flex;

    align-items: center;

    gap: clamp(30px, 4vw, 60px);
}


.nav-link {
    position: relative;

    padding: 16px 0;

    color: #111111;

    font-size: clamp(14px, 1.05vw, 17px);

    font-weight: 500;
}


.nav-link:hover,
.nav-link.active {
    color: #ed1b73;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 5px;

    height: 3px;

    border-radius: 10px;

    background: #ed1b73;
}



/* =========================================================
   TOP QUOTE BUTTON
   ========================================================= */

.top-quote-button {
    justify-self: end;

    min-width: clamp(160px, 14vw, 210px);

    padding:
        14px
        28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    border-radius: 40px;

    background: #ed1b73;

    color: #ffffff;

    font-size: clamp(13px, 1vw, 16px);

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.top-quote-button:hover {
    transform: translateY(-2px);

    background: #ff2d86;
}



/* =========================================================
   SERVICES HEADING
   ========================================================= */

.services-heading {
    position: relative;

    z-index: 5;

    width: min(850px, 75%);

    margin: 35px auto 0;

    text-align: center;
}


.services-heading h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            48px,
            5.2vw,
            78px
        );

    font-weight: 500;

    line-height: 1;
}


.services-heading h1 span {
    color: #ed1b73;
}


.services-heading p {
    margin-top: 12px;

    color: #404040;

    font-size:
        clamp(
            15px,
            1.3vw,
            20px
        );

    line-height: 1.4;
}



/* =========================================================
   HANDWRITTEN MESSAGE
   ========================================================= */

.hero-message {
    position: absolute;

    z-index: 6;

    right: 4%;

    top: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;

    color: #111111;

    font-family:
        "Brush Script MT",
        "Segoe Script",
        cursive;

    font-size:
        clamp(
            29px,
            2.5vw,
            43px
        );

    line-height: .85;

    text-align: center;

    transform: rotate(-7deg);
}


.message-heart {
    position: absolute;

    right: -40px;

    bottom: 30px;

    color: #ed1b73;

    font-size: 50px;
}


.message-line {
    width: 120px;

    height: 4px;

    margin-top: 15px;

    border-radius: 20px;

    background: #ed1b73;

    transform: rotate(-7deg);
}



/* =========================================================
   SERVICE SECTION
   ========================================================= */

.services-section {
    padding:
        0
        3.5vw
        55px;

    background: transparent;
}



/* =========================================================
   SERVICE GRID
   ========================================================= */

.services-grid {
    width: min(1450px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}



/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    position: relative;

    min-height: 400px;

    padding:
        14px
        14px
        30px;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0
        8px
        30px
        rgba(0,0,0,.06);

    overflow: visible;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0
        15px
        35px
        rgba(0,0,0,.11);
}



/* =========================================================
   SERVICE PHOTO
   ========================================================= */

.service-image {
    width: 100%;

    height: 190px;

    border-radius: 12px;

    overflow: hidden;
}


.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .35s ease;
}


.service-card:hover
.service-image img {
    transform: scale(1.03);
}



/* =========================================================
   SERVICE ICON IMAGES
   ========================================================= */

.service-icon {
    position: relative;

    width: 82px;
    height: 82px;

    margin:
        -32px
        auto
        8px;

    z-index: 5;
}


.service-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}



/* =========================================================
   SERVICE TEXT
   ========================================================= */

.service-content {
    padding:
        0
        12px;

    text-align: center;
}


.service-content h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            20px,
            1.7vw,
            28px
        );

    font-weight: 700;

    line-height: 1.1;
}


.service-content p {
    margin-top: 12px;

    color: #353535;

    font-size:
        clamp(
            14px,
            1.2vw,
            18px
        );

    line-height: 1.4;
}



/* =========================================================
   CALL TO ACTION
   ========================================================= */

.services-cta {
    position: relative;

    width: calc(100% - 7vw);

    margin:
        0 auto
        70px;

    min-height: 165px;

    display: flex;

    align-items: center;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #ffe6f2,
            #fff3f8
        );

    overflow: hidden;
}


.cta-content {
    position: relative;

    z-index: 5;

    width: 100%;

    padding:
        30px
        10%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}


.cta-text {
    position: relative;

    z-index: 5;
}


.cta-eyebrow {
    margin-bottom: 10px;

    color: #ed1b73;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;
}


.cta-text h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            34px,
            3.4vw,
            53px
        );

    font-weight: 500;

    line-height: 1;
}


.cta-text h2 span {
    color: #ed1b73;
}


.cta-description {
    margin-top: 11px;

    color: #444444;

    font-size:
        clamp(
            14px,
            1.2vw,
            18px
        );
}



/* CTA BUTTON */

.cta-button {
    min-width:
        clamp(
            210px,
            20vw,
            290px
        );

    padding:
        17px
        30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-radius: 50px;

    background: #ed1b73;

    color: #ffffff;

    font-size:
        clamp(
            14px,
            1.2vw,
            18px
        );

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}


.cta-button:hover {
    transform: translateY(-2px);

    background: #ff2d86;
}



/* DECORATIVE LEAVES */

.cta-decoration-left {
    position: absolute;

    left: -30px;
    bottom: -80px;

    width: 180px;
    height: 220px;

    border-radius: 50%;

    border:
        15px solid
        rgba(255,255,255,.45);

    transform:
        rotate(-30deg);

    opacity: .6;
}


/* =========================================================
   PLANT ON PINK CTA RIBBON
   ========================================================= */

.services-bottom-plant {
    position: absolute;

    right: -35px;
    bottom: -25px;

    width: clamp(150px, 18vw, 280px);

    height: auto;

    z-index: 3;

    pointer-events: none;
}


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

.footer {
    background: #071f36;

    color: #ffffff;
}


.footer-container {
    width:
        min(
            1400px,
            calc(100% - 8vw)
        );

    margin: 0 auto;

    padding:
        55px
        0
        40px;

    display: grid;

    grid-template-columns:
        1.7fr
        .8fr
        .9fr;

    gap:
        clamp(
            50px,
            7vw,
            100px
        );
}


.footer-logo {
    width: 205px;

    margin-bottom: 18px;
}


.footer-company p {
    max-width: 360px;

    color: #c9e6ff;

    font-size: 13px;

    line-height: 1.65;
}


.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}


.footer-column h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 15px;
}


.footer-column a {
    color: #c9e6ff;

    font-size: 13px;
}


.footer-column a:hover {
    color: #ed1b73;
}


.footer-bottom {
    padding:
        18px
        25px;

    border-top:
        1px solid
        rgba(255,255,255,.12);

    text-align: center;
}


.footer-bottom p {
    color: #91b9dc;

    font-size: 11px;
}



/* =========================================================
   WHATSAPP BUTTON
   ========================================================= */

.floating-whatsapp {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 200;

    width: 52px;
    height: 52px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: #25d366;

    color: #ffffff;

    font-size: 23px;

    box-shadow:
        0
        5px
        20px
        rgba(0,0,0,.2);
}



/* =========================================================
   MOBILE NAV BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    font-size: 28px;

    cursor: pointer;
}



/* =========================================================
   LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1100px) {


    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px;
    }


    .hero-message {
        display: none;
    }


}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {


    .main-nav {
        gap: 20px;
    }


    .cta-content {
        padding:
            30px
            7%;
    }


    .footer-container {
        grid-template-columns:
            1.4fr
            1fr;
    }


}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {


    .services-hero {
        min-height: 390px;
    }


    .topbar {
        width:
            calc(100% - 36px);

        display: flex;

        justify-content: space-between;

        padding-top: 15px;
    }


    .logo-link {
        width: 175px;
    }


    .top-quote-button {
        display: none;
    }


    .mobile-menu-button {
        display: block;

        z-index: 40;
    }


    .main-nav {
        position: absolute;

        left: 0;
        right: 0;

        top: 70px;

        display: none;

        flex-direction: column;

        gap: 2px;

        padding: 20px;

        border-radius: 15px;

        background:
            rgba(
                255,
                255,
                255,
                .98
            );

        box-shadow:
            0
            12px
            35px
            rgba(
                0,
                0,
                0,
                .12
            );
    }


    .main-nav.open {
        display: flex;
    }


    .nav-link {
        width: 100%;

        padding: 11px 8px;
    }


    .nav-link.active::after {
        display: none;
    }


    .services-heading {
        width:
            calc(100% - 40px);

        margin-top: 80px;
    }


    .services-heading h1 {
        font-size: 52px;
    }


    .services-section {
        padding:
            0
            20px
            40px;
    }


    .services-grid {
        grid-template-columns:
            1fr;
    }


    .service-card {
        max-width: 450px;

        width: 100%;

        margin: 0 auto;
    }


    .service-image {
        height: 220px;
    }


    .services-cta {
        width:
            calc(100% - 40px);

        margin-bottom: 50px;
    }


    .cta-content {
        flex-direction: column;

        align-items: flex-start;

        padding:
            38px
            30px;

        gap: 28px;
    }


    .cta-button {
        width: 100%;
    }


    .footer-container {
        width:
            calc(100% - 48px);

        grid-template-columns:
            1fr;

        gap: 35px;
    }


}