/**********************************************************************
******                        Global Styles                     ******
**********************************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}


/**********************************************************************
******                        Contact Structure                  ******
**********************************************************************/
.contact-container {
    max-width: 1000px;
    width: 100%;
}

.contact-header {
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    padding-bottom: 10px;
}

.contact-header::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 30px;
    bottom: 10px;
    width: 8px;
    background: #310000;
    border-radius: 3px;
}

.contact-header h1 {
    color: rgb(214, 214, 214);
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: -10px;
}

.contact-header p {
    color: rgb(214, 214, 214);
    font-size: 2rem;
    font-weight: 300;
    margin-left: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgb(214, 214, 214);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/**********************************************************************
******                        Form Section                       ******
**********************************************************************/
.form-section {
    padding: 50px;
    background: rgb(214, 214, 214);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    color: #272727;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 5px 0;
    border: none;
    border-bottom: 2px solid rgb(165, 164, 173);
    background: transparent;
    font-size: 1rem;
    color: #2d3748;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #310000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgb(120, 120, 120);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    border: 5px solid #230000;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    background: #310000;
    color: rgb(214, 214, 214);
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.submit-btn:hover:not(:disabled) {
    background: rgba(104, 0, 0, 0.8);
}

.submit-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    display: none;
    background: #00692c;
    color: rgb(0, 0, 0);
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
}

/**********************************************************************
******                        Social Section                     ******
**********************************************************************/
.social-section {
    background: linear-gradient(135deg, #1c0101, #3d0000);
    padding: 20px;
    padding-left: 40px;
    color: rgb(214, 214, 214);
    position: relative;
    overflow: hidden;
}

.social-section h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 3em;
}

.illustration {
    display: none;
}

/**********************************************************************
******                      Responsive Design                    ******
**********************************************************************/
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 0;
    }


    .contact-container {
        padding: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-section,
    .social-section {
        padding: 30px;
    }

    .contact-header {
        margin-bottom: 30px;
        position: relative;
        padding-left: 20px;
        padding-bottom: 10px;
    }

    .contact-header::before {
        content: '';
        position: absolute;
        left: 1px;
        top: 20px;
        bottom: 10px;
        width: 8px;
        background: #310000;
        border-radius: 3px;
    }

    .contact-header h1 {
        color: rgb(214, 214, 214);
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: -10px;
    }

    .contact-header p {
        color: rgb(214, 214, 214);
        font-size: 1.5rem;
        font-weight: 300;
        margin-left: 10px;
    }

    .social-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .contact-container {
        padding: 0px;
    }
}

@media (max-width: 366px) {
 

    .contact-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px;
        padding-top: 10px;
    }

    .contact-header::before {
        content: none;
        display: none;
    }

    .contact-header::after {
        content: '';
        position: absolute;
        left: 90px;
        right: 90px;
        bottom: -6px;
        height: 6px;
        background: #310000;
        border-radius: 6px;
    }

    .contact-header h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: -10px;
    }

    .contact-header p {
        font-size: 1rem;
        font-weight: 300;
        margin-left: 0px;
    }
}