/* =========================================================
   CARIPULSE CONTACT PAGE
========================================================= */


/* =========================================================
   HERO
   BLOG-STYLE HERO STRUCTURE
========================================================= */

.contact-hero {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8, 18, 33, 0.96),
            rgba(8, 18, 33, 0.78)
        ),
        url("../images/contact.jpg")
        center center / cover no-repeat;

    padding: 160px 0 100px;

    overflow: hidden;
}


/* =========================================================
   DECORATIVE TOP-RIGHT CIRCLE
========================================================= */

.contact-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -150px;

    top: -180px;

    border-radius: 50%;
}


/* =========================================================
   DECORATIVE BOTTOM-LEFT CIRCLE
========================================================= */

.contact-hero::after {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    left: -200px;

    bottom: -250px;

    border-radius: 50%;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.contact-hero .container {

    position: relative;

    z-index: 2;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.contact-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;
}


/* =========================================================
   EYEBROWS
========================================================= */

.contact-eyebrow,
.contact-section-eyebrow,
.contact-form-header > span,
.contact-social > span,
.contact-cta-content > span {

    display: inline-block;

    margin-bottom: 16px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.contact-eyebrow {

    color: #ff9d1c;
}


/* =========================================================
   HERO TITLE
========================================================= */

.contact-hero h1 {

    color: #fff;

    font-size: 68px;

    line-height: 1.1;

    font-weight: 800;

    margin: 0 0 25px;
}


.contact-hero h1 span {

    background:
        linear-gradient(
            90deg,
            #ff2f75,
            #ff9d1c
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    color: transparent;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.contact-hero p {

    max-width: 720px;

    color: #e4e8ef;

    font-size: 21px;

    line-height: 1.8;

    margin: 0;
}


/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-section {

    padding: 110px 0;

    background: #fff;
}


.contact-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 80px;

    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info {

    padding-top: 15px;
}


.contact-section-eyebrow {

    color: #ff2f75;
}


.contact-info h2,
.contact-form-header h2 {

    margin: 0;

    color: #081221;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    font-weight: 800;
}


.contact-intro {

    max-width: 500px;

    margin: 22px 0 45px;

    color: #687280;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {

    display: flex;

    flex-direction: column;

    gap: 30px;
}


.contact-detail {

    display: flex;

    gap: 18px;

    align-items: flex-start;
}


.contact-detail-icon {

    flex: 0 0 52px;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 47, 117, 0.12),
            rgba(255, 157, 28, 0.12)
        );

    color: #ff2f75;

    font-size: 18px;
}


.contact-detail > div:last-child {

    padding-top: 2px;
}


.contact-detail span {

    display: block;

    margin-bottom: 6px;

    color: #081221;

    font-size: 14px;

    font-weight: 700;
}


.contact-detail a,
.contact-detail p {

    margin: 0;

    color: #687280;

    font-size: 15px;

    line-height: 1.6;
}


.contact-detail a {

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.contact-detail a:hover {

    color: #ff2f75;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.contact-social {

    margin-top: 50px;

    padding-top: 30px;

    border-top: 1px solid #e7ebf2;
}


.contact-social > span {

    color: #8a919c;

    margin-bottom: 15px;
}


.contact-social-links {

    display: flex;

    gap: 12px;
}


.contact-social-links a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #081221;

    color: #fff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-social-links a:hover {

    transform: translateY(-3px);

    background:
        linear-gradient(
            90deg,
            #ff2f75,
            #ff9d1c
        );

    box-shadow:
        0 10px 25px rgba(255, 47, 117, 0.20);
}


/* =========================================================
   FORM CARD
========================================================= */

.contact-form-wrapper {

    padding: 48px;

    border: 1px solid #e7ebf2;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.08);
}


.contact-form-header {

    margin-bottom: 35px;
}


.contact-form-header > span {

    color: #ff9d1c;
}


.contact-form-header h2 {

    font-size: 34px;
}


.contact-form-header p {

    margin: 14px 0 0;

    color: #687280;

    line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 22px;
}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-group label {

    color: #081221;

    font-size: 14px;

    font-weight: 600;
}


.form-group input,
.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dfe4ec;

    border-radius: 10px;

    background: #fff;

    color: #081221;

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group input {

    height: 52px;

    padding: 0 16px;
}


.form-group textarea {

    min-height: 170px;

    padding: 15px 16px;

    resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #8a919c;
}


.form-group input:focus,
.form-group textarea:focus {

    border-color: #ff2f75;

    box-shadow:
        0 0 0 4px rgba(255, 47, 117, 0.10);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {

    width: fit-content;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 5px;

    padding: 15px 30px;

    border: 0;

    border-radius: 40px;

    background:
        linear-gradient(
            90deg,
            #ff2f75,
            #ff9d1c
        );

    color: #fff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.contact-submit:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(255, 120, 60, 0.35);
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {

    padding: 100px 0;

    background:#F3F6FF;
}


.contact-cta-content {

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.contact-cta-content > span {

    color: #ff9d1c;
}


.contact-cta-content h2 {

    margin: 0;

    color: #081221;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.15;

    font-weight: 800;
}


.contact-cta-content p {

    max-width: 650px;

    margin: 22px auto 32px;

    color: #687280;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.contact-cta-content .btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 32px;

    border-radius: 45px;

    background:
        linear-gradient(
            90deg,
            #ff2f75,
            #ff9d1c
        );

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.contact-cta-content .btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(255, 120, 60, 0.35);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .contact-hero h1 {

        font-size: 55px;
    }


    .contact-grid {

        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .contact-hero {

        min-height: 500px;

        padding: 140px 0 80px;
    }


    .contact-hero h1 {

        font-size: 42px;
    }


    .contact-hero p {

        font-size: 17px;
    }


    .contact-section {

        padding: 80px 0;
    }


    .contact-info h2 {

        font-size: 34px;
    }


    .contact-form-wrapper {

        padding: 30px 22px;

        border-radius: 18px;
    }


    .contact-form-header h2 {

        font-size: 30px;
    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 22px;
    }


    .contact-cta {

        padding: 75px 0;
    }


    .contact-cta-content h2 {

        font-size: 36px;
    }


    .contact-submit {

        width: 100%;
    }
}