/* CONTACT PAGE - contact.css */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45)
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    padding: 0 1rem
}

.page-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    margin-bottom: .5rem
}

.page-hero-content .breadcrumb {
    justify-content: flex-start
}

.page-hero-content .breadcrumb-item,
.page-hero-content .breadcrumb-item.active,
.page-hero-content .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .85);
    font-size: .9rem
}

.page-hero-content .breadcrumb-item a {
    color: #fff;
    text-decoration: none
}


.section-title {
    margin-bottom: 3rem
}

.section-title h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1e40af, #dc2626);
    margin: .5rem auto 0
}

.contact-info-section {
    padding: 90px 0 80px;
    background: #fff
}

/* Horizontal contact info bar */
.ci-hbar {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    overflow: hidden;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.ci-hbar-office {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #fff;
    min-width: 220px;
    flex: 0 0 auto;
}

.ci-hbar-office .ci-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ci-hbar-office h5 {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 .2rem;
    color: #fff;
}

.ci-hbar-office p {
    font-size: .78rem;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    line-height: 1.4;
}

.ci-hbar-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.25rem 1.5rem;
    border-left: 1px solid #e5e7eb;
    flex: 1;
    min-width: 160px;
}

.ci-hbar-item strong {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    margin-bottom: .3rem;
}

.ci-hbar-item div {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.ci-hbar-item a,
.ci-hbar-item span {
    font-size: .85rem;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.5;
}

.ci-hbar-item a:hover {
    color: #1e40af;
}

.ci-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ci-item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: var(--ci, #eff6ff);
    color: var(--cc, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ci-hbar {
        flex-direction: column;
    }

    .ci-hbar-item {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }

    .ci-hbar-office {
        min-width: 0;
    }
}

.contact-form-wrap {
    background: #f8faff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem
}

.contact-form-wrap h3 {
    font-weight: 800;
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: .4rem
}

.form-sub {
    color: #6b7280;
    font-size: .9rem;
    margin-bottom: 1.75rem
}

.contact-form-wrap .form-label {
    font-size: .84rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .35rem
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .1)
}

.urgency-options {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.urgency-urgent {
    color: #dc2626
}

.urgency-normal {
    color: #1e40af
}

.urgency-consultation {
    color: #16a34a
}

.branch-section {
    padding: 90px 0 80px;
    background: #f8faff
}

.branch-card.main-office {
    background: #fff;
    border: 2px solid #1e40af;
    border-radius: 20px;
    padding: 2rem;
    height: 100%
}

.branch-icon-wrap {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem
}

.branch-icon-wrap i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem
}

.branch-badge {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    background: #dc2626;
    padding: .25rem .7rem;
    border-radius: 20px
}

.branch-card h5 {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
    margin-bottom: .4rem
}

.branch-address {
    font-size: .88rem;
    color: #374151;
    margin-bottom: 1rem
}

.branch-contacts p {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: .4rem
}

.branch-contacts i {
    color: #1e40af;
    width: 16px
}

.branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 100%
}

.branch-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    position: relative;
    padding-left: 1.5rem
}

.bitem-dot {
    position: absolute;
    left: .7rem;
    top: 1.3rem;
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.branch-item h6 {
    font-weight: 700;
    font-size: .87rem;
    color: #1f2937;
    margin: 0
}

.branch-item p {
    font-size: .78rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4
}

.faq-section {
    padding: 90px 0 80px;
    background: #fff
}

.faq-section .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden
}

.faq-section .accordion-button {
    font-weight: 600;
    font-size: .95rem;
    color: #1f2937;
    background: #fff;
    border-radius: 12px !important;
    padding: 1.1rem 1.4rem
}

.faq-section .accordion-button:not(.collapsed) {
    color: #1e40af;
    background: #eff6ff;
    box-shadow: none
}

.faq-section .accordion-body {
    font-size: .9rem;
    color: #6b7280;
    line-height: 1.7;
    padding: 1rem 1.4rem 1.4rem
}

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease
}

[data-animate].animated {
    opacity: 1;
    transform: none
}

@media(max-width:768px) {
    .branches-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:576px) {
    .page-hero {
        height: 280px
    }

    .contact-info-section,
    .branch-section,
    .faq-section {
        padding: 60px 0 50px
    }

    .contact-form-wrap {
        padding: 1.5rem
    }
}

@media (max-width: 576px) {
    .urgency-options {
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .ci-hbar {
        flex-direction: column;
    }

    .ci-hbar-item {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}