:root {
    --primary: #1070B3;
    --primary-light: #1583D1;
    --secondary: #10AC25;
    --gold: #C5A059;
    --bg-light: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-dark: #0A1E2F;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.98);
    --glass-border: rgba(0, 0, 0, 0.05);
    --header-height: 90px;
    --header-height-scrolled: 75px;
    --container-width: 1440px;
    --section-padding: 120px 0;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="dark"] {
    --bg-light: #0A1E2F;
    --bg-subtle: #081622;
    --text-dark: #F8FAFC;
    --text-muted: #94A3B8;
    --glass: rgba(10, 30, 47, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #0D2B44;
    --pillar-card-bg: #0D263B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

html.loading,
body.loading {
    overflow: hidden !important;
    height: 100% !important;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: clip-path 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease, visibility 1.2s;
    clip-path: circle(150% at 50% 50%);
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: circle(0% at 50% 50%);
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 300px;
}

.loader-logo {
    animation: loaderPulse 2s infinite ease-in-out;
}

.loader-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(16, 112, 179, 0.1));
}

.loader-line {
    width: 100%;
    height: 2px;
    background: var(--bg-subtle);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    animation: loaderProgress 1.5s infinite ease-in-out;
}

.loader-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes loaderProgress {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    z-index: 1000;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    height: var(--header-height-scrolled);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to left, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s ease-out;
}

nav {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    width: 100%;
}

.logo {
    justify-self: start;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
    justify-self: center;
}

.logo-link {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

header.scrolled .logo-img {
    height: 50px;
}

.nav-links li {
    position: relative;
    width: max-content;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 10px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--bg-subtle);
}


.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links .btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(16, 112, 179, 0.2);
}

.nav-links .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 112, 179, 0.3);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-self: end;
    border-right: 1px solid var(--glass-border);
    padding-right: 20px;
}

.action-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--glass-border);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

#theme-toggle::before {
    content: '🌙';
}

[data-theme="dark"] #theme-toggle::before {
    content: '☀️';
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero-premium {
    height: 100vh;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 10% 20%, rgba(16, 112, 179, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.04) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.hero-main h1 {
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.hero-main h1 .highlight {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 30px rgba(16, 112, 179, 0.2);
}

.hero-main h1 small {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 15px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-hero-primary {
    background: rgba(16, 112, 179, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    width: 15rem;
    color: white;
    padding: 18px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(16, 112, 179, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 2;
    will-change: transform;
}

.btn-hero-primary:hover::after {
    transform: translateX(-5px);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    background: rgba(21, 131, 209, 0.95);
    box-shadow: 0 20px 45px rgba(16, 112, 179, 0.35);
}

.btn-hero-link {
    text-decoration: none;
    color: var(--primary);
    width: 15rem;
    padding: 16px 35px;
    border-radius: 12px;
    background: rgba(16, 112, 179, 0.2);
    border: 1px solid rgba(16, 112, 179, 0.2);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    justify-content: center;
}

.btn-hero-link:hover {
    background: rgba(16, 112, 179, 0.1);
    border-color: rgba(16, 112, 179, 0.2);
    transform: translateY(-3px);
}

.hero-stats-panel {
    display: grid;
    gap: 25px;
    max-width: 420px;
    justify-self: end;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(16, 112, 179, 0.08);
}

.stat-card.accent {
    background: rgba(16, 112, 179, 0.85);
    color: white;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(16, 112, 179, 0.2);
}

.stat-header {
    position: absolute;
    top: 0;
    left: 15px;
    transform: translateY(-50%);
    z-index: 10;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    background: white;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 172, 37, 0.2);
    display: inline-block;
    white-space: nowrap;
}

.stat-card.accent .stat-trend {
    background: var(--gold);
    color: white;
    border-color: transparent;
}

[data-theme="dark"] .hero-stats-panel .stat-card:not(.accent) h2,
[data-theme="dark"] .hero-stats-panel .stat-card:not(.accent) p {
    color: var(--primary-light) !important;
}

.stat-card.accent h2,
.stat-card.accent p {
    color: white !important;
}

.stat-body h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.stat-body p {
    font-size: 0.95rem;
    opacity: 0.7;
}

.hero-footer {
    padding: 40px 0;
    margin-top: auto;
    border-top: 1px solid var(--bg-subtle);
}

.trust-labels {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
}

@keyframes separatorPulse {
    0% {
        transform: scaleX(1);
        opacity: 0.4;
    }

    50% {
        transform: scaleX(1.4);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.4;
    }
}

.separator {
    width: 40px;
    height: 1px;
    background: var(--secondary);
    animation: separatorPulse 3s infinite ease-in-out;
    transform-origin: center;
}

.py-section {
    padding: var(--section-padding);
}

.dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.accent {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-light);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .feature-card {
    background: var(--card-bg);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bg-subtle {
    background-color: var(--bg-subtle);
}

.accent-bg {
    background: var(--primary);
    color: white;
}

.badge {
    background: white;
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.statement-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.8;
}

.identity-modern {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-subtle));
    transition: background 0.4s ease;
}

.identity-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.badge-premium {
    background: rgba(16, 112, 179, 0.05);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(16, 112, 179, 0.1);
    display: inline-block;
    margin-bottom: 25px;
}

.title-bold {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 900;
}

.subtitle-premium {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pillar-card {
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    overflow: visible;
}

[data-theme="dark"] .pillar-card:not(.spotlight) {
    background: var(--pillar-card-bg);
}

.pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(16, 112, 179, 0.08);
    border-color: rgba(16, 112, 179, 0.1);
}

.pillar-card.spotlight {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.pillar-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 112, 179, 0.1);
    z-index: 10;
    white-space: nowrap;
    width: fit-content;
    min-width: max-content;
}

.pillar-card.spotlight .pillar-tag {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.pillar-card.spotlight h3 {
    color: white;
    font-size: 1.6rem;
}

.pillar-header h3 {
    font-size: 1.6rem;
    line-height: 2;
    color: var(--primary);
}

.pillar-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: inherit;
    opacity: 0.85;
    margin-bottom: 0;
    margin-top: 25px;
}

.strategy-split {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 25px;
}

.strat-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
}

.strat-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.pillar-values {
    list-style: none;
    margin-top: 10px;
}

.pillar-values li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-subtle);
    font-size: 0.95rem;
}

