/* --- CONTACT PAGE SPECIFICS --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.contact-info-card h4 {
    color: var(--teal);
    margin-bottom: 5px;
}

.contact-info-card p {
    color: var(--white);
    opacity: 0.8;
}

/* Form Styling */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modern-form input, 
.modern-form select, 
.modern-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.modern-form input:focus, 
.modern-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(45, 139, 125, 0.05);
}

.w-100 { width: 100%; }

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links-contact a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(45, 139, 125, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 30px;
    }
}





/* --- CONTACT HERO MODERNIZATION --- */
.contact-hero-visual {
    background: radial-gradient(circle at 10% 20%, rgba(45, 139, 125, 0.05) 0%, var(--charcoal) 90%);
    padding: 180px 0 100px;
    position: relative;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45, 139, 125, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(45, 139, 125, 0.2);
    margin-bottom: 20px;
}

.status-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--teal);
    animation: pulse-teal 2s infinite;
}

@keyframes pulse-teal {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glassmorphism Code Card */
.contact-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.glass-header {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.glass-dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-line { font-family: 'Courier New', monospace; font-size: 0.9rem; margin-bottom: 5px; color: #a0a0a0; }
.indent { padding-left: 20px; }
.c-teal { color: var(--teal); }
.c-white { color: #fff; }

/* Hero Actions */
.hero-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.btn-primary-teal {
    background: var(--teal);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(45, 139, 125, 0.2);
}

.btn-primary-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 139, 125, 0.4);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Glow Effect */
.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--teal);
    filter: blur(120px);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@media (max-width: 992px) {
    .contact-glass-card {
        display: none; /* Hide visual on mobile to focus on text */
    }
    .contact-hero-visual {
        text-align: center;
        padding-top: 140px;
    }
    .hero-contact-actions {
        align-items: center;
    }
}



/* --- DYNAMIC MAP STYLING --- */
.map-container-modern {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Filter to make map look slightly darker/sleeker */
    filter: grayscale(0.2) contrast(1.1) invert(0.05);
    margin-bottom: 20px;
}

.map-container-modern iframe {
    display: block;
}

.location-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(45, 139, 125, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border-color: var(--teal) !important;
}

.location-details h4 {
    margin-bottom: 2px !important;
    font-size: 1rem;
}

.location-details p {
    font-size: 0.85rem !important;
    line-height: 1.4;
}

/* Responsiveness for the sidebar map */
@media (max-width: 992px) {
    .map-container-modern iframe {
        height: 300px; /* Shorter map on mobile */
    }
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--teal);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.map-link i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.map-link:hover {
    color: var(--white);
    transform: translateX(5px);
}