/* Contact Page Specific Styles */

/* Dot Flow Animation for Contact Hero */
.dot-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.dot-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    animation: dotFlow 15s linear infinite;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite alternate;
}

/* Individual dot sizes and positions */
.dot-1 {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.dot-2 {
    width: 12px;
    height: 12px;
    top: 20%;
    left: 15%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.dot-3 {
    width: 6px;
    height: 6px;
    top: 30%;
    left: 8%;
    animation-delay: -4s;
    animation-duration: 14s;
}

.dot-4 {
    width: 10px;
    height: 10px;
    top: 15%;
    left: 25%;
    animation-delay: -1s;
    animation-duration: 16s;
}

.dot-5 {
    width: 14px;
    height: 14px;
    top: 40%;
    left: 12%;
    animation-delay: -6s;
    animation-duration: 20s;
}

.dot-6 {
    width: 8px;
    height: 8px;
    top: 50%;
    left: 3%;
    animation-delay: -3s;
    animation-duration: 13s;
}

.dot-7 {
    width: 16px;
    height: 16px;
    top: 60%;
    left: 18%;
    animation-delay: -8s;
    animation-duration: 22s;
}

.dot-8 {
    width: 6px;
    height: 6px;
    top: 70%;
    left: 7%;
    animation-delay: -5s;
    animation-duration: 15s;
}

.dot-9 {
    width: 12px;
    height: 12px;
    top: 80%;
    left: 20%;
    animation-delay: -7s;
    animation-duration: 17s;
}

.dot-10 {
    width: 10px;
    height: 10px;
    top: 25%;
    left: 35%;
    animation-delay: -9s;
    animation-duration: 19s;
}

.dot-11 {
    width: 8px;
    height: 8px;
    top: 45%;
    left: 30%;
    animation-delay: -2.5s;
    animation-duration: 14s;
}

.dot-12 {
    width: 14px;
    height: 14px;
    top: 65%;
    left: 40%;
    animation-delay: -4.5s;
    animation-duration: 21s;
}

.dot-13 {
    width: 6px;
    height: 6px;
    top: 85%;
    left: 32%;
    animation-delay: -6.5s;
    animation-duration: 16s;
}

.dot-14 {
    width: 12px;
    height: 12px;
    top: 35%;
    left: 45%;
    animation-delay: -1.5s;
    animation-duration: 18s;
}

.dot-15 {
    width: 10px;
    height: 10px;
    top: 55%;
    left: 50%;
    animation-delay: -3.5s;
    animation-duration: 15s;
}

.dot-16 {
    width: 8px;
    height: 8px;
    top: 75%;
    left: 48%;
    animation-delay: -5.5s;
    animation-duration: 17s;
}

.dot-17 {
    width: 16px;
    height: 16px;
    top: 20%;
    left: 60%;
    animation-delay: -7.5s;
    animation-duration: 23s;
}

.dot-18 {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 65%;
    animation-delay: -9.5s;
    animation-duration: 14s;
}

.dot-19 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 70%;
    animation-delay: -11s;
    animation-duration: 20s;
}

.dot-20 {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 75%;
    animation-delay: -13s;
    animation-duration: 16s;
}

@keyframes dotFlow {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* Enhanced dot effects for different screen sizes */
@media (max-width: 768px) {
    .dot {
        animation-duration: 10s;
    }
    
    .dot-1, .dot-3, .dot-6, .dot-8, .dot-11, .dot-13, .dot-16, .dot-18 {
        width: 6px;
        height: 6px;
    }
    
    .dot-2, .dot-4, .dot-9, .dot-10, .dot-12, .dot-14, .dot-15, .dot-19, .dot-20 {
        width: 8px;
        height: 8px;
    }
    
    .dot-5, .dot-7, .dot-17 {
        width: 10px;
        height: 10px;
    }
}

/* Hero Section with Background Image */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                      url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?w=1920&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    padding: 5rem 0;
}

.contact-hero h1 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.contact-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-hero .breadcrumb-item a:hover {
    color: white;
    text-decoration: none;
}

.contact-hero .breadcrumb-item.active {
    color: white;
}

.contact-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

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

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
}

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

/* Contact Form Styles */
.contact-form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    height: 100%;
}

/* Map Section */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.accordion-button {
    background: white;
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%);
    color: #2563eb;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e2e8f0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }
    
    .contact-form-container {
        margin-top: -1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
}