/* HERO */

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;

    padding: 0 20px;
    padding-top: 120px;
    padding-bottom: 20px;

    background-color: #111;
    color: #fff;
}

.hero-image{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    width: 550px;
    height: 550px;
    border-radius: 30px;

    background-image: url("../images/photos/hero-contact.webp");
    background-size: cover;
    background-position: center;
}

.hero-content{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
}

.hero-content > h1{
    font-size: 60px;
    line-height: 64px;
    max-width: 550px;
}

.hero-content > h1 > span{
    background: linear-gradient(to right, #c6168d, #7d03ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content > p{
    font-size: 20px;
    max-width: 550px;
}

.hero-content > a{
    padding: 15px 40px;

    color: #fff;
    background: linear-gradient(to right, #EE2CC0, #AB0884);
    font-size: 16px;
    border-radius: 13px;

    text-decoration: none;
}

.hero-content > a:hover{
    background: linear-gradient(to right, #AB0884, #AB0884);
}

@media (max-width: 1200px) {
    .hero{
        gap: 20px;
    }
}

@media (max-width: 1050px) {
    .hero{
        flex-direction: column-reverse;
    }

    .hero-image{
        width: 100%;
        height: 250px;
    }

    .hero-content{
        align-items: center;
        text-align: center;
    }

    .hero-content > h1{max-width: 800px;}
    .hero-content > p{max-width: 800px;}
}

@media (max-width: 600px) {
    .hero-content{gap: 20px}
    .hero-content > h1{font-size: 25px;line-height: 30px;}
    .hero-content > p{font-size: 14px;}
}

/* FORM */

.form-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    padding: 50px 20px;
    padding-bottom: 0;
    background: linear-gradient(to bottom, #1C1C1C, #111);
    color: #fff;
}

.form-container > div{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}

.form-container > div > h2{
    font-size: 40px;
    max-width: 300px;
}

.form-container > div > p{
    font-size: 18px;
    max-width: 300px;
}

.form-container > form{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

    width: 700px;

    padding: 40px;
    background-color: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
}

.form-container > form > h2{
    font-size: 30px;
    padding-bottom: 10px;
}

.form-container > form > p{
    font-size: 12px;
    padding-bottom: 10px;
}

.form-container > form > input,
.form-container > form > select,
.form-container > form > textarea{
    font-size: 14px;
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #262626;
    border-radius: 5px;
    padding: 10px;
    width: 100%;

    margin-top: 20px;
}

.form-container > form > textarea{
    resize: vertical;
    height: 200px;
}

.form-container > form > input:focus,
.form-container > form > select:focus,
.form-container > form > textarea:focus{
    outline: 0;
    border: 1px solid #E24D99;
}

.form-container > form > input::placeholder,
.form-container > form > textarea::placeholder{
    color: #949494;
}

.custom-input-field-phone-number{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 100%;
    margin-top: 20px;

    background-color: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 5px;
}

.custom-input-field-phone-number:focus-within{
    border: 1px solid #E24D99;
}

.custom-input-field-phone-number > select{
    display: flex;
    flex-shrink: 0;

    padding: 10px;

    font-size: 14px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 5px;
    border: 0;

    cursor: pointer;
}

.custom-input-field-phone-number > select:focus{
    outline: none;
}

.custom-input-field-phone-number > input{
    width: 100%;
    padding: 10px;

    font-size: 14px;
    background-color: transparent;
    color: #fff;
    border: 0;
}

.custom-input-field-phone-number > input:focus{
    outline: none;
}

.custom-input-field-phone-number > input::placeholder{
    color: #949494;
}

.container-legal-information{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;

    padding-top: 20px;
}

.container-legal-information > input{
    width: 15px;
    height: 15px;

    display: flex;
    flex-shrink: 0;

    accent-color: #c6168d;
    cursor: pointer;
}

.container-legal-information > p{
    font-size: 12px;
    color: #fff;
    user-select: none;
}

.container-legal-information > p > a{
    font-family: Poppins, sans-serif;
    color: #fff;
}

.container-submit-button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

    padding-top: 30px;
}

.container-submit-button > button{
    padding: 10px;
    width: 60%;

    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    border: 0;

    background-color: #c6168d;
    color: #fff;

    cursor: pointer;
}

/* FORM VALIDATION ERRORS */

.form-container > form > .error {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    padding: 0;
}

@media (max-width: 1094px) {
    .form-container{
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .form-container > div{
        justify-content: center;
        align-items: center;
    }

    .form-container > div > h2{
        text-align: center;
        max-width: none;
        font-size: 30px;
    }

    .form-container > div > p{
        max-width: 500px;
        text-align: center;
    }
}

@media (max-width: 740px) {
    .form-container > form{
        width: 100%;
    }
}

@media (max-width: 600px) {
    .form-container > form{
        padding: 20px;
    }

    .form-container > form > h2{
        font-size: 25px;
    }

    .form-container > form > input,
    .form-container > form > select,
    .form-container > form > textarea{
        font-size: 12px;
    }

    .custom-input-field-phone-number > select{
        font-size: 12px;
    }

    .custom-input-field-phone-number > input{
        font-size: 12px;
    }

    .container-submit-button > button{
        width: 100%;
        font-size: 12px;
    }
}

/* CTA BUTTONS */

.container-cta-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;

    padding: 100px 20px;

    background-image: url("../images/photos/serious-ai-cta.webp");
    background-size: cover;
    background-position: center;

    color: #fff;
}

.container-cta-buttons > h3{
    font-size: 40px;
    text-align: center;

    max-width: 850px;
}

.container-cta-buttons > p{
    max-width: 700px;
    text-align: center;
    font-size: 18px;
}

.cta-buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cta-buttons > a{
    padding: 15px 20px;

    color: #fff;
    border-radius: 13px;
    text-align: center;

    text-decoration: none;
}

.cta-buttons > a:nth-child(1){
    background: linear-gradient(to right, #EE2CC0, #AB0884);
}
.cta-buttons > a:nth-child(1):hover{
    background: linear-gradient(to right, #AB0884, #AB0884);
}

.cta-buttons > a:nth-child(2){
    background: linear-gradient(to right, #383838, #242424);
}
.cta-buttons > a:nth-child(2):hover{
    background: linear-gradient(to right, #242424, #242424);
}

@media (max-width: 600px) {
    .container-cta-buttons > h3{
        font-size: 25px;
    }

    .container-cta-buttons > p{
        font-size: 16px;
    }

    .cta-buttons{
        flex-direction: column;
    }
}

/* SECTION ANIMATION */

.js-enabled .animate {
  opacity : 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}
