/* CONTACT PAGE STYLES - WhatsApp Green Theme */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green, #128C7E) 0%, var(--secondary-green, #075E54) 100%);
    color: var(--text-white, white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light, #f8f9fa);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Contact Info Section */
.contact-info-section h2,
.contact-form-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-green, #075E54);
    font-weight: 700;
}

.contact-info-section p {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-secondary, #666);
    font-size: 1.1rem;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    background: var(--white, white);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray, #e5e5e5);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(18, 140, 126, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green, #128C7E) 0%, var(--accent-green, #25D366) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
}

.contact-icon i {
    font-size: 24px;
    color: var(--text-white, white);
}

.contact-info-card h3 {
    margin-bottom: 5px;
    color: var(--secondary-green, #075E54);
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-info-card p {
    margin: 0;
    color: var(--text-secondary, #666);
    font-size: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white, white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray, #e5e5e5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-green, #075E54);
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-green, #128C7E);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-gray, #e5e5e5);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-light, #f8f9fa);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green, #128C7E);
    box-shadow: 0 0 0 3px rgba(18, 140, 126, 0.1);
    background: var(--white, white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted, #999);
}

/* Submit Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green, #128C7E) 0%, var(--accent-green, #25D366) 100%);
    color: var(--text-white, white);
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-green, #075E54) 0%, var(--primary-green, #128C7E) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success, #28a745);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-success::before {
    content: "\f00c"; /* check icon */
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error, #dc3545);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-error::before {
    content: "\f071"; /* exclamation-triangle icon */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-info-card {
        padding: 20px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card,
.contact-form-section {
    animation: fadeInUp 0.6s ease-out;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(4) {
    animation-delay: 0.3s;
}

.contact-form-section {
    animation-delay: 0.4s;
}

/* Focus styles for accessibility */
.btn:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-green, #128C7E);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .contact-section {
        background: white !important;
    }
    
    .contact-info-card,
    .contact-form-section {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
