/* ============================================
   IBDMS Public Pages — Trilingual Styling
   Location: public/assets/css/public.css
   ============================================ */

:root {
    --pub-primary: #0d6efd;
    --pub-primary-dark: #0a58ca;
    --pub-blue-dark: #0d4a8f;
    --pub-blue-mid: #1065b8;
    --pub-blue-light: #1a76c9;
    --pub-dark: #0f172a;
    --pub-gray: #64748b;
    --pub-border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Noto Sans Ethiopic', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.65;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.pub-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--pub-border);
    padding: 6px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1030;
    min-height: 64px;
}

.pub-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0;
}

.pub-navbar .brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.pub-navbar .navbar-brand:hover .brand-logo {
    transform: scale(1.06) rotate(-2deg);
}

.pub-navbar .brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 2px;
}

.pub-navbar .brand-text {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0d4a8f;
    margin: 0;
    letter-spacing: -0.01em;
}

.pub-navbar .brand-text-sub {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.02em;
}

.pub-navbar .nav-link {
    color: #334155;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9rem;
    position: relative;
}

.pub-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pub-primary);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.pub-navbar .nav-link:hover::after,
.pub-navbar .nav-link.active::after { width: 60%; }

.pub-navbar .nav-link:hover {
    color: var(--pub-primary);
    background: #eff6ff;
}

.pub-navbar .nav-link.active {
    color: var(--pub-primary);
    background: #eff6ff;
    font-weight: 600;
}

.pub-navbar .lang-toggle { font-size: 0.85rem; }

.pub-navbar .btn-login {
    background: var(--pub-primary);
    color: white;
    font-weight: 500;
    padding: 6px 18px;
    border-radius: 8px;
    border: none;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.pub-navbar .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.pub-navbar .btn-login:hover::before { left: 100%; }

.pub-navbar .btn-login:hover {
    background: var(--pub-primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* ============================================================
   HERO
   ============================================================ */
.pub-hero {
    background: linear-gradient(135deg, var(--pub-blue-dark) 0%, var(--pub-blue-mid) 50%, var(--pub-blue-light) 100%);
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.pub-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

.pub-hero::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.hero-float-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    animation: shapeFloat 12s ease-in-out infinite;
    z-index: 0;
}

.hero-float-shape.shape-1 { width: 120px; height: 120px; top: 20%; left: 8%; animation-delay: 0s; }
.hero-float-shape.shape-2 { width: 80px;  height: 80px;  top: 60%; right: 12%; animation-delay: 2s; }
.hero-float-shape.shape-3 { width: 60px;  height: 60px;  bottom: 15%; left: 25%; animation-delay: 4s; }

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    33% { transform: translateY(-25px) translateX(15px) scale(1.1); }
    66% { transform: translateY(15px) translateX(-10px) scale(0.95); }
}

.pub-hero .hero-eyebrow {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(255, 255, 255, 0.12);
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    animation: brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    margin-right: 10px;
    vertical-align: middle;
    animation: heroDotPulse 2s ease-out infinite;
}
@keyframes heroDotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ============================================================
   HERO BRAND
   ============================================================ */
.hero-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.hero-brand-centered { align-items: center; text-align: center; }

.hero-brand-big {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3.4rem;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(255, 255, 255, 0.15);
    animation: brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-brand-mid {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #fde68a 0%, #fbbf24 50%, #fde68a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    animation:
        brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both,
        brandShine 4s linear infinite 1s;
}

.hero-brand-small {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 640px;
    margin-top: 8px;
    animation: brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.hero-brand::after {
    content: '';
    display: block;
    width: 90px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    margin-top: 14px;
    animation:
        brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both,
        dividerPulse 2.5s ease-in-out infinite 1.4s;
}

@keyframes brandSlideUp {
    from { opacity: 0; transform: translateY(28px) scale(0.96); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes brandShine { to { background-position: 200% center; } }

@keyframes dividerPulse {
    0%, 100% { opacity: 0.7; transform: scaleX(1);   }
    50%      { opacity: 1;   transform: scaleX(1.4); }
}

.hero-brand:hover .hero-brand-mid {
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.55));
}

/* ============================================================
   HERO TITLE + CTA + TRUST
   ============================================================ */
.pub-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    animation: heroSlideUp 1s ease-out both;
}

.hero-title { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.hero-line { display: block; animation: heroSlideUp 1s ease-out both; }
.hero-line-accent {
    background: linear-gradient(90deg, #fde68a 0%, #fbbf24 50%, #fde68a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroSlideUp 1s ease-out 0.2s both, heroShine 4s linear infinite;
}
@keyframes heroShine { to { background-position: 200% center; } }

.pub-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 34px;
    line-height: 1.7;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    animation: heroSlideUp 1s ease-out 0.15s both;
}

.hero-subtitle { max-width: 560px; }

.pub-hero .hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: heroSlideUp 1s ease-out 0.3s both;
}

.hero-cta.justify-content-center {
    justify-content: center;
    margin-top: 12px;
    animation: brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.pub-hero .btn-hero {
    padding: 13px 30px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
}

.pub-hero .btn-hero-primary {
    background: #ffffff;
    color: var(--pub-blue-dark);
    border: 2px solid #ffffff;
    position: relative;
    overflow: hidden;
}

.pub-hero .btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(13, 74, 143, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pub-hero .btn-hero-primary:hover::before { width: 300px; height: 300px; }

.pub-hero .btn-hero-primary:hover {
    background: #f0f6ff;
    color: #0a3a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pub-hero .btn-hero-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.pub-hero .btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: heroSlideUp 1s ease-out 0.5s both;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.hero-trust-item i { color: #fbbf24; font-size: 0.9rem; }

.hero-trust.justify-content-center {
    justify-content: center;
    animation: brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}

.hero-illustration {
    font-size: 13rem;
    color: rgba(255, 255, 255, 0.18);
    text-align: center;
    line-height: 1;
    position: relative;
    z-index: 1;
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); color: rgba(255, 255, 255, 0.18); }
    50% { transform: translateY(-15px) rotate(-2deg); color: rgba(255, 255, 255, 0.28); }
}

.hero-illustration-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}
.hero-illustration-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.15);
    animation: heroRingSpin 30s linear infinite;
    pointer-events: none;
}
.hero-illustration-ring-2 {
    width: 440px;
    height: 440px;
    border-style: dotted;
    border-color: rgba(255, 255, 255, 0.08);
    animation-duration: 50s;
    animation-direction: reverse;
}
@keyframes heroRingSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    backdrop-filter: blur(12px);
    animation: heroChipFloat 4s ease-in-out infinite;
    z-index: 2;
}
.hero-chip i { color: #fbbf24; font-size: 0.9rem; }
.hero-chip-1 { top: 22%; left: 6%; animation-delay: 0s; }
.hero-chip-2 { bottom: 22%; right: 6%; animation-delay: 2s; }
@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 3;
}
.hero-scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: #ffffff;
    border-radius: 2px;
    animation: heroScrollDot 1.8s ease-in-out infinite;
}
.hero-scroll:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.1); }
@keyframes heroScrollDot {
    0%   { transform: translateY(0);   opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

.pub-hero-slideshow .hero-slides { position: absolute; inset: 0; z-index: 0; }
.pub-hero-slideshow .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    transform: scale(1.05);
}

.pub-hero-slideshow .hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.pub-hero-slideshow .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 74, 143, 0.85) 0%, rgba(16, 101, 184, 0.75) 50%, rgba(26, 118, 201, 0.7) 100%);
    z-index: 1;
}

.pub-hero-slideshow .container { position: relative; z-index: 2; }

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s;
    z-index: 3;
}

.hero-nav:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.1); }
.hero-nav-prev { left: 20px; }
.hero-nav-next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    padding: 0;
}

.hero-dot.active { background: #ffffff; width: 30px; border-radius: 5px; }

/* ============================================================
   PAGE HERO — STYLISH TITLE
   ============================================================ */
.pub-hero .hero-brand.hero-brand-centered {
    margin-bottom: 4px !important;
}

.pub-hero .hero-brand.hero-brand-centered::after {
    display: none;
}

.pub-hero h1.hero-page-title,
.hero-page-title {
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 22px 0 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, #ffffff 0%, #fbbf24 45%, #fde68a 55%, #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.25));
    animation:
        brandSlideUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
        pageTitleShine 5s linear infinite 1.4s;
}

.pub-hero h1.hero-page-title::after,
.hero-page-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, #fbbf24, #ffffff, #fbbf24, transparent);
    background-size: 200% auto;
    animation:
        dividerPulse 3s ease-in-out infinite 1.4s,
        underlineShine 4s linear infinite;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

@keyframes pageTitleShine {
    to { background-position: 220% center; }
}

@keyframes underlineShine {
    to { background-position: 200% center; }
}

.pub-hero h1.hero-page-title:hover,
.hero-page-title:hover {
    filter: drop-shadow(0 6px 28px rgba(251, 191, 36, 0.55));
    transition: filter 0.35s ease;
}

@media (max-width: 991px) {
    .pub-hero .hero-eyebrow        { font-size: 1.55rem; }
    .pub-hero .hero-brand-mid      { font-size: 1.15rem; }
    .pub-hero h1.hero-page-title,
    .hero-page-title               { font-size: 2.9rem; }
    .pub-hero h1.hero-page-title::after,
    .hero-page-title::after        { width: 90px; }
}

@media (max-width: 767px) {
    .pub-hero .hero-eyebrow        { font-size: 1.35rem; }
    .pub-hero .hero-brand-mid      { font-size: 1rem; }
    .pub-hero h1.hero-page-title,
    .hero-page-title               { font-size: 2.25rem; margin: 18px 0 8px; }
}

@media (max-width: 575px) {
    .pub-hero .hero-eyebrow        { font-size: 1.1rem; }
    .pub-hero .hero-brand-mid      { font-size: 0.92rem; }
    .pub-hero h1.hero-page-title,
    .hero-page-title               { font-size: 1.8rem; }
    .pub-hero h1.hero-page-title::after,
    .hero-page-title::after        { width: 70px; height: 3px; bottom: -10px; }
}

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: 70px 0; }

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin-bottom: 12px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.section-subtitle {
    color: var(--pub-gray);
    font-size: 1rem;
    margin-bottom: 45px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.section-heading-center { text-align: center; }

.section-heading-center .section-title {
    position: relative;
    display: inline-block;
}

.section-heading-center .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pub-primary), var(--pub-blue-light));
    border-radius: 3px;
    transform: translateX(-50%);
    animation: underlineExpand 1.2s ease-out 0.3s forwards;
}

