/* Contact Page Styles
-------------------------------------------------- */

/* Google Fonts Import - Uncomment and replace with your preferred fonts if needed */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); */

/* Hero Section Styles */
.contact-hero {
    position: relative;
    padding: 120px 0 160px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    overflow: hidden;
}

.contact-hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.contact-quick-info {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 24px;
    color: #0d6efd;
    margin-bottom: 10px;
}

.contact-card h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 14px;
    margin-bottom: 0;
    color: #6c757d;
}

.contact-hero-image {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

/* Shape Divider */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Contact Form Section Styles */
.contact-form-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-info-sidebar {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info-item h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.9;
}

.contact-social-links {
    display: flex;
    gap: 15px;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.contact-social-links a:hover {
    background: white;
    color: #0d6efd;
    transform: translateY(-3px);
}

.contact-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circle-1, .circle-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: -75px;
    right: -75px;
}

/* Form Styles */
.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    border-radius: 10px;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover:before {
    left: 100%;
}

/* Office Locations Section */
.office-locations-section {
    padding: 80px 0;
    background-color: white;
}

.location-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d6efd;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.location-details {
    padding: 20px;
}

.location-details h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.location-details address,
.location-details p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #6c757d;
}

.location-details i {
    color: #0d6efd;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-map {
    height: 400px;
    width: 100%;
    background-color: #f8f9fa;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    background-color: white;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(13, 110, 253, 0.25);
}

.accordion-button::after {
    background-size: 16px;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 20px 25px;
    background-color: white;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background-color: white;
}

.cta-card {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 20px;
    padding: 50px;
    color: white;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.2);
}

.cta-card h2 {
    font-weight: 700;
}

.btn-light {
    background-color: white;
    color: #0d6efd;
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 80px 0 120px;
    }
    
    .contact-info-sidebar {
        padding: 30px;
        border-radius: 20px 20px 0 0;
    }
    
    .cta-card {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 60px 0 100px;
    }
    
    .contact-quick-info {
        flex-direction: column;
    }
    
    .contact-card {
        width: 100%;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .cta-card {
        padding: 25px;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.active {
    opacity: 1;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Tooltip Styles */
.custom-tooltip {
    position: relative;
    display: inline-block;
}

.custom-tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid #0d6efd;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    border-top: 4px solid #0d6efd;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}