/* Contact Page Enhanced Styles */

/* Hero Banner Section */
.contact-hero-banner {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.badge-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.banner-contacts {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: #fff;
}

.contact-btn i {
    font-size: 1.2rem;
}

.contact-btn.primary {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-btn.primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-btn.whatsapp {
    background: #25D366;
    border-color: #25D366;
}

.contact-btn.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Floating Elements */
.contact-hero-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.contact-hero-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-description {
        font-size: 1.1rem;
    }
    
    .banner-contacts {
        justify-content: center;
    }
    
    .contact-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
    
    .contact-btn span {
        display: none;
    }
    
    .contact-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .banner-badge {
        padding: 6px 16px;
        margin-bottom: 1.5rem;
    }
}

/* Department Contact Cards */
.department-contact-wrap {
    background: #f8f9fa;
}

.department-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.dept-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dept-icon i {
    font-size: 2rem;
    color: #fff;
}

.department-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

.dept-contact-info {
    margin-bottom: 1.5rem;
}

.dept-contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #555;
}

.dept-contact-info .contact-item i {
    margin-right: 0.8rem;
    color: #667eea;
    font-size: 1.1rem;
}

.dept-contact-info .contact-item a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dept-contact-info .contact-item a:hover {
    color: #667eea;
}

/* Office Locations */
.office-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.office-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.office-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.office-type {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.office-details {
    padding: 2rem;
}

.office-address {
    margin-bottom: 1.5rem;
}

.office-address i {
    color: #667eea;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.office-address p {
    color: #555;
    line-height: 1.6;
}

.office-contacts {
    margin-bottom: 1.5rem;
}

.office-contacts .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.office-contacts .contact-item i {
    margin-right: 0.8rem;
    color: #667eea;
    font-size: 1.1rem;
}

.office-contacts .contact-item a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.office-contacts .contact-item a:hover {
    color: #667eea;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    background: #28a745;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Enhanced Contact Form */
.contact-form-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-header p {
    color: #666;
}

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

.form-group .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-group select.form-control {
    cursor: pointer;
}

/* Captcha Styles */
.captcha-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-image {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.captcha-refresh:hover {
    color: #764ba2;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    margin-right: 0.5rem;
}

/* Button Styles */
.btn.style1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn.style1:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: #fff;
}

.btn.style2 {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.style2:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}

/* Map Section */
.map-wrap {
    position: relative;
}

.map-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.map-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.comp-map {
    position: relative;
}

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

/* FAQ Accordion Styles */
.contact-faq-wrap {
    background: #f8f9fa;
}

.faq-accordion {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.accordion-item {
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: #fff;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-header i {
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 300px;
}

.accordion-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .quick-contact-numbers {
        flex-direction: column;
        gap: 1rem;
    }
    
    .emergency-contact,
    .whatsapp-contact {
        min-width: auto;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .captcha-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-image {
        justify-content: center;
    }
    
    .map-header {
        padding: 2rem 0;
    }
    
    .map-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .department-card,
    .office-card {
        margin-bottom: 2rem;
    }
    
    .contact-form-card {
        padding: 1.5rem 1rem;
    }
    
    .certifications {
        justify-content: center;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-card,
.office-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Breadcrumb Enhancement */
.breadcrumb-wrap.bg-f {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.breadcrumb-wrap .breadcrumb-title h2 {
    color: #fff;
}

.breadcrumb-wrap .breadcrumb-menu li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.breadcrumb-wrap .breadcrumb-menu li a:hover {
    color: #fff;
}

.breadcrumb-wrap .breadcrumb-menu li {
    color: rgba(255,255,255,0.6);
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