@keyframes underlineExpand { to { width: 60px; } }

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: #eff6ff;
    color: var(--pub-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.section-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.section-tag-green { background: #ecfdf5; color: #059669; }

.section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-alt { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.15s; }
.reveal[data-delay="3"] { transition-delay: 0.25s; }
.reveal[data-delay="4"] { transition-delay: 0.35s; }
.reveal[data-delay="5"] { transition-delay: 0.45s; }
.reveal[data-delay="6"] { transition-delay: 0.55s; }

/* ============================================================
   STATS BAND
   ============================================================ */
.home-stats-band {
    background: linear-gradient(135deg, #0d4a8f 0%, #1065b8 50%, #1a76c9 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
    color: white;
}

.home-stats-band::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    animation: statsGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.home-stats-band .section-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-stat-box {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.home-stat-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    display: block;
}

.home-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.home-stat-number.counter-done {
    animation: counterPulse 0.6s ease-out;
}
@keyframes counterPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.svc-card {
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid var(--pub-border);
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.svc-card:hover {
    border-color: var(--pub-primary);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.15);
    transform: translateY(-8px) scale(1.015);
}

.svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.svc-card:hover .svc-icon {
    background: var(--pub-primary);
    color: white;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.15) rotate(-8deg); }
    60% { transform: scale(0.95) rotate(4deg); }
    100% { transform: scale(1) rotate(0); }
}

.svc-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin-bottom: 10px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.svc-card p {
    color: var(--pub-gray);
    font-size: 0.92rem;
    margin: 0;
    flex: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.svc-card-enhanced {
    position: relative;
    overflow: hidden;
    padding-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-card-enhanced .svc-corner {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.svc-card-enhanced:hover .svc-corner {
    transform: scale(2.4);
    background: radial-gradient(circle, rgba(13, 110, 253, 0.14) 0%, transparent 70%);
}

.svc-card-enhanced .svc-reveal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.svc-card-enhanced:hover .svc-reveal {
    max-height: 60px;
    opacity: 1;
    margin-top: 16px;
}

.svc-reveal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pub-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding-top: 12px;
    border-top: 1px dashed rgba(13, 110, 253, 0.25);
    width: 100%;
    transition: all 0.25s ease;
}

.svc-reveal-link i {
    transition: transform 0.25s ease;
    margin-left: auto;
}

.svc-reveal-link:hover {
    color: var(--pub-blue-dark);
    gap: 12px;
}

.svc-reveal-link:hover i { transform: translateX(4px); }

/* ============================================================
   SERVICE SLIDER
   ============================================================ */
.svc-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.svc-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.svc-slider::-webkit-scrollbar { display: none; }

.svc-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

@media (max-width: 991px) { .svc-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 575px) { .svc-slide { flex: 0 0 100%; } }

.svc-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.svc-nav:hover {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.svc-nav:active { transform: scale(0.95); }

.svc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.svc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.svc-dot.active { background: var(--pub-primary); width: 24px; border-radius: 5px; }

.svc-card-clickable { cursor: pointer; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
.svc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s;
}

.svc-modal-overlay.show { display: flex; opacity: 1; }

.svc-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: svcModalSlide 0.3s ease-out;
}

@keyframes svcModalSlide {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.svc-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.svc-modal-close:hover {
    background: #dc3545;
    color: white;
    transform: rotate(90deg);
}

.svc-modal-header {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    padding: 36px 28px 26px;
    text-align: center;
    color: white;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.svc-modal-header::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
    border-radius: 50%;
}

.svc-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.svc-modal-header h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    color: #ffffff;
    line-height: 1.35;
}

.svc-modal-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.svc-modal-body { padding: 22px 28px 0; }

.svc-modal-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.svc-modal-row:last-of-type { border-bottom: none; }

.svc-modal-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.svc-modal-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.svc-modal-value {
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.65;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.svc-modal-footer {
    padding: 20px 28px 26px;
    display: flex;
    gap: 10px;
}

.svc-modal-footer .btn {
    flex: 1;
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
}

@media (max-width: 575px) {
    .svc-modal-header { padding: 28px 20px 22px; }
    .svc-modal-icon { width: 58px; height: 58px; font-size: 1.5rem; }
    .svc-modal-header h4 { font-size: 1.15rem; }
    .svc-modal-body,
    .svc-modal-footer { padding-left: 18px; padding-right: 18px; }
}

/* ============================================================
   OFFICE STRUCTURE (org4) — legacy tree styles (kept for
   backward compatibility, no longer rendered by default)
   ============================================================ */
.org4-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 24px 12px 32px;
    background:
        radial-gradient(900px 300px at 50% 0%, rgba(168, 85, 247, 0.04), transparent 70%),
        radial-gradient(700px 260px at 50% 100%, rgba(59, 130, 246, 0.04), transparent 70%);
    border-radius: 14px;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.org4-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(127, 166, 80, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    border-radius: 14px;
    z-index: 0;
}

.org4-chart,
.org4-chart ul,
.org4-chart li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.org4-chart {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 8px 0;
    position: relative;
    z-index: 1;
}

.org4-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 6px;
}

.org4-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px 22px;
    min-width: 200px;
    max-width: 300px;
    background: #ffffff;
    border: 2px solid #7fa650;
    border-radius: 10px;
    text-align: center;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 6px 14px rgba(15, 23, 42, 0.06);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.org4-box:hover {
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.06),
        0 14px 30px rgba(127, 166, 80, 0.22);
    transform: translateY(-3px) scale(1.015);
    border-color: #5c8a30;
}

.org4-box-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.org4-box-sub {
    font-family: 'Noto Sans Ethiopic', sans-serif;
    font-size: 0.78rem;
    color: #4b5563;
    line-height: 1.5;
    text-align: center;
    max-width: 100%;
    padding-top: 2px;
    border-top: 1px dashed rgba(127, 166, 80, 0.25);
    width: 100%;
    margin-top: 2px;
}

.org4-root > .org4-box {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border-color: #ec4899;
    min-width: 260px;
    padding: 18px 28px;
    box-shadow:
        0 4px 8px rgba(236, 72, 153, 0.08),
        0 12px 28px rgba(236, 72, 153, 0.15);
}
.org4-root > .org4-box .org4-box-title {
    color: #831843;
    font-size: 0.95rem;
    font-weight: 800;
}
.org4-root > .org4-box .org4-box-sub {
    color: #9d174d;
    border-top-color: rgba(236, 72, 153, 0.25);
}
.org4-root > .org4-box:hover {
    box-shadow:
        0 6px 12px rgba(236, 72, 153, 0.12),
        0 18px 40px rgba(236, 72, 153, 0.25);
    border-color: #db2777;
}

.org4-branch > .org4-box {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border-color: #ec4899;
    min-width: 220px;
}
.org4-branch > .org4-box .org4-box-title { color: #831843; font-size: 0.9rem; }
.org4-branch > .org4-box .org4-box-sub {
    color: #9d174d;
    border-top-color: rgba(236, 72, 153, 0.25);
}
.org4-branch > .org4-box:hover {
    box-shadow:
        0 6px 12px rgba(236, 72, 153, 0.12),
        0 18px 40px rgba(236, 72, 153, 0.22);
}

.org4-exec > .org4-box {
    background: linear-gradient(135deg, #fef9e7 0%, #f5f0d8 100%);
    border-color: #c8b56a;
}
.org4-exec > .org4-box .org4-box-title { color: #4a3f0e; }
.org4-exec > .org4-box .org4-box-sub {
    color: #6b5a1e;
    border-top-color: rgba(200, 181, 106, 0.3);
}
.org4-exec > .org4-box:hover {
    box-shadow:
        0 6px 12px rgba(200, 181, 106, 0.12),
        0 18px 40px rgba(200, 181, 106, 0.25);
    border-color: #a89237;
}

.org4-dept > .org4-box {
    background: #ffffff;
    border-color: #7fa650;
}
.org4-dept > .org4-box .org4-box-sub {
    border-top-color: rgba(127, 166, 80, 0.25);
}

.org4-node.org4-dept:not(:has(.org4-children)) > .org4-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: #0ea5e9;
    box-shadow:
        0 2px 4px rgba(14, 165, 233, 0.06),
        0 6px 14px rgba(14, 165, 233, 0.1);
}
.org4-node.org4-dept:not(:has(.org4-children)) > .org4-box .org4-box-title { color: #0c4a6e; }
.org4-node.org4-dept:not(:has(.org4-children)) > .org4-box .org4-box-sub {
    color: #075985;
    border-top-color: rgba(14, 165, 233, 0.3);
}
.org4-node.org4-dept:not(:has(.org4-children)) > .org4-box:hover {
    box-shadow:
        0 4px 8px rgba(14, 165, 233, 0.1),
        0 14px 30px rgba(14, 165, 233, 0.22);
    border-color: #0284c7;
}

.org4-children {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 26px;
    padding-top: 46px;
    margin-top: 6px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.org4-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, #7fa650 0%, #a3b899 100%);
    border-radius: 1px;
}

.org4-children > .org4-node::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 22px;
    background: linear-gradient(180deg, #a3b899 0%, #7fa650 100%);
    border-radius: 1px;
}

.org4-children > .org4-node::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #7fa650;
    border-bottom: 2px solid #7fa650;
    transform: translateX(-50%) rotate(45deg);
}

.org4-children:has(> .org4-node:only-child)::before { height: 46px; }
.org4-children:has(> .org4-node:only-child) > .org4-node::before {
    top: -30px;
    height: 30px;
}
.org4-children:has(> .org4-node:only-child) > .org4-node::after {
    top: -16px;
}

.org4-root > .org4-children {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 40px;
    max-width: 100%;
    padding-top: 50px;
}

.org4-root > .org4-children::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 300px);
    max-width: calc(100% - 300px);
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #7fa650 15%, #7fa650 85%, transparent 100%);
    border-radius: 1px;
}

.org4-root > .org4-children > .org4-node::before {
    top: -26px;
    height: 26px;
}

.org4-dept-pill {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    background: #ec4899;
    color: #fff;
    letter-spacing: 0.04em;
}

@media (max-width: 992px) {
    .org4-wrap { padding: 20px 8px 26px; }
    .org4-box {
        min-width: 170px;
        max-width: 240px;
        padding: 14px 18px;
    }
    .org4-box-title { font-size: 0.82rem; }
    .org4-box-sub   { font-size: 0.74rem; }
    .org4-children  { gap: 22px; padding-top: 40px; max-width: 300px; }
    .org4-root > .org4-children { gap: 28px; }
}

@media (max-width: 768px) {
    .org4-wrap { padding: 16px 0 24px; background: transparent; }
    .org4-wrap::before { display: none; }
    .org4-chart { padding: 4px 0; }

    .org4-node {
        display: block;
        padding: 0;
        margin-bottom: 16px;
    }

    .org4-box {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 14px 16px;
        text-align: left;
        align-items: flex-start;
    }

    .org4-box-title {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.85rem;
    }
    .org4-box-sub {
        text-align: left;
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

    .org4-children,
    .org4-root > .org4-children,
    .org4-branch > .org4-children,
    .org4-dept > .org4-children,
    .org4-exec > .org4-children {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 14px;
        margin-left: 26px;
        margin-right: 0;
        margin-top: 12px;
        padding-top: 0;
        padding-left: 22px;
        max-width: none;
        border-left: 2px solid #7fa650;
    }

    .org4-children::before,
    .org4-children::after,
    .org4-children > .org4-node::before,
    .org4-children > .org4-node::after { display: none; }

    .org4-children > .org4-node::before {
        content: '';
        display: block;
        position: absolute;
        top: 30px;
        left: -22px;
        width: 22px;
        height: 2px;
        background: #7fa650;
    }
}

@media (max-width: 480px) {
    .org4-wrap { padding: 12px 0 20px; }
    .org4-box { padding: 12px 14px; border-radius: 8px; }
    .org4-box-title { font-size: 0.8rem; }
    .org4-box-sub   { font-size: 0.7rem; }
    .org4-children  { margin-left: 16px; padding-left: 16px; }
    .org4-children > .org4-node::before { left: -16px; width: 16px; }
}

/* ============================================================
   OFFICE STRUCTURE — Quick-jump pills (legacy)
   ============================================================ */
.org-quickjump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 36px;
    max-width: 900px;
}

.org-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    border: 1px solid var(--pub-border);
    background: #ffffff;
    color: #334155;
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.org-jump-pill i { color: var(--pub-primary); font-size: 0.92rem; transition: transform 0.2s ease; }

.org-jump-pill:hover {
    border-color: var(--pub-primary);
    color: var(--pub-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.12);
}

.org-jump-pill:hover i { transform: scale(1.1) rotate(-6deg); }

.org-jump-pill.active {
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-blue-light));
    color: #ffffff;
    border-color: var(--pub-primary);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.32);
}

