/* ==========================================================================
   UA INTERNATIONAL - Dedicated Contact Page Styles
   ========================================================================== */

/* 1. HERO SECTION */
.contact-hero {
    position: relative;
    padding: 85px 0 80px;
    background: radial-gradient(circle at 50% 20%, #1a1c26 0%, #0a0b10 80%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -150px;
    left: 15%;
    background: radial-gradient(circle, rgba(201, 0, 0, 0.22) 0%, rgba(201, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: 15%;
    background: radial-gradient(circle, rgba(201, 0, 0, 0.16) 0%, rgba(201, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 0, 0, 0.16);
    border: 1px solid rgba(201, 0, 0, 0.38);
    color: #ff5252;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    box-shadow: 0 0 16px rgba(201, 0, 0, 0.2);
}

.contact-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0 0 16px;
    line-height: 1.25;
}

.contact-hero h1 span {
    background: linear-gradient(135deg, #ff4d4d 0%, #ff8585 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 16.5px;
    color: #94a3b8 !important;
    line-height: 1.65;
    margin: 0 auto;
}

/* 2. QUICK CHANNELS BAR */
.contact-channels-section {
    position: relative;
    margin-top: -36px;
    z-index: 10;
    padding-bottom: 40px;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-channel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(201, 0, 0, 0.12);
    border-color: #fca5a5;
}

.channel-icon {
    width: 54px;
    height: 54px;
    background: #fff1f2;
    color: #c90000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid #ffe4e6;
    transition: all 0.3s ease;
}

.contact-channel-card:hover .channel-icon {
    background: #c90000;
    color: #ffffff;
    transform: scale(1.05);
}

.channel-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.channel-info a,
.channel-info p {
    margin: 0;
    color: #475569;
    font-size: 13.5px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
}

.channel-info a:hover {
    color: #c90000;
}

/* 3. BRANCH OFFICES SECTION */
.branch-offices-section {
    padding: 70px 0 80px;
    background: #f8fafc;
}

.branch-section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.branch-section-heading .badge-pill {
    display: inline-block;
    color: #c90000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.branch-section-heading h2 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.branch-section-heading h2 span {
    color: #c90000;
}

.branch-section-heading p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.branch-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.branch-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    transition: all 0.35s ease;
}

.branch-card.featured-hq::before {
    background: linear-gradient(90deg, #c90000, #ff4d4d);
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(201, 0, 0, 0.12);
    border-color: #fca5a5;
}

.branch-card:hover::before {
    background: linear-gradient(90deg, #c90000, #ff4d4d);
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    align-self: flex-start;
}

.branch-card.featured-hq .branch-badge {
    background: #fef2f2;
    color: #c90000;
    border: 1px solid #fecaca;
}

.branch-icon-box {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border: 2px solid #fecaca;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(201, 0, 0, 0.12);
    overflow: hidden;
    padding: 6px;
    transition: all 0.3s ease;
}

.branch-card:hover .branch-icon-box {
    border-color: #c90000;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(201, 0, 0, 0.22);
}

.branch-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.branch-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.35;
}

.branch-address {
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 20px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.branch-address i {
    color: #c90000;
    margin-top: 4px;
    font-size: 15px;
    flex-shrink: 0;
}

.branch-landmark {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.branch-contacts {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch-contacts a {
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.branch-contacts a:hover {
    color: #c90000;
}

.branch-contacts a i {
    color: #c90000;
    width: 16px;
    font-size: 13px;
}

.branch-actions {
    display: flex;
    gap: 10px;
}

.btn-directions {
    flex: 1;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-directions:hover {
    background: #c90000;
    box-shadow: 0 4px 14px rgba(201, 0, 0, 0.3);
}

.btn-copy-address {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-copy-address:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 4. CONTACT FORM & FAQ SECTION */
.contact-inquiry-section {
    padding: 85px 0 90px;
    background: #ffffff;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.inquiry-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 38px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.inquiry-form-header {
    margin-bottom: 26px;
}

.inquiry-form-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.inquiry-form-header p {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

.form-group-contact {
    margin-bottom: 20px;
}

.form-row-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label-contact {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
}

.form-control-contact {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-control-contact:focus {
    outline: none;
    border-color: #c90000;
    box-shadow: 0 0 0 3px rgba(201, 0, 0, 0.12);
}

.captcha-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-contact-badge {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-contact-submit {
    width: 100%;
    background: #c90000;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(201, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-contact-submit:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(201, 0, 0, 0.45);
}

/* Right side info panel */
.inquiry-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-banner-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 18px;
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
}

.info-banner-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: rgba(201, 0, 0, 0.25);
    border-radius: 50%;
    filter: blur(40px);
}

.info-banner-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.info-banner-card p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
}

.support-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.support-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #f1f5f9;
}

.support-feature-list li i {
    width: 24px;
    height: 24px;
    background: rgba(201, 0, 0, 0.3);
    border: 1px solid rgba(201, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b6b;
    font-size: 11px;
    flex-shrink: 0;
}

/* 5. INTERACTIVE MAP SECTION */
.contact-map-section {
    padding: 0 0 85px;
    background: #ffffff;
}

.map-card-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    gap: 10px;
    overflow-x: auto;
}

.map-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.map-tab-btn.active {
    background: #c90000;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(201, 0, 0, 0.25);
}

.map-tab-btn:hover:not(.active) {
    background: #e2e8f0;
    color: #0f172a;
}

.map-iframe-container {
    width: 100%;
    height: 420px;
    position: relative;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .contact-channels-grid,
    .branch-cards-grid {
        grid-template-columns: 1fr;
    }
    .inquiry-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .form-row-contact {
        grid-template-columns: 1fr;
    }
    .contact-hero {
        padding: 60px 0 50px;
    }
    .contact-hero h1 {
        font-size: 28px;
    }
    .inquiry-form-card {
        padding: 24px 18px;
    }
}
