/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    /* =========================
       Colors
    ========================= */

    --white-color: #ffffff;
    --primary-color: #3cafec;
    --dark-primary-color: #015d7a;
    --heading-color: #0b7c9e;
    --text-color: #212121;
    --light-bg-color: #f5fbff;
    --nav-bg: #ffffff;


    /* =========================
       Font Family
    ========================= */

    --font-family: "Lora", serif;
    --heading-font: "Gentium Basic", serif;


    /* =========================
       Font Size
    ========================= */

    --fs-heading: 32px;
    --fs-medium: 24px;
    --fs-paragraph: 20px;
    --fs-normal: 18px;
    --fs-nav: 16px;
    --fs-small: 14px;


    /* =========================
       Font Weight
    ========================= */

    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;


    /* =========================
       Transition
    ========================= */

    --transition: 0.3s ease;


    /* =========================
       Common
    ========================= */

    --border-radius: 8px;
    --container-width: 1200px;
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: var(--font-family);
    font-size: var(--f-size);
    font-weight: var(--f-w);

    color: var(--text-color);
    background: var(--white-color);

    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
}


img {
    width: 100%;
    object-fit: cover;
    display: block;
}


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





.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}


.parent_guide{
    background-image: url("/user/assets/images/Gallery/parent-guide-banner.jpg");
}

/* =========================================================
   COMMON HEADING
========================================================= */



h2,
h3 {
    font-family: var(--heading-font);
    color: var(--heading-color);
}


p {
    font-family: var(--font-family);
    font-size: var(--fs-paragraph);
    color: var(--text-color);
    font-weight: var(--fw-normal);
}





/* =========================================================
   GUIDES SECTION
========================================================= */

.guides_section {
    padding: 30px 0;

    background: var(--white-color);
}


.section_heading {
    max-width: 720px;

    margin-bottom: 28px;
}


.section_heading h2 {
    margin: 12px 0 10px;

    color: var(--heading-color);

    font-size: clamp(
        30px,
        3vw,
        42px
    );
}


.section_heading p {
    color: #53636c;

    font-size: var(--fs-paragraph);
}



/* =========================================================
   GUIDE LAYOUT
========================================================= */

.guides_layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 25px;

    align-items: start;
}


.guides_grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}



/* =========================================================
   GUIDE CARD
========================================================= */

.guide_card {
    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 25px;

    background: var(--white-color);

    border: 1px solid #dce6eb;

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


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

    border-color: var(--dark-primary-color);

    box-shadow:
        0 12px 32px rgba(
            1,
            93,
            122,
            0.10
        );
}


/* =========================================================
   CARD ICON
========================================================= */

.card_icon {
    width: 54px;
    height: 54px;

    min-width: 54px;

    display: grid;
    place-items: center;

    color: var(--primary-color);

    background: #edf4ff;

    border-radius: 50%;

    font-size: 21px;

    transition: var(--transition);
}


.guide_card:hover .card_icon {
    color: var(--dark-primary-color);

    /* background: var(--dbg-color); */
}



/* =========================================================
   CARD CONTENT
========================================================= */

.card_content h3 {
    margin-bottom: 7px;

    color: var(--heading-color);

    font-family: var(--heading-font);

    font-size: 21px;
}


.card_content p {
    margin-bottom: 13px;

    color: #5d6c73;

    font-size: var(--fs-small);

    line-height: 1.65;
}



/* =========================================================
   READ MORE
========================================================= */

.read_more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 5px;

    padding:7px 10px;

    border-radius: 3px;
    border: none;

    background: transparent;
    background-color: var(--dark-primary-color);

    color: var(--white-color);

    font-family: var(--font-family);

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    cursor: pointer;

    transition: var(--transition);
}


.read_more:hover {
    gap: 11px;
    background-color: var(--bg-color);

}



/* =========================================================
   SIDE CARD
========================================================= */

.guide_side {
    overflow: hidden;

    background: var(--background-color, #edf4ff);

    border: 1px solid #dce6eb;

    border-radius: 14px;
}


.side_image {
    position: relative;

    height: 215px;

    overflow: hidden;
}


.side_image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


.side_overlay {
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 15px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 10px 13px;

    color: var(--heading-color);

    background: rgba(
        255,
        255,
        255,
        0.95
    );

    border-radius: 8px;

    font-family: var(--font-family);

    font-size: var(--fs-small);

    font-weight: var(--fw-6);
}


.side_overlay i {
    color: var(--dbg-color);
}


/* =========================================================
   SIDE CONTENT
========================================================= */

.side_content {
    padding: 24px;
}


.side_content h3 {
    margin-bottom: 9px;

    color: var(--heading-color);

    font-size: var(--fs-medium);
}


.side_content p {
    margin-bottom: 20px;

    color: #5d6c73;

    font-size: var(--fs-small);

    line-height: 1.7;
}


.side_btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 18px;
    margin-top: 7px;

    color: var(--white-color);

    background: var(--dark-primary-color);

    border-radius: 5px;

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    transition: var(--transition);
}


.side_btn:hover {
    color: var(--white-color);
    gap: 9px;
    background-color: var(--bg-color);
    transform: translateY(-2px);
}



/* =========================================================
   GUIDE DETAIL
========================================================= */

.guide_detail_section {
    display: none;

    padding: 0 0 75px;
}


