/* styles.css */
:root {
    --npig-blue: #2B5A84;    /* Primary Brand Blue */
    --npig-blue-light: #3A7BB2;
    --npig-blue-dark: #1D4362;
    --npig-black: #000000;   /* Secondary Black */
    --npig-white: #FFFFFF;
    --npig-gray: #F5F7FA;
    --npig-gray-dark: #E1E5EB;
    --text-main: #333333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 12px rgba(43, 90, 132, 0.08);
    --shadow-md: 0 10px 30px rgba(43, 90, 132, 0.15);
    --shadow-lg: 0 20px 50px rgba(43, 90, 132, 0.2);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--npig-white);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== HEADER IMPROVEMENTS ===== */
header {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(43, 90, 132, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    padding: 15px 5%;
    background: rgba(43, 90, 132, 0.98);
    box-shadow: var(--shadow-md);
}

.logo a {
    display: inline-block;
    transition: var(--transition);
}



.logo a:hover {
    transform: translateY(-2px);
}

.brand-logo { 
    height: 60px; 
    width: auto; 
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

header.scrolled .brand-logo {
    height: 50px;
}

/* Navigation Improvements */
.nav-container { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--npig-white);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--npig-white);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover { 
    opacity: 1; 
    transform: translateY(-2px);
}

/* CTA Buttons Improvements */
.cta-group { 
    display: flex; 
    gap: 12px; 
}

.btn-pill {
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    font-size: 0.85rem;
    transition: var(--transition);
    background: var(--npig-black);
    color: var(--npig-white);
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pill:hover { 
    transform: translateY(-3px); 
    box-shadow: var(--shadow-md);
}

.btn-pill.primary {
    background: var(--npig-white);
    color: var(--npig-blue);
    border-color: var(--npig-white);
}

.btn-pill.primary:hover {
    background: transparent;
    color: var(--npig-white);
}

.btn-pill.secondary {
    background: transparent;
    color: var(--npig-white);
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--npig-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ===== HERO SECTION IMPROVEMENTS ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 140px 5% 80px;
    gap: 60px;
    background: linear-gradient(135deg, var(--npig-blue) 0%, var(--npig-blue-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--npig-white);
}

.hero-text h1 span {
    display: block;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(45deg, var(--npig-white) 30%, #A8D0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 500px;
    opacity: 0.9;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Improved Image Composition */
.image-composition {
    position: relative;
    height: 600px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-img {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 6px solid transparent;
    background: var(--npig-white);
    transform-origin: center;
}

.tilt-img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10 !important;
    border-color: var(--npig-white);
}

.img-1 { 
    width: 300px; 
    height: 380px; 
    top: 10%; 
    right: 10%; 
    transform: rotate(-8deg); 
    z-index: 1; 
}

.img-2 { 
    width: 360px; 
    height: 420px; 
    bottom: 5%; 
    left: 5%; 
    transform: rotate(6deg); 
    z-index: 2; 
    border-color: var(--npig-blue-light);
}

.img-3 { 
    width: 280px; 
    height: 300px; 
    top: 40%; 
    right: 0; 
    transform: rotate(-4deg); 
    z-index: 0; 
}

.img-4{
    width: 280px; 
    height: 300px; 
    top: 40%; 
    right: 0; 
    transform: rotate(-4deg); 
    z-index: 0; 

}

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

.tilt-img:hover img {
    transform: scale(1.1);
}

/* ===== CONTENT SECTION IMPROVEMENTS ===== */
.content-section {
    padding: 100px 5%;
    background: var(--npig-white);
    position: relative;
}

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

.section-header h2 {
    font-size: 2.8rem;
    color: var(--npig-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--npig-blue);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--npig-gray);
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--npig-white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--npig-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero {
        gap: 40px;
    }
    
    .image-composition {
        height: 500px;
    }
    
    .img-1 { width: 250px; height: 320px; }
    .img-2 { width: 300px; height: 360px; }
    .img-3 { width: 230px; height: 250px; }
}

@media (max-width: 1024px) {
    .hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding-top: 160px;
        padding-bottom: 100px;
    }
    
    .hero-text p { 
        margin: 0 auto 40px; 
        max-width: 600px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .image-composition { 
        height: 450px; 
        max-width: 700px; 
        margin: 0 auto;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--npig-blue);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .cta-group {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 5% 80px;
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .image-composition {
        height: 400px;
    }
    
    .img-1, .img-2, .img-3 {
        width: 200px;
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-pill {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(var(--rotation)); }
    50% { transform: translateY(-20px) rotate(var(--rotation)); }
}

.tilt-img {
    --rotation: 0deg;
    animation: float 6s ease-in-out infinite;
}

.img-1 { --rotation: -8deg; animation-delay: 0s; }
.img-2 { --rotation: 6deg; animation-delay: 2s; }
.img-3 { --rotation: -4deg; animation-delay: 4s; }

/* Reveal Animation */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ===== FOOTER ENHANCEMENTS ===== */
footer {
    background: var(--npig-black);
    color: var(--npig-white);
    padding: 80px 5% 40px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    text-align: left;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--npig-blue);
    padding-left: 15px;
    color: var(--npig-white);
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.7;
    max-width: 300px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--npig-white);
    padding-left: 5px;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

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

.social-icons a:hover {
    color: var(--npig-blue);
    background: var(--npig-white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition);
}

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






/* Add to style.css after existing content */

/* ===== MISSION SECTION ===== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
}

.mission-card {
    padding: 40px 30px;
    border-radius: 15px;
    background: var(--npig-gray);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--npig-white);
    border-color: var(--npig-blue-light);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--npig-blue);
    margin-bottom: 20px;
    height: 70px;
    width: 70px;
    background: rgba(43, 90, 132, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: var(--npig-blue);
    margin-bottom: 15px;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 100px 5%;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 60px auto 0;
}

/* ... continue with all other sections from index.php ... */