/* Contact Page Specific Styles */

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Hero */
.contact-hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: inline;
}

.stat-symbol {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0 5px;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Contact */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.contact-method {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.method-icon i {
    font-size: 2.5rem;
    color: white;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.contact-method p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-method strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

input, select, textarea {
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.95rem;
    line-height: 1.5;
}

.privacy-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.privacy-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #F44336;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.btn.btn-accent.btn-large {
    background: linear-gradient(135deg, var(--accent-color), #ff8a00);
    color: white;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn.btn-accent.btn-large:hover {
    background: linear-gradient(135deg, #ff8a00, #ff6b00);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.form-status.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.form-status.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: white;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.emergency-contact {
    background: #FFF3E0;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--accent-color);
}

.emergency-contact h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emergency-contact h4 i {
    color: var(--accent-color);
}

.emergency-contact p {
    margin: 0 0 5px 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.emergency-contact small {
    color: #888;
    font-size: 0.85rem;
}

/* Departments Section */
.departments-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.department-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.dept-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.dept-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.dept-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.dept-contact {
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--light-gray);
}

.dept-contact p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dept-contact i {
    color: var(--accent-color);
}

.dept-btn {
    width: 100%;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: white;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1);
    height: 500px;
}

#map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info h3 i {
    color: var(--accent-color);
}

.location-info p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.get-directions {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.facilities-list h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.facilities {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.facility {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.facility:hover, .facility.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
    background: var(--light-gray);
}

.facility-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facility-icon i {
    font-size: 1.5rem;
    color: white;
}

.facility-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.facility-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.facility-type {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.visit-info {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.visit-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.visit-info h4 i {
    color: var(--accent-color);
}

.visit-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visit-info li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.visit-info li i {
    color: #4CAF50;
    margin-top: 3px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Contact CTA */
.contact-cta-section {
    position: relative;
    padding: 120px 0;
    color: white;
    overflow: hidden;
}

.contact-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.cta-stat {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: inline;
}

.cta-stat .stat-unit {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-left: 2px;
}

.cta-stat .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 10px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-connect {
    text-align: center;
}

.social-connect h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-methods,
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-cta-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stat {
        min-width: 150px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 65vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-stat {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-wrapper {
        height: 400px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .department-card {
        padding: 30px 20px;
    }
    
    .map-overlay {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 20px;
    }
    
    .location-info h3 {
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-stat {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-method {
        padding: 30px 20px;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
    }
    
    .method-icon i {
        font-size: 2rem;
    }
    
    .info-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 15px;
    }
    
    .facility {
        flex-direction: column;
        text-align: center;
    }
    
    .facility-icon {
        margin: 0 auto 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}