.org-jump-pill.active i { color: #ffffff; }

@media (max-width: 575px) {
    .org-jump-pill { padding: 7px 14px; font-size: 0.8rem; }
}

/* ============================================================
   OFFICE STRUCTURE — Static image (current)
   ============================================================ */
.org-structure-wrap {
    text-align: center;
    padding: 12px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.org-structure-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .org-structure-wrap {
        padding: 6px;
        border-radius: 12px;
    }
    .org-structure-img {
        border-radius: 8px;
    }
}

/* ============================================================
   LEADERSHIP — MODERN CARDS (dynamic from staff + groups)
   ============================================================ */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 10px;
}
@media (max-width: 991px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .leader-grid { grid-template-columns: 1fr; } }

.leader-card-modern {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 22px;
    padding: 34px 26px 30px;
    text-align: center;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.leader-card-modern::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.6s ease;
}
.leader-card-modern:hover::before { transform: scale(1.5); }

.leader-card-modern:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow:
        0 20px 50px rgba(13, 74, 143, 0.18),
        0 6px 16px rgba(15, 23, 42, 0.08);
}

.leader-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--pub-blue-dark) 0%,
        var(--pub-blue-light) 50%,
        #fbbf24 100%);
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.35s ease, background-position 0.6s ease;
}
.leader-card-modern:hover .leader-accent {
    opacity: 1;
    background-position: 100% center;
}
.leader-card-modern[data-dept="1"] .leader-accent {
    background: linear-gradient(90deg, #059669 0%, #10b981 50%, #fbbf24 100%);
}

.leader-avatar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.leader-avatar-img,
.leader-avatar-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    object-fit: cover;
    background: linear-gradient(135deg, var(--pub-blue-dark) 0%, var(--pub-blue-light) 100%);
    color: #ffffff;
    font-size: 2.6rem;
    box-shadow:
        0 12px 30px rgba(13, 74, 143, 0.28),
        inset 0 0 0 4px #ffffff,
        inset 0 0 0 6px #eff6ff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}

.leader-card-modern[data-dept="1"] .leader-avatar-img,
.leader-card-modern[data-dept="1"] .leader-avatar-icon {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    box-shadow:
        0 12px 30px rgba(5, 150, 105, 0.28),
        inset 0 0 0 4px #ffffff,
        inset 0 0 0 6px #ecfdf5;
}

.leader-card-modern:hover .leader-avatar-img,
.leader-card-modern:hover .leader-avatar-icon {
    transform: scale(1.06) rotate(-3deg);
}

.leader-head-badge,
.leader-dept-badge {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', 'Noto Sans Ethiopic', sans-serif;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border: 2px solid #ffffff;
    z-index: 2;
}
.leader-head-badge { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
.leader-dept-badge { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.leader-head-badge i { font-size: 0.55rem; }

.leader-modern-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.leader-modern-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 0;
    line-height: 1.35;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.leader-modern-name-alt {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.4;
    margin-bottom: 4px;
}

.leader-modern-role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px auto 0;
    padding: 5px 14px;
    border-radius: 20px;
    background: #eff6ff;
    color: var(--pub-primary);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
}
.leader-modern-role i { font-size: 0.72rem; flex-shrink: 0; }
.leader-card-modern[data-dept="1"] .leader-modern-role {
    background: #ecfdf5;
    color: #047857;
}

.leader-modern-bio {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.65;
    margin: 12px 0 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    flex: 1;
}

.leader-modern-office {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px auto 0;
    font-size: 0.78rem;
    color: #64748b;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    font-weight: 500;
}
.leader-modern-office i {
    color: #94a3b8;
    font-size: 0.72rem;
}

.leader-modern-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.leader-modern-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #e2e8f0;
}
.leader-modern-link:hover {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(13, 74, 143, 0.3);
}

/* ============================================================
   STAFF CARDS
   ============================================================ */
.staff-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--pub-border);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    border-color: var(--pub-primary);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.15);
    transform: translateY(-8px) scale(1.015);
}

.staff-photo-wrap { padding: 24px 0 0; display: flex; justify-content: center; }

.staff-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eff6ff;
    background: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    transition: box-shadow 0.3s;
}

.staff-card:hover .staff-photo { animation: photoPulse 1.5s ease-in-out infinite; }

@keyframes photoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(13, 110, 253, 0); }
}

.staff-card .staff-body { padding: 18px 20px 24px; flex: 1; display: flex; flex-direction: column; }

