/* Apple Human Interface Guidelines Design Tokens */
:root {
    --nav-height: 52px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-hover: #000000;
    --accent-blue: #0071e3;/* Apple Human Interface Guidelines Design Tokens */
:root {
    --nav-height: 52px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-hover: #000000;
    --accent-blue: #0071e3;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-dropdown: rgba(255, 255, 255, 0.94);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    --easing-apple: cubic-bezier(0.25, 1, 0.5, 1);
    /* Apple-like swift response fluid curve */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

[x-cloak] {
    display: none !important;
}

body {
    background-color: #f5f5f7;
    height: 120vh;
    /* Allow scroll to test glassmorphism physics */
}

/* Nav Header Wrapper */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    /* Solid white background for clear visibility */
    border-bottom: 1px solid var(--border-subtle);
    z-index: 9999;
    transition: background 0.3s var(--easing-apple);
}

.nav-container {
    max-width: 1270px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 1. BRANDING */
.branding {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    z-index: 10001;
}

.brand-logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* 2. NAVIGATION LINKS CENTER-ALIGNED */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.1px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.25s ease;
    cursor: pointer;
}

.nav-item:hover .nav-link {
    color: var(--text-hover);
}

/* Dropdown Chevron indicator */
.has-dropdown .nav-link::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--text-secondary);
    border-bottom: 1px solid var(--text-secondary);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s var(--easing-apple);
}

.has-dropdown:hover .nav-link::after {
    transform: translateY(1px) rotate(-135deg);
}

/* Dropdown Architecture Panel Physics */
.dropdown-panel {
    position: absolute;
    top: var(--nav-height);
    left: 50%;
    /* transform: translateX(-50%); */
    width: calc(100% - 44px);
    max-width: 100%;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 32px 40px;
    box-shadow: var(--shadow-premium);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    z-index: 50;
}

/* Hover action activation physics (Removed because Alpine handles this now) */

/* Dropdown internal content styling */
.dropdown-col-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.dropdown-item {
    margin-bottom: 10px;
}

.dropdown-item a {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.dropdown-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.4;
}

.dropdown-item a:hover {
    color: var(--accent-blue);
}

/* 3. CALL TO ACTION */
.nav-cta {
    z-index: 10001;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.1px;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 10px;
    /* Apple-style squircle optimization */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #333336;
    transform: scale(1.02);
}

/* MOBILE HAMBURGER MENU INFRASTRUCTURE */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 10002;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    position: absolute;
    transition: transform 0.25s var(--easing-apple), top 0.25s var(--easing-apple);
}

.mobile-toggle span:first-child {
    top: 4px;
}

.mobile-toggle span:last-child {
    top: 12px;
}

/* Trigger active responsive layout transformations */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px 40px 40px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.4s var(--easing-apple), transform 0.4s var(--easing-apple), visibility 0.4s;
        z-index: 999;
    }

    header.mobile-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-link {
        width: 100%;
        font-size: 17px;
        font-weight: 500;
        padding: 16px 0;
        justify-content: space-between;
        color: var(--text-primary);
    }

    .has-dropdown .nav-link::after {
        width: 8px;
        height: 8px;
        transform: rotate(45deg);
    }

    .has-dropdown.mobile-active .nav-link::after {
        transform: rotate(-135deg);
    }

    /* Responsive Accordion mechanics replacing panels */
    .dropdown-panel {
        position: static !important;
        transform: none !important;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        background: none !important;
        border: none !important;
        padding: 0 0 16px 12px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }


    .dropdown-col-title {
        margin-bottom: 8px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        margin-right: 40px;
    }

    /* Hamburger transform animations */
    header.mobile-open .mobile-toggle span:first-child {
        transform: rotate(45deg);
        top: 8px;
    }

    header.mobile-open .mobile-toggle span:last-child {
        transform: rotate(-45deg);
        top: 8px;
    }
}

/* Apple Human Interface & Meta Design Tokens */
:root {
    --nav-bg: rgba(255, 255, 255, 0.75);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-card: rgba(255, 255, 255, 0.8);
    --nav-border: rgba(0, 0, 0, 0.06);
    --text-primary: #111111;
    --text-muted: #6e6e73;
    --brand-yellow: #F2B705;
    /* Primary color */
    --bg-main: #f5f5f7;
    /* Apple signature soft gray */
    --radius-squircle: 24px;
    /* Super-ellipse curvature approximation */
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

.btn-premium-cta {
    background-color: var(--text-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: var(--radius-squircle);
    transition: all 0.2s var(--ease-premium);
    border: 1px solid transparent;
    display: inline-block;
}

.btn-premium-cta:hover {
    background-color: var(--brand-yellow);
    color: var(--text-primary);
    transform: scale(1.02);
}

/* --- 2. HERO IMAGE SLIDER (META INTERACTIVE LOOK) --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 580px;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transform: scale(1.05);
    transition: transform 1.2s var(--ease-premium);
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--brand-yellow);
}

.hero-content p {
    font-size: 19px;
    color: #e2e2e7;
    max-width: 650px;
    margin: 0 auto 35px auto;
    font-weight: 300;
}

/* --- 3. MISSION & VISION SLIDER BANNER (GLASSMORPHISM) --- */
/* --- SPLIT BANNER WITH GLASSMORPHISM CARD SLIDER --- */
.mv-split-section {
    padding: 100px 24px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.mv-split-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.mv-left-content {
    text-align: left;
}

.mv-left-content h2 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.mv-left-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-mv-learn {
    display: inline-block;
    background-color: #F2B705;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 40px;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 4px 15px rgba(242, 183, 5, 0.3);
}

.btn-mv-learn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 183, 5, 0.5);
}

/* Upande wa Kulia: Desktop Slider Container */
.mv-right-slider-box {
    position: relative;
    height: 240px;
    /* Inafanya kazi kwenye desktop tu sasa */
    width: 100%;
}

/* Glassmorphism Logic */
.mv-interactive-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(20px) scale(0.98);
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.8s;
}

