/*
 * Nyala TrueType Web Font Declaration
 */
@font-face {
    font-family: 'Nyala';
    src: local('Nyala'), local('Nyala Regular'), url('../fonts/nyala.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-deep: #0c4a6e;
    --primary-light: #e0f2fe;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --accent-glow: rgba(6, 182, 212, 0.35);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #091e3a;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-accent: #bae6fd;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -6px rgba(2, 132, 199, 0.1);
    --shadow-lg: 0 20px 35px -10px rgba(12, 74, 110, 0.18);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.4);
    
    --font-am: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif;
    --font-en: 'Plus Jakarta Sans', 'Nyala', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Universal Typography: Enforce Nyala as Default Font across all elements */
html, body, button, input, select, textarea, optgroup,
h1, h2, h3, h4, h5, h6, p, a, span, label, strong, b, em, td, th, div, li {
    font-family: var(--font-am);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.lang-en,
body.lang-en button, body.lang-en input, body.lang-en select, body.lang-en textarea,
body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4, body.lang-en h5, body.lang-en h6,
body.lang-en p, body.lang-en a, body.lang-en span, body.lang-en label, body.lang-en strong, body.lang-en td, body.lang-en th {
    font-family: var(--font-en);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Top Banner / Alert Strip (Only Language Switcher on the Right) */
.header-top-banner {
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn-header {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.lang-btn-header:hover {
    background: #ffffff;
    color: #0c4a6e !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Footer Utility Bar (Moved from Header as requested) */
.footer-utility-bar {
    background: #00a2e8;
    color: #ffffff;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-utility-left, .footer-utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hotline-chip {
    background: #ef4444;
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.top-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-social-icons a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: all 0.2s ease;
    text-decoration: none;
}

.top-social-icons a:hover {
    background: #ffffff;
    color: #00a2e8;
    transform: translateY(-2px);
}

/* =========================================================================
   PRO LEVEL HEADER & NAVIGATION SYSTEM
   ========================================================================= */

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px -4px rgba(12, 74, 110, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0284c7 0%, #06b6d4 50%, #38bdf8 100%);
    box-shadow: 0 1px 8px rgba(6, 182, 212, 0.35);
    z-index: 2;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 2.5px;
    border: 2px solid #38bdf8;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22), 0 0 0 3px rgba(56, 189, 248, 0.15);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35), 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00a2e8 0%, #0284c7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 162, 232, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.brand-text h1, .brand-text .brand-title {
    font-size: 15px;
    font-weight: 800;
    color: #0c4a6e;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.15px;
    font-family: var(--font-am);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.brand-logo:hover .brand-text h1,
.brand-logo:hover .brand-text .brand-title {
    color: #0284c7;
}

.brand-text p, .brand-text .brand-subtitle {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    margin: 2px 0 0 0;
    white-space: nowrap;
    letter-spacing: 0.15px;
}

/* Nav Menu Wrapper & Navigation Links - Single Row Desktop Bar */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 3px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
    list-style: none;
    flex-shrink: 0;
}

.nav-item > a {
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 9px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
}

.nav-item > a:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    transform: translateY(-1px);
}

/* Active Link styled with exact Sky Blue accent */
.nav-item > a.active {
    color: #0284c7 !important;
    font-weight: 800;
    background: #f0f9ff;
    box-shadow: inset 0 -2.5px 0 #0284c7;
}

.dropdown-arrow {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    margin-left: 2px;
}

.nav-item.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
    color: #0284c7;
}

@media (min-width: 993px) and (max-width: 1260px) {
    .nav-item > a {
        font-size: 12.5px;
        padding: 5px 6px;
    }
    .nav-links {
        gap: 1.5px;
    }
    .brand-text h1, .brand-text .brand-title {
        font-size: 13px;
    }
    .brand-text p, .brand-text .brand-subtitle {
        font-size: 9px;
    }
    .brand-logo-img {
        width: 42px;
        height: 42px;
    }
}

/* Pro Dropdown Floating Menu with Frosted Glass */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 275px;
    list-style: none;
    margin: 8px 0 0 0;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 16px 40px -8px rgba(12, 74, 110, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 3.5px solid #0284c7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    z-index: 1100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9.5px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f0f9ff;
    color: #0284c7;
    transform: translateX(4px);
    padding-left: 18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-report-quick {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-full) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-report-quick:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

/* Hero Slider Section & Carousel Styling */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #0c4a6e;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 540px;
}

.hero-slide {
    display: none;
    width: 100%;
    min-height: 540px;
    padding: 70px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-slide.active {
    display: block;
    animation: fadeInSlide 0.8s ease-in-out forwards;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg img {
    transform: scale(1.07);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    /* Minimized blue overlay by ~90% so natural image colors (landscape, sky, reservoir, plant) are 100% visible */
    background: linear-gradient(90deg, rgba(12, 74, 110, 0.25) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(12, 74, 110, 0.15) 100%);
    z-index: 2;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero-slide::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-main);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
}

/* Slider Controls: Arrows */
.slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: #ffffff;
    color: #0369a1;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
    left: 20px;
}

.slider-arrow-next {
    right: 20px;
}

/* Slider Controls: Pagination Dots */
.slider-dots {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    width: 32px;
    border-radius: 12px;
    background: #38bdf8;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

/* Hero Section Fallback / Shared */
.hero-section {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 60%, #0284c7 100%);
    position: relative;
    padding: 70px 0 100px;
    color: #ffffff;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-main);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    background: rgba(12, 74, 110, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 30px 34px;
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(12, 74, 110, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.3px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #f1f5f9;
    margin-bottom: 26px;
    max-width: 620px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    padding: 12px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.42), 0 2px 6px rgba(2, 132, 199, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    transform: translateY(-2.5px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.55), 0 4px 10px rgba(2, 132, 199, 0.35);
    color: #ffffff !important;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.16);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #0c4a6e !important;
    border-color: #ffffff;
    transform: translateY(-2.5px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

/* Hero Quick Widget Card with Pro Glassmorphism */
.hero-widget-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-main);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 20px 50px -10px rgba(12, 74, 110, 0.25), 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

.hero-widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #06b6d4, #10b981);
}

.hero-widget-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
}

.widget-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
    color: #0284c7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.hero-widget-header h3 {
    font-size: 17.5px;
    font-weight: 800;
    color: #0c4a6e;
    line-height: 1.3;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quick-action-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text-main);
    display: block;
    position: relative;
}

.quick-action-item:hover {
    background: #f0f9ff;
    border-color: #38bdf8;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.18);
    color: #0284c7;
}

.quick-action-item span.icon {
    font-size: 28px;
    display: inline-block;
    margin-bottom: 8px;
    transition: transform 0.25s ease;
}

.quick-action-item:hover span.icon {
    transform: scale(1.15);
}

.quick-action-item span.title {
    font-size: 13.5px;
    font-weight: 700;
    display: block;
    line-height: 1.35;
}

/* Stats Counter Section */
.stats-section {
    margin-top: -38px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 12px 35px -8px rgba(12, 74, 110, 0.12), 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #0284c7, #06b6d4);
    opacity: 0.8;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px -8px rgba(2, 132, 199, 0.22);
    border-color: #7dd3fc;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(4deg);
}

.stat-info h4 {
    font-size: 26px;
    font-weight: 800;
    color: #0c4a6e;
    line-height: 1.15;
    margin-bottom: 3px;
    letter-spacing: -0.5px;
}

.stat-info p {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

/* Section Common Layouts */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-deep);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

/* General Manager Leadership Desk Card - Pro Executive Styling */
.gm-desk-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 24px;
    border: 1.5px solid #bae6fd;
    padding: 42px 46px;
    box-shadow: 0 16px 40px -10px rgba(2, 132, 199, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 46px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.gm-desk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #06b6d4, #38bdf8);
}

.gm-photo-box {
    text-align: center;
}

.gm-photo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.gm-photo-wrapper img {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    object-fit: cover;
    border: 3.5px solid #0284c7;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.28), 0 0 0 4px rgba(56, 189, 248, 0.2);
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gm-photo-wrapper:hover img {
    transform: scale(1.04) rotate(1deg);
}

.gm-badge-tag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
    border: 1.5px solid #ffffff;
}

.gm-content h3 {
    font-size: 25px;
    color: #0c4a6e;
    margin: 12px 0 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.gm-content p {
    font-size: 15px;
    color: #334155;
    line-height: 1.85;
    margin-bottom: 22px;
}

.gm-highlights {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
}

.gm-highlights span {
    background: #ecfdf5;
    color: #065f46;
    padding: 7px 16px;
    border-radius: 10px;
    border: 1.5px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
    transition: transform 0.2s ease;
}

.gm-highlights span:hover {
    transform: translateY(-2px);
    background: #d1fae5;
}

/* ==========================================================================
   Organizational Structure & Hierarchy Chart
   ========================================================================== */
.org-chart-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid #bae6fd;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
    padding: 35px 25px;
    margin-bottom: 50px;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.org-node {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #bae6fd;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.org-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.16);
}

.org-node-board {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #0284c7;
    min-width: 300px;
}

.org-node-board h4 {
    color: #ffffff;
    margin: 4px 0 2px;
    font-size: 15.5px;
    font-weight: 800;
}

.org-node-board p {
    color: #bae6fd;
    font-size: 11.5px;
    margin: 0;
}

.org-node-gm {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2.5px solid #0284c7;
    min-width: 360px;
    padding: 16px 24px;
}

.org-node-gm h4 {
    color: #0c4a6e;
    font-size: 17px;
    font-weight: 800;
    margin: 4px 0 2px;
}

.org-connector {
    width: 2px;
    height: 18px;
    background: #0284c7;
    margin: 0 auto;
}

.org-staff-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin: 4px 0;
}

.org-staff-node {
    background: #f8fafc;
    border: 1px dashed #0284c7;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.org-grid-directorates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.org-dir-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-top: 4px solid #0284c7;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.org-dir-card:hover {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.org-dir-card h4 {
    color: #0c4a6e;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px;
    border-bottom: 1.5px solid #e2e8f0;
    padding-bottom: 8px;
}

.org-dir-units {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-dir-units li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.org-branches-cluster {
    width: 100%;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1.5px solid #bae6fd;
    border-radius: 14px;
    padding: 20px;
    margin-top: 12px;
    text-align: center;
}

.org-branches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.org-branch-pill {
    background: #ffffff;
    border: 1.5px solid #93c5fd;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.org-branch-pill:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.org-branch-pill:hover * {
    color: #ffffff !important;
}

/* Water Distribution Timetable Widget - Pro Level UI */
.schedule-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 16px 40px -10px rgba(12, 74, 110, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
}

.schedule-filter-bar {
    padding: 22px 26px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
    transform: translateY(-1.5px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14.5px;
}

.data-table th {
    background: #f1f5f9;
    color: #0c4a6e;
    font-weight: 800;
    padding: 16px 22px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 13.5px;
    letter-spacing: 0.2px;
}

.data-table td {
    padding: 17px 22px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
    transition: background 0.15s ease;
}

.data-table tbody tr:hover td {
    background-color: #f0f9ff;
}

/* Status Badges */
.status-badge, .badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
}

.badge-active {
    background: #dcfce7;
    color: #15803d;
    border: 1.5px solid #86efac;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.18);
    position: relative;
}

.badge-active::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 10px #16a34a;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.badge-upcoming {
    background: #fef3c7;
    color: #b45309;
    border: 1.5px solid #fde68a;
}

.badge-interrupted {
    background: #fee2e2;
    color: #b91c1c;
    border: 1.5px solid #fca5a5;
}

.badge-maintenance {
    background: #e0e7ff;
    color: #4338ca;
    border: 1.5px solid #c7d2fe;
}

.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-primary { background: #e0f2fe; color: #0284c7; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px -5px rgba(12, 74, 110, 0.08);
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #0284c7, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.22);
    border-color: #7dd3fc;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e0f2fe 0%, #cffafe 100%);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.15);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(4deg);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Bill Calculator & Lookup Box */
.bill-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.bill-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: #f8fafc;
}

.bill-tab {
    flex: 1;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 15px;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.bill-tab.active {
    color: var(--primary);
    background: #ffffff;
    border-bottom-color: var(--primary);
}

.bill-content {
    padding: 30px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    max-width: 650px;
    margin: 0 auto 30px;
}

.search-input-group input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.search-input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.bill-result-card {
    background: #f0f9ff;
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 650px;
    margin: 0 auto;
}

.bill-grid-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.bill-total-highlight {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary-deep);
    border: 1px solid var(--border-accent);
}

/* Forms & Inputs */
.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    max-width: 750px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-main);
    background: #ffffff;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* News & Tenders Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 200px;
    background: #cbd5e1;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-deep);
    line-height: 1.35;
    margin-bottom: 10px;
}

.news-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Footer */
.site-footer {
    background: #091e3a;
    color: #94a3b8;
    padding: 60px 0 20px;
    font-size: 14px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Mobile Hamburger Toggle Button (Hidden on Desktop) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-nav-toggle:hover {
    background: #f1f5f9;
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background: #0c4a6e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-drawer-header,
.mobile-drawer-footer {
    display: none;
}

/* Mobile Navigation Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 74, 110, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Comprehensive Responsive Media Queries
   ========================================================================== */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .stats-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile & Tablet Drawer Breakpoint (<= 992px) */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none; /* Accessible inside mobile drawer */
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 86vw;
        background: #ffffff;
        z-index: 1300;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: auto;
        padding: 0;
    }

    .nav-menu-wrapper.mobile-open {
        transform: translateX(0);
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-nav-close {
        background: #e2e8f0;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 20px;
        font-weight: bold;
        color: #0c4a6e;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .mobile-nav-close:hover {
        background: #cbd5e1;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 16px 20px;
        gap: 6px;
        overflow-y: visible;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 11px 14px;
        font-size: 14.5px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #334155;
    }

    .nav-item > a:hover,
    .nav-item > a.active {
        background: #e0f2fe;
        color: #0284c7 !important;
        border-color: #7dd3fc;
    }

    /* Mobile Accordion Dropdowns */
    .nav-item.has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #bae6fd;
        border-radius: 8px;
        margin-top: 4px;
        margin-bottom: 8px;
        display: none;
        background: #f0f9ff;
        padding: 6px 0;
    }

    .nav-item.has-dropdown.dropdown-open .dropdown-menu {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    .dropdown-menu li a {
        padding: 8px 16px;
        font-size: 13px;
        color: #0369a1;
        white-space: normal;
    }

    .mobile-drawer-footer {
        display: block;
        padding: 18px 20px;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
    }

    /* GM Desk Card Responsive on Tablets & Mobile */
    .gm-desk-card {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 26px 20px !important;
        text-align: center !important;
    }

    .gm-photo-box {
        margin: 0 auto;
    }

    .gm-content h3 {
        font-size: 20px !important;
        line-height: 1.4 !important;
    }

    .gm-content p {
        font-size: 14px !important;
        text-align: left;
    }

    .gm-highlights {
        justify-content: center;
    }

    /* Org Chart Responsive on Tablets */
    .org-grid-directorates {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .org-branches-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Phones & Small Screens (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .navbar {
        padding: 10px 0;
    }

    .brand-text h1, .brand-text .brand-title {
        font-size: 13px;
        white-space: normal;
        line-height: 1.25;
        max-width: 260px;
    }

    .brand-text p, .brand-text .brand-subtitle {
        font-size: 9.5px;
        white-space: normal;
        line-height: 1.2;
    }

    .logo-symbol {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    /* GM Desk on Mobile */
    .gm-desk-card {
        padding: 22px 16px !important;
        gap: 20px !important;
    }

    .gm-photo-wrapper img {
        width: 150px !important;
        height: 150px !important;
    }

    .gm-content h3 {
        font-size: 18px !important;
    }

    .gm-content p {
        font-size: 13.5px !important;
        line-height: 1.65 !important;
    }

    .hero-slider-section {
        min-height: 480px;
    }

    .hero-slide-content {
        padding: 24px 0 50px;
    }

    .hero-title {
        font-size: 23px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 11px 16px;
    }

    /* Horizontal Scrollable Filter Buttons on Mobile */
    .schedule-filter-bar {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .schedule-filter-bar .filter-buttons {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .schedule-filter-bar .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Branches Profile Mobile Responsive Grids */
    .branch-card-item {
        padding: 18px !important;
        margin-bottom: 24px !important;
    }

    .branch-card-item > div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .branch-card-item > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .stats-grid, .services-grid, .news-grid, .contact-grid, .quality-grid, .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Universal Mobile Grid Collapse for any remaining inline 2/3/4-col grids */
    div[style*="grid-template-columns: 1.1fr 0.9fr"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns: repeat(2, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"],
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .service-card {
        padding: 22px 18px !important;
    }

    .service-card h3 {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }

    .service-card p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-utility-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-utility-left, .footer-utility-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .header-top-banner .container {
        flex-direction: row;
        gap: 8px;
    }

    .lang-btn-header {
        padding: 3px 10px;
        font-size: 11px;
    }

    .gm-desk-card {
        padding: 16px 12px !important;
    }

    .gm-photo-wrapper img {
        width: 130px !important;
        height: 130px !important;
        border-radius: 18px !important;
    }

    .gm-content h3 {
        font-size: 16px !important;
    }

    .gm-highlights span {
        width: 100%;
        text-align: center;
    }

    .branch-card-item > div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 20px;
    }
}

/* =========================================================================
   PROJECTS SHOWCASE & MULTI-IMAGE GALLERY STYLES
   ========================================================================= */

.project-showcase-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 30px;
    padding: 28px;
    transition: var(--transition);
    overflow: hidden;
}

.project-showcase-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #bae6fd;
    transform: translateY(-2px);
}

.project-gallery-pane {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-main-image-wrap {
    position: relative;
    width: 100%;
    height: 290px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.project-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.project-main-image-wrap:hover .project-featured-img {
    transform: scale(1.04);
}

.gallery-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.photo-count-pill, .zoom-pill {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.zoom-pill {
    background: rgba(2, 132, 199, 0.85);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
}

.project-main-image-wrap:hover .zoom-pill {
    opacity: 1;
    transform: translateX(0);
}

.project-status-floating {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
}

/* Thumbnail Strip */
.project-thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gallery-thumb {
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #0f172a;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.gallery-thumb:hover img {
    opacity: 1;
}

.gallery-thumb.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

.gallery-thumb.active img {
    opacity: 1;
}

/* Project Specs Grid */
.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 14px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.spec-val {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}

/* Progress Bar */
.project-progress-section {
    margin: 16px 0 14px;
}

.progress-bar-track {
    width: 100%;
    height: 10px;
    background: #e0f2fe;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7 0%, #06b6d4 100%);
    border-radius: 6px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Milestones */
.project-milestones-box {
    background: #fdfdfd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.milestone-pill {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 8px 12px;
}

/* Filter Tabs */
.project-filter-tabs .filter-btn, .portal-tab-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.project-filter-tabs .filter-btn:hover, .portal-tab-pill:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}

.project-filter-tabs .filter-btn.active, .portal-tab-pill.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* =========================================================================
   LIGHTBOX FULL-SCREEN MODAL STYLES
   ========================================================================= */

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.94);
    backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
}

.lightbox-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 65vh;
    min-height: 400px;
}

.lightbox-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.lightbox-nav-btn.prev {
    left: 10px;
}

.lightbox-nav-btn.next {
    right: 10px;
}

.lightbox-nav-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-filmstrip {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
}

.lightbox-filmstrip-thumb {
    width: 72px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lightbox-filmstrip-thumb:hover {
    opacity: 0.85;
}

.lightbox-filmstrip-thumb.active {
    opacity: 1;
    border-color: #38bdf8;
    transform: scale(1.05);
}

.lightbox-filmstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================================
   VACANCY & NOTICE CARD STYLES
   ========================================================================= */

.vacancy-card, .notice-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 26px 30px;
    transition: var(--transition);
}

.vacancy-card:hover, .notice-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #bae6fd;
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.vacancy-meta-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.meta-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.meta-val {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
}

/* Responsive adjustments for projects */
@media (max-width: 992px) {
    .project-showcase-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .project-main-image-wrap {
        height: 240px;
    }

    .project-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .vacancy-meta-pills {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .project-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   MIRRORED FANTASY PRO-LEVEL STYLES & INTERACTIVE UI SYSTEM
   Sourced & Adapted from httpdocs (Bahir Dar & Debre Tabor Portals)
   Customized for Kombolcha City Water & Sewerage Service Office (KWSSO)
   ========================================================================= */

/* 1. Ambient Dynamic Flowing Background */
.water-ambient-bg, .bdr-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(125deg, #f0f9ff 0%, #ecfeff 25%, #f0fdf4 55%, #fefce8 80%, #f0f9ff 100%);
    background-size: 350% 350%;
    animation: tanaFlow 16s ease infinite;
    opacity: 0.85;
    pointer-events: none;
}

@keyframes tanaFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Text Gradient Brand with Infinite Color Shimmer */
.text-gradient-brand, .text-shimmer-brand {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 35%, #06b6d4 70%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    background-size: 200% auto;
    animation: gradientMove 6s ease infinite;
    display: inline-block;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    background-size: 200% auto;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3. Pro Frosted Glass Panels & Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 36px 0 rgba(2, 132, 199, 0.08);
}

.boost-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.16), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.boost-panel-dark {
    background: rgba(12, 74, 110, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.4);
    color: #ffffff;
    border-radius: 24px;
}

.city-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
}

.city-card-elevated {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

/* 4. Pro Button Sheen Sweep (.btn-boost) */
.btn-boost {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    color: #ffffff !important;
    padding: 12px 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.45);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.btn-boost:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 32px -6px rgba(2, 132, 199, 0.6);
    filter: brightness(1.06);
}

.btn-boost:active {
    transform: translateY(0);
}

.btn-boost::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-boost:hover::after {
    left: 200%;
    transition: 0.75s ease-in-out;
}

.btn-boost-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    box-shadow: 0 8px 24px -4px rgba(212, 175, 55, 0.5);
    color: #0f172a !important;
}

.btn-boost-gold:hover {
    box-shadow: 0 16px 32px -6px rgba(212, 175, 55, 0.65);
}

.btn-boost-dark {
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. Floating Blur Blobs (.hero-blob, .boost-blob) */
.hero-blob, .boost-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
    animation: floatBlob 12s ease-in-out infinite;
    pointer-events: none;
}

.blob-sky {
    background: #60a5fa;
    width: 420px;
    height: 420px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-water {
    background: #22d3ee;
    width: 520px;
    height: 520px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -3s;
}

.blob-sun {
    background: #fde047;
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -6s;
}

.blob-cyan {
    background: #06b6d4;
    width: 380px;
    height: 380px;
    border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
    animation-delay: -2s;
}

.blob-indigo {
    background: #6366f1;
    width: 450px;
    height: 450px;
    border-radius: 65% 35% 45% 55% / 45% 55% 65% 35%;
    animation-delay: -4s;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.08); }
    66% { transform: translate(-25px, 20px) scale(0.92); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* 6. Card Shine Sweep & Smooth Spring Lift */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
    z-index: 10;
}

.hover-shine:hover::before {
    left: 200%;
    transition: 0.85s ease-in-out;
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 45px -8px rgba(2, 132, 199, 0.18), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
}

.hover-card-boost {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-card-boost:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 48px -10px rgba(2, 132, 199, 0.2), 0 12px 18px -6px rgba(0, 0, 0, 0.06);
    border-color: #38bdf8;
}

/* 7. Pulse Glow & Spin Micro-Animations */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.04); }
}

.slow-spin {
    animation: spin 16s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 8. Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-active, .reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(28px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }

/* 9. Lenis Smooth Scroll Rules */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* 10. Amharic Slant / Italic Typography Suite (From Debre Tabor Portal) */
.font-nyala {
    font-family: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif !important;
}

.amharic-italic, .font-amharic-italic {
    font-family: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif !important;
    font-style: italic !important;
    font-synthesis: style weight !important;
}

.amharic-script, .font-amharic-script {
    font-family: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif !important;
    font-style: italic !important;
    font-synthesis: style !important;
    display: inline-block;
    transform: skewX(-8deg);
    transform-origin: 0% 90%;
    letter-spacing: 0.015em;
}

.amharic-serif-italic {
    font-family: 'Noto Serif Ethiopic', 'Nyala', serif !important;
    font-style: italic !important;
    font-synthesis: style !important;
    display: inline-block;
    transform: skewX(-7deg);
    transform-origin: bottom left;
}

.amharic-bold-script {
    font-family: 'Nyala', 'Noto Serif Ethiopic', serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-synthesis: style !important;
    display: inline-block;
    transform: skewX(-10deg);
    transform-origin: 0% 90%;
}

.amharic-handwritten {
    font-family: 'Nyala', 'Noto Serif Ethiopic', cursive, serif !important;
    font-style: italic !important;
    display: inline-block;
    transform: skewX(-11deg);
    transform-origin: bottom left;
}

.amharic-modern-slant {
    font-family: 'Nyala', 'Noto Sans Ethiopic', sans-serif !important;
    font-style: italic !important;
    font-synthesis: style !important;
    display: inline-block;
    transform: skewX(-8deg);
    transform-origin: bottom left;
}

.slant-subtle {
    display: inline-block;
    transform: skewX(-6deg);
    transform-origin: bottom left;
}

.slant-medium {
    display: inline-block;
    transform: skewX(-9deg);
    transform-origin: bottom left;
}

.slant-deep {
    display: inline-block;
    transform: skewX(-12deg);
    transform-origin: bottom left;
}

/* Data-Attribute Preset Selectors */
[data-amharic-preset="nyala"] body,
[data-amharic-preset="nyala"] {
    font-family: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif !important;
}

[data-amharic-preset="nyala-italic"] body,
[data-amharic-preset="nyala-italic"] {
    font-family: 'Nyala', 'Noto Sans Ethiopic', 'Abyssinica SIL', sans-serif !important;
    font-style: italic !important;
}

[data-amharic-preset="script"] .amharic-script,
[data-amharic-preset="script"] .portal-title {
    font-family: 'Nyala', 'Noto Serif Ethiopic', serif !important;
    font-style: italic !important;
    display: inline-block;
    transform: skewX(-9deg);
    transform-origin: bottom left;
}

[data-amharic-preset="bold-script"] .amharic-script,
[data-amharic-preset="bold-script"] .portal-title {
    font-family: 'Nyala', 'Noto Serif Ethiopic', serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    display: inline-block;
    transform: skewX(-11deg);
    transform-origin: bottom left;
}

/* 11. Custom Luxury Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}


