/* =============================================================================
   NECI Contact Us Page Styles — Redesigned Premium Theme
   ============================================================================= */

/* ================= HERO ================= */
.contact-hero {
    background:
        linear-gradient(rgba(8, 12, 35, 0.88), rgba(8, 12, 35, 0.88)),
        url('../images/hero/banner2.jpg') center/cover no-repeat;
    min-height: clamp(300px, 45vh, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
}

/* ================= CONTACT GRID SECTION ================= */
.contact-grid-section {
    background: #f8f9fb;
    padding-top: 60px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Premium Card Base Styles */
.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 20px 40px rgba(31, 42, 122, 0.04);
    border: 1px solid rgba(31, 42, 122, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(31, 42, 122, 0.08);
    border-color: rgba(244, 180, 0, 0.3);
}

/* Left Card Elements */
.contact-subtitle {
    color: var(--neci-accent);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.contact-title {
    color: var(--neci-primary);
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    line-height: 1.15;
}

.contact-desc {
    font-size: 0.92rem;
    color: var(--neci-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.contact-info-blocks {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.info-block-item {
    gap: 1rem;
}

.info-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--neci-primary);
    color: var(--neci-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(31, 42, 122, 0.15);
}

.info-block-item:hover .info-icon-container {
    transform: scale(1.08) rotate(-8deg);
    background-color: var(--neci-accent);
    color: var(--neci-primary);
    box-shadow: 0 6px 15px rgba(244, 180, 0, 0.25);
}

.info-block-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neci-primary);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.info-block-text p {
    font-size: 0.88rem;
    color: var(--neci-muted);
    line-height: 1.5;
    margin: 0;
}

.info-block-text a {
    color: var(--neci-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-block-text a:hover {
    color: var(--neci-primary);
    font-weight: 600;
}

.info-block-item-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem !important;
}

.info-block-item-vertical h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neci-primary);
}

.info-block-item-vertical p {
    font-size: 0.88rem;
    color: var(--neci-muted);
    line-height: 1.6;
    margin: 0;
}



/* Right Card Elements (Form) */
.form-card-title {
    color: var(--neci-primary);
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.01em;
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-custom label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--neci-primary);
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--neci-primary);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
    transition: color 0.3s ease;
}

.form-group-custom input.form-control,
.form-group-custom select.form-control {
    width: 100%;
    height: 52px;
    padding: 0 18px 0 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid rgba(31, 42, 122, 0.08);
    font-size: 0.95rem;
    color: var(--neci-text);
    transition: all 0.3s ease;
}

.form-group-custom textarea.form-control {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid rgba(31, 42, 122, 0.08);
    font-size: 0.95rem;
    color: var(--neci-text);
    transition: all 0.3s ease;
    resize: none;
}

/* Dropdown arrow customization */
.form-group-custom select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231F2A7A' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 12px;
    padding-right: 40px;
}

/* Input Focus States */
.input-icon-group:focus-within .input-icon {
    color: var(--neci-accent);
}

.input-icon-group:focus-within .form-control {
    border-color: var(--neci-accent);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.15);
}

/* Request Callback Button styling */
.btn-request-callback {
    background-color: var(--neci-accent);
    color: var(--neci-primary);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    height: 54px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(244, 180, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-request-callback:hover {
    background-color: var(--neci-primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(31, 42, 122, 0.2);
}

/* ================= OUR LOCATION SECTION ================= */
.our-location-section {
    background: #ffffff;
    padding-top: 30px;
    padding-bottom: 60px;
    width: 100%;
}

.location-badge {
    background: rgba(244, 180, 0, 0.12);
    color: var(--neci-primary);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
}

.location-section-title {
    color: var(--neci-primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Map Card Styling */
.location-map-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(31, 42, 122, 0.08);
    border: 3px solid var(--neci-accent);
    height: 450px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(31, 42, 122, 0.15);
    border-color: var(--neci-accent);
}

.location-map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Location Centered Action Buttons */
.location-action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-location-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 750;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    min-height: 48px;
    border: 1.5px solid transparent;
}

.btn-location-directions {
    background-color: var(--neci-primary);
    color: #ffffff;
    border-color: var(--neci-primary);
    box-shadow: 0 4px 10px rgba(31, 42, 122, 0.15);
}

.btn-location-directions:hover {
    background-color: #0f153d;
    border-color: #0f153d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(31, 42, 122, 0.25);
}

.btn-location-call,
.btn-location-email {
    background-color: #ffffff;
    color: var(--neci-primary);
    border-color: rgba(31, 42, 122, 0.15);
}

.btn-location-call:hover,
.btn-location-email:hover {
    background-color: rgba(31, 42, 122, 0.03);
    border-color: var(--neci-primary);
    color: var(--neci-primary);
    transform: translateY(-2px);
}

/* ================= CONTACT CTA SECTION ================= */
.contact-cta-section {
    padding: 60px 0;
    background: #f8f9fb;
}

.contact-cta-card {
    background: linear-gradient(135deg, #1E2D7D, #0B1233);
    border-radius: 24px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(31, 42, 122, 0.18);
    min-height: 180px;
}

.cta-text-content {
    flex: 1 1 auto;
}

.cta-subtitle {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neci-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cta-title {
    margin: 0;
    max-width: 700px;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.cta-action-content {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 2.2rem;
    border-radius: 999px;
    background: var(--neci-accent);
    color: var(--neci-primary);
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(244, 180, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.contact-cta-btn:hover {
    transform: translateY(-4px);
    background: #ffffff;
    color: var(--neci-primary);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

/* ================= MOBILE/TABLET RESPONSIVENESS ================= */
@media (max-width: 991.98px) {
    .contact-grid-section {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .our-location-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .contact-info-card,
    .contact-form-card {
        height: auto;
    }

    .location-map-card {
        height: 350px;
    }

    .contact-cta-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 1.5rem;
    }

    .contact-cta-btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .contact-info-card,
    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .location-map-card {
        height: 300px;
    }

    .btn-location-action {
        width: 100%;
    }

    .location-action-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
}