.mv-interactive-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.mv-card-icon-holder {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-card-icon-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-card-text {
    flex-grow: 1;
}

.mv-card-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #F2B705;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.mv-card-text p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.5;
}

/* ========================================================
   📱 ULTRA-RESPONSIVE SYSTEM (FOR SMARTPHONES & TABLETS)
   ======================================================== */
@media (max-width: 1024px) {
    .mv-split-section {
        padding: 60px 20px;
        background-attachment: scroll;
        /* Inazuia lag kwenye simu za zamani */
    }

    .mv-split-container {
        grid-template-columns: 1fr;
        /* Inakaa mstari mmoja (kushoto inakuja juu, kulia chini) */
        gap: 40px;
    }

    .mv-left-content {
        text-align: center;
        /* Inakaa katikati vizuri kwenye simu */
    }

    .mv-left-content h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .mv-left-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* Tunaondoa mfumo wa absolute slider uliokuwa unaficha maandishi */
    .mv-right-slider-box {
        height: auto;
        /* Inajinyoosha yenyewe kiotomatiki (No overlap!) */
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* Nafasi kati ya Vision na Mission */
    }

    /* Kadi zote mbili zinaonekana kwa pamoja kwenye simu zikiwa zimejipanga kwa uzuri */
    .mv-interactive-card {
        position: relative;
        /* Inarudi kwenye mtiririko wa kawaida wa ukurasa */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        height: auto;
        flex-direction: column;
        /* Picha inakaa juu, maandishi chini yake */
        text-align: center;
        padding: 30px 20px;
    }

    .mv-card-icon-holder {
        width: 80px;
        height: 80px;
        margin-bottom: 5px;
    }

    .mv-card-text h3 {
        font-size: 20px;
    }

    .mv-card-text p {
        font-size: 14.5px;
        line-height: 1.6;
    }
}

/* --- 4. VIDEO LINK BANNER (WITH IMAGE BACKGROUND) --- */
.video-banner {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 0 24px;
}

.video-banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.video-banner-content p {
    font-size: 18px;
    color: #e2e2e7;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.play-btn:hover {
    transform: scale(1.05);
    background-color: var(--brand-yellow);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--text-primary);
}

/* --- 5. SERVICES GRID WITH SUB-GROUPS SYSTEM --- */
.services-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-card);
    border: 1px solid var(--nav-border);
    border-radius: var(--radius-squircle);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 30px;
    flex-grow: 1;
}

.service-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Sub-groups Link Container */
.sub-group-links {
    border-top: 1px solid var(--nav-border);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-group-link {
    font-size: 13.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sub-group-link::before {
    content: "→";
    margin-right: 8px;
    color: var(--brand-yellow);
    font-weight: bold;
}

.sub-group-link:hover {
    color: var(--brand-yellow);
    padding-left: 6px;
}

/* --- 5.5 NEW APPLE-STYLE INFO SECTION --- */
.apple-info-section {
    background-color: var(--bg-main);
    padding: 100px 24px;
    text-align: center;
}

.apple-info-container {
    max-width: 900px;
    margin: 0 auto;
}

.apple-info-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.apple-info-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.4;
}

.apple-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.apple-info-card {
    background: #ffffff;
    border-radius: var(--radius-squircle);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}

.apple-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.apple-info-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.apple-info-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- 6. MINIMALIST TEAM SLIDER (3-PERSON LAYOUT) --- */
/* --- PREMIUM EXECUTIVE TEAM SECTION (APPLE & META FINISHED) --- */
.team-premium-section {
    background-color: #ffffff;
    padding: 100px 24px;
}

.team-premium-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-premium-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.team-premium-header p {
    font-size: 17px;
    color: var(--text-muted);
}

/* Desktop View: Gridi ya kawaida ya kisasa */
.team-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-content: center;
    position: relative;
}

/* Card Design core structural layout */
.team-premium-card {
    background: #f5f5f7;
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        opacity 0.6s ease;
}

/* Glow ya Dhahabu (Gold) Inapoguswa na Mouse au Kidole */
.team-premium-card:hover,
.team-premium-card:active {
    transform: translateY(-6px);
    border-color: rgba(242, 183, 5, 0.5);
    box-shadow: 0 20px 40px rgba(242, 183, 5, 0.15),
        0 0 25px rgba(242, 183, 5, 0.1);
}

