/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');


/* UNIVERSAL CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    background: #f8f8f8;
    color: #171717;
}


/* CONTACT SECTION */

.contact-section {
    width: 100%;
    min-height: 100vh;
    padding: 50px 7%;

    background: #f8f8f8;

    transition: 0.3s ease;
}


.contact-container {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 100px;
}


/* LEFT TEXT */

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 16px;
    margin-bottom: 18px;

    background: rgba(229, 9, 20, 0.08);
    color: #e50914;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    border-radius: 50px;
}


.contact-info h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;

    margin-bottom: 18px;
}


.contact-info h1 span {
    color: #e50914;
}


.info-text {
    font-size: 17px;
    line-height: 1.8;
    color: #777777;

    margin-bottom: 30px;
}


.info-text strong {
    color: #171717;
}


.info-points {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 14px;
}


.info-points li {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px 20px;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 12px;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #333333;
}


.info-points li i {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e50914;
    color: #ffffff;

    font-size: 16px;
    border-radius: 50%;
}


/* "Bill the worker directly" wala point red me */
.info-points li.info-rule {
    background: #e50914;
    border-color: #e50914;
    color: #ffffff;
}


.info-points li.info-rule i {
    background: #ffffff;
    color: #e50914;
}


/* FORM BOX */

.contact-form-box {
    background: #ffffff;

    padding: 38px;

    border-radius: 15px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);

    transition: 0.3s ease;
}


.form-heading {
    margin-bottom: 28px;
}


.form-tag {
    display: inline-block;
    margin-bottom: 10px;

    color: #e50914;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


.form-heading h2 {
    font-size: 25px;
    margin-bottom: 8px;
}


.form-heading p {
    color: #888888;
    font-size: 13px;
}


/* INPUT GROUPS */

.input-group {
    display: flex;
    flex-direction: column;

    margin-bottom: 21px;
}


.input-group label {
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 9px;
}


/* TWO FIELDS IN ONE ROW */

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;
}


.input-row .input-group {
    min-width: 0;
}


/* INPUTS AND SELECT */

.input-group input,
.input-group select {

    width: 100%;

    padding: 14px 15px;

    border: 1px solid #dddddd;
    border-radius: 7px;

    background: #fafafa;
    color: #171717;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition: 0.3s ease;
}


.input-group input:focus,
.input-group select:focus {

    border-color: #e50914;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.08);
}


.input-group input::placeholder {
    color: #999999;
}


/* SUBMIT BUTTON */

.contact-submit {
    width: 100%;

    padding: 15px;

    border: none;
    border-radius: 7px;

    background: #e50914;
    color: #ffffff;

    font-family: inherit;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}


.contact-submit i {
    margin-left: 8px;
}


.contact-submit:hover {
    background: #b80710;
    transform: translateY(-2px);
}


.form-status {
    margin-top: 15px;
    font-size: 13px;
}


/* DARK MODE */

body.dark .contact-section {
    background: #101010;
    color: #ffffff;
}


body.dark .contact-form-box {
    background: #1c1c1c;
    color: #ffffff;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


body.dark .info-tag {
    background: rgba(229, 9, 20, 0.18);
    color: #ff5a63;
}


body.dark .info-text {
    color: #aaaaaa;
}


body.dark .info-text strong {
    color: #ffffff;
}


body.dark .info-points li {
    background: #1c1c1c;
    border-color: #333333;
    color: #eeeeee;
}


body.dark .info-points li.info-rule {
    background: #e50914;
    border-color: #e50914;
    color: #ffffff;
}


body.dark .form-heading p {
    color: #aaaaaa;
}


body.dark .input-group input,
body.dark .input-group select {

    background: #292929;
    color: #ffffff;

    border-color: #444444;
}


body.dark .input-group input:focus,
body.dark .input-group select:focus {

    border-color: #e50914;
    background: #292929;
}


body.dark .input-group select option {
    background: #292929;
    color: #ffffff;
}


body.dark .input-group input::placeholder {
    color: #999999;
}


/* RESPONSIVE DESIGN */

@media (max-width: 1100px) {

    .contact-container {
        gap: 50px;
    }

}


@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;
        max-width: 680px;
        gap: 35px;
    }

}


@media (max-width: 600px) {

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section {
        padding: 55px 5%;
    }

    .contact-form-box {
        padding: 25px 18px;
    }

    .form-heading h2 {
        font-size: 22px;
    }

}