/* Barracuda Email Security Gateway highlight section (index page only).
   Every rule is scoped under .bes so nothing else on the site is affected. */

.bes {
    position: relative;
    overflow: hidden;
    padding: 70px 0 56px;
    color: #33415f;
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(8, 174, 234, .16), transparent 65%),
        radial-gradient(600px 320px at 0% 100%, rgba(31, 75, 153, .12), transparent 65%),
        linear-gradient(180deg, #f3f7fd 0%, #e9f0fb 100%);
}
.bes .container { position: relative; z-index: 1; }

/* ---------- intro ---------- */
.bes-badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4b99, #08aeea);
    box-shadow: 0 6px 20px rgba(31, 75, 153, .3);
}
.bes-title {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.12;
    font-weight: 700;
    color: #12295c;
}
.bes-title span { color: #1f7fd1; }
.bes-tagline {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 600;
    color: #1f4b99;
}
.bes-lead {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.7;
    color: #4a5878;
}
.bes-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.bes-chips li {
    padding: 7px 14px;
    font-size: 14px;
    color: #1f4b99;
    border: 1px solid #b9cdea;
    border-radius: 999px;
    background: #fff;
}
.bes-chips li::before {
    content: "\2713";
    margin-right: 7px;
    font-weight: 700;
    color: #1a9d6a;
}
.bes-btn {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none !important;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bes-btn:hover { transform: translateY(-2px); }
.bes-btn-primary {
    color: #fff !important;
    background: linear-gradient(90deg, #1f4b99, #1f7fd1);
    box-shadow: 0 8px 22px rgba(31, 75, 153, .35);
}
.bes-btn-ghost {
    color: #1f4b99 !important;
    border: 2px solid #1f4b99;
}
.bes-btn-ghost:hover { background: rgba(31, 75, 153, .08); }

.bes-hero-img {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    animation: bes-float 6s ease-in-out infinite;
}
@keyframes bes-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

/* ---------- features ---------- */
.bes-head { margin: 58px 0 32px; text-align: center; }
.bes-head h3 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #12295c;
}
.bes-head p { margin: 0; font-size: 16px; color: #5a6987; }
.bes-head .bes-bar {
    width: 90px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #1f4b99, #08aeea);
}

.bes-card {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #d5e1f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(31, 75, 153, .08);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bes-card:hover {
    transform: translateY(-6px);
    border-color: #1f7fd1;
    box-shadow: 0 16px 34px rgba(31, 75, 153, .2);
}
.bes-card img { width: 72px; height: 72px; margin-bottom: 18px; }
.bes-card h4 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: #12295c; }
.bes-card p  { margin: 0; font-size: 15px; line-height: 1.65; color: #4a5878; }

/* ---------- strip + CTA ---------- */
.bes-strip {
    margin-top: 8px;
    padding: 20px 26px;
    text-align: center;
    font-size: 16px;
    color: #1f4b99;
    border: 1px dashed #9db9e0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .7);
}
.bes-strip strong { color: #12295c; }

.bes-cta {
    margin-top: 26px;
    padding: 32px 38px;
    border-radius: 18px;
    background: linear-gradient(100deg, #12295c, #1f4b99 60%, #1f7fd1);
}
.bes-cta h4 { margin: 0 0 8px; font-size: 26px; font-weight: 700; color: #fff; }
.bes-cta p  { margin: 0; font-size: 16px; line-height: 1.6; color: #dce8fb; }
.bes-cta .bes-btn { margin: 0; }
.bes-btn-light {
    color: #12295c !important;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}

.bes-note {
    margin: 22px 0 0;
    font-size: 12px;
    text-align: center;
    color: #6b7a99;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .bes { padding: 50px 0 44px; }
    .bes-title { font-size: 36px; }
    .bes-hero-img { margin-top: 30px; max-width: 460px; }
    .bes-cta { text-align: center; }
    .bes-cta .bes-btn { margin-top: 18px; }
}
@media (max-width: 575px) {
    .bes-title { font-size: 30px; }
    .bes-tagline { font-size: 19px; }
    .bes-head h3 { font-size: 24px; }
    .bes-cta { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .bes-hero-img { animation: none; }
    .bes-card, .bes-btn { transition: none; }
}