.team-avatar-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.team-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-premium-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.team-premium-card span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
}

/* ========================================================
   📱 ULTRA RESPONSIVE SMARTPHONE INTEGRATION (FAIL-SAFE)
   ======================================================== */
@media (max-width: 768px) {
    .team-premium-section {
        padding: 60px 20px;
    }

    .team-premium-header h2 {
        font-size: 32px;
    }

    /* Kwenye simu tunabadilisha gridi kuwa urefu thabiti wa kadi moja tu */
    .team-premium-grid {
        display: block;
        /* Huu mfumo haugandani kamwe */
        position: relative;
        height: 340px;
        /* Urefu salama wa kadi */
        width: 100%;
    }

    /* Kadi zote zinajificha nyuma ya pazia isipokuwa ile yenye class ya "active" */
    .team-premium-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95) translateY(10px);
        padding: 40px 20px;
    }

    /* Kadi iliyo hewani inatokea kiulaini sana na kupata Gold Glow ikitumiwa */
    .team-premium-card.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
    }

    .team-premium-card:active {
        border-color: #F2B705;
        box-shadow: 0 15px 30px rgba(242, 183, 5, 0.2),
            0 0 20px rgba(242, 183, 5, 0.15);
    }

    .team-avatar-frame {
        width: 120px;
        height: 120px;
    }
}

/* --- 7. PREMIUM FOOTER SYSTEMS --- */
.global-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--nav-border);
    padding: 80px 24px 40px 24px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--nav-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* Keyframes & Responsiveness */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {

    .desktop-menu,
    .btn-premium-cta {
        display: none;
    }

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

    .team-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .mv-glass-container p {
        font-size: 17px;
    }
}

/* --- META DESIGN NEWSROOM LAYOUT (From xg.jpg) --- */
.meta-news-section {
    background-color: #ffffff;
    /* Pure clean background like xg.jpg */
    padding: 90px 24px;
}

.meta-news-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Center Header alignment identical to xg.jpg */
.meta-news-header {
    text-align: center;
    margin-bottom: 48px;
}

.meta-news-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.meta-news-header .btn-newsroom {
    display: inline-block;
    background: transparent;
    color: #111111;
    border: 1px solid #e2e2e7;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.2s var(--ease-premium);
}

.meta-news-header .btn-newsroom:hover {
    background-color: #f5f5f7;
    border-color: #d2d2d7;
}

/* 3-Column Grid matching the layout of xg.jpg */
.meta-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

/* Card item container without heavy shadows, completely clean */
.meta-news-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

/* Image structure with specific smooth radius as shown in xg.jpg */
.meta-news-img-holder {
    width: 100%;
    height: 250px;
    border-radius: 28px;
    /* Distinct squircle round corners from xg.jpg */
    overflow: hidden;
    margin-bottom: 20px;
}

.meta-news-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease-premium);
}

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

/* Meta typography left-alignment structure */
.meta-news-meta {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-news-meta h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1e;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

/* Read more element customized to your Brand Gold color */
.meta-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F2B705;
    /* Your exact Brand Gold color */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease;
    margin-top: auto;
}

.meta-readmore:hover {
    opacity: 0.8;
}

.meta-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid #F2B705;
    /* Gold ring matching xg.jpg style */
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* Slider container logic for Column 3 */
.meta-slider-column {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.meta-tech-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.meta-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.meta-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .meta-news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .meta-news-header h2 {
        font-size: 32px;
    }
}

/* ========================================================
   8. TRUST INDICATORS (TRUSTED BY SECTION)
   ======================================================== */
.trusted-section {
    background-color: #ffffff;
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid var(--nav-border);
}

.trusted-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.t-logo {
    font-size: 22px;
    font-weight: 700;
    color: #a1a1a6;
    /* Neutral grey */
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.t-logo:hover {
    color: #111111;
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 30px;
    }

    .t-logo {
        font-size: 18px;
    }
}

/* ========================================================
   9. TESTIMONIALS SECTION
   ======================================================== */
.testimonials-section {
    background-color: var(--bg-main);
    padding: 100px 24px;
}

.testimonials-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 18px;
    color: #111111;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--nav-border);
    padding-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================================
   10. CTA & CONTACT FORM (APPLE STYLE)
   ======================================================== */
.cta-contact-section {
    background-color: #ffffff;
    padding: 100px 24px;
}

.cta-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #111111;
}

.cta-text p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-direct p {
    font-size: 16px;
    color: #111111;
    margin-bottom: 10px;
}

.contact-direct strong {
    color: var(--brand-yellow);
}

.cta-form-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.apple-form .form-group {
    margin-bottom: 20px;
}

.apple-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.apple-form input,
.apple-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: #111111;
    font-family: inherit;
    transition: all 0.3s ease;
}

.apple-form textarea {
    height: 120px;
    resize: none;
}

.apple-form input:focus,
.apple-form textarea:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.2);
}

