/* Contact Us Page Styles */

/* Page Header Section */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/contact/contact-pattern.png') repeat;
    opacity: 0.1;
}

.page-header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.page-header p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    opacity: 0.6;
}

.breadcrumb-current {
    opacity: 1;
    font-weight: 500;
}

/* Contact Information Section */
.contact-info-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    margin: 0 auto 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #1e3c72;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #1e3c72;
}

.contact-link {
    display: inline-block;
    background: #1e3c72;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #2a5298;
    transform: translateY(-2px);
}

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

.contact-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.submit-btn i {
    font-size: 1rem;
}

/* Form Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid #1e3c72;
}

.sidebar-card h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.quick-contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.quick-contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.quick-contact-item strong {
    color: #1e3c72;
    display: block;
    margin-bottom: 0.25rem;
}

.quick-contact-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    color: #666;
    background: #f8f9fa;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.4s ease;
    z-index: 0;
}

.social-link.facebook::before { background: linear-gradient(135deg, #3b5998, #4c70ba); }
.social-link.twitter::before { background: linear-gradient(135deg, #1da1f2, #1a91da); }
.social-link.instagram::before { background: linear-gradient(135deg, #e4405f, #fd5949, #fccc63); }
.social-link.linkedin::before { background: linear-gradient(135deg, #0077b5, #00a0dc); }
.social-link.youtube::before { background: linear-gradient(135deg, #ff0000, #cc0000); }

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.social-link i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.social-link:hover i {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.social-link span {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover span {
    color: white;
}

/* Departments Contact Section */
.departments-contact {
    padding: 100px 0;
    background: white;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.department-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.department-card:hover {
    transform: translateY(-5px);
    border-color: #1e3c72;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.department-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.department-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.department-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.department-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.department-contact i {
    color: #2a5298;
    width: 16px;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.map-info {
    margin-top: 3rem;
}

.map-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.map-info-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-info-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact FAQ Section */
.contact-faq {
    padding: 100px 0;
    background: white;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    color: #1e3c72;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: #2a5298;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-sidebar {
        order: -1;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-link {
        padding: 0.875rem;
    }

    .social-link i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .department-card {
        padding: 1.5rem;
    }

    .map-info-grid {
        grid-template-columns: 1fr;
    }

    .map-info-item {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}
