/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1d4ed8 100%);
    color: white;
    padding: 50px 0 50px;
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.contact-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    color: #ffffff;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.hero-stat-item {
    text-align: center;
    padding: 1rem;
}

.hero-stat-item .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
}

.hero-stat-item .stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Animated Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.bg-circle.circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
}

.bg-circle.circle-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 10%;
}

.bg-circle.circle-3 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: -60px;
}


/* Contact Content Section */
.contact-content-section {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    padding: 5rem 0;
}

.contact-info-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.contact-info-wrapper:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-info-items {
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.contact-info-item:hover {
    padding-left: 0.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
}

.contact-info-item:hover .contact-icon {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.contact-info-item:hover .contact-icon::before {
    opacity: 0.7;
}

.contact-details h6 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Social Links */
.contact-social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.contact-social-links h6 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.social-icons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    opacity: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.social-icon:hover {
    color: white;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.contact-form-wrapper:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.12);
}

.contact-form-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 3px;
}

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

.form-label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.625rem;
    font-size: 0.95rem;
    display: block;
}

.contact-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    background: #f8fafc;
    font-family: inherit;
}

.contact-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
    outline: none;
}

.contact-input::placeholder {
    color: #94a3b8;
}

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

.btn-contact-submit {
    padding: 1.125rem 3rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-contact-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    opacity: 0;
}

.btn-contact-submit i,
.btn-contact-submit span {
    position: relative;
    z-index: 1;
}

.btn-contact-submit:hover {
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.45);
}

.btn-contact-submit:hover::before {
    opacity: 1;
}


/* Validation Message Styles */
.validation-message {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    min-height: 16px;
    transition: all 0.3s ease;
}

.validation-message.error {
    color: #dc2626;
}

.validation-message.success {
    color: #059669;
}

/* Invalid Input Styling */
.contact-input.invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-input.invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Alert Styling */
.alert {
    border-radius: 14px;
    border: none;
    padding: 1.125rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-left: 5px solid #047857;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-left: 5px solid #b91c1c;
}

.alert ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.alert .btn-close {
    filter: brightness(0) invert(1);
}


/* Map Section */
.contact-map-section {
    margin-top: 4rem;
    padding: 0 1rem;
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: 0;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-stats {
        gap: 2.5rem;
    }
    
    .hero-stat-item .stat-number {
        font-size: 2.25rem;
    }
    
    .contact-content-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 100px 0 80px;
    }
    
    .contact-hero-title {
        font-size: 2.75rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 2.5rem !important;
    }
    
    .hero-stat-item .stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-item .stat-label {
        font-size: 0.85rem;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 2.25rem;
    }
    
    .contact-form-title {
        font-size: 1.625rem;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .contact-content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 80px 0 60px;
    }
    
    .contact-hero-title {
        font-size: 2.25rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-item .stat-number {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.75rem;
    }
    
    .btn-contact-submit {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
}