.btn-submit-premium {
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit-premium:hover {
    background-color: var(--brand-yellow);
    color: #111111;
}

@media (max-width: 992px) {
    .cta-contact-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   11. SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ======================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   12. FLOATING WHATSAPP BUTTON
   ======================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    animation: bounceIn 0.8s ease forwards 1s;
    opacity: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ========================================================
   13. PRODUCTS SHOWCASE (BENTO BOX DESIGN)
   ======================================================== */
/* --- ULTRA-PREMIUM BENTO GRID (APPLE & META STYLE) --- */
.products-showcase {
    background-color: var(--bg-main);
    padding: 120px 24px;
}

.products-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Bento Grid Core System */
.bento-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 280px);
    /* Urefu thabiti na wa kisasa */
    gap: 24px;
}

/* Card Foundation based on Apple's Squircle Shape */
.bento-card {
    background: #ffffff;
    border-radius: 32px;
    /* High-end rounded corners */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.015);
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth Premium Hover Animations */
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

/* Large Card Architecture (Full Vertical Layout) */
.bento-large {
    grid-row: span 2;
    flex-direction: column;
    justify-content: space-between;
}

.bento-large .bento-content {
    padding: 40px 40px 20px 40px;
}

.bento-large .bento-image {
    height: 55%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-large:hover .bento-image {
    transform: scale(1.03);
}

/* Small Cards Architecture (Modern Horizontal Split-Screen) */
.bento-small {
    flex-direction: row;
    /* Maandishi kushoto, Picha Kulia */
    align-items: center;
    justify-content: space-between;
}

.bento-small .bento-content {
    padding: 40px;
    width: 55%;
    flex-shrink: 0;
}

.bento-small .bento-image {
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-small:hover .bento-image {
    transform: scale(1.04);
}

/* Premium Meta Typography & Elements */
.bento-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111111;
    background: rgba(242, 183, 5, 0.12);
    /* Soft Yellow Tint background */
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.2;
}

.bento-small h3 {
    font-size: 21px;
}

.bento-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Clean Apple-style Action Link */
.bento-link {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    color: #0066cc;
    /* Premium Apple Interactive Blue */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.bento-link:hover {
    color: #0044bb;
}

.bento-link span {
    margin-left: 6px;
    font-weight: 400;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-link:hover span {
    transform: translateX(4px);
}

/* ========================================================
   📱 HIGH-CLASS SMARTPHONE RESPONSIVE SYSTEM
   ======================================================== */
@media (max-width: 992px) {
    .products-showcase {
        padding: 80px 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .bento-large {
        grid-row: auto;
        height: auto;
    }

    .bento-large .bento-image {
        height: 240px;
    }

    /* Kwenye simu, kadi ndogo zinajipanga kwa wima ili kuzuia picha kubana maandishi */
    .bento-small {
        flex-direction: column-reverse;
        /* Picha inakaa chini, maandishi juu */
        align-items: flex-start;
        height: auto;
    }

    .bento-small .bento-content {
        width: 100%;
        padding: 30px;
    }

    .bento-small .bento-image {
        width: 100%;
        height: 200px;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
}

/* ========================================================
   14. METHODOLOGY & PROJECT MANAGEMENT
   ======================================================== */
/* --- PREMIUM APPLE METRIC METHODOLOGY SECTION --- */
.methodology-section {
    background-color: #ffffff;
    padding: 120px 24px;
    border-top: 1px solid var(--nav-border);
}

.methodology-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: flex-start;
}

.methodology-text-area {
    position: sticky;
    top: 120px;
    /* Inabaki static wakati mtumiaji anascroll hatua */
}

.methodology-text-area h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    margin-bottom: 24px;
    line-height: 1.15;
}

.methodology-text-area p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Apple Bento Step Matrix */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card Core Construction */
.m-step-card {
    background: #f5f5f7;
    /* Rangi ya asili ya Apple background blocks */
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px 32px;
    border-radius: 32px;
    /* Smooth Squircle corner radius */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s ease,
        background-color 0.5s ease;
}

/* Image Visual Cards Integration */
.m-step-card.m-image-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.m-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Apple Animations */
.m-step-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(242, 183, 5, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04),
        0 0 20px rgba(242, 183, 5, 0.05);
}

.m-step-card.m-image-card:hover img {
    transform: scale(1.05);
}

/* Premium Typography Elements */
.m-step-number {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #111111 0%, #f2b705 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    display: block;
}

.m-step-card h4 {
    font-size: 21px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.m-step-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ========================================================
   📱 ULTRA-RESPONSIVE SMARTPHONE OPTIMIZATION (APPLE UI)
   ======================================================== */
@media (max-width: 1024px) {
    .methodology-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .methodology-text-area {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .methodology-section {
        padding: 80px 20px;
    }

    .methodology-text-area h2 {
        font-size: 34px;
    }

    /* Gridi inajipanga kuwa safu moja thabiti kwenye simu bila kubana picha */
    .methodology-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .m-step-card {
        min-height: auto;
        padding: 32px 24px;
    }

    /* Tunapunguza urefu wa kadi za picha kwenye simu ili zisijaze screen nzima */
    .m-step-card.m-image-card {
        height: 200px;
    }
}
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-dropdown: rgba(255, 255, 255, 0.94);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
    --easing-apple: cubic-bezier(0.25, 1, 0.5, 1);
    /* Apple-like swift response fluid curve */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #f5f5f7;
    height: 120vh;
    /* Allow scroll to test glassmorphism physics */
}

/* Nav Header Wrapper */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    /* Solid white background for clear visibility */
    border-bottom: 1px solid var(--border-subtle);
    z-index: 9999;
    transition: background 0.3s var(--easing-apple);
}

.nav-container {
    max-width: 1240px;
    height: 100%;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 1. BRANDING */
.branding {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    z-index: 10001;
}

.brand-logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* 2. NAVIGATION LINKS CENTER-ALIGNED */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.1px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.25s ease;
    cursor: pointer;
}

.nav-item:hover .nav-link {
    color: var(--text-hover);
}

/* Dropdown Chevron indicator */
.has-dropdown .nav-link::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--text-secondary);
    border-bottom: 1px solid var(--text-secondary);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s var(--easing-apple);
}

.has-dropdown:hover .nav-link::after {
    transform: translateY(1px) rotate(-135deg);
}

/* Dropdown Architecture Panel Physics */
.dropdown-panel {
    position: absolute;
    top: var(--nav-height);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: calc(100% - 44px);
    max-width: 1000px;
    background: var(--bg-dropdown);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 32px 40px;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    transition: opacity 0.3s var(--easing-apple), transform 0.3s var(--easing-apple), visibility 0.3s;
    z-index: -1;
}

/* Hover action activation physics */
.has-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown internal content styling */
.dropdown-col-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

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

.dropdown-item {
    margin-bottom: 10px;
}

.dropdown-item a {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.dropdown-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.4;
}

.dropdown-item a:hover {
    color: var(--accent-blue);
}

/* 3. CALL TO ACTION */
.nav-cta {
    z-index: 10001;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.1px;
    text-decoration: none;
    padding: 5px 11px;
    border-radius: 10px;
    /* Apple-style squircle optimization */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #333336;
    transform: scale(1.02);
}

/* MOBILE HAMBURGER MENU INFRASTRUCTURE */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 10002;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    position: absolute;
    transition: transform 0.25s var(--easing-apple), top 0.25s var(--easing-apple);
}

.mobile-toggle span:first-child {
    top: 4px;
}

.mobile-toggle span:last-child {
    top: 12px;
}

/* Trigger active responsive layout transformations */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 40px 40px 40px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.4s var(--easing-apple), transform 0.4s var(--easing-apple), visibility 0.4s;
        z-index: 999;
    }

    header.mobile-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-link {
        width: 100%;
        font-size: 17px;
        font-weight: 500;
        padding: 16px 0;
        justify-content: space-between;
        color: var(--text-primary);
    }

    .has-dropdown .nav-link::after {
        width: 8px;
        height: 8px;
        transform: rotate(45deg);
    }

    .has-dropdown.mobile-active .nav-link::after {
        transform: rotate(-135deg);
    }

    /* Responsive Accordion mechanics replacing panels */
    .dropdown-panel {
        position: static;
        transform: none !important;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background: none;
        border: none;
        padding: 0 0 16px 12px;
        display: none;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .has-dropdown.mobile-active .dropdown-panel {
        display: grid;
    }

    .dropdown-col-title {
        margin-bottom: 8px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta {
        margin-right: 40px;
    }

    /* Hamburger transform animations */
    header.mobile-open .mobile-toggle span:first-child {
        transform: rotate(45deg);
        top: 8px;
    }

    header.mobile-open .mobile-toggle span:last-child {
        transform: rotate(-45deg);
        top: 8px;
    }
}

/* Apple Human Interface & Meta Design Tokens */
:root {
    --nav-bg: rgba(255, 255, 255, 0.75);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-card: rgba(255, 255, 255, 0.8);
    --nav-border: rgba(0, 0, 0, 0.06);
    --text-primary: #111111;
    --text-muted: #6e6e73;
    --brand-yellow: #F2B705;
    /* Primary color */
    --bg-main: #f5f5f7;
    /* Apple signature soft gray */
    --radius-squircle: 24px;
    /* Super-ellipse curvature approximation */
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

.btn-premium-cta {
    background-color: var(--text-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: var(--radius-squircle);
    transition: all 0.2s var(--ease-premium);
    border: 1px solid transparent;
    display: inline-block;
}

.btn-premium-cta:hover {
    background-color: var(--brand-yellow);
    color: var(--text-primary);
    transform: scale(1.02);
}

/* --- 2. HERO IMAGE SLIDER (META INTERACTIVE LOOK) --- */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 580px;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transform: scale(1.05);
    transition: transform 1.2s var(--ease-premium);
}

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

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--brand-yellow);
}

.hero-content p {
    font-size: 19px;
    color: #e2e2e7;
    max-width: 650px;
    margin: 0 auto 35px auto;
    font-weight: 300;
}

/* --- 3. MISSION & VISION SLIDER BANNER (GLASSMORPHISM) --- */
/* --- SPLIT BANNER WITH GLASSMORPHISM CARD SLIDER --- */
.mv-split-section {
    padding: 100px 24px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.mv-split-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.mv-left-content {
    text-align: left;
}

.mv-left-content h2 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.mv-left-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-mv-learn {
    display: inline-block;
    background-color: #F2B705;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 40px;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 4px 15px rgba(242, 183, 5, 0.3);
}

.btn-mv-learn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 183, 5, 0.5);
}

/* Upande wa Kulia: Desktop Slider Container */
.mv-right-slider-box {
    position: relative;
    height: 240px;
    /* Inafanya kazi kwenye desktop tu sasa */
    width: 100%;
}

/* Glassmorphism Logic */
.mv-interactive-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(20px) scale(0.98);
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.8s;
}

.mv-interactive-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.mv-card-icon-holder {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mv-card-icon-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-card-text {
    flex-grow: 1;
}

.mv-card-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #F2B705;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.mv-card-text p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.5;
}

/* ========================================================
   📱 ULTRA-RESPONSIVE SYSTEM (FOR SMARTPHONES & TABLETS)
   ======================================================== */
@media (max-width: 1024px) {
    .mv-split-section {
        padding: 60px 20px;
        background-attachment: scroll;
        /* Inazuia lag kwenye simu za zamani */
    }

    .mv-split-container {
        grid-template-columns: 1fr;
        /* Inakaa mstari mmoja (kushoto inakuja juu, kulia chini) */
        gap: 40px;
    }

    .mv-left-content {
        text-align: center;
        /* Inakaa katikati vizuri kwenye simu */
    }

    .mv-left-content h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .mv-left-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* Tunaondoa mfumo wa absolute slider uliokuwa unaficha maandishi */
    .mv-right-slider-box {
        height: auto;
        /* Inajinyoosha yenyewe kiotomatiki (No overlap!) */
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* Nafasi kati ya Vision na Mission */
    }

    /* Kadi zote mbili zinaonekana kwa pamoja kwenye simu zikiwa zimejipanga kwa uzuri */
    .mv-interactive-card {
        position: relative;
        /* Inarudi kwenye mtiririko wa kawaida wa ukurasa */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        height: auto;
        flex-direction: column;
        /* Picha inakaa juu, maandishi chini yake */
        text-align: center;
        padding: 30px 20px;
    }

    .mv-card-icon-holder {
        width: 80px;
        height: 80px;
        margin-bottom: 5px;
    }

    .mv-card-text h3 {
        font-size: 20px;
    }

    .mv-card-text p {
        font-size: 14.5px;
        line-height: 1.6;
    }
}

/* --- 4. VIDEO LINK BANNER (WITH IMAGE BACKGROUND) --- */
.video-banner {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1400&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 0 24px;
}

.video-banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.video-banner-content p {
    font-size: 18px;
    color: #e2e2e7;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s var(--ease-premium);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.play-btn:hover {
    transform: scale(1.05);
    background-color: var(--brand-yellow);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--text-primary);
}

/* --- 5. SERVICES GRID WITH SUB-GROUPS SYSTEM --- */
.services-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-card);
    border: 1px solid var(--nav-border);
    border-radius: var(--radius-squircle);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 30px;
    flex-grow: 1;
}

.service-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Sub-groups Link Container */
.sub-group-links {
    border-top: 1px solid var(--nav-border);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sub-group-link {
    font-size: 13.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sub-group-link::before {
    content: "→";
    margin-right: 8px;
    color: var(--brand-yellow);
    font-weight: bold;
}

.sub-group-link:hover {
    color: var(--brand-yellow);
    padding-left: 6px;
}

/* --- 5.5 NEW APPLE-STYLE INFO SECTION --- */
.apple-info-section {
    background-color: var(--bg-main);
    padding: 100px 24px;
    text-align: center;
}

.apple-info-container {
    max-width: 900px;
    margin: 0 auto;
}

.apple-info-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.apple-info-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.4;
}

.apple-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.apple-info-card {
    background: #ffffff;
    border-radius: var(--radius-squircle);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}

.apple-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.apple-info-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.apple-info-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- 6. MINIMALIST TEAM SLIDER (3-PERSON LAYOUT) --- */
/* --- PREMIUM EXECUTIVE TEAM SECTION (APPLE & META FINISHED) --- */
.team-premium-section {
    background-color: #ffffff;
    padding: 100px 24px;
}

.team-premium-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-premium-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.team-premium-header p {
    font-size: 17px;
    color: var(--text-muted);
}

/* Desktop View: Gridi ya kawaida ya kisasa */
.team-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-content: center;
    position: relative;
}

/* Card Design core structural layout */
.team-premium-card {
    background: #f5f5f7;
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        opacity 0.6s ease;
}

/* Glow ya Dhahabu (Gold) Inapoguswa na Mouse au Kidole */
.team-premium-card:hover,
.team-premium-card:active {
    transform: translateY(-6px);
    border-color: rgba(242, 183, 5, 0.5);
    box-shadow: 0 20px 40px rgba(242, 183, 5, 0.15),
        0 0 25px rgba(242, 183, 5, 0.1);
}

.team-avatar-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.team-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-premium-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.team-premium-card span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
}

/* ========================================================
   📱 ULTRA RESPONSIVE SMARTPHONE INTEGRATION (FAIL-SAFE)
   ======================================================== */
@media (max-width: 768px) {
    .team-premium-section {
        padding: 60px 20px;
    }

    .team-premium-header h2 {
        font-size: 32px;
    }

    /* Kwenye simu tunabadilisha gridi kuwa urefu thabiti wa kadi moja tu */
    .team-premium-grid {
        display: block;
        /* Huu mfumo haugandani kamwe */
        position: relative;
        height: 340px;
        /* Urefu salama wa kadi */
        width: 100%;
    }

    /* Kadi zote zinajificha nyuma ya pazia isipokuwa ile yenye class ya "active" */
    .team-premium-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95) translateY(10px);
        padding: 40px 20px;
    }

    /* Kadi iliyo hewani inatokea kiulaini sana na kupata Gold Glow ikitumiwa */
    .team-premium-card.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
    }

    .team-premium-card:active {
        border-color: #F2B705;
        box-shadow: 0 15px 30px rgba(242, 183, 5, 0.2),
            0 0 20px rgba(242, 183, 5, 0.15);
    }

    .team-avatar-frame {
        width: 120px;
        height: 120px;
    }
}

/* --- 7. PREMIUM FOOTER SYSTEMS --- */
.global-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--nav-border);
    padding: 80px 24px 40px 24px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--nav-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* Keyframes & Responsiveness */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {

    .desktop-menu,
    .btn-premium-cta {
        display: none;
    }

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

    .team-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .mv-glass-container p {
        font-size: 17px;
    }
}

/* --- META DESIGN NEWSROOM LAYOUT (From xg.jpg) --- */
.meta-news-section {
    background-color: #ffffff;
    /* Pure clean background like xg.jpg */
    padding: 90px 24px;
}

.meta-news-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Center Header alignment identical to xg.jpg */
.meta-news-header {
    text-align: center;
    margin-bottom: 48px;
}

.meta-news-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.meta-news-header .btn-newsroom {
    display: inline-block;
    background: transparent;
    color: #111111;
    border: 1px solid #e2e2e7;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.2s var(--ease-premium);
}

.meta-news-header .btn-newsroom:hover {
    background-color: #f5f5f7;
    border-color: #d2d2d7;
}

/* 3-Column Grid matching the layout of xg.jpg */
.meta-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

/* Card item container without heavy shadows, completely clean */
.meta-news-card {
    display: flex;
    flex-direction: column;
    background: transparent;
}

/* Image structure with specific smooth radius as shown in xg.jpg */
.meta-news-img-holder {
    width: 100%;
    height: 250px;
    border-radius: 28px;
    /* Distinct squircle round corners from xg.jpg */
    overflow: hidden;
    margin-bottom: 20px;
}

.meta-news-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease-premium);
}

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

/* Meta typography left-alignment structure */
.meta-news-meta {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-news-meta h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1e;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

/* Read more element customized to your Brand Gold color */
.meta-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F2B705;
    /* Your exact Brand Gold color */
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease;
    margin-top: auto;
}

.meta-readmore:hover {
    opacity: 0.8;
}

.meta-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid #F2B705;
    /* Gold ring matching xg.jpg style */
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

/* Slider container logic for Column 3 */
.meta-slider-column {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.meta-tech-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.meta-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.meta-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .meta-news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .meta-news-header h2 {
        font-size: 32px;
    }
}

/* ========================================================
   8. TRUST INDICATORS (TRUSTED BY SECTION)
   ======================================================== */
.trusted-section {
    background-color: #ffffff;
    padding: 60px 24px;
    text-align: center;
    border-bottom: 1px solid var(--nav-border);
}

.trusted-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.t-logo {
    font-size: 22px;
    font-weight: 700;
    color: #a1a1a6;
    /* Neutral grey */
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.t-logo:hover {
    color: #111111;
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 30px;
    }

    .t-logo {
        font-size: 18px;
    }
}

/* ========================================================
   9. TESTIMONIALS SECTION
   ======================================================== */
.testimonials-section {
    background-color: var(--bg-main);
    padding: 100px 24px;
}

.testimonials-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 18px;
    color: #111111;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--nav-border);
    padding-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================================
   10. CTA & CONTACT FORM (APPLE STYLE)
   ======================================================== */
.cta-contact-section {
    background-color: #ffffff;
    padding: 100px 24px;
}

.cta-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #111111;
}

.cta-text p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-direct p {
    font-size: 16px;
    color: #111111;
    margin-bottom: 10px;
}

.contact-direct strong {
    color: var(--brand-yellow);
}

.cta-form-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.apple-form .form-group {
    margin-bottom: 20px;
}

.apple-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.apple-form input,
.apple-form textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: #111111;
    font-family: inherit;
    transition: all 0.3s ease;
}

.apple-form textarea {
    height: 120px;
    resize: none;
}

.apple-form input:focus,
.apple-form textarea:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.2);
}

