/* ============ SHARED INNER PAGES ============ */
body.inner-page {
    background: linear-gradient(160deg, #0d2448 0%, #1a3a6e 50%, #0d2448 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    padding-top: 72px !important;
    font-family: 'Cairo', sans-serif !important;
    color: #e2e8f0 !important;
    display: block !important;
    height: auto !important;
}

.page-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; pointer-events: none; opacity: 0.6;
}

.container {
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
    position: relative; z-index: 10;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8, #7c3aed);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- HERO ---- */
.page-hero {
    position: relative; z-index: 10;
    padding: 90px 5% 80px;
    text-align: center; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.3);
    color: #38bdf8; font-size: 13px; font-weight: 700;
    padding: 7px 18px; border-radius: 20px; margin-bottom: 24px;
}
.page-hero-title {
    font-size: clamp(28px, 5vw, 56px) !important; font-weight: 800 !important;
    color: #ffffff !important; line-height: 1.3 !important; margin-bottom: 20px !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(56,189,248,0.2) !important;
    -webkit-text-fill-color: unset !important;
}
.page-hero-title .gradient-text {
    background: linear-gradient(135deg, #38bdf8, #a78bfa) !important;
    -webkit-background-clip: text !important; background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
.page-hero-sub {
    font-size: 17px; color: rgba(255,255,255,0.7);
    max-width: 600px; margin: 0 auto; line-height: 1.8;
}

/* ---- SECTIONS ---- */
.content-section {
    position: relative; z-index: 10;
    padding: 80px 0;
}
.content-section.alt-bg {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(56,189,248,0.08);
    border-bottom: 1px solid rgba(56,189,248,0.08);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-block;
    color: #38bdf8; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(24px, 3.5vw, 38px); font-weight: 800;
    color: #fff; line-height: 1.3;
}

/* ---- TWO COLUMN ---- */
.two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.col-text p { color: rgba(255,255,255,0.72); line-height: 1.9; margin-bottom: 16px; font-size: 15.5px; }

/* ---- STATS ROW ---- */
.stats-row { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num {
    display: block; font-size: 36px; font-weight: 800;
    background: linear-gradient(135deg, #38bdf8, #7c3aed);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---- VISUAL CARD ---- */
.visual-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(56,189,248,0.2);
    border-radius: 28px; padding: 40px;
    position: relative; overflow: hidden;
}
.visual-icon-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.vi-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 22px 16px; border-radius: 18px;
    font-size: 28px; color: #fff;
    transition: transform 0.3s ease;
}
.vi-item:hover { transform: translateY(-4px); }
.vi-item span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); }
.vi-blue   { background: rgba(14,165,233,0.18); border: 1px solid rgba(14,165,233,0.3); }
.vi-purple { background: rgba(124,58,237,0.18); border: 1px solid rgba(124,58,237,0.3); }
.vi-green  { background: rgba(5,150,105,0.18);  border: 1px solid rgba(5,150,105,0.3); }
.vi-amber  { background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.3); }
.visual-center-badge {
    margin-top: 20px; text-align: center;
    padding: 14px; border-radius: 16px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
}

/* ---- VALUE CARDS ---- */
.cards-grid-4 {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.value-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 22px; padding: 28px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(56,189,248,0.15);
    border-color: rgba(56,189,248,0.3);
}
.value-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.value-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* ---- FOUNDER ---- */
.founder-section { display: flex; justify-content: center; }
.founder-card-large {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(56,189,248,0.25);
    border-radius: 32px; padding: 48px 40px;
    text-align: center; max-width: 640px; width: 100%;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ---- PARTNERS LOGOS ---- */
.partners-logos {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.partner-logo-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px; padding: 24px 32px;
    min-width: 160px; transition: all 0.3s ease;
}
.partner-logo-item:hover {
    transform: translateY(-4px); border-color: rgba(56,189,248,0.4);
    background: rgba(56,189,248,0.08);
}
.partner-logo-item span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); text-align: center; }

/* ---- PROJECTS PAGE ---- */
.projects-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.project-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 24px; overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(56,189,248,0.18);
    border-color: rgba(56,189,248,0.35);
}
.project-card-img {
    height: 180px; display: flex; align-items: center; justify-content: center;
    font-size: 48px; position: relative; overflow: hidden;
}
.project-card-body { padding: 24px; }
.project-tag {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px;
}
.project-card-body h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.project-card-body p  { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 16px; }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.project-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.55); }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- PUBLIC FOOTER ---- */
.public-footer {
    position: relative; z-index: 10;
    background: rgba(13, 36, 72, 0.95);
    border-top: 1px solid rgba(56,189,248,0.15);
    padding: 60px 0 0;
    margin-top: 80px;
}
.footer-inner { }
.footer-cols {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(56,189,248,0.1);
}
.footer-col > p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.25s; }
.footer-col ul li a:hover { color: #38bdf8; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.25);
    color: #38bdf8; display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 14px; transition: all 0.25s;
}
.footer-socials a:hover { background: rgba(56,189,248,0.25); transform: translateY(-2px); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li i { color: #38bdf8; margin-top: 4px; min-width: 16px; }
.footer-bottom-bar {
    padding: 20px 0; text-align: center;
}
.footer-bottom-bar p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-bar a { color: #38bdf8; text-decoration: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .cards-grid-4, .projects-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .page-hero { padding: 60px 5% 50px; }
    .stats-row { gap: 20px; }
}
