/*=====================================
        CONTACT SECTION
======================================*/

.contact-section{

    padding:120px 20px;

    background:#ffffff;

}

.contact-card{

    max-width:900px;

    margin:0 auto;

    padding:90px 70px;

    background:#f8f8f8;

    border-radius:22px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

    text-align:center;

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-6px);

    box-shadow:0 30px 70px rgba(0,0,0,.12);

}

.contact-card h2{

    font-family:'Playfair Display', serif;

    font-style:italic;

    font-weight:700;

    font-size:62px;

    color:#4b3b34;

    margin-bottom:60px;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:28px;

}

.contact-info p{

    font-family:'Inter', sans-serif;

    font-size:24px;

    color:#444;

    margin:0;

}

.contact-info i{

    color:#d89b2b;

    margin-right:12px;

    width:28px;

}

.contact-info a{

    color:#444;

    text-decoration:none;

}

.contact-info a:hover{

    color:#d89b2b;

}

/* Responsive */

@media(max-width:768px){

    .contact-card{

        padding:60px 30px;

    }

    .contact-card h2{

        font-size:42px;

    }

    .contact-info p{

        font-size:18px;

    }

}





/*=========================================
            CONTACT CTA
=========================================*/

.contact-cta {
    position: relative;
    padding: 140px 20px;

    background-image: url("images/books-footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* CTA Overlay */

.cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.78);
}


/* CTA Content */

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: auto;

    text-align: center;
}


/* CTA Heading */

.cta-content h2 {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 700;

    font-size: 64px;

    color: #4a403a;

    margin-bottom: 25px;
}


/* CTA Paragraph */

.cta-content p {
    font-family: "Lato", sans-serif;

    font-size: 24px;
    line-height: 1.8;

    color: #4e4e4e;

    margin-bottom: 45px;
}


/* CTA Button */

.cta-btn {
    display: inline-block;

    width: 400px;
    max-width: 100%;

    padding: 18px 20px;

    background: #f5a623;
    color: #333;

    font-size: 28px;
    font-weight: 700;

    text-decoration: none;

    border-radius: 50px;

    transition: 0.35s;
}


/* CTA Button Hover */

.cta-btn:hover {
    background: #e49412;
    color: #fff;

    transform: translateY(-3px);
}


/*=========================================
            RESPONSIVE
=========================================*/

@media (max-width: 768px) {

    .contact-cta {
        padding: 90px 20px;
    }

    .cta-content h2 {
        font-size: 42px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-btn {
        width: 100%;
        font-size: 22px;
    }

}
/* =========================================================
   CONTACT CTA
   Reusable Contact Call-To-Action Section
========================================================= */

.contact-cta {
    position: relative;

    padding: 140px 20px;

    background-image: url("../images/books-footer.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}


/* =========================================================
   CTA OVERLAY
========================================================= */

.cta-overlay {
    position: absolute;

    inset: 0;

    background: rgba(255, 255, 255, 0.78);

    z-index: 1;
}


/* =========================================================
   CTA CONTAINER
========================================================= */

.contact-cta .container {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1150px;

    margin: 0 auto;
}


/* =========================================================
   CTA CONTENT
========================================================= */

.cta-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   CTA HEADING
========================================================= */

.cta-content h2 {
    margin: 0 0 25px;

    font-family: "Playfair Display", serif;

    font-size: 64px;

    font-style: italic;

    font-weight: 700;

    line-height: 1.2;

    color: #4a403a;
}


/* =========================================================
   CTA PARAGRAPH
========================================================= */

.cta-content p {
    max-width: 700px;

    margin: 0 auto 45px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 24px;

    font-weight: 400;

    line-height: 1.8;

    color: #4e4e4e;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.cta-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 400px;

    max-width: 100%;

    padding: 18px 20px;

    background: #f5a623;

    color: #333333;

    border: 2px solid #f5a623;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 28px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


/* =========================================================
   CTA BUTTON HOVER
========================================================= */

.cta-btn:hover {
    background: #e49412;

    border-color: #e49412;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .contact-cta {
        padding: 110px 20px;
    }


    .cta-content h2 {
        font-size: 52px;
    }


    .cta-content p {
        font-size: 21px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact-cta {
        padding: 90px 20px;
    }


    .cta-content h2 {
        font-size: 42px;

        line-height: 1.2;
    }


    .cta-content p {
        font-size: 18px;

        line-height: 1.7;

        margin-bottom: 35px;
    }


    .cta-btn {
        width: 100%;

        max-width: 350px;

        padding: 16px 20px;

        font-size: 21px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-cta {
        padding: 75px 18px;
    }


    .cta-content h2 {
        font-size: 36px;
    }


    .cta-content p {
        font-size: 17px;
    }


    .cta-btn {
        font-size: 19px;

        padding: 15px 18px;
    }

}
