:root {
    --primary: #002e5d; /* Deep Navy */
    --secondary: #00a8cc; /* Teal */
    --accent: #d4af37; /* Gold */
    --dark: #05162a;
    --light-bg: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.95);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.12);
    --border-radius: 30px;
    --border-radius-sm: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--dark); 
    background: #fff;
    line-height: 1.7;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--primary); }
h3 { font-size: 1.4rem; margin-bottom: 1rem; font-weight: 700; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
p { margin-bottom: 1rem; font-size: 1.05rem; color: #4a5568; }

a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section { padding: 80px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* --- HERO SECTION & ANIMATION --- */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(0,46,93,0.95) 0%, rgba(0,46,93,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; color: rgba(255,255,255,0.9); line-height: 1.6; }

/* --- BUTTONS --- */
.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-gold { background: var(--accent); color: var(--primary); }
.btn-gold:hover { background: white; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); }

.btn-outline { background: transparent; border: 2px solid white; color: white; margin-left: 10px; }
.btn-outline:hover { background: white; color: var(--primary); }

.btn-blue { background: var(--primary); color: white; }
.btn-blue:hover { background: var(--secondary); }

.btn-text-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    margin-top: auto;
    padding-top: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-text-link:hover { color: var(--secondary); padding-left: 5px; }

/* --- HOME PAGE SECTIONS --- */
.who-we-are {
    background: white;
    text-align: center;
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}
.who-we-are p { max-width: 800px; margin: 0 auto 15px; font-size: 1.15rem; }
.who-we-are strong { color: var(--primary); }

/* --- FILTER NAVIGATION --- */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 46, 93, 0.05);
}

/* --- CARDS & GRID --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.flagship-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius-sm);
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.flagship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--secondary);
}

.flagship-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.flagship-card.show { animation: fadeIn 0.5s ease forwards; }
.flagship-card.hide { display: none; }

/* --- JOIN US SECTION STYLES --- */
.join-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.join-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--secondary);
}

.join-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.join-card h3 i { color: var(--secondary); }

.join-card ul {
    margin: 20px 0;
    flex-grow: 1;
}

.join-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.join-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 2px;
}

.join-subtext {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.join-cta-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.join-cta-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-office-box {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}
.contact-office-box h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.contact-office-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
}
.contact-office-list i {
    color: var(--accent);
    width: 25px;
    margin-top: 2px;
}
.office-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.channel-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    height: 100%;
}
.channel-card h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.channel-card h4 i { color: var(--primary); }
.channel-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.channel-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
}

.special-email {
    font-family: monospace;
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 4px;
    color: var(--primary);
}

.assurance-box {
    text-align: center;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--accent);
    margin-top: 60px;
}

/* --- PARTNERSHIPS SECTION SPECIFIC STYLES --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.partner-card {
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.partner-card.corporate {
    border-color: var(--accent);
}

.partner-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.partner-card h3 i {
    color: var(--secondary);
    background: rgba(0, 168, 204, 0.1);
    padding: 12px;
    border-radius: 50%;
    font-size: 1.2rem;
}

.partner-card.corporate h3 i {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

.partner-desc {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.partner-list {
    margin-bottom: 20px;
    flex-grow: 1;
}

.partner-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #444;
}

.partner-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
}

.partner-card.corporate .partner-list li::before {
    color: var(--accent);
}

.tiers-container {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tier-badge {
    background: #f0f0f0;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #ddd;
}

.partner-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-top: 10px;
    transition: var(--transition);
}

.partner-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.partner-promise-box {
    background: linear-gradient(135deg, var(--primary), #004080);
    color: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    margin-top: 60px;
}

.partner-promise-box h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

.partner-promise-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* --- NEWS & IMPACT SPECIFIC STYLES --- */
.news-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.news-date {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}
.news-tag {
    background: #eee;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.impact-metric-box {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.impact-metric-box h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}
.impact-metric-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.spell-bee-section {
    background: white;
    padding: 40px;
    border-radius: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}
.spell-bee-point {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.spell-bee-point:last-child { border-bottom: none; }
.spell-bee-point h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.spell-bee-point h4 i {
    color: var(--accent);
    font-size: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    font-size: 0.85rem;
    transform: translateY(100%);
    transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(0, 168, 204, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    object-fit: cover;
}

/* --- ABOUT PAGE SPECIFIC --- */
.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.value-card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; }

.leader-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}
.leader-img {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 20px;
    border: 3px solid var(--accent);
}
.leader-role { color: var(--secondary); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; display: block; }

.impact-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-weight: 500;
}
.impact-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- PROGRAMS PAGE SPECIFIC --- */
.tab-sub-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary);
}
.impact-tags {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.impact-tag {
    background: rgba(0, 168, 204, 0.1);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}
.pro-dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}
.checklist li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.checklist li i {
    color: var(--accent);
    margin-right: 10px;
}
.letter-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* --- DIGITAL PAGE SPECIFIC --- */
.ecosystem-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 30px 0;
}
.ecosystem-item {
    background: white; border: 1px solid var(--secondary);
    color: var(--secondary); padding: 10px 20px; border-radius: 30px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}

.digital-feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    height: 100%;
}
.digital-feature-card h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--primary); }
.digital-feature-card ul { padding-left: 20px; }
.digital-feature-card li { margin-bottom: 10px; font-size: 0.95rem; position: relative; padding-left: 25px; }
.digital-feature-card li::before {
    content: '•'; color: var(--secondary); font-weight: bold; position: absolute; left: 0; top: 0;
}

.app-box {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 30px;
    border: 2px dashed var(--secondary);
    text-align: center;
    margin: 60px 0;
}
.app-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px;
}
.app-item { display: flex; align-items: center; gap: 10px; }

.security-box {
    background: var(--dark);
    color: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
}
.security-box h3 { color: var(--accent); }
.security-box p { color: rgba(255,255,255,0.8); }

.promise-box {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
}
.promise-box h3 { color: var(--secondary); font-size: 2rem; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* --- NAVIGATION & FOOTER --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 46, 93, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
    padding: 15px 0;
}
.navbar-container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.navbar-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 800; font-size: 1.5rem; color: white;
    display: flex; align-items: center; gap: 10px;
}
.navbar-menu { display: flex; list-style: none; gap: 2rem; }
.navbar-link { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.9rem; }
.navbar-link:hover, .navbar-link.active { color: var(--accent); }
.navbar-cta {
    background: var(--accent); color: var(--primary);
    padding: 0.7rem 1.5rem; border-radius: 50px; font-weight: 700;
    border: none; cursor: pointer;
}
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* --- TABS FOR DETAILED PROGRAMS SECTION --- */
.tabs-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
    padding: 10px 20px; border: 1px solid var(--primary); border-radius: 30px;
    background: transparent; color: var(--primary); font-weight: 600; cursor: pointer;
    font-size: 0.9rem;
}
.tab-btn.active, .tab-btn:hover { background: var(--primary); color: white; }
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .navbar-menu {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: var(--primary); flex-direction: column; padding: 20px;
        transform: translateY(-150%); transition: var(--transition);
    }
    .navbar-menu.active { transform: translateY(0); }
    .mobile-menu-btn { display: block; }
    .grid-2 { grid-template-columns: 1fr; }
    .hero { padding-top: 120px; }
    .pro-dev-grid { grid-template-columns: 1fr; }
}

/* --- FOOTER STYLES (missing from original) --- */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}
