/* Contact Hero Section */
.contact-hero {
    padding: 100px 0;
    background: linear-gradient(rgba(74, 107, 255, 0.8), rgba(74, 107, 255, 0.8)), url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Methods */
.contact-methods {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.method-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.method-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.method-card p {
    color: var(--text-color);
    margin-bottom: 5px;
}

.method-hours {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px !important;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto 50px;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-light);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.faq-preview {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background-color: var(--bg-color);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--bg-dark);
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-card {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.detail-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.detail-card h3 i {
    color: var(--primary-color);
}

.detail-card p {
    color: var(--text-light);
    margin: 0;
}

/* Departments Section */
.departments-section {
    padding: 80px 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.department-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.department-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.department-card h3 i {
    color: var(--primary-color);
}

.department-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.department-card p strong {
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .location-details {
        grid-template-columns: 1fr;
    }
}