/* ══ CONTACT PAGE STYLES ══════════════════════════════════════ */

/* Hero: full-bleed dark cinematic */
.contact-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--c-bg);
    padding: 8rem 0 4rem;
    text-align: center;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 210, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 100% 20%, rgba(255, 211, 0, 0.08) 0%, transparent 55%);
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    animation: grid-pulse 10s infinite alternate ease-in-out;
}

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

    100% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.hero-text {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-text .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--c-accent-1);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--c-text);
}

.hero-text h1 em {
    font-style: normal;
    color: var(--c-accent-1);
}

.hero-text .lead {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.whatsapp-callout {
    margin: 1.5rem auto;
    max-width: 600px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text-muted);
}

.whatsapp-callout a {
    color: var(--c-accent-1);
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-callout a:hover {
    text-decoration: underline;
}

/* ── Lead Generation Section ────────────────────────────────── */
.contact-lead-section {
    padding: 8rem 0;
    background: var(--c-bg);
}

.lead-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.lead-text-side .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 1.5rem 0;
    line-height: 1.2;
    color: var(--c-text);
}

.lead-text-side .section-desc {
    color: var(--c-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: var(--c-text);
}

.feature-item i {
    width: 32px;
    height: 32px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--c-accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* ── Operations Hub ─────────────────────────────────────────── */
.operations-hub {
    padding: 8rem 0;
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-glass-border);
}

.hub-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hub-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hub-info .section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 1.5rem 0 2rem;
    color: var(--c-text);
}

.address-box {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.address-item {
    display: flex;
    gap: 1.5rem;
}

.address-item i {
    font-size: 1.5rem;
    color: var(--c-accent-1);
    margin-top: 5px;
}

.address-item p {
    color: var(--c-text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.address-item strong {
    color: var(--c-text);
    display: block;
    margin-bottom: 5px;
}

.map-container {
    width: 100%;
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    border: none;
    /* Removed outer stroke */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    background: var(--c-bg-alt);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.3) contrast(1.1) brightness(0.95);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Cinematic Dark Mode Map */
.dark-mode .map-container iframe {
    filter: grayscale(0.8) contrast(1.2) brightness(0.7) invert(0.9) hue-rotate(180deg);
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1) brightness(1);
    transform: scale(1.02);
}

.hub-map {
    position: relative;
    z-index: 1;
}

/* ── Custom Leaflet Marker ──────────────────────────────────── */
.custom-map-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin {
    width: 16px;
    height: 16px;
    background: var(--c-accent-1);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--c-accent-1);
    z-index: 2;
}

.marker-pulse {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(0, 210, 255, 0.3);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
    z-index: 1;
}

/* Hub Dot Styling */
.hub-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border: 2px solid var(--c-accent-1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

@keyframes markerPulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

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

/* ── Map Legend Overlay ────────────────────────────────────── */
.map-overlay-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 240px;
    padding: 1.5rem;
    pointer-events: none;
    /* Allow interaction with map behind it */
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--c-glass-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .map-overlay-legend {
    background: rgba(26, 31, 32, 0.85);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.map-overlay-legend h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-accent-1);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.legend-item i {
    font-size: 0.9rem;
    color: var(--c-accent-1);
    margin-top: 2px;
}

.legend-item.office .dot {
    width: 10px;
    height: 10px;
    background: var(--c-accent-1);
    border-radius: 50%;
    margin-top: 4px;
    box-shadow: 0 0 8px var(--c-accent-1);
}

.legend-item .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legend-item .info strong {
    font-size: 0.85rem;
    color: var(--c-text);
    font-weight: 700;
}

.legend-item .info span {
    font-size: 0.75rem;
    color: var(--c-text-muted);
}

.legend-divider {
    height: 1px;
    background: var(--c-glass-border);
    margin: 1rem 0;
}

/* Custom Tooltip Styling (Fallbacks) */
.custom-tooltip {
    display: none;
    /* Hidden as per request */
}

/* Custom Tooltip Styling */
.custom-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--c-glass-border);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #1a1f20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark-mode .custom-tooltip {
    background: rgba(26, 31, 32, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.map-popup-content {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #333;
    line-height: 1.5;
}

.map-popup-content strong {
    color: var(--c-accent-1);
    font-weight: 700;
}

/* Customizing Leaflet Popups */
.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95);
}

