/* =============================================
   FONDOS TECH — Contact Us Page Styles (contact.css)
   ============================================= */

/* ---- Section 1: Hero & Contact Cards Container ---- */
.contact-hero-section {
    padding: 9rem 0 5rem;
    background: #f5faff;
}

/* Left Info Card (Exact match to frame-2552) */
.contact-left-card {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 0 1.5rem -0.375rem rgba(8, 106, 216, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-badge-label {
    display: inline-block;
    color: var(--primary-color, #086ad8);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contact-main-title {
    font-size: 2.5rem;
    line-height: 3.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.contact-main-title .text-primary-custom {
    color: #086ad8;
}

.contact-main-desc {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #212529;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Bullet list feature highlights */
.contact-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.contact-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-feature-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    overflow: visible;
}

.contact-feature-text {
    font-size: 0.9375rem;
    line-height: 1.25rem;
    color: #212529;
    font-weight: 500;
}

/* Info Grid (Partnerships, Contact, Whatsapp, Timings - No nested boxes) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    margin-top: 1.5rem;
}

.contact-info-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0eefe;
    border-radius: 0;
    padding: 0 0 0.75rem 0;
    box-shadow: none;
}

.contact-info-card-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #394047;
    margin-bottom: 0.375rem;
}

.contact-info-card-val {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

a.contact-info-card-val:hover {
    color: #086ad8;
}

.contact-info-card-val img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

/* Social Row (Direct SVG icons, no border boxes) */
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(8, 106, 216, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-social-row a:hover {
    background: rgba(8, 106, 216, 0.16);
    transform: translateY(-1px);
}

.contact-social-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #394047;
}

.social-img-icon {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.social-img-icon:hover {
    transform: scale(1.15);
}

/* ---- Contact Form Card (Exact match to frame-247) ---- */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 0 1.5rem -0.375rem rgba(8, 106, 216, 0.12);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-card .form-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 2rem;
    color: #086ad8;
    margin-bottom: 0.375rem;
}

.contact-form-card .form-desc {
    font-size: 0.9375rem;
    line-height: 1.375rem;
    color: #394047;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-form-card .form-group {
    position: relative;
    margin-top: 0.5rem;
}

.contact-form-card .form-label {
    position: absolute;
    top: -0.425rem;
    left: 0.875rem;
    background: #ffffff;
    padding: 0 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #212529;
    z-index: 2;
    margin-bottom: 0;
    line-height: 1;
}

.contact-form-card .form-control {
    background: #ffffff;
    border: 1px solid rgba(33, 37, 41, 0.16);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: #212529;
    transition: all 0.2s ease;
    width: 100%;
}

.contact-form-card .form-control::placeholder {
    color: #212529;
    opacity: 0.48;
}

.contact-form-card .form-control:focus {
    background: #ffffff;
    border-color: #086ad8;
    box-shadow: 0 0 0 0.156rem rgba(8, 106, 216, 0.18);
}

.contact-form-card .form-control.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linecap='round' d='M5.8 3.6h.4L6 6.5zM6 8.25a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form-card .form-control.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.7c-.43.5-1.1.5-1.5 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.error-message.text-danger {
    font-size: 0.75rem;
    color: #dc3545 !important;
    font-weight: 600;
    margin-top: 0.25rem;
    display: block;
}

/* ---- Creative Thank You Modal Popup ---- */
.swal2-popup.thankyou-popup {
    background: #ffffff;
    border-radius: 1.75rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(8, 106, 216, 0.22);
    border: 1px solid #cee4fd;
    max-width: 500px;
}

.thankyou-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #086ad8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2.25rem;
    box-shadow: 0 10px 25px rgba(8, 106, 216, 0.35);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 106, 216, 0.4);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(8, 106, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(8, 106, 216, 0);
    }
}

.thankyou-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #086ad8;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.thankyou-desc {
    font-size: 0.9375rem;
    color: #394047;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.thankyou-info-box {
    background: #f5faff;
    border: 1px solid #cee4fd;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.thankyou-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #212529;
    margin-bottom: 0.5rem;
}

.thankyou-info-item:last-child {
    margin-bottom: 0;
}

.thankyou-info-icon {
    color: #086ad8;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.thankyou-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.error {
    font-size: 0.75rem;
    color: #dc3545 !important;
    font-weight: 600;
    margin-top: 0.25rem;
}

.btn-thankyou-primary {
    background: #086ad8;
    color: #ffffff;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: none;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-thankyou-primary:hover {
    background: #0654ad;
    transform: translateY(-2px);
    box-shadow: none;
    color: #ffffff;
}

.btn-thankyou-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-thankyou-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-contact-submit {
    background: #086ad8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 0.625rem 1.5rem -0.5rem rgba(8, 106, 216, 0.32);
    cursor: pointer;
}

.btn-contact-submit:hover {
    background: #0654ad;
    transform: translateY(-1px);
    box-shadow: 0 0.875rem 1.75rem -0.5rem rgba(8, 106, 216, 0.45);
}

.contact-form-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #394047;
    line-height: 1.125rem;
    font-weight: 500;
}

/* ---- Section 2: Locations / Presence Section ---- */
/* ---- 2. Our Presence (Network Node Map & Interactive Card) ---- */
.presence-section {
    background: #f8fbff;
    padding: 5.5rem 0;
}

.network-presence-wrapper {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 12px 36px rgba(8, 106, 216, 0.06);
}

.presence-map-card {
    border-radius: 1.25rem;
    overflow: hidden;
    height: 480px;
    border: 1px solid #eef5fc;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.presence-leaflet-map {
    width: 100%;
    height: 100%;
    background: #f4f8fe;
}

/* Custom Pin Marker Styling */
.custom-node-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-pin-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-pin-bubble {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: #086ad8;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -24px 0 0 -19px;
    box-shadow: 0 4px 12px rgba(8, 106, 216, 0.35);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-pin-bubble::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 12px;
}

.node-pin-wrapper.active .node-pin-bubble {
    background: #023e8a;
    transform: rotate(-45deg) scale(1.2);
    box-shadow: 0 6px 18px rgba(2, 62, 138, 0.5);
}

.node-pin-wrapper.active .node-pin-bubble::after {
    background: #ffffff;
}

.node-pin-pulse {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(8, 106, 216, 0.25);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -24px 0 0 -24px;
    animation: nodePulse 2s infinite ease-out;
    pointer-events: none;
}

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

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

.network-node-details-card {
    background: #ffffff;
    border: 1px solid #e2eefd;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(8, 106, 216, 0.04);
}

.node-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f7ff;
}

.node-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #086ad8;
    letter-spacing: 0.05em;
}

.badge-active-center {
    background: #e6f4ff;
    color: #086ad8;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid #bce0fd;
    letter-spacing: 0.04em;
}

.node-city-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-top: 1rem;
}

.node-jurisdiction {
    font-size: 0.75rem;
    font-weight: 700;
    color: #086ad8;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.node-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.625rem;
    background: #f0f7ff;
    color: #086ad8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #cee4fd;
}

.info-text label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.125rem;
}

.info-text p {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.4;
}

.node-selector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f7ff;
}

.node-pill-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.node-pill-btn:hover {
    background: #f0f7ff;
    color: #086ad8;
    border-color: #cee4fd;
}

.node-pill-btn.active {
    background: #086ad8;
    color: #ffffff;
    border-color: #086ad8;
    box-shadow: 0 4px 12px rgba(8, 106, 216, 0.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-hero-section {
        padding: 2rem 0;
        margin-top: 5rem;
    }

    .contact-main-title {
        font-size: 2rem;
        line-height: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        margin-top: 2rem;
    }
}