/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto;
}

/* Main Content Section */
.contact-section {
    padding: 0 0 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Form Container (Left Side) */
.form-container {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem;
    border-radius: 12px;
}

.form-container h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--white-color);
}

.form-group select {
    appearance: none; 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); /* Custom white arrow */
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem; 
}

.form-group select option {
    background-color: var(--primary-color); 
    color: var(--white-color);
}

.btn-submit-form {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-submit-form:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Details Container (Right Side) */
.details-container .intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--subtle-text);
}

.contact-info-list {
    list-style: none;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-circle {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #eef6ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.info-text p {
    margin: 0;
    color: var(--subtle-text);
}


.form-group .file-input {
    padding: 0; 
    border: none; 
    background: none; 
}

/* Style the button-like part of the file input */
.form-group .file-input::file-selector-button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white-color);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-family);
    transition: background-color 0.2s ease;
    margin-right: 1rem; 
}

.form-group .file-input::file-selector-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        margin-top: 20px; 
        padding: 0 1rem; 
    }

    .form-container {
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .page-header {
        margin: 0;
        border-radius: 0;
        padding-bottom: 100px; 
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .form-container {
        padding: 2rem;
    }
}