*,
*::before,
*::after {
    box-sizing: border-box;
}

#root {
    padding-top: 0 !important;
    background-color: white;
}

/* ============================================= */
/*           Custom Font Definitions             */
/* ============================================= */

/* --- Poppins Regular --- */
@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-Light.fcc40ae9a542.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-Regular.093ee89be9ed.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-Medium.bf59c687bc6d.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-SemiBold.6f1520d10720.ttf") format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* --- Poppins Bold --- */
@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-Bold.08c20a487911.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- Poppins ExtraBold  */
@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-ExtraBold.d45bdbc2d4a9.ttf") format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* --- Poppins Black --- */
@font-face {
    font-family: 'Poppins';
    src: url("../../common/fonts/poppins/Poppins-Black.14d00dab1f68.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
}

.container-bg {
    background-image: url("../medias/home/Background_mask-group.1117aa49cc19.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-section {
    padding: 8rem 0.75rem;
}

.contact-container {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-tag {
    display: inline-block;
    background-color: #ffd4c5c2;
    color: #FD865B;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #111827;
    margin: 0;
}

.contact-subheading {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: #4B5563;
    max-width: 36rem;
    margin: 0;
}

.contact-form-card {
    background-color: #F5F5F5;
    padding: 24px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #111827;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: #111827;
    color: #FFFFFF;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#success-container{
    margin: auto;
    text-align: center;
}

#success-container i{
    font-size: 65px;
    color: #37cb42;
}

#success-container #success-title{
    margin-top: 20px;
}

#success-container #success-description{
    font-size: 16px;
}

.form-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-error-msg{
    width: fit-content;
    height: fit-content;
    display: none;
    text-align: left;
    font-size: 12px;
    margin-top: 5px;
    color: #f00;
    padding: 0 5px;
}


/* 
* =============================================
* Responsive Breakpoints (Mobile First)
* =============================================*/


@media (min-width: 768px) {
    .contact-section {
        padding: 8.25rem 1.5rem;

    }
    .contact-heading {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 8.75rem 2rem;

    }

    .contact-container {
        padding: 2.5rem 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-intro {
        text-align: left;
        align-items: flex-start;
    }

    .contact-heading {
        font-size: 4rem;
    }

    .contact-form-card {
        padding: 24px;

    }
}
