/* Contact Section - Bold Success UI & Full Width */
.contact-section-area {
    margin-top: 60px !important; 
    padding: 80px 0;
    background-color: #f4f5f8; 
}

.contact-wrapper-grid {
    display: flex;
    flex-wrap: nowrap;
    background-color: #fff;
    border-radius: 25px;
    overflow: hidden;
    /* STRETCH: Match the 95% width of commitment section */
    max-width: 95%; 
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.contact-info-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--header);
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-info-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 25px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--theme);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-form-side {
    flex: 1;
    padding: 60px;
    background-color: var(--theme-2); 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-wrapper {
    width: 100%;
    transition: transform 0.6s ease-in-out, opacity 0.4s;
    z-index: 2;
}

/* Fix: Vertical spacing between input fields */
.contact-form-group {
    margin-bottom: 25px; /* Increased gap */
}

/* Success Message Refinement */
.success-message-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    transform: translateX(100%); 
    transition: transform 0.6s ease-in-out;
    z-index: 3;
    visibility: hidden; 
}

.success-message-wrapper.active {
    transform: translateX(0);
    visibility: visible;
}

.success-icon { 
    font-size: 80px; 
    color: #fff; 
    margin-bottom: 20px; 
}

.success-title { 
    font-size: 48px; 
    font-weight: 900; 
    color: #fff; 
    text-transform: uppercase; 
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.success-text { 
    font-size: 20px; 
    color: #ffffff; 
    font-weight: 500;
    max-width: 80%;
    margin-bottom: 30px; 
}

.contact-form-control {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border-radius: 12px;
    border: none;
    background-color: #ffffff;
    color: #000;
    font-size: 15px;
    font-weight: 500;
}

textarea.contact-form-control {
    padding-top: 15px;
    height: 120px;
}

.contact-submit-btn {
    width: 100%;
    height: 55px;
    border-radius: 50px;
    background-color: var(--theme); 
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.back-home-btn { 
    background: #fff; 
    color: var(--theme-2); 
    padding: 12px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 991px) {
    .contact-wrapper-grid { flex-direction: column; max-width: 95%; }
    .contact-info-side, .contact-form-side { padding: 40px 25px; }
    .success-title { font-size: 32px; }
    .success-text { font-size: 16px; }
    .contact-form-group { margin-bottom: 15px; }
}