/* Contact Page Styles */
/* Professional & Modern Design */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

/* ===== Page Header ===== */
.contact-header {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.contact-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.contact-header .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: rgba(255, 255, 255, 0.6);
}

.contact-header .breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.contact-header .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== Contact Methods Section ===== */
.contact-methods-section {
    padding: 80px 0;
    background: white;
}

.contact-method-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.method-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.method-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    word-break: break-word;
}

.method-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.method-value a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.method-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Main Contact Section ===== */
.main-contact-section {
    padding: 80px 0;
    background: var(--light-color);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-header h2 i {
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-secondary);
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control.is-invalid {
    border-color: var(--danger-color);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.invalid-feedback {
    display: none;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 6px;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.character-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-check {
    padding-left: 1.75rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-check-label {
    color: var(--text-secondary);
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== Success Message ===== */
.success-message {
    text-align: center;
    padding: 60px 40px;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPulse 1s ease infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

.success-message h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ===== Contact Info Sidebar ===== */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h4 i {
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.75rem;
    color: white;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-item i {
    width: 24px;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item span,
.info-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-item a {
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* ===== Departments ===== */
.department-item {
    padding: 16px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}

.department-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

.department-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.department-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.department-item a {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.department-item a:hover {
    color: var(--secondary-color);
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem;
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== Tips List ===== */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.accordion-item {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-color);
}

.accordion-button {
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px 24px;
    background: white;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233b82f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Map Section ===== */
.map-section {
    padding: 80px 0;
    background: var(--light-color);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 10;
    background: white;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
}

.map-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-info h3 i {
    color: var(--primary-color);
}

.map-info p {
    margin: 0;
    color: var(--text-secondary);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper,
    .info-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-methods-section {
        padding: 60px 0;
    }
    
    .main-contact-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 16px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .contact-method-card {
        padding: 32px 20px;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
