.page-hero {
    height: 40vh;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-hero .hero-static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('./images/solar_panel_worker.png');
    background-size: cover;
    background-position: center 30%;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(0, 86, 179, 0.4) 100%);
    z-index: -1;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Contact Form Styles */
.contact-form-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 86, 179, 0.1);
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.contact-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background-color: white;
}

.contact-form .form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 10px;
}

.contact-form textarea {
    resize: vertical;
}

/* Form Alert Messages */
.form-alert {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 18px 24px;
    border-radius: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.form-alert i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.form-alert-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.form-alert-error {
    background: #fff1f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Disabled submit button */
.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 24px;
    }
    
    .form-container {
        padding: 24px;
    }
}
