﻿/* --- Hero Section --- */
.contact-hero {
    background: linear-gradient(to right, rgba(var(--color-5-rgb) / 0.9), rgba(var(--color-4-rgb) / 0.8)), url('https://placehold.co/1920x600/0f172a/1e293b?text=Global+Connectivity');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background-color: var(--color4);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Form Input Styling Override */
/*.form-floating > .form-control,
.form-floating > .form-select {
    background-color: var(--color5) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--color2) !important;
}

    .form-floating > .form-control:focus,
    .form-floating > .form-select:focus {
        border-color: var(--color1) !important;
        box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25) !important;
    }

.form-floating > label {
    color: var(--color3) !important;
}*/

/* --- Map Integration --- */
.map-container {
    height: 500px;
    width: 100%;
    position: relative;
    background-color: var(--color4);
    border-radius: 16px;
    overflow: hidden;
}

/* Dark Mode Map Filter */
.map-filter {
    filter: grayscale(100%) invert(92%) contrast(83%);
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Info Cards --- */
.info-box {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--color4);
    height: 100%;
}

    .info-box:hover {
        transform: translateY(-5px);
        border-color: var(--color1);
        background-color: var(--color4);
    }

.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--color1);
    font-size: 1.25rem;
}

/* --- Office Location Cards --- */
.office-card {
    background-color: var(--color4);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .office-card:hover {
        border-color: var(--color1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

.office-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

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

/* --- Animated Decoration --- */
.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color1);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}