/* ==========================================================================
   Modern Contact Form Styling & Theme Effects
   ========================================================================== */

.contact-form-wrapper {
    background: linear-gradient(145deg, var(--dark-navy), var(--primary-blue));
    border: 1px solid rgba(0, 176, 255, 0.2);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.3);
    animation: fadeInUp 0.8s ease-in-out;
}

/* Custom styling for inputs inside the dark wrapper */
.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.contact-form-wrapper .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-wrapper .form-select option {
    color: var(--text-color); /* Dark text for dropdown options */
}

/* Glowing animation effect when focusing on input fields */
.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 176, 255, 0.4) !important;
}

.contact-form-wrapper .input-group-text {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==========================================================================
   Map Section External Styling
   ========================================================================== */

.map-container {
    border: 3px solid rgba(13, 71, 161, 0.15);
    background-color: #ffffff;
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    filter: saturate(1.1) contrast(1.05); /* Enhances map colors to match blue theme */
}

/* Floating Info Card on top of the map */
.map-info-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 71, 161, 0.1);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .map-info-card {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 15px;
    }
}



/* ==========================================================================
   Contact Page Header Only (With Unsplash Background)
   ========================================================================== */

.contact-page-header {
    background: linear-gradient(135deg, rgba(4, 16, 34, 0.88), rgba(13, 71, 161, 0.85)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    color: #ffffff;
    padding: 120px 0 90px 0;
    text-align: center;
    position: relative;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.contact-page-header h1 {
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-page-header p.lead {
    color: #cbd5e1 !important;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}


/* ==========================================================================
   Scroll Reveal Animations (Modern Fade-In & Slide-Up)
   ========================================================================== */

/* Initial hidden state before scrolling into view */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Active state triggered when scrolled into view */
.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Optional staggered delay for child elements inside columns */
.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}


/* ==========================================================================
   Modern Interactive Info Cards Styling
   ========================================================================== */

.info-card {
    background-color: #ffffff;
    border: 1px solid rgba(13, 71, 161, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Accent glowing line on the left edge of each card */
.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-blue), var(--accent-blue));
    opacity: 0.3;
    transition: var(--transition-smooth);
}

/* Hover effects: Elevate card, brighten border, and glow accent */
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.12) !important;
    border-color: rgba(0, 176, 255, 0.3);
}

.info-card:hover::before {
    opacity: 1;
}

/* Icon Box Styling */
.info-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(25, 118, 210, 0.1);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.info-card:hover .info-icon-box {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: #ffffff;
    transform: scale(1.05);
}

/* Highlight Alert Banner */
.info-highlight-alert {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.05), rgba(0, 176, 255, 0.1));
    border: 1px solid rgba(25, 118, 210, 0.15);
    transition: var(--transition-smooth);
}

.info-highlight-alert:hover {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(0, 176, 255, 0.15));
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.1) !important;
}