.guide_detail_section.show {
    display: block;

    animation: guideFade 0.4s ease;
}


@keyframes guideFade {

    from {
        opacity: 0;

        transform: translateY(15px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


.detail_box {
    display: flex;

    align-items: flex-start;

    gap: 24px;

    padding: 35px;

    background: #edf4ff;

    border-left: 4px solid var(--dbg-color);

    border-radius: 12px;
}


.detail_icon {
    width: 64px;
    height: 64px;

    min-width: 64px;

    display: grid;
    place-items: center;

    color: var(--white-color);

    background: var(--dbg-color);

    border-radius: 50%;

    font-size: 24px;
}


.detail_label {
    color: var(--dbg-color);

    font-family: var(--font-family);

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    letter-spacing: 1.3px;
}


.detail_content h2 {
    margin: 4px 0 8px;

    color: var(--heading-color);

    font-size: 30px;
}


.detail_content > p {
    max-width: 800px;

    margin-bottom: 17px;

    color: #52636c;

    font-size: var(--fs-paragraph);
}


.detail_points {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.detail_points div {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text-color);

    font-size: var(--fs-small);
}


.detail_points i {
    color: var(--dbg-color);
}



/* =========================================================
   DOCTOR ATTENTION
========================================================= */

.doctor_attention {
    padding: 0 0 35px;
    margin-top: 51px;
}


.attention_box {
    display: flex;

    align-items: center;

    gap: 22px;

    padding: 30px 35px;

    background: #edf4ff;

    border: 1px solid #d5e3eb;

    border-radius: 13px;
}


.attention_icon {
    width: 60px;
    height: 60px;

    min-width: 60px;

    display: grid;
    place-items: center;

    color: var(--primary-color);

    background: var(--light-bg-color);

    border-radius: 50%;

    font-size: 23px;
}


.attention_content {
    flex: 1;
}


.attention_content span {
    color: var(--dbg-color);

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    letter-spacing: 1px;
}


.attention_content h2 {
    margin: 3px 0 5px;

    color: var(--heading-color);

    font-size: var(--fs-medium);
}


.attention_content p {
    max-width: 750px;

    color: #596a72;

    font-size: var(--fs-small);
}


.attention_btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 19px;

    color: var(--white-color);

    background: var(--dark-primary-color);

    border-radius: 5px;

    white-space: nowrap;

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    transition: var(--transition);
}


.attention_btn:hover {
    background: var(--bg-color);
    color: var(--white-color);
    /* gap: 10px; */
}
.attention_btn:hover i{
    transform: translate(2px);
    transition:var(--transition) ;
}


/* =========================================================
   QUESTION SECTION
========================================================= */

.question_section {
    padding-bottom: 75px;
}


.question_box {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 25px;

    padding: 30px 38px;

    background: #edf4ff;

    border-radius: 14px;
    border: 1px solid #d5e3eb;
}


.question_icon {
    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    color: var(--primary-color);

        background: var(--light-bg-color);


    border-radius: 50%;

    font-size: 24px;
}


.question_text span {
    color: var(--dbg-color);

    font-size: var(--fs-small);

    font-weight: var(--fw-6);

    letter-spacing: 1.2px;
}


.question_text h2 {
    margin: 2px 0;

    color: var(--heading-color);

    font-size: 26px;
}


.question_text p {
    color: #5c6d74;

    font-size: var(--fs-small);
}


.question_contact {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.question_contact a {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--heading-color);

    font-size: var(--fs-small);

    transition: var(--transition);
}


.question_contact a:hover {
    color: var(--bg-color);
}


.question_contact i {
    width: 18px;

    color: var(--dbg-color);
}





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

@media (max-width: 1050px) {




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


    .guide_side {
        display: grid;

        grid-template-columns:
            300px
            minmax(0, 1fr);
    }


    .side_image {
        height: 100%;

        min-height: 240px;
    }

}



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

@media (max-width: 850px) {



    .question_box {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }


    .question_contact {
        grid-column: 2;
    }

}



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

@media (max-width: 600px) {

    :root {
        --fs-heading: 29px;
        --fs-paragraph: 17px;
        --fs-medium: 21px;
        --f-size: 17px;
    }



    .primary_btn,
    .secondary_btn {
        width: 100%;
    }




    .guides_section {
        padding: 65px 0;
    }


    .section_heading {
        margin-bottom: 30px;
    }


    .section_heading h2 {
        font-size: 31px;
    }


    .section_heading p {
        font-size: var(--fs-paragraph);
    }


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


    .guide_card {
        padding: 20px;
    }


    .guide_side {
        display: block;
    }


    .side_image {
        height: 230px;

        min-height: 0;
    }


    .detail_box {
        flex-direction: column;

        padding: 25px;
    }


    .detail_content h2 {
        font-size: 27px;
    }


    .detail_content > p {
        font-size: var(--fs-paragraph);
    }


    .attention_box {
        flex-direction: column;

        align-items: flex-start;

        padding: 25px;
    }


    .attention_btn {
        width: 100%;

        justify-content: center;
    }


    .question_box {
        grid-template-columns: 1fr;

        padding: 25px;
    }


    .question_contact {
        grid-column: auto;
    }



}



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

@media (max-width: 400px) {



    .card_icon {
        width: 46px;
        height: 46px;

        min-width: 46px;

        font-size: 18px;
    }

}