/* Section 1: Hero with background image */
.hero {
    background: url(https://storage.googleapis.com/giffycms-puffedup.appspot.com/images/contact-us/contact-banner-background.png) no-repeat center center/cover;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    color: #333;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 5rem;
    color: #333;
    font-weight: 800;
    margin-bottom: 0;
}

.hero-text h1 span {
    position: relative;
    display: inline-block;
}

.hero-text h1 span::after {
    content: "";
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 150%;
    height: .6em;
    background-color: #affde5;
    z-index: -1;
}

.hero-text h2 {
    font-size: 5rem;
    color: #333;
    margin-top: 0;
}

.hero-text p {
    color: #555;
    margin-top: 0.5rem;
    font-size: 2rem;
    margin-top: 3rem;
}

.hero-text p span {
    display: block;
}

/* Section 2: Contact Info */

.contact-section {
    background-color: #f0fdfd;
}

.contact-information {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 10rem 0rem;
    text-align: center;
}

.contact-information .info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-information .info-block img {
    width: 45%;
    margin-bottom: 0.5rem;
}

.contact-information h4 {
    font-size: 2.2rem;
    color: #000;
    font-weight: 800;
}

.contact-information p {
    font-size: 1.8rem;
    color: #333;
}

/* Section 3: Contact Form */

.cta-contact-form-section {
    background-image: url(https://storage.googleapis.com/giffycms-puffedup.appspot.com/images/contact-us/contact-form-background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 10rem;
}

.cta-contact-form-wrapper {
    /* Sky blue background behind form */
    display: flex;
    justify-content: center;
}

.cta-contact-form {
    background: #fff;
    padding: 8rem 5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 17%);
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-contact-form input,
.cta-contact-form textarea {
    width: 100%;
    padding: 1rem;
   border: 1px solid #a1999980;
    border-radius: 12px;
    font-size: 2rem;
    outline: none;
    transition: border 0.2s ease;
    background-color: #fff;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1),
        4px 4px 10px rgba(0, 0, 0, 0.1); */

}

.cta-contact-form input:focus,
.cta-contact-form textarea:focus {
    border-color: #00cba0;
}

.cta-contact-form textarea {
    resize: vertical;
}

.cta-contact-form .captcha {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.cta-contact-form .captcha input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cta-contact-form input::placeholder,
.cta-contact-form textarea::placeholder {
    color: #ff5758;
    opacity: 1;
}

.cta-contact-form button {
    background-color: #ff5758;
    color: #fff;
    border: none;
    padding: 1.3rem 8rem;
    width: fit-content;
    font-size: 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 0.5rem;
}


.cta-contact-form button:hover {
    color: #ff5758;
    background-color: #fff;
    border: 1px solid #ff5758;
}


/* thank you popup CSS */

.contact-thank-you-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.contact-thank-you-wrapper .container {
    width: 80%;
}

.contact-thank-you-wrapper.show {
    opacity: 1;
    visibility: visible;
}

.contact-thank-you-popup {
    position: relative;
    background-color: #e7fef7;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 90vh;
    overflow: hidden;
    animation: fadeInPopup 0.5s ease;
    margin: auto;
    border-radius: 25px;
}

.close-thank-you-btn {
    position: absolute;
    top: 10px;
    right: 30px;
    background: transparent;
    border: none;
    font-size: 4rem;
    color: #333333;
    cursor: pointer;
    z-index: 999;
}

.close-thank-you-btn:hover {
    color: #000;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-thank-you-popup .right-side {
    background: url('https://storage.googleapis.com/giffycms-puffedup.appspot.com/images/contact-us/contact-thank-you-img.png') no-repeat center center/cover;
    min-height: 300px;
}

.contact-thank-you-popup .left-side {
    align-self: center;
    padding: 7rem 6rem;
}

.contact-thank-you-popup .left-side .contact-thank-you-popup-heading {
    font-size: 4.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2rem;
}

.contact-thank-you-popup .left-side .contact-thank-you-popup-heading span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.contact-thank-you-popup .left-side .contact-thank-you-popup-heading span::before {
    content: '';
    position: absolute;
    left: 2%;
    bottom: 0.27em;
    width: 135%;
    height: 0.55em;
    background-color: #affde5;
    z-index: -1;
}

.contact-thank-you-popup .left-side .contact-thank-you-text {
    font-size: 1.7rem;
    color: #333333;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.contact-info-div {
    display: grid;
    gap: .5rem;
    margin: 0 0 2rem;
    font-size: 1.7rem;
}

.contact-info-div a {
    color: #333333;
    text-decoration: none;
}

.contact-info-div a:hover {
    text-decoration: none;
    cursor: pointer;
}

.contact-info-div a img {
    width: 25px;
    margin-right: 10px;
    margin-top: -7px;
}

.thank-you-bottom-text {
    font-size: 1.7rem;
    color: #333333;
}

.thank-you-bottom-text span {
    font-weight: 700;
    display: block;
}

@media (max-width: 767px) {
    .hero {
        background: url(https://storage.googleapis.com/giffycms-puffedup.appspot.com/images/contact-us/contact-mobile-banner.png) no-repeat center center / cover;
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 3rem;
        height: auto;
        margin-top: 2rem;
    }

    /* age verification css */

    .contact-thank-you-popup {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contact-thank-you-popup .right-side {
        min-height: 200px;
        display: none;
    }

    .contact-thank-you-popup .left-side {
        padding: 5rem 1.5rem;
    }

    .hero-text p {
        margin-bottom: 5rem;
    }

    .cta-contact-form button {
        margin: 0.5rem auto 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 span::after {
        width: 105%;
    }

    .cta-contact-form {
        padding: 5rem 2rem;
    }

    .cta-contact-form button {
        padding: 1.3rem 6rem;
        margin: 0.5rem auto 0;
    }

}