.dark-mode .leaflet-popup-content-wrapper {
    background: rgba(26, 31, 32, 0.95);
    color: #fff;
    border: 1px solid var(--c-glass-border);
}

.dark-mode .leaflet-popup-tip {
    background: rgba(26, 31, 32, 0.95);
}

.dark-mode .map-popup-content {
    color: #eee;
}

/* ── Form Styling ───────────────────────────────────────────── */
.contact-form-card {
    background: var(--c-bg-alt);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-glass-border);
    box-shadow: var(--shadow-soft);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--c-text);
}

.process-text {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ── Footer-Themed Form Styling ──────────────────────────────── */
.footer-form {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.09) !important;
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dark-mode .footer-form {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    color: #1e2a38;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
    color: #e6edf3;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-accent-1);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
}

.form-status {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.form-status.active {
    opacity: 1;
    max-height: 80px;
    padding: 12px;
}

.form-status.success {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.form-status.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* ── FAQ Section ────────────────────────────────────────────── */
.faq-section {
    padding: 10rem 0;
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-glass-border);
    position: relative;
    z-index: 1;
}

.faq-head {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-head .ab-heading {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin: 1rem 0 1.5rem;
    color: var(--c-text);
}

.faq-head .ab-sub {
    max-width: 650px;
    margin: 0 auto;
    color: var(--c-text-muted);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--c-bg);
    border: 1px solid var(--c-glass-border);
    border-left: 4px solid rgba(0, 210, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.open {
    border-left-color: var(--c-accent-1);
    box-shadow: 0 15px 45px rgba(0, 210, 255, 0.08);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1.8rem 2.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: background 0.3s ease;
}

.faq-q:hover {
    background: rgba(0, 210, 255, 0.04);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--c-accent-1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--c-accent-1);
    color: #fff;
    border-color: var(--c-accent-1);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.open .faq-a {
    max-height: 500px;
}

.faq-a-inner {
    padding: 0 2.5rem 2rem;
    color: var(--c-text-muted);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ── Section Separator ───────────────────────────────────────── */
.section-separator {
    background: var(--c-bg);
    position: relative;
    z-index: 5;
}

.separator-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--c-glass-border) 20%, 
        var(--c-accent-1) 50%, 
        var(--c-glass-border) 80%, 
        transparent 100%);
    opacity: 0.3;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
}

/* ── Contact Modal Popup ────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: var(--c-bg);
    width: 100%;
    max-width: 900px;
    border: 1px solid var(--c-glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-glass-border);
    color: var(--c-text);
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    color: #fff;
    transform: rotate(90deg);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
}

@media (max-width: 850px) {
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
}

.modal-info-side {
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.08), transparent);
    border-right: 1px solid var(--c-glass-border);
}

@media (max-width: 850px) {
    .modal-info-side {
        display: none;
    }
}

.modal-info-side h2 {
    font-size: 2.2rem;
    color: var(--c-text);
    margin: 1.2rem 0;
    line-height: 1.2;
    font-weight: 800;
}

.modal-info-side p {
    color: var(--c-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.modal-badges {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.m-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--c-text-muted);
    font-weight: 500;
}

.m-badge i {
    color: var(--c-accent-1);
    font-size: 1.1rem;
}

.modal-form-side {
    padding: 3.5rem;
}

@media (max-width: 600px) {
    .modal-form-side {
        padding: 2.5rem 1.5rem;
    }
}

.popup-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .popup-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.popup-form .form-group {
    margin-bottom: 1.5rem;
}

.popup-form label {
    display: block;
    color: var(--c-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-glass-border);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--c-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: var(--c-accent-1);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
    background: var(--c-bg);
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--c-accent-1), #00a8cc);
    color: #050d10;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.35);
}

.form-status {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    font-weight: 600;
}

.form-status.active {
    opacity: 1;
    max-height: 80px;
    padding: 12px;
    margin-top: 1.5rem;
}

.form-status.success {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-status.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Custom Tooltip Styling (Fallbacks) */
.custom-tooltip {
    display: none; /* Hidden as per request */
}