/* Modern Navbar Styles */
.modern-navbar {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.modern-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modern-navbar .navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.modern-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* Body padding to account for fixed navbar */
body {
    padding-top: 76px;
}

/* Hero Section with Particles */
.contact-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #4b5320; /* Army green fallback */
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #4b5320, #65743b);
    border: none;
    box-shadow: 0 4px 15px rgba(75, 83, 32, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(75, 83, 32, 0.6);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Contact Cards */
.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-info-card:hover, .contact-form-card:hover {
    transform: translateY(-5px);
}

/* Contact Details */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    background: #4b5320;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h5 {
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    margin: 0;
    color: #666;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4b5320;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #65743b;
    transform: translateY(-3px);
}

/* Form Styles */
.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #4b5320;
    box-shadow: 0 0 0 0.2rem rgba(75, 83, 32, 0.25);
}

.contact-form .btn-primary {
    background: #4b5320;
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: #65743b;
    transform: translateY(-2px);
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: #4b5320;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Map Container */
.map-container {
    overflow: hidden;
    border-radius: 10px;
    margin: 50px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .modern-navbar .navbar-brand {
        font-size: 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}