.staff-card h6 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0 0 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.staff-card .staff-role {
    color: var(--pub-primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.staff-card .staff-contact {
    font-size: 0.82rem;
    color: var(--pub-gray);
    line-height: 1.7;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    flex: 1;
}

.staff-card .staff-contact i { color: var(--pub-primary); width: 16px; margin-right: 4px; }

/* ============================================================
   SECTOR PILLS / SLIDER
   ============================================================ */
.sector-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.sector-pill {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.sector-pill:hover,
.sector-pill.active {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: translateY(-2px);
}

.sector-slider-wrap { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 0; }

.sector-slider {
    flex: 1;
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 8px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}

.sector-slider::-webkit-scrollbar { display: none; }

.slider-pill { flex: 0 0 auto; white-space: nowrap; }

.slider-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.slider-nav:hover {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.slider-nav:active { transform: scale(0.95); }

/* ============================================================
   STAFF SLIDER
   ============================================================ */
.staff-slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }

.staff-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.staff-slider::-webkit-scrollbar { display: none; }

.staff-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

@media (max-width: 991px) { .staff-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 575px) { .staff-slide { flex: 0 0 100%; } }

.staff-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.staff-nav:hover {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.staff-nav:active { transform: scale(0.95); }

.staff-card-clickable { cursor: pointer; transition: all 0.25s; }

.staff-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.staff-dot,
.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.staff-dot.active,
.slider-dot.active { background: var(--pub-primary); width: 24px; border-radius: 5px; }

/* ============================================================
   STAFF MODAL
   ============================================================ */
.staff-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s;
}

.staff-modal-overlay.show { display: flex; opacity: 1; }

.staff-modal {
    background: white;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.staff-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.staff-modal-close:hover { background: #dc3545; color: white; transform: rotate(90deg); }

.staff-modal-header {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    padding: 40px 24px 26px;
    text-align: center;
    color: white;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.staff-modal-header::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
    border-radius: 50%;
}

.staff-modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.35);
    background: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.staff-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.staff-modal-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    color: #ffffff;
}

.staff-modal-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.staff-modal-body { padding: 24px; }

.staff-modal-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.staff-modal-row:last-child { border-bottom: none; }

.staff-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.staff-modal-label {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.staff-modal-value {
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 500;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.staff-modal-footer { padding: 0 24px 24px; display: flex; gap: 10px; }

.staff-modal-footer .btn { flex: 1; padding: 12px; font-weight: 600; border-radius: 10px; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.proj-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--pub-border);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.proj-card:hover { box-shadow: 0 12px 40px rgba(13, 110, 253, 0.15); transform: translateY(-8px) scale(1.015); }

.proj-media {
    height: 200px;
    background: #cbd5e1;
    overflow: hidden;
    position: relative;
}

.proj-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.proj-card:hover .proj-media img { transform: scale(1.08); }

.proj-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.proj-placeholder {
    background: linear-gradient(135deg, #0d6efd, #60a5fa);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.proj-video-thumb {
    background: linear-gradient(135deg, #0f172a, #334155);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
}

.proj-media .proj-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-media-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: white;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-status-badge.completed { background: #10b981; }
.proj-status-badge.ongoing { background: #f59e0b; }
.proj-status-badge.planned { background: #6366f1; }

.proj-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.proj-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0 0 8px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-body .proj-meta {
    font-size: 0.85rem;
    color: var(--pub-gray);
    margin-bottom: 10px;
    line-height: 1.6;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-body .proj-meta i { color: var(--pub-primary); width: 16px; margin-right: 4px; }

.proj-body p {
    font-size: 0.9rem;
    color: var(--pub-gray);
    flex: 1;
    margin-bottom: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }

.proj-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.proj-slider::-webkit-scrollbar { display: none; }

.proj-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

@media (max-width: 991px) { .proj-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 575px) { .proj-slide { flex: 0 0 100%; } }

.proj-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.proj-nav:hover {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.proj-nav:active { transform: scale(0.95); }

.proj-card-clickable { cursor: pointer; }

.proj-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.proj-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.proj-dot.active { background: var(--pub-primary); width: 24px; border-radius: 5px; }

/* ============================================================
   PROJECT MODAL
   ============================================================ */
.proj-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s;
}

.proj-modal-overlay.show { display: flex; opacity: 1; }

.proj-modal {
    background: white;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: projModalSlide 0.3s ease-out;
}

@keyframes projModalSlide {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.proj-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.15s;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.proj-modal-close:hover { background: #dc3545; color: white; transform: rotate(90deg); }

.proj-modal-media {
    width: 100%;
    height: 320px;
    background: #cbd5e1;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.proj-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-modal-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

.proj-modal-media .proj-modal-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.proj-modal-header { padding: 22px 26px 6px; }

.proj-modal-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-badge.completed { background: #10b981; }
.proj-modal-badge.ongoing { background: #f59e0b; }
.proj-modal-badge.planned { background: #6366f1; }

.proj-modal-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0 0 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-sub {
    font-size: 0.95rem;
    color: var(--pub-gray);
    font-weight: 500;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-body { padding: 18px 26px 0; }

.proj-modal-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.proj-modal-row:last-of-type { border-bottom: none; }

.proj-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.proj-modal-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-value {
    font-size: 0.98rem;
    color: #0f172a;
    font-weight: 500;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-description { padding: 14px 0 4px; border-top: 1px solid #f1f5f9; margin-top: 6px; }

.proj-modal-description p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.proj-modal-footer { padding: 20px 26px 26px; display: flex; gap: 10px; }

.proj-modal-footer .btn { flex: 1; padding: 12px; font-weight: 600; border-radius: 10px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; }

.testimonials-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar { display: none; }

.testi-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }

@media (max-width: 991px) { .testi-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 575px) { .testi-slide { flex: 0 0 100%; } }

.testi-card {
    background: white;
    border-radius: 18px;
    padding: 28px 26px 24px;
    border: 1px solid var(--pub-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testi-card:hover {
    border-color: var(--pub-primary);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.12);
    transform: translateY(-6px);
}

.testi-quote-icon { position: absolute; top: 20px; right: 24px; font-size: 2.4rem; color: #eff6ff; pointer-events: none; }

.testi-quote {
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 22px;
    flex: 1;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    position: relative;
    z-index: 1;
}

.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #f1f5f9; }

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d4a8f, #1a76c9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 74, 143, 0.25);
}

.testi-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.testi-role {
    font-size: 0.78rem;
    color: var(--pub-primary);
    font-weight: 500;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.testi-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: white;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.testi-nav:hover {
    background: var(--pub-primary);
    color: white;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.testi-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.testi-dot.active { background: var(--pub-primary); width: 24px; border-radius: 5px; }

/* ============================================================
   PARTNERS MARQUEE
   ============================================================ */
.partners-marquee-wrap {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid var(--pub-border);
}

.partners-marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.partners-marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8fafc 30%, transparent);
}
.partners-marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #f1f5f9 30%, transparent);
}

.partners-marquee {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
    animation: partnerScroll 40s linear infinite;
    will-change: transform;
}

.partners-marquee-wrap:hover .partners-marquee {
    animation-play-state: paused;
}

@keyframes partnerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partner-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 12px;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 72px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.partner-marquee-item:hover {
    border-color: var(--pub-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    color: var(--pub-blue-dark);
}

.partner-marquee-item img {
    max-width: 80px;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.partner-marquee-item:hover img { filter: grayscale(0); }

.partner-marquee-item i {
    font-size: 1.6rem;
    color: var(--pub-primary);
}

@media (max-width: 768px) {
    .partners-marquee { animation-duration: 30s; gap: 16px; padding: 12px 16px; }
    .partner-marquee-item { padding: 10px 16px; font-size: 0.82rem; min-height: 60px; }
    .partner-marquee-item img { max-width: 60px; max-height: 32px; }
    .partners-marquee-fade { width: 50px; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d4a8f, #1a76c9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(13, 74, 143, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 14px 32px rgba(13, 74, 143, 0.5); }

/* ============================================================
   QUICK ACTION BAR (mobile)
   ============================================================ */
.quick-actions-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--pub-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 998;
    padding: 10px 8px;
    gap: 6px;
}

.quick-actions-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    text-decoration: none;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.15s;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.quick-actions-bar a:hover,
.quick-actions-bar a:active { background: #eff6ff; color: var(--pub-primary); }

.quick-actions-bar i { font-size: 1.15rem; color: var(--pub-primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.pub-footer {
    background: var(--pub-dark);
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.pub-footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.pub-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.pub-footer .footer-brand img {
    height: 52px;
    width: auto;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.pub-footer p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.pub-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.pub-footer .footer-links li { padding: 5px 0; font-size: 0.9rem; color: #94a3b8; font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif; }

.pub-footer .footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: padding-left 0.25s ease, color 0.15s;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.pub-footer .footer-links a:hover { color: white; padding-left: 6px; }
.pub-footer .footer-links i { color: #60a5fa; width: 18px; margin-right: 6px; }

.pub-footer .footer-divider { border-color: rgba(255, 255, 255, 0.1); margin: 40px 0 20px; }
.pub-footer .btn-outline-light:hover { color: var(--pub-dark); }

/* ============================================================
   RESPONSIVE — GLOBAL
   ============================================================ */
@media (max-width: 991px) {
    .pub-navbar .btn-login {
        margin-top: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }
    .hero-illustration-wrap { display: none; }
    .hero-scroll { display: none; }
    .hero-chip-1 { top: 12%; left: 2%; }
    .hero-chip-2 { bottom: 12%; right: 2%; }
}

@media (max-width: 768px) {
    .pub-hero { padding: 60px 0 55px; }
    .pub-hero p { font-size: 1rem; }
    .section { padding: 45px 0; }
    .section-title { font-size: 1.5rem; }
    .pub-navbar .brand-logo { height: 38px; }
    .pub-navbar .brand-text { font-size: 0.82rem; }
    .pub-navbar .brand-text-sub { font-size: 0.62rem; }

    .home-stats-band { padding: 50px 0 45px; }
    .home-stat-number { font-size: 1.8rem; }
    .home-stat-icon { font-size: 1.4rem; }
    .home-stat-label { font-size: 0.75rem; }

    .testi-nav { width: 38px; height: 38px; font-size: 0.85rem; }
    .testi-card { padding: 22px 20px 20px; }
    .testi-quote { font-size: 0.92rem; }

    .back-to-top {
        bottom: 78px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .quick-actions-bar { display: flex; }
    .pub-footer { padding-bottom: 90px; }
    .hero-chip { display: none; }
}

@media (max-width: 575px) {
    .slider-nav { width: 36px; height: 36px; font-size: 0.8rem; }
    .sector-slider { -webkit-mask-image: none; mask-image: none; }
    .staff-nav { width: 38px; height: 38px; font-size: 0.85rem; }
    .staff-slider { gap: 14px; }
    .staff-modal-header { padding: 32px 20px 22px; }
    .staff-modal-photo { width: 100px; height: 100px; font-size: 2.4rem; }
    .proj-nav { width: 38px; height: 38px; font-size: 0.85rem; }
    .proj-slider { gap: 14px; }
    .proj-modal-media { height: 220px; }
    .proj-modal-header h4 { font-size: 1.15rem; }
    .proj-modal-header,
    .proj-modal-body,
    .proj-modal-footer { padding-left: 18px; padding-right: 18px; }

    .hero-trust { gap: 12px; margin-top: 20px; padding-top: 16px; }
    .hero-trust-item { font-size: 0.78rem; }
}

@media (max-width: 480px) {
    .pub-navbar .brand-logo { height: 34px; }
    .pub-navbar .brand-text { font-size: 0.78rem; }
    .pub-navbar .brand-text-sub { font-size: 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .partners-marquee { animation: none; }
    .hero-brand-big,
    .hero-brand-mid,
    .hero-brand-small,
    .hero-brand::after,
    .hero-cta,
    .hero-trust {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding-top: 60px; }

.contact-quick-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.contact-tile {
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease;
}

.contact-tile:hover {
    border-color: var(--pub-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.10);
}

.contact-tile-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-tile:hover .contact-tile-icon {
    background: var(--pub-primary);
    color: #ffffff;
    transform: rotate(-6deg) scale(1.05);
}

.contact-tile-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-tile-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-tile-value a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-tile-value a:hover { color: var(--pub-primary); }

@media (max-width: 991px) { .contact-quick-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .contact-quick-tiles { grid-template-columns: 1fr; gap: 12px; } }

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 20px;
    padding: 30px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.contact-form-card { padding: 30px 30px 34px; }

.contact-info-card::before,
.contact-form-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.07) 0%, transparent 70%);
    pointer-events: none;
    transition: transform 0.5s ease;
}

.contact-info-card:hover::before,
.contact-form-card:hover::before { transform: scale(1.35); }

.contact-info-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.contact-info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(13, 74, 143, 0.28);
}

.contact-info-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #f1f5f9;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease;
}

.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-item:hover { transform: translateX(4px); }

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--pub-primary);
    color: #ffffff;
    transform: rotate(-6deg);
}

.contact-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-info-value {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 500;
    line-height: 1.6;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-info-value a { color: #0f172a; text-decoration: none; transition: color 0.2s ease; }
.contact-info-value a:hover { color: var(--pub-primary); }

.contact-info-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.contact-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-action-btn.primary {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(13, 74, 143, 0.25);
}

.contact-action-btn.primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(13, 74, 143, 0.35);
}

.contact-action-btn.outline {
    background: #ffffff;
    color: var(--pub-primary);
    border: 1.5px solid var(--pub-primary);
}

.contact-action-btn.outline:hover {
    background: #eff6ff;
    color: var(--pub-primary-dark);
    transform: translateY(-2px);
}

.contact-form .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-form .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.95rem;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-form .form-control:focus {
    border-color: var(--pub-primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
    outline: none;
}

.contact-form .form-control::placeholder { color: #cbd5e1; }

.input-with-icon { position: relative; }

.input-with-icon > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.92rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.input-with-icon > .form-control { padding-left: 40px; }
.input-with-icon:focus-within > i { color: var(--pub-primary); }

.input-with-icon.textarea-wrap > i { top: 16px; transform: none; }
.input-with-icon.textarea-wrap > .form-control {
    padding-top: 12px;
    resize: vertical;
    min-height: 140px;
}

.contact-submit {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    border: none;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(13, 74, 143, 0.28);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.65s ease;
}

.contact-submit:hover::before { left: 100%; }

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13, 74, 143, 0.4);
    background: linear-gradient(135deg, #0a3a70, #125a9e);
    color: #ffffff;
}

.contact-form-card .alert {
    border-radius: 10px;
    border: none;
    padding: 14px 16px;
    font-size: 0.92rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card .alert-success { background: #ecfdf5; color: #065f46; }
.contact-form-card .alert-danger  { background: #fef2f2; color: #991b1b; }

.contact-map-section {
    margin-top: 50px;
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.map-toggle {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 30px;
}

.map-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.22s ease;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.map-toggle-btn:hover { color: var(--pub-primary); }

.map-toggle-btn.active {
    background: #ffffff;
    color: var(--pub-primary);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.contact-map-canvas {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
    position: relative;
}

@media (max-width: 991px) { .contact-map-canvas { height: 340px; } }
@media (max-width: 575px) {
    .contact-map-canvas { height: 260px; }
    .contact-map-section { padding: 16px; }
    .contact-info-card,
    .contact-form-card { padding: 24px 20px; }
}

/* ============================================================
   HOMEPAGE ENTERPRISE SLIDER
   ============================================================ */
.ent-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.ent-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 14px 4px 22px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ent-slider::-webkit-scrollbar { display: none; }

.ent-slide { flex: 0 0 calc(33.333% - 14px); min-width: 0; }
@media (max-width: 991px) { .ent-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 575px) { .ent-slide { flex: 0 0 100%; } }

.ent-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--pub-border);
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.ent-nav:hover {
    background: var(--pub-primary);
    color: #fff;
    border-color: var(--pub-primary);
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}

.ent-nav:active { transform: scale(0.95); }

.ent-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.ent-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.ent-dot.active { background: var(--pub-primary); width: 24px; border-radius: 5px; }

.ent-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
}

.ent-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 18px 46px rgba(13, 74, 143, 0.15);
    border-color: var(--pub-primary);
    color: inherit;
}

.ent-card-media {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ent-card-media.ent-card-has-image { background: #f1f5f9; }

.ent-card-media > img.ent-card-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ent-card:hover .ent-card-media > img.ent-card-cover { transform: scale(1.08); }

.ent-card-logo {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.ent-card:hover .ent-card-logo { transform: scale(1.08); }

.ent-card-initial {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(13, 74, 143, 0.35);
}

.ent-card-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.ent-card-growth {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    z-index: 2;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ent-card-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ent-card-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.35;
}

.ent-card-product {
    font-size: 0.84rem;
    color: var(--pub-primary);
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.ent-card-product i { margin-top: 3px; flex-shrink: 0; }

.ent-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.ent-tag {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-card-price {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.ent-card-cta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    color: var(--pub-primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    transition: gap 0.25s ease;
}

.ent-card:hover .ent-card-cta { gap: 12px; }

/* ============================================================
   ENTERPRISE DETAIL MODAL
   ============================================================ */
.ent-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.ent-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.ent-modal {
    background: #ffffff;
    border-radius: 22px;
    max-width: 880px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    animation: entModalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

@keyframes entModalIn {
    from { transform: translateY(40px) scale(0.94); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.ent-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ent-modal-close:hover {
    background: #dc3545;
    color: #ffffff;
    transform: rotate(90deg) scale(1.05);
}

.ent-modal-body {
    padding: 26px 28px 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.ent-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
    position: relative;
}

.ent-modal-logo {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}

.ent-modal-logo.has-image {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ent-modal-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.ent-modal-heading {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.ent-modal-heading h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-sub {
    font-size: 0.95rem;
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ent-modal-tags .ent-tag {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.ent-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-badge.featured {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.ent-modal-badge.growth {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.ent-modal-gallery-wrap { margin-bottom: 20px; }

.ent-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.ent-modal-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    display: block;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.ent-modal-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}

.ent-modal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ent-modal-gallery-item:hover img { transform: scale(1.08); }

.ent-modal-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), transparent);
    color: #ffffff;
    font-size: 0.75rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin-bottom: 22px;
}

.ent-modal-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.ent-modal-row:hover { background: #eff6ff; }

.ent-modal-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ent-modal-row:hover .ent-modal-row-icon {
    background: #4f46e5;
    color: #ffffff;
}

.ent-modal-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-value {
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 600;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.4;
}

.ent-modal-features {
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef9e7, #fef3c7);
    border-radius: 14px;
    border: 1px solid #fde68a;
    margin-bottom: 22px;
}

.ent-modal-features-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-modal-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 18px;
}

.ent-modal-features-list li {
    position: relative;
    padding: 4px 0 4px 22px;
    font-size: 0.88rem;
    color: #422006;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.5;
}

.ent-modal-features-list li::before {
    content: '❖';
    position: absolute;
    left: 0;
    top: 4px;
    color: #dc2626;
    font-size: 0.85rem;
}

.ent-modal-footer {
    display: flex;
    gap: 10px;
    padding: 18px 28px 22px;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.ent-modal-footer .btn {
    flex: 1;
    padding: 12px;
    font-weight: 700;
    border-radius: 12px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .ent-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .ent-modal {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 22px 22px 0 0;
        animation: entModalMobileIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    @keyframes entModalMobileIn {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
    .ent-modal-body { padding: 20px 20px 0; }
    .ent-modal-header { flex-wrap: wrap; }
    .ent-modal-heading h4 { font-size: 1.15rem; }
    .ent-modal-logo { width: 60px; height: 60px; font-size: 1.5rem; }
    .ent-modal-badges { flex-direction: row; flex-wrap: wrap; }
    .ent-modal-gallery { grid-template-columns: repeat(2, 1fr); }
    .ent-modal-grid { grid-template-columns: 1fr; }
    .ent-modal-features-list { grid-template-columns: 1fr; }
    .ent-modal-footer { padding: 14px 20px 18px; }
}

/* ============================================================
   ENTERPRISE STANDALONE PAGE
   ============================================================ */
.ent-page-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    position: relative;
}

.ent-page-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
}

.ent-page-logo img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
    padding: 6px;
}

.ent-page-heading { flex: 1; min-width: 0; }
.ent-page-heading h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-page-product {
    color: #4f46e5;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.ent-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ent-page-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.ent-tag-growth {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

@media (max-width: 767px) {
    .ent-page-header { flex-direction: column; align-items: center; text-align: center; }
    .ent-page-logo { width: 80px; height: 80px; font-size: 2rem; }
    .ent-page-heading h2 { font-size: 1.25rem; }
    .ent-page-tags { justify-content: center; }
}

/* ============================================================
   CATALOG FILTER + GRID
   ============================================================ */
.catalog-filter {
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.catalog-filter-row {
    display: grid;
    grid-template-columns: 1fr 240px 160px;
    gap: 12px;
}
@media (max-width: 767px) {
    .catalog-filter-row { grid-template-columns: 1fr; }
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 991px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .catalog-grid { grid-template-columns: 1fr; } }

.catalog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pub-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
}

.catalog-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 18px 46px rgba(13, 74, 143, 0.15);
    border-color: var(--pub-primary);
    color: inherit;
}

.catalog-card-media {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.catalog-card:hover .catalog-card-media > img { transform: scale(1.08); }

.catalog-card-initial {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(13, 74, 143, 0.35);
}

.catalog-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.catalog-card-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.catalog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.catalog-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.35;
}

.catalog-card-product {
    font-size: 0.85rem;
    color: var(--pub-primary);
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.4;
}

.catalog-card-price {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.catalog-card-cta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    color: var(--pub-primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    transition: gap 0.25s ease;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.catalog-card:hover .catalog-card-cta { gap: 12px; }

/* ============================================================
   CATALOG GALLERY GRID (standalone page)
   ============================================================ */
.catalog-gallery-section { margin-top: 30px; }

.catalog-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pub-dark);
    margin-bottom: 18px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.catalog-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 767px) { .catalog-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.catalog-gallery-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
}

.catalog-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.catalog-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.catalog-gallery-card:hover img { transform: scale(1.06); }

.catalog-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), transparent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

/* ============================================================
   ENTERPRISE CATALOG — BOOK STYLE
   ============================================================ */
.catalog-book-section {
    padding: 30px 0 80px;
    background:
        radial-gradient(1200px 400px at 50% 0%, rgba(13, 110, 253, 0.05), transparent 70%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

/* ---------- Toolbar ---------- */
.catalog-book-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid var(--pub-border);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.catalog-book-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 0.95rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-book-info i {
    color: var(--pub-primary);
    font-size: 1.15rem;
}
.catalog-book-info strong {
    color: var(--pub-blue-dark);
    font-size: 1.05rem;
}

.catalog-book-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #ffffff;
    border: 1.5px solid var(--pub-border);
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-book-btn:hover:not(:disabled) {
    background: var(--pub-primary);
    color: #ffffff;
    border-color: var(--pub-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.28);
}
.catalog-book-btn:disabled,
.catalog-book-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.catalog-book-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 14px;
    background: #eff6ff;
    border-radius: 10px;
    color: var(--pub-blue-dark);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    min-width: 70px;
    justify-content: center;
}
.catalog-book-counter-sep { opacity: 0.5; }

/* ---------- Book wrapper (holds side arrows) ---------- */
.catalog-book-shell {
    position: relative;
    padding: 0 70px;
}

/* ---------- Book ---------- */
.catalog-book {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 30px 70px rgba(13, 74, 143, 0.15);
    overflow: hidden;
    perspective: 2400px;
}

.catalog-book::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(15, 23, 42, 0.08) 20%,
        rgba(15, 23, 42, 0.12) 50%,
        rgba(15, 23, 42, 0.08) 80%,
        transparent 100%);
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
}

/* ---------- Floating side arrows ---------- */
.catalog-book-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--pub-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 20;
    box-shadow:
        0 6px 18px rgba(13, 74, 143, 0.18),
        0 2px 6px rgba(15, 23, 42, 0.08);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.catalog-book-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: -1;
}

.catalog-book-arrow:hover:not(:disabled) {
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow:
        0 10px 28px rgba(13, 74, 143, 0.35),
        0 4px 10px rgba(15, 23, 42, 0.12);
}
.catalog-book-arrow:hover:not(:disabled)::before {
    opacity: 1;
}

.catalog-book-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.96);
}

.catalog-book-arrow:disabled,
.catalog-book-arrow.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.catalog-book-arrow i {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.catalog-book-arrow-prev { left: 0; }
.catalog-book-arrow-next { right: 0; }

.catalog-book-arrow:not(:disabled) {
    animation: arrowHint 3s ease-in-out infinite;
}
.catalog-book-arrow-prev:not(:disabled) { animation-delay: 0s; }
.catalog-book-arrow-next:not(:disabled) { animation-delay: 0.2s; }

@keyframes arrowHint {
    0%, 100% {
        box-shadow:
            0 6px 18px rgba(13, 74, 143, 0.18),
            0 2px 6px rgba(15, 23, 42, 0.08);
    }
    50% {
        box-shadow:
            0 6px 18px rgba(13, 74, 143, 0.18),
            0 2px 6px rgba(15, 23, 42, 0.08),
            0 0 0 8px rgba(13, 110, 253, 0.08);
    }
}

.catalog-book-shell:hover .catalog-book-arrow:not(:disabled) {
    animation-play-state: paused;
}

/* ---------- Page ---------- */
.catalog-page {
    display: none;
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    background: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.catalog-page.is-active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    animation: catalogPageIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.catalog-page.flip-in-right {
    animation: catalogFlipRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.catalog-page.flip-in-left {
    animation: catalogFlipLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes catalogPageIn {
    from { opacity: 0; transform: translateY(20px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes catalogFlipRight {
    0%   { opacity: 0; transform: translateX(60px) rotateY(-14deg); }
    100% { opacity: 1; transform: translateX(0) rotateY(0); }
}
@keyframes catalogFlipLeft {
    0%   { opacity: 0; transform: translateX(-60px) rotateY(14deg); }
    100% { opacity: 1; transform: translateX(0) rotateY(0); }
}

/* ---------- Left: Gallery ---------- */
.catalog-page-left {
    position: relative;
    background: #f1f5f9;
    padding: 32px 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.catalog-page-hero {
    position: relative;
    flex: 1;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: 0 12px 32px rgba(13, 74, 143, 0.15);
}

.catalog-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
}
.catalog-page-hero:hover img { transform: scale(1.05); }

.catalog-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 55%,
        rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.catalog-page-hero-logo {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-page-hero-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
}
.catalog-page-initial {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.catalog-page-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
    z-index: 3;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    animation: ribbonPulse 2.5s ease-in-out infinite;
}
@keyframes ribbonPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

.catalog-page-photo-count {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.catalog-page-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.catalog-page-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 2.5px solid transparent;
    background: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1);
}
.catalog-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.catalog-page-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}
.catalog-page-thumb.is-active {
    border-color: var(--pub-primary);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}
.catalog-page-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: var(--pub-primary);
    font-weight: 700;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    cursor: default;
}

/* ---------- Right: Details ---------- */
.catalog-page-right {
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
    position: relative;
    overflow-y: auto;
}

.catalog-page-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}
.catalog-page-cat {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--pub-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-page-num {
    font-size: 0.82rem;
    font-weight: 800;
    color: #94a3b8;
    font-family: 'Inter', monospace;
    letter-spacing: 0.1em;
}

.catalog-page-title-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.catalog-page-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}
.catalog-page-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.catalog-page-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.25;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.015em;
}

.catalog-page-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pub-primary);
    font-weight: 600;
    font-size: 0.92rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-page-product i { font-size: 0.82rem; }

.catalog-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.catalog-page-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

.catalog-page-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.catalog-page-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}
.catalog-page-info-item:hover {
    background: #eff6ff;
    border-color: #dbeafe;
    transform: translateY(-2px);
}
.catalog-page-info-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eff6ff;
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.catalog-page-info-icon-green {
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.catalog-page-info-label {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-page-info-value {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-page-info-value a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.catalog-page-info-value a:hover { color: var(--pub-primary); }
.catalog-page-info-value-green { color: #059669 !important; }

.catalog-page-features {
    padding: 14px 16px;
    background: linear-gradient(135deg, #fef9e7, #fef3c7);
    border-radius: 12px;
    border: 1px solid #fde68a;
    margin-top: 2px;
}
.catalog-page-features-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-page-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
}
.catalog-page-features-list li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 0.82rem;
    color: #422006;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    line-height: 1.5;
}
.catalog-page-features-list li::before {
    content: '❖';
    position: absolute;
    left: 0;
    top: 3px;
    color: #dc2626;
    font-size: 0.75rem;
}

.catalog-page-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}
.catalog-page-cta {
    flex: 1;
    padding: 11px 16px;
    font-weight: 700;
    border-radius: 11px;
    font-size: 0.88rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.catalog-page-footer-num {
    text-align: center;
    font-size: 0.75rem;
    color: #cbd5e1;
    font-family: 'Inter', monospace;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

/* ---------- Hint ---------- */
.catalog-book-hint {
    text-align: center;
    margin-top: 22px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}
.catalog-book-hint i { color: var(--pub-primary); margin-right: 6px; }
.catalog-book-hint kbd {
    display: inline-block;
    padding: 2px 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-bottom-width: 2px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-family: 'Inter', monospace;
    color: #334155;
    margin: 0 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .catalog-book-shell {
        padding: 0 56px;
    }
    .catalog-book-arrow {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }
    .catalog-page {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .catalog-book::before { display: none; }
    .catalog-page-left {
        padding: 22px 20px;
    }
    .catalog-page-hero { min-height: 280px; }
    .catalog-page-right {
        padding: 24px 22px;
    }
    .catalog-page-title { font-size: 1.3rem; }
    .catalog-page-info { grid-template-columns: 1fr; }
    .catalog-page-features-list { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .catalog-book-shell {
        padding: 0 44px;
    }
    .catalog-book-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .catalog-book-arrow-prev { left: -2px; }
    .catalog-book-arrow-next { right: -2px; }

    .catalog-book-toolbar {
        padding: 12px 14px;
        gap: 10px;
    }
    .catalog-book-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    .catalog-book-counter {
        padding: 5px 10px;
        font-size: 0.85rem;
        min-width: 60px;
    }
    .catalog-page-left { padding: 16px; }
    .catalog-page-hero { min-height: 220px; border-radius: 12px; }
    .catalog-page-right { padding: 20px 16px; gap: 12px; }
    .catalog-page-title { font-size: 1.15rem; }
    .catalog-page-thumb { width: 48px; height: 48px; }
    .catalog-page-logo { width: 46px; height: 46px; }
    .catalog-page-footer { flex-direction: column; }
    .catalog-page-footer .catalog-page-cta { width: 100%; }
    .catalog-book-hint { font-size: 0.78rem; }
    .catalog-book-hint kbd { padding: 1px 6px; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-book-arrow { animation: none !important; }
}

/* ============================================================
   AUTO-SCROLL SLIDER ENHANCEMENTS
   ============================================================ */
.svc-slider,
.staff-slider,
.ent-slider {
    scroll-snap-type: none;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        black 30px,
        black calc(100% - 30px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        black 30px,
        black calc(100% - 30px),
        transparent 100%
    );
}

@media (max-width: 575px) {
    .svc-slider,
    .staff-slider,
    .ent-slider {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* ============================================================
   VISION · MISSION · VALUES — MODERN SECTION
   ============================================================ */
.vmv-modern-section {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(13, 110, 253, 0.07), transparent 65%),
        radial-gradient(900px 500px at 85% 90%, rgba(236, 72, 153, 0.06), transparent 65%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: hidden;
}

/* Decorative floating shapes */
.vmv-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0;
}
.vmv-bg-shape-1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.35), transparent 70%);
    top: -100px; left: -120px;
    animation: vmvFloat 14s ease-in-out infinite;
}
.vmv-bg-shape-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
    bottom: -80px; right: -100px;
    animation: vmvFloat 18s ease-in-out infinite reverse;
}
.vmv-bg-shape-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 70%);
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    animation: vmvFloat 22s ease-in-out infinite;
}

@keyframes vmvFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -25px) scale(1.08); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---------- Header ---------- */
.vmv-modern-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.vmv-modern-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.18);
    color: var(--pub-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.vmv-modern-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.2;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.vmv-modern-divider {
    width: 90px;
    height: 4px;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--pub-primary), #fbbf24, var(--pub-primary), transparent);
    background-size: 200% auto;
    animation: vmvDividerShine 4s linear infinite;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.35);
}

@keyframes vmvDividerShine {
    to { background-position: 200% center; }
}

/* ---------- Vision / Mission cards ---------- */
.vmv-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .vmv-modern-grid { grid-template-columns: 1fr; }
}

.vmv-modern-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 40px 36px 32px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
    display: flex;
    flex-direction: column;
}

.vmv-modern-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pub-blue-dark), var(--pub-blue-light), #fbbf24);
    background-size: 200% auto;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vmv-modern-card:hover::before {
    transform: scaleX(1);
    animation: vmvDividerShine 3s linear infinite;
}

.vmv-modern-vision::before {
    background: linear-gradient(90deg, #0d4a8f, #1a76c9, #60a5fa, #1a76c9, #0d4a8f);
    background-size: 200% auto;
}
.vmv-modern-mission::before {
    background: linear-gradient(90deg, #b45309, #f59e0b, #fbbf24, #f59e0b, #b45309);
    background-size: 200% auto;
}

.vmv-modern-card:hover {
    transform: translateY(-10px);
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        0 30px 70px rgba(13, 74, 143, 0.15);
}

.vmv-modern-mission:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        0 30px 70px rgba(180, 83, 9, 0.15);
}

/* Card glow on hover */
.vmv-modern-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.14) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.vmv-modern-mission .vmv-modern-card-glow {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, transparent 60%);
}
.vmv-modern-card:hover .vmv-modern-card-glow { opacity: 1; }

/* Icon */
.vmv-modern-icon-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin-bottom: 24px;
}

.vmv-modern-icon {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow:
        0 10px 24px rgba(13, 74, 143, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vmv-modern-mission .vmv-modern-icon {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    box-shadow:
        0 10px 24px rgba(180, 83, 9, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.vmv-modern-card:hover .vmv-modern-icon {
    transform: rotate(-6deg) scale(1.08);
}

.vmv-modern-icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 26px;
    border: 2px dashed rgba(13, 110, 253, 0.25);
    animation: vmvRingSpin 18s linear infinite;
    pointer-events: none;
}
.vmv-modern-mission .vmv-modern-icon-ring {
    border-color: rgba(251, 191, 36, 0.35);
}

@keyframes vmvRingSpin {
    to { transform: rotate(360deg); }
}

/* Body */
.vmv-modern-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vmv-modern-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pub-primary);
    font-family: 'Inter', sans-serif;
}
.vmv-modern-mission .vmv-modern-label { color: #b45309; }

.vmv-modern-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.015em;
}

.vmv-modern-card-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin: 6px 0 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

/* Card footer */
.vmv-modern-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.vmv-modern-footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pub-primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
.vmv-modern-mission .vmv-modern-footer-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

/* ---------- Values block ---------- */
.vmv-modern-values {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    padding: 38px 38px 34px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.07);
}

.vmv-modern-values-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.vmv-modern-values-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3);
}

.vmv-modern-values-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.015em;
}

.vmv-modern-values-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

/* Values grid */
.vmv-modern-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.vmv-modern-value {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    cursor: default;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    animation: vmvValueIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--vmv-delay, 0s);
}

@keyframes vmvValueIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vmv-modern-value:hover {
    transform: translateY(-4px);
    border-color: var(--pub-primary);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.15);
}

.vmv-modern-value-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vmv-modern-value:hover .vmv-modern-value-icon {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 18px rgba(13, 74, 143, 0.3);
}

.vmv-modern-value-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.45;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.vmv-modern-value:hover .vmv-modern-value-text {
    color: #0f172a;
}

/* Shine sweep on hover */
.vmv-modern-value-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(13, 110, 253, 0.08),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
}

.vmv-modern-value:hover .vmv-modern-value-shine {
    left: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .vmv-modern-section { padding: 70px 0 80px; }
    .vmv-modern-title { font-size: 1.9rem; }
    .vmv-modern-card { padding: 32px 28px 26px; }
    .vmv-modern-card-title { font-size: 1.3rem; }
    .vmv-modern-values { padding: 30px 26px 26px; }
    .vmv-modern-values-title { font-size: 1.2rem; }
}

@media (max-width: 767px) {
    .vmv-modern-section { padding: 50px 0 60px; }
    .vmv-modern-title { font-size: 1.55rem; }
    .vmv-modern-header { margin-bottom: 40px; }
    .vmv-modern-grid { gap: 22px; margin-bottom: 40px; }
    .vmv-modern-card { padding: 28px 22px 22px; border-radius: 20px; }
    .vmv-modern-icon-wrap,
    .vmv-modern-icon { width: 62px; height: 62px; font-size: 1.5rem; border-radius: 16px; }
    .vmv-modern-card-title { font-size: 1.15rem; }
    .vmv-modern-card-text { font-size: 0.92rem; }
    .vmv-modern-values { padding: 24px 20px 22px; border-radius: 20px; }
    .vmv-modern-values-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .vmv-modern-values-grid { grid-template-columns: 1fr; }
    .vmv-modern-value { padding: 14px 16px; }
    .vmv-modern-value-icon { width: 40px; height: 40px; font-size: 0.95rem; }
    .vmv-modern-value-text { font-size: 0.86rem; }
    .vmv-bg-shape { opacity: 0.35; }
}

/* ============================================================
   VISION · MISSION · VALUES — EACH ITEM AS A MODERN BANNER
   ============================================================ */

/* ---------- Section wrapper ---------- */
.vmv-banner-section {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(13, 110, 253, 0.07), transparent 65%),
        radial-gradient(900px 500px at 85% 90%, rgba(236, 72, 153, 0.06), transparent 65%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    overflow: hidden;
}

.vmv-banner-bg {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.55;
    z-index: 0;
}
.vmv-banner-bg-1 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.35), transparent 70%);
    top: -100px; left: -120px;
    animation: vmvBannerFloat 14s ease-in-out infinite;
}
.vmv-banner-bg-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
    bottom: -80px; right: -100px;
    animation: vmvBannerFloat 18s ease-in-out infinite reverse;
}
.vmv-banner-bg-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 70%);
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    animation: vmvBannerFloat 22s ease-in-out infinite;
}

@keyframes vmvBannerFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -25px) scale(1.08); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---------- Section header ---------- */
.vmv-banner-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.vmv-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.18);
    color: var(--pub-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.vmv-banner-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.2;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.vmv-banner-divider {
    width: 90px;
    height: 4px;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, var(--pub-primary), #fbbf24, var(--pub-primary), transparent);
    background-size: 200% auto;
    animation: vmvBannerShine 4s linear infinite;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.35);
}

@keyframes vmvBannerShine {
    to { background-position: 200% center; }
}

/* ============================================================
   VMV BANNER (Vision + Mission) — full-width banner rows
   ============================================================ */
.vmv-banner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 38px 42px 38px 42px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    z-index: 1;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

/* Left accent bar */
.vmv-banner-accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--pub-blue-dark), var(--pub-blue-light), #fbbf24);
    background-size: 100% 200%;
    transition: background-position 0.6s ease;
}
.vmv-banner-vision .vmv-banner-accent {
    background: linear-gradient(180deg, #0d4a8f, #1a76c9, #60a5fa, #1a76c9, #0d4a8f);
    background-size: 100% 200%;
}
.vmv-banner-mission .vmv-banner-accent {
    background: linear-gradient(180deg, #b45309, #f59e0b, #fbbf24, #f59e0b, #b45309);
    background-size: 100% 200%;
}

.vmv-banner:hover .vmv-banner-accent {
    background-position: 0 100%;
}

/* Radial glow on hover */
.vmv-banner-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.vmv-banner-mission .vmv-banner-glow {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, transparent 60%);
}
.vmv-banner:hover .vmv-banner-glow { opacity: 1; }

.vmv-banner:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        0 30px 70px rgba(13, 74, 143, 0.15);
}
.vmv-banner-mission:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        0 30px 70px rgba(180, 83, 9, 0.15);
}

/* Icon block */
.vmv-banner-icon-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.vmv-banner-icon {
    position: relative;
    z-index: 2;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow:
        0 12px 28px rgba(13, 74, 143, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmv-banner-mission .vmv-banner-icon {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    box-shadow:
        0 12px 28px rgba(180, 83, 9, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.vmv-banner:hover .vmv-banner-icon {
    transform: rotate(-6deg) scale(1.06);
}

.vmv-banner-icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    border: 2px dashed rgba(13, 110, 253, 0.25);
    animation: vmvBannerRingSpin 18s linear infinite;
    pointer-events: none;
}
.vmv-banner-mission .vmv-banner-icon-ring {
    border-color: rgba(251, 191, 36, 0.35);
}

@keyframes vmvBannerRingSpin {
    to { transform: rotate(360deg); }
}

/* Body */
.vmv-banner-body {
    flex: 1;
    min-width: 0;
}

.vmv-banner-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pub-primary);
    font-family: 'Inter', sans-serif;
    margin-bottom: 8px;
}
.vmv-banner-mission .vmv-banner-label { color: #b45309; }

.vmv-banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.015em;
}

.vmv-banner-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

/* Footer (bottom-right pill) */
.vmv-banner-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(13, 110, 253, 0.06);
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    white-space: nowrap;
    align-self: flex-end;
}
.vmv-banner-mission .vmv-banner-footer {
    background: rgba(251, 191, 36, 0.1);
}

.vmv-banner-footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pub-primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}
.vmv-banner-mission .vmv-banner-footer-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

/* ============================================================
   VALUES — EACH VALUE IN ITS OWN BANNER ROW
   ============================================================ */
.vmv-values-banner-wrap {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    padding: 38px 38px 34px;
    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.07);
    margin-top: 40px;
}

.vmv-values-banner-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.vmv-values-banner-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3);
}

.vmv-values-banner-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    letter-spacing: -0.015em;
}

.vmv-values-banner-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
}

/* Vertical list of value banners */
.vmv-values-banner-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vmv-value-banner {
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 26px 20px 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
    animation: vmvValueBannerIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: var(--vmv-value-delay, 0s);
}

@keyframes vmvValueBannerIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.vmv-value-banner:hover {
    transform: translateX(8px);
    border-color: var(--pub-primary);
    background: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.15);
}

/* Left accent bar */
.vmv-value-banner-accent {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--pub-primary), #60a5fa);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmv-value-banner:hover .vmv-value-banner-accent {
    transform: scaleY(1);
}

/* Shine sweep */
.vmv-value-banner-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(13, 110, 253, 0.08),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}
.vmv-value-banner:hover .vmv-value-banner-shine {
    left: 100%;
}

/* Index badge (01, 02, ...) */
.vmv-value-banner-index {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', monospace;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmv-value-banner:hover .vmv-value-banner-index {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 8px 18px rgba(13, 74, 143, 0.3);
}

/* Icon */
.vmv-value-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--pub-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmv-value-banner:hover .vmv-value-banner-icon {
    background: linear-gradient(135deg, var(--pub-blue-dark), var(--pub-blue-light));
    color: #ffffff;
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 8px 18px rgba(13, 74, 143, 0.3);
}

/* Text */
.vmv-value-banner-text {
    font-size: 1.02rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.45;
    font-family: 'Noto Sans Ethiopic', 'Inter', sans-serif;
    transition: color 0.3s ease;
}
.vmv-value-banner:hover .vmv-value-banner-text {
    color: #0f172a;
}

/* Arrow (right side) */
.vmv-value-banner-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vmv-value-banner:hover .vmv-value-banner-arrow {
    background: var(--pub-primary);
    color: #ffffff;
    transform: translateX(4px) scale(1.08);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .vmv-banner-section { padding: 70px 0 80px; }
    .vmv-banner-heading { font-size: 1.9rem; }

    .vmv-banner {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon body"
            "footer footer";
        padding: 32px 28px;
        gap: 24px;
    }
    .vmv-banner-icon-wrap { grid-area: icon; }
    .vmv-banner-body      { grid-area: body; }
    .vmv-banner-footer    { grid-area: footer; justify-self: start; }

    .vmv-banner-icon-wrap,
    .vmv-banner-icon { width: 72px; height: 72px; font-size: 1.7rem; border-radius: 20px; }
    .vmv-banner-title { font-size: 1.3rem; }

    .vmv-values-banner-wrap { padding: 30px 26px 26px; }
    .vmv-values-banner-title { font-size: 1.2rem; }
}

@media (max-width: 767px) {
    .vmv-banner-section { padding: 50px 0 60px; }
    .vmv-banner-heading { font-size: 1.55rem; }
    .vmv-banner-header { margin-bottom: 40px; }

    .vmv-banner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "icon"
            "body"
            "footer";
        text-align: left;
        padding: 26px 22px;
        gap: 18px;
        border-radius: 20px;
    }
    .vmv-banner-icon-wrap,
    .vmv-banner-icon { width: 64px; height: 64px; font-size: 1.5rem; border-radius: 18px; }
    .vmv-banner-icon-wrap { margin: 0; }
    .vmv-banner-title { font-size: 1.15rem; }
    .vmv-banner-text  { font-size: 0.92rem; }

    .vmv-values-banner-wrap { padding: 24px 18px 22px; border-radius: 20px; margin-top: 30px; }
    .vmv-values-banner-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .vmv-values-banner-icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 14px; }
    .vmv-values-banner-title { font-size: 1.15rem; }

    .vmv-value-banner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "icon text arrow"
            "index index index";
        gap: 12px;
        padding: 16px 18px;
    }
    .vmv-value-banner-index { grid-area: index; width: auto; height: 28px; padding: 0 10px; font-size: 0.7rem; justify-self: start; }
    .vmv-value-banner-icon  { grid-area: icon;  width: 42px; height: 42px; font-size: 1rem; }
    .vmv-value-banner-text  { grid-area: text;  font-size: 0.92rem; }
    .vmv-value-banner-arrow { grid-area: arrow; width: 32px; height: 32px; font-size: 0.8rem; }

    .vmv-banner-bg { opacity: 0.35; }
}

@media (max-width: 480px) {
    .vmv-banner { padding: 22px 18px; }
    .vmv-banner-icon-wrap,
    .vmv-banner-icon { width: 56px; height: 56px; font-size: 1.3rem; }
    .vmv-banner-title { font-size: 1.05rem; }
    .vmv-value-banner { padding: 14px 16px; gap: 10px; }
    .vmv-value-banner-icon { width: 38px; height: 38px; font-size: 0.9rem; }
    .vmv-value-banner-text { font-size: 0.88rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .vmv-banner-bg,
    .vmv-banner-icon-ring,
    .vmv-value-banner {
        animation: none !important;
    }
    .vmv-banner,
    .vmv-value-banner,
    .vmv-value-banner-index,
    .vmv-value-banner-icon,
    .vmv-value-banner-arrow {
        transition: none !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .vmv-bg-shape,
    .vmv-modern-icon-ring,
    .vmv-modern-value {
        animation: none !important;
    }
    .vmv-modern-card,
    .vmv-modern-value {
        transition: none !important;
    }
}