/**
 * BERC Home – Ana Səhifə
 * Prefix: .bhm-*
 */

/* ─── Variables ─── */
:root {
    --bhm-blue:    #0d47a1;
    --bhm-blue-h:  #1565c0;
    --bhm-blue-l:  #e3f2fd;
    --bhm-dark:    #0f172a;
    --bhm-text:    #334155;
    --bhm-muted:   #94a3b8;
    --bhm-border:  #e2e8f0;
    --bhm-bg:      #f8fafc;
    --bhm-white:   #ffffff;
    --bhm-r:       8px;
    --bhm-t:       .25s ease;
    --bhm-w:       1500px;
    --bhm-f:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bhm-shadow:  0 4px 6px -1px rgba(0, 0, 0, .07),
                   0 2px 4px -2px rgba(0, 0, 0, .05);
    --bhm-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .1),
                     0 8px 10px -6px rgba(0, 0, 0, .06);
}

/* ─── Base reset ─── */
#bercHome {
    font-family: var(--bhm-f);
    color: var(--bhm-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

#bercHome *,
#bercHome *::before,
#bercHome *::after {
    box-sizing: border-box;
}

#bercHome img {
    max-width: 100%;
    display: block;
}

#bercHome h1,
#bercHome h2,
#bercHome h3,
#bercHome p {
    margin: 0;
}

/* ─── Layout ─── */
.bhm-wrap {
    width: 100%;
    max-width: var(--bhm-w);
    margin: 0 auto;
    padding: 0 24px;
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.bhm-hero {
    padding: 80px 0 60px;
    background: var(--bhm-white);
}

.bhm-hero > .bhm-wrap {
    display: flex;
    align-items: center;
    gap: 48px;
}

.bhm-hero__content {
    flex: 1;
    min-width: 0;
}

.bhm-hero__visual {
    flex-shrink: 0;
    max-width: 100%;
}

.bhm-hero__visual dotlottie-wc {
    display: block;
    width: clamp(220px, 35vw, 480px);
    height: clamp(220px, 35vw, 480px);
}

#bercHome .bhm-hero__title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    color: var(--bhm-dark);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

#bercHome .bhm-hero__subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    color: var(--bhm-text);
    line-height: 1.45;
    margin-bottom: 24px;
}

#bercHome .bhm-hero__desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--bhm-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

#bercHome .bhm-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bhm-blue);
    color: var(--bhm-white);
    font-family: var(--bhm-f);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--bhm-r);
    text-decoration: none;
    transition: background var(--bhm-t), transform var(--bhm-t), box-shadow var(--bhm-t);
}

#bercHome .bhm-hero__cta:hover {
    background: var(--bhm-blue-h);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13, 71, 161, .35);
}

#bercHome .bhm-hero__cta i {
    font-size: 13px;
    transition: transform var(--bhm-t);
}

#bercHome .bhm-hero__cta:hover i {
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════
   XİDMƏT SAHƏLƏRİ
   ═══════════════════════════════════════════ */
.bhm-services {
    padding: 80px 0 100px;
    background: var(--bhm-bg);
}

.bhm-services__header {
    text-align: center;
    margin-bottom: 56px;
}

#bercHome .bhm-services__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--bhm-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

#bercHome .bhm-services__desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--bhm-muted);
    line-height: 1.75;
    max-width: 820px;
    margin: 0 auto;
}

/* Grid */
.bhm-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
#bercHome .bhm-services__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 32px;
    background: var(--bhm-white);
    border: 1px solid var(--bhm-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
                box-shadow .35s cubic-bezier(.4, 0, .2, 1),
                border-color .35s ease;
}

#bercHome .bhm-services__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bhm-shadow-lg);
    border-color: transparent;
}

/* Icon circle */
.bhm-services__card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bhm-blue-l);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .35s ease, transform .35s ease;
}

.bhm-services__card-icon i {
    font-size: 28px;
    color: var(--bhm-blue);
    transition: color .35s ease;
}

#bercHome .bhm-services__card:hover .bhm-services__card-icon {
    background: var(--bhm-blue);
    transform: scale(1.1);
}

#bercHome .bhm-services__card:hover .bhm-services__card-icon i {
    color: var(--bhm-white);
}

/* Title */
#bercHome .bhm-services__card-name {
    margin: 0;
    color: var(--bhm-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    transition: color .3s ease;
}

#bercHome .bhm-services__card:hover .bhm-services__card-name {
    color: var(--bhm-blue);
}


