.inner-page-hero-section {
    background: url(./inner-pages/images/contact-us-page/contact-us-bg.png);
    background-size: cover;
    background-position: center center;
}

.contact-us-section {
    background: url(./inner-pages/images/contact-us-page/map-bg.png);
    background-size: cover;
    background-position: center center;
}

@media (max-width: 768px) {
    .contact-us-section {
        background: url(./inner-pages/images/contact-us-page/map-bg-mobile.png);
        background-size: cover;
        background-position: center center;
    }
}

@media(max-width: 576px) {

    .radar-hub {
        position: absolute;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
        left: 50%;
        top: 55%;
    }

}

/* Contact Section Animations & Micro-interactions */
.contact-animation-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.map-pin-hidden {
    opacity: 0;
    transform: translateY(-50px) scale(0.5);
}

.contact-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(3, 135, 188, 0.2);
    background-color: #9bd7f0 !important;
}

.contact-icon-item-icon svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-icon-item:hover .contact-icon-item-icon svg {
    transform: scale(1.2);
}

.contact-icon-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Soft pop-in animation for icons */
@keyframes softPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Contact Form Floating Label Logic */
.contact-us-form-wrapper .form-group:focus-within {
    border-color: #0a90c7;
    box-shadow: 0 0 0 2px rgba(10, 144, 199, 0.1);
}

.contact-us-form-wrapper .form-group label {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-us-form-wrapper .form-group input:focus~label,
.contact-us-form-wrapper .form-group input:not(:placeholder-shown)~label {
    top: 0;
    left: 15px;
    font-size: 13px;
    color: #0a90c7;
    font-weight: 500;
}

.contact-us-form-wrapper .form-group textarea:focus~label,
.contact-us-form-wrapper .form-group textarea:not(:placeholder-shown)~label {
    top: 0;
    left: 15px;
    font-size: 13px;
    color: #0a90c7;
    font-weight: 500;
}

/* Ensure background of label masks the border */
.contact-us-form-wrapper .form-group label {
    background: white;
}

/* Radar Scan Animation Styles */
.pin-container {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.radar-hub {
    position: absolute;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.radar-beam {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(28, 193, 255, 0.5) 0deg, rgba(1, 122, 174, 0) 60deg);
    animation: radar-sweep 4s linear infinite;
    z-index: 5;
    pointer-events: none;
}

.radar-range-ring {
    position: absolute;
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.radar-range-ring.ring-1 {
    width: 80px;
    height: 80px;
}

.radar-range-ring.ring-2 {
    width: 160px;
    height: 160px;
}

.radar-range-ring.ring-3 {
    width: 240px;
    height: 240px;
}

.hub-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px #fff, 0 0 40px rgba(28, 193, 255, 1);
    animation: dot-glow 2s ease-in-out infinite alternate;
}

@keyframes dot-glow {
    from {
        box-shadow: 0 0 15px #fff, 0 0 30px rgba(28, 193, 255, 0.8);
    }

    to {
        box-shadow: 0 0 25px #fff, 0 0 50px rgba(28, 193, 255, 1);
    }
}

/* Target Location at Offset */
.radar-target-pos {
    bottom: 55px;
    /* Fine-tuned for better alignment with image 2 */
    right: 75px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide the SVG to remove blue background artifact */
.radar-target-pos svg {
    display: none;
}

/* Safari fix for SVG mask rendering */
.radar-target-pos svg {
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.radar-target-pos svg g,
.radar-target-pos svg mask,
.radar-target-pos svg rect {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}



.target-ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: target-pulse 2.5s infinite ease-out;
}

.target-dot {
    position: absolute;
    font-size: 20px;
    color: #088cc2;
    z-index: 21;
    filter: drop-shadow(0 0 5px #0387BC);
}

@keyframes radar-sweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes target-pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: scale(7);
        opacity: 0;
    }
}

/* Base radar ripples expanding from hub */
.ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(28, 193, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    animation: radar-ripple 6s infinite ease-out;
}

.ripple-1 {
    animation-delay: 0s;
}

.ripple-2 {
    animation-delay: 2s;
}

.ripple-3 {
    animation-delay: 4s;
}

@keyframes radar-ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(30);
        opacity: 0;
    }
}

/* Form Box Scroll Animation Styles */
.contact-us-form-wrapper {
    transform-origin: center center;
    /* Form will be visible by default, scaled by animation */
}