
/* ===== IMPROVED CSS VARIABLES ===== */
:root {
    /* Brand Colors - Aligned with NPS Vision */
    --primary: #2563eb;        /* Professional blue */
    --secondary: #0891b2;      /* Teal blue */
    --accent: #06b6d4;         /* Cyan accent */
    --dark: #1e293b;          /* Dark slate */
    --light: #f8fafc;         /* Light gray */
    --white: #ffffff;
    
    /* Legacy support - updated to match */
    --nps-red: #2563eb;        /* Now blue */
    --nps-green: #0891b2;      /* Now teal */
    
    /* Enhanced Gray Scale */
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #000000;
    
    /* Legacy support */
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    
    /* Improved Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow: 0 10px 30px rgba(0,0,0,0.1); /* Legacy support */
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--dark));
    --gradient-light: linear-gradient(135deg, var(--gray-50), var(--white));
    
    /* Typography Scale */
    --font-family-base: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}
h1, h2 ,h3{
    font-weight: 700!important;
    /* line-height: var(--line-height-tight); */
    /* margin-bottom: var(--space-md); */
    color: var(--gray-900);
}
/* 
h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); } */
.container {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header with glassmorphism */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::before {
    width: 100%;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-dark);
    cursor: pointer;
}

/* Hero Section with background image */
.hero {
    min-height: 100vh;
    /* Fallback gradient */
    background: var(--gradient-primary);
    /* Multiple image format support with overlay */
    background: 
        linear-gradient(rgba(214, 40, 40, 0.7), rgba(42, 157, 143, 0.7)),
        url('../assets/images/backgrounds/hero-bg.svg'),
        url('../assets/images/backgrounds/hero-bg.jpg'),
        url('../assets/images/backgrounds/hero-bg.webp'),
        var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff10" points="0,0 500,300 1000,0 1000,1000 0,1000"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5), 0 0 20px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out;
}

.hero .tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin: 2rem 0;
    padding: 1rem;
    border-left: 4px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    animation: slideInUp 1s ease-out 0.6s both;
}

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

/* Modern buttons with hover effects */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Section animations */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background: var(--gradient-secondary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.skill-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.skill-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Cards with modern design */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.highlights-grid,
.features-grid,
.eligibility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item,
.feature-item,
.eligibility-item {
    text-align: center;
    position: relative;
}

.highlight-item .icon,
.feature-item .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.highlight-item:hover .icon,
.feature-item:hover .icon {
    transform: scale(1.1);
    color: var(--accent);
}

.highlight-item h3,
.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.highlight-item p,
.feature-item p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Feature items with gradient backgrounds */
.feature-item {
    background: var(--gradient-primary);
    color: white;
}

.feature-item .icon {
    color: white;
}

.feature-item h3 {
    color: white;
}

/* Eligibility cards */
.eligibility-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    text-align: left;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.eligibility-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.eligibility-item .icon {
    font-size: var(--font-size-4xl);
    color: var(--secondary);
    min-width: 80px;
}

.eligibility-item h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.eligibility-item p {
    color: var(--gray-700);
    margin-bottom: 0;
}


/* Application process timeline */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2.5rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.step-number {
    background: var(--white);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.testimonial .author {
    font-weight: 600;
    color: var(--primary);
}

/* Contact Section */
.contact {
    background: var(--gradient-secondary);
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.contact-item .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--gray-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 600;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--light);
    transform: translateX(5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade-up animation for skill items */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        padding: 2rem 0;
        background-attachment: scroll; /* Fixed attachment can cause issues on mobile */
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* NPS Brand Text Styling */
.nps-brand-text {
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.nps-brand-text:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}


/* Apply Now Button Styles */
.apply-now-btn {
    animation: color-cycle 3s infinite;
    color: white !important;
    font-weight: bold !important;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.apply-now-btn:hover {
    transform: scale(1.05);
    animation-duration: 1.5s;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes color-cycle {
    0% { 
        background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    16.66% { 
        background: linear-gradient(45deg, #4ecdc4, #44b3aa);
        box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    }
    33.33% { 
        background: linear-gradient(45deg, #45b7d1, #357abd);
        box-shadow: 0 4px 15px rgba(69, 183, 209, 0.4);
    }
    50% { 
        background: linear-gradient(45deg, #96ceb4, #7db999);
        box-shadow: 0 4px 15px rgba(150, 206, 180, 0.4);
    }
    66.66% { 
        background: linear-gradient(45deg, #feca57, #ff9f43);
        box-shadow: 0 4px 15px rgba(254, 202, 87, 0.4);
    }
    83.33% { 
        background: linear-gradient(45deg, #ff7675, #e84393);
        box-shadow: 0 4px 15px rgba(255, 118, 117, 0.4);
    }
    100% { 
        background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .nps-brand-text {
        font-size: 1.5rem !important;
    }
    
    .apply-now-btn {
        animation: pulse-glow 3s infinite;
    }
}