/* ═══════════════════════════════════════════
   CTA – İNSAN KAPİTALI
   ═══════════════════════════════════════════ */
.bhm-cta {
    padding: 100px 0;
    background: var(--bhm-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bhm-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 71, 161, .15) 0%, transparent 70%);
    pointer-events: none;
}

#bercHome .bhm-cta__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 24px;
}

#bercHome .bhm-cta__text {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 500;
    color: var(--bhm-white);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto 40px;
}

#bercHome .bhm-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bhm-white);
    color: var(--bhm-dark);
    font-family: var(--bhm-f);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--bhm-r);
    text-decoration: none;
    transition: background var(--bhm-t), transform var(--bhm-t), box-shadow var(--bhm-t);
}

#bercHome .bhm-cta__link:hover {
    background: var(--bhm-blue-l);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, .15);
}

#bercHome .bhm-cta__link i {
    font-size: 13px;
    transition: transform var(--bhm-t);
}

#bercHome .bhm-cta__link:hover i {
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════
   XƏBƏRLƏR
   ═══════════════════════════════════════════ */
.bhm-news {
    padding: 80px 0 100px;
    background: var(--bhm-white);
}

.bhm-news__header {
    text-align: center;
    margin-bottom: 48px;
}

#bercHome .bhm-news__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--bhm-dark);
    line-height: 1.25;
}

/* Grid */
.bhm-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
#bercHome .bhm-news__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--bhm-white);
    border: 1px solid var(--bhm-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

#bercHome .bhm-news__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bhm-shadow-lg);
    border-color: transparent;
}

.bhm-news__card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bhm-bg);
}

.bhm-news__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

#bercHome .bhm-news__card:hover .bhm-news__card-img img {
    transform: scale(1.05);
}

.bhm-news__card-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bhm-bg);
}

.bhm-news__card-ph i {
    font-size: 32px;
    color: var(--bhm-border);
}

.bhm-news__card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

#bercHome .bhm-news__card-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--bhm-muted);
    margin-bottom: 10px;
}

#bercHome .bhm-news__card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--bhm-dark);
    line-height: 1.45;
    margin-bottom: 12px;
    transition: color var(--bhm-t);
}

#bercHome .bhm-news__card:hover .bhm-news__card-title {
    color: var(--bhm-blue);
}

#bercHome .bhm-news__card-excerpt {
    font-size: 14px;
    color: var(--bhm-muted);
    line-height: 1.7;
    margin-top: auto;
}

/* Footer link */
.bhm-news__footer {
    text-align: center;
    margin-top: 48px;
}

#bercHome .bhm-news__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bhm-blue);
    font-family: var(--bhm-f);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 24px;
    border: 2px solid var(--bhm-blue);
    border-radius: var(--bhm-r);
    transition: background var(--bhm-t), color var(--bhm-t), gap var(--bhm-t);
}

#bercHome .bhm-news__more:hover {
    background: var(--bhm-blue);
    color: var(--bhm-white);
    gap: 12px;
}

#bercHome .bhm-news__more i {
    font-size: 13px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ≤1200px */
@media (max-width: 1200px) {
    .bhm-services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ≤992px */
@media (max-width: 992px) {
    .bhm-wrap {
        padding: 0 20px;
    }

    .bhm-hero {
        padding: 48px 0 40px;
    }

    .bhm-hero > .bhm-wrap {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .bhm-hero__visual {
        order: -1;
    }

    .bhm-services {
        padding: 48px 0 56px;
    }

    .bhm-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bhm-services__header {
        margin-bottom: 36px;
    }

    .bhm-cta {
        padding: 56px 0;
    }

    .bhm-news {
        padding: 48px 0 56px;
    }

    .bhm-news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ≤640px */
@media (max-width: 640px) {
    .bhm-wrap {
        padding: 0 16px;
    }

    .bhm-hero {
        padding: 32px 0 28px;
    }

    #bercHome .bhm-hero__subtitle br {
        display: none;
    }

    #bercHome .bhm-hero__cta {
        width: 100%;
        justify-content: center;
    }

    .bhm-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    #bercHome .bhm-services__desc {
        font-size: 14px;
    }

    .bhm-cta {
        padding: 48px 0;
    }

    .bhm-cta::before {
        display: none;
    }

    #bercHome .bhm-cta__link {
        width: 100%;
        justify-content: center;
    }

    .bhm-news__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bhm-news__card-body {
        padding: 20px;
    }

    .bhm-news__footer {
        margin-top: 28px;
    }

    #bercHome .bhm-news__more {
        width: 100%;
        justify-content: center;
    }
}
