:root {
    --primary-color: #004D40;
    --secondary-color: #FFC107;
    --accent-color: #00796B;
    --dark-color: #00251A;
    --light-color: #E8F5E8;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, #004D40 0%, #00251A 100%);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.contact-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white;
}

.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-header h2 {
    color: #004D40;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.1rem;
    color: #666666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: #004D40;
    box-shadow: 0 0 0 0.2rem rgba(0, 77, 64, 0.1);
    background: white;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
    background: white;
}

.form-text {
    font-size: 0.875rem;
    color: #666666;
    margin-top: 0.25rem;
}

.submit-btn {
    background: linear-gradient(135deg, #004D40, #00796B);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 8px;
    color: white;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00796B, #004D40);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 64, 0.3);
    color: white;
}

.submit-btn:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
    background: #004D40;
}

.back-to-home {
    background-color: #FFC107;
    color: #00251A;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.back-to-home:hover {
    background-color: #e0a800;
    color: #00251A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Contact Info Section */
.contact-info-section {
    background: linear-gradient(135deg, #E8F5E8 0%, #f1f8e9 100%);
}

.contact-method {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    border-left: 4px solid #004D40;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-method .contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #004D40, #00796B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-method h5 {
    color: #004D40;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: #666666;
    margin-bottom: 1rem;
}

.contact-method .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-method .btn:hover {
    transform: translateY(-2px);
}

/* Success Message */
.alert-success {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    font-weight: 500;
    border-left: 4px solid #28a745;
}

/* Loading Animation */
.submit-btn .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: white;
}

/* Form Focus States */
.form-control:focus, .form-select:focus {
    background: white;
    border-color: #004D40;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 30px;
    }
    
    .contact-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-method {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .contact-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .contact-method {
        padding: 20px 15px;
    }
}

/* Animation for form elements */
.form-group {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}