.btn-submit-premium {
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit-premium:hover {
    background-color: var(--brand-yellow);
    color: #111111;
}

@media (max-width: 992px) {
    .cta-contact-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   11. SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ======================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   12. FLOATING WHATSAPP BUTTON
   ======================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    animation: bounceIn 0.8s ease forwards 1s;
    opacity: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ========================================================
   13. PRODUCTS SHOWCASE (BENTO BOX DESIGN)
   ======================================================== */
/* --- ULTRA-PREMIUM BENTO GRID (APPLE & META STYLE) --- */
.products-showcase {
    background-color: var(--bg-main);
    padding: 120px 24px;
}

.products-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Bento Grid Core System */
.bento-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 280px);
    /* Urefu thabiti na wa kisasa */
    gap: 24px;
}

/* Card Foundation based on Apple's Squircle Shape */
.bento-card {
    background: #ffffff;
    border-radius: 32px;
    /* High-end rounded corners */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.015);
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth Premium Hover Animations */
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

/* Large Card Architecture (Full Vertical Layout) */
.bento-large {
    grid-row: span 2;
    flex-direction: column;
    justify-content: space-between;
}

.bento-large .bento-content {
    padding: 40px 40px 20px 40px;
}

.bento-large .bento-image {
    height: 55%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-large:hover .bento-image {
    transform: scale(1.03);
}

/* Small Cards Architecture (Modern Horizontal Split-Screen) */
.bento-small {
    flex-direction: row;
    /* Maandishi kushoto, Picha Kulia */
    align-items: center;
    justify-content: space-between;
}

.bento-small .bento-content {
    padding: 40px;
    width: 55%;
    flex-shrink: 0;
}

.bento-small .bento-image {
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-small:hover .bento-image {
    transform: scale(1.04);
}

/* Premium Meta Typography & Elements */
.bento-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #111111;
    background: rgba(242, 183, 5, 0.12);
    /* Soft Yellow Tint background */
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.2;
}

.bento-small h3 {
    font-size: 21px;
}

.bento-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Clean Apple-style Action Link */
.bento-link {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    color: #0066cc;
    /* Premium Apple Interactive Blue */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.bento-link:hover {
    color: #0044bb;
}

.bento-link span {
    margin-left: 6px;
    font-weight: 400;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-link:hover span {
    transform: translateX(4px);
}

/* ========================================================
   📱 HIGH-CLASS SMARTPHONE RESPONSIVE SYSTEM
   ======================================================== */
@media (max-width: 992px) {
    .products-showcase {
        padding: 80px 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .bento-large {
        grid-row: auto;
        height: auto;
    }

    .bento-large .bento-image {
        height: 240px;
    }

    /* Kwenye simu, kadi ndogo zinajipanga kwa wima ili kuzuia picha kubana maandishi */
    .bento-small {
        flex-direction: column-reverse;
        /* Picha inakaa chini, maandishi juu */
        align-items: flex-start;
        height: auto;
    }

    .bento-small .bento-content {
        width: 100%;
        padding: 30px;
    }

    .bento-small .bento-image {
        width: 100%;
        height: 200px;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
}

/* ========================================================
   14. METHODOLOGY & PROJECT MANAGEMENT
   ======================================================== */
/* --- PREMIUM APPLE METRIC METHODOLOGY SECTION --- */
.methodology-section {
    background-color: #ffffff;
    padding: 120px 24px;
    border-top: 1px solid var(--nav-border);
}

.methodology-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: flex-start;
}

.methodology-text-area {
    position: sticky;
    top: 120px;
    /* Inabaki static wakati mtumiaji anascroll hatua */
}

.methodology-text-area h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111111;
    margin-bottom: 24px;
    line-height: 1.15;
}

.methodology-text-area p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Apple Bento Step Matrix */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Card Core Construction */
.m-step-card {
    background: #f5f5f7;
    /* Rangi ya asili ya Apple background blocks */
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px 32px;
    border-radius: 32px;
    /* Smooth Squircle corner radius */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s ease,
        background-color 0.5s ease;
}

/* Image Visual Cards Integration */
.m-step-card.m-image-card {
    padding: 0;
    overflow: hidden;
    position: relative;
}

.m-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Apple Animations */
.m-step-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: rgba(242, 183, 5, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04),
        0 0 20px rgba(242, 183, 5, 0.05);
}

.m-step-card.m-image-card:hover img {
    transform: scale(1.05);
}

/* Premium Typography Elements */
.m-step-number {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #111111 0%, #f2b705 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    display: block;
}

.m-step-card h4 {
    font-size: 21px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.m-step-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ========================================================
   📱 ULTRA-RESPONSIVE SMARTPHONE OPTIMIZATION (APPLE UI)
   ======================================================== */
@media (max-width: 1024px) {
    .methodology-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .methodology-text-area {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .methodology-section {
        padding: 80px 20px;
    }

    .methodology-text-area h2 {
        font-size: 34px;
    }

    /* Gridi inajipanga kuwa safu moja thabiti kwenye simu bila kubana picha */
    .methodology-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .m-step-card {
        min-height: auto;
        padding: 32px 24px;
    }

    /* Tunapunguza urefu wa kadi za picha kwenye simu ili zisijaze screen nzima */
    .m-step-card.m-image-card {
        height: 200px;
    }
}