.val-info strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1rem;
}

.val-info span {
    color: var(--text-muted);
    line-height: 1.5;
    display: block;
}

.pillar-values li:last-child {
    border-bottom: none;
}

.governance-framework {
    margin-top: 50px;
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.gov-header {
    text-align: center;
    margin-bottom: 60px;
}

.gov-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin: 15px 0;
}

.gov-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.gov-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gov-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 45px 30px 30px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
}

.gov-item h3,
.gov-item .gov-info h3 {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gov-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 112, 179, 0.2);
    border-color: var(--secondary);
}

.gov-info h4 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    z-index: 10;
}

.gov-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 15px;
}

.gov-item.spotlight-white {
    background: var(--bg-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
}

.gov-item.spotlight-white h3,
.gov-item.spotlight-white .gov-info h3 {
    color: var(--primary) !important;
}

.gov-item.spotlight-white .gov-info p {
    color: var(--text-muted);
}

.gov-item.spotlight-white:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}





@media (max-width: 1024px) {
    .gov-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .pillars-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillar-card {
        padding: 60px;
        display: grid;
        grid-template-columns: 150px 1fr;
        gap: 60px;
        align-items: flex-start;
        text-align: right;
    }

    .pillar-tag {
        left: auto;
        right: 40px;
        transform: translateY(-50%);
    }

    .pillar-header {
        border-left: 1px solid var(--bg-subtle);
        padding-left: 20px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .pillar-card .pillar-header {
        border-color: rgba(255, 255, 255, 0.2);
    }

    .strategy-split {
        flex-direction: row;
        gap: 30px;
        margin-top: 0;
    }

    .strat-line {
        width: 1px;
        height: auto;
        min-height: 100px;
    }
}

@media (max-width: 768px) {
    .pillar-card {
        display: flex;
        flex-direction: column;
        padding: 50px 30px 40px;
        gap: 0;
        text-align: center;
        align-items: center;
        border-radius: 20px;
    }

    .pillar-header {
        border-left: none;
        padding-left: 0;
        margin-bottom: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .pillar-body p {
        margin-top: 0px;
    }

    .strategy-split {
        flex-direction: column;
        gap: 25px;
    }

    .strat-line {
        width: 100%;
        height: 1px;
        min-height: 1px;
    }

    .pillar-values li {
        justify-content: center;
        text-align: center;
    }

    .pillar-tag {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        margin-bottom: 0;
        white-space: nowrap;
    }
}

.program-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto;
    gap: 30px;
    margin-top: 50px;
}

.bento-card {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 40px 35px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .bento-card:not(.phase-card):not(.training-programs) {
    background: var(--card-bg);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.phase-card {
    grid-column: span 4;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    border: none;
}

.phase-card .pillar-tag {
    position: absolute;
    top: 0;
    left: 40px;
    right: auto;
    transform: translateY(-50%);
    background: white;
    color: var(--secondary);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    width: auto;
}


.phase-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.scope-card {
    grid-column: span 2;
    background: white;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
}

.levels-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.levels-card h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.info-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.bento-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phase-card h3,
.phase-card .phase-content h3 {
    color: white !important;
    font-size: 1.6rem;
    margin-bottom: 20px;
    opacity: 1 !important;
    visibility: visible !important;
}

.scope-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scope-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.check-icon {
    color: var(--secondary);
    font-weight: bold;
    background: rgba(16, 172, 37, 0.08);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.levels-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 35px;
    width: 100%;
    gap: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex: 0 0 100px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.step-circle.filled {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 172, 37, 0.3);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 21px;
    margin-left: -40px;
    margin-right: -40px;
    z-index: 1;
    min-width: 20px;
    opacity: 0.8;
}

[data-theme="dark"] .step-line {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .step-circle {
    border-color: rgba(255, 255, 255, 0.1);
}

.step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    max-width: 100%;
}

[data-theme="dark"] .step span {
    color: var(--primary-light);
}


.standards-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.standards-bento-grid .bento-card {
    position: relative;
    overflow: visible;
}

.standard-main {
    grid-column: span 2;
    background: white;
    padding: 50px 40px 40px;
}

.standard-item {
    grid-column: span 2;
    background: white;
    padding: 50px 40px 40px;
}

.standard-action {
    grid-column: span 2;
    background: white;
    padding: 50px 40px 40px;
}

.standards-bento-grid .pillar-tag {
    position: absolute;
    top: 0;
    left: 40px;
    right: auto;
    transform: translateY(-50%);
    background: white;
    color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    white-space: nowrap;
    width: auto;
}



@media (max-width: 1024px) {
    .program-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .phase-card {
        grid-column: span 2;
    }

    .scope-card {
        grid-row: auto;
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .scope-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 0px;
        text-align: right;
    }

    .card-header {
        width: 100%;
    }

    .levels-card {
        grid-column: span 2;
    }

    .info-card {
        grid-column: span 1;
    }

    .timeline-card,
    .overview-card {
        grid-column: span 4;
    }
}

@media (max-width: 600px) {
    .levels-stepper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 20px;
    }

    .step-line {
        width: 2px;
        min-width: 2px;
        height: 30px;
        flex: none;
        margin: -15px 0;
    }

    .step {
        flex: none;
    }

    .scope-card {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .scope-list {
        display: flex;
        flex-direction: column;
        gap: 15px 0px;
        grid-template-columns: 1fr;
        text-align: right;
    }

    .scope-list li {
        justify-content: flex-start;
    }
}

.process-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-bento-grid .pillar-tag {
    position: absolute;
    top: 0;
    left: 40px;
    right: auto;
    transform: translateY(-50%);
}

.process-main-card {
    grid-column: span 4;
    background: white;
    padding: 60px 40px;
}

.process-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-top: 30px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 100px;
    text-align: center;
}

.process-step .num {
    width: 45px;
    height: 45px;
    background: var(--bg-subtle);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.process-step .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    max-width: 130px;
}

.process-arrow {
    color: var(--secondary);
    font-size: 1.2rem;
    opacity: 0.4;
    margin-top: 12px;
    flex-shrink: 0;
}

.training-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.training-bento-grid .pillar-tag {
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
}

.training-programs.spotlight {
    grid-column: span 1;
    background: var(--primary);
    color: white;
    padding: 50px 40px;
}

.training-programs h3 {
    color: white;
    margin-bottom: 25px;
}

.training-list-premium {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.training-list-premium li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.training-list-premium li span {
    color: var(--secondary);
}

.placeholder-container,
.news-placeholder {
    padding: 100px 40px;
    background: var(--bg-light);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 20px 20px;
    text-align: center;
    color: var(--text-muted);
}

.placeholder-card p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary);
    opacity: 0.8;
}

.contact-card {
    background: var(--primary);
    border-radius: 30px;
    padding: 60px;
    color: white;
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-item .label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.contact-item .value {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer {
    background: var(--bg-subtle);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-brand p {
    max-width: 400px;
    line-height: 1.8;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.nav-group h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-group ul {
    list-style: none;
}

.nav-group ul li {
    margin-bottom: 12px;
}

.nav-group ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-group ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .process-stepper {
        justify-content: center;
        gap: 75px;
    }

    .process-arrow {
        display: none;
    }

    .training-bento-grid {
        grid-template-columns: 1fr;
    }

    .training-bento-grid .pillar-tag {
        left: 40px;
        transform: translateY(-50%);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 40px 20px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 40px;
    }
}


.focus-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.focus-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.focus-image img:hover {
    transform: scale(1.02);
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-weight: bold;
}

.scroll-section {
    opacity: 0;
    transition: opacity 1s ease;
    will-change: opacity;
}

.scroll-section.visible {
    opacity: 1;
}

.entrance-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

.entrance-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal,
.fade-in,
.fade-in-delay,
.fade-in-delay-2 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

@media (max-width: 972px) {

    .section-grid,
    .focus-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    nav {
        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }

    [dir="ltr"] .header-actions {
        justify-self: end;
    }

    [dir="ltr"] .mobile-menu-toggle {
        justify-self: end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        overflow: hidden;
        z-index: 900;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.nav-active {
        height: 100vh;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .nav-links.nav-active li {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links.nav-active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.nav-active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.nav-active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.nav-active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.nav-active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links a {
        font-size: 1.8rem;
        padding: 15px;
        color: var(--primary);
        font-weight: 700;
    }

    .header-actions {
        display: flex;
        padding-right: 0;
        border-right: none;
        justify-self: end;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-self: end;
    }

    .logo {
        z-index: 1001;
    }

}

@media (max-width: 1024px) {
    .standards-bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .standard-main,
    .standard-item,
    .standard-action.spotlight {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .identity-header {
        margin-bottom: 40px;
    }

    .program-bento-grid,
    .standards-bento-grid {
        margin-top: 30px;
    }

    .standards-bento-grid {
        grid-template-columns: 1fr;
    }

    .standard-main,
    .standard-item,
    .standard-action {
        grid-column: span 2;
        padding: 40px 30px;
        text-align: center;
    }

    .bento-card h4 {
        justify-content: center;
    }


    .standards-bento-grid .pillar-tag,
    .phase-card .pillar-tag,
    .timeline-card .pillar-tag,
    .overview-card .pillar-tag,
    .process-main-card .pillar-tag,
    .training-bento-grid .pillar-tag {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .info-card {
        grid-column: span 2;
    }

    .timeline-card,
    .overview-card {
        grid-column: span 4;
    }
}

@media (max-width: 972px) {
    .hero-premium {
        height: auto;
        padding-top: var(--header-height);
    }

    .hero-overlay {
        height: 100vh;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 0;
    }

    .hero-main {
        min-height: calc(100vh - var(--header-height));
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 20px;
    }

    .hero-tag {
        margin: 0 auto 75px;
    }

    .hero-main h1 {
        font-size: clamp(2.2rem, 12vw, 3.8rem);
        margin-bottom: 50px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0px 50px;
    }

    .btn-hero-primary,
    .btn-hero-link {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }

    .hero-stats-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 60px 20px;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .stat-card {
        margin: 0;
        width: 100%;
        text-align: right;
    }

    @media (max-width: 660px) {
        .hero-stats-panel {
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 40px 15px;
        }

        .stat-card {
            text-align: center;
        }

        .stat-header {
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }

    .trust-labels {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .separator {
        width: 20px;
        display: block;
    }

    .hero-footer {
        padding: 40px 20px;
    }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px;
    z-index: 2000;
    transition: 0.3s;
}

.skip-link:focus {
    top: 0;
}

#pwa-install {
    color: var(--secondary);
    border-color: rgba(16, 172, 37, 0.2);
    display: none;
}

#pwa-install:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

@media (display-mode: standalone) {
    header {
        height: var(--header-height-scrolled);
        background: var(--glass);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }

    #pwa-install {
        display: none !important;
    }

    .hero-premium {
        height: calc(100vh - 20px);
    }
}

@media (max-width: 1175px) {
    #pwa-install {
        display: none !important;
    }
}

@media (max-width: 972px) {
    #pwa-install {
        display: flex !important;
    }
}

@media (max-width: 972px) and (display-mode: standalone) {
    #pwa-install {
        display: none !important;
    }
}