/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --bg-dark: #050511;
    --card-bg: #0f0f1a;
    --text-white: #ffffff;
    --text-grey: #a0a0b0;
    --primary-gradient: linear-gradient(90deg, #F666E3 0%, #FA9A85 100%);
    --neon-pink: #FF6B95;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; border-radius: 20px; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.section { padding: 100px 0; }
.center { text-align: center; margin-bottom: 60px; }

.section-tag {
    color: #EE58C5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 17, 0.95); /* semi-transparent background */
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}
.nav-links li a:hover {
    color: #4CAF50; /* highlight on hover */
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; font-style: italic; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 600; color: white; opacity: 0.8; }
.nav-links a:hover, .active-link { opacity: 1; color: #FA9A85; }
.nav-btn {
    background: var(--primary-gradient);
    padding: 10px 24px;
    border-radius: 50px;
    opacity: 1 !important;
}

/* =========================================
   HERO & HEADERS
   ========================================= */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header {
    padding: 140px 0 80px;
    background: radial-gradient(circle at top, #1a0b2e 0%, #050511 70%);
    text-align: center;
    position: relative;
}
.hero-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(246,102,227,0.15) 0%, rgba(5,5,17,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.badge {
    display: inline-block; padding: 8px 16px;
    border: 1px solid #FA9A85; border-radius: 50px;
    font-size: 11px; color: #FA9A85; text-transform: uppercase;
    margin-bottom: 25px; letter-spacing: 1px;
}
.hero h1 { font-size: 56px; font-weight: 800; margin-bottom: 24px; max-width: 900px; margin-inline: auto; }
.sub-headline { color: var(--text-grey); font-size: 18px; max-width: 600px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.breadcrumb { color: var(--text-grey); font-size: 14px; margin-bottom: 20px; }
.header-sub { font-size: 20px; color: white; max-width: 600px; margin: 0 auto; }

/* Standard Buttons */
.btn-primary {
    background: var(--primary-gradient);
    padding: 14px 32px; border-radius: 50px;
    font-weight: 700; color: white;
    
}
.btn-secondary {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 32px; border-radius: 50px;
    font-weight: 700; color: white;
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-3px); }

/* =========================================
   GRIDS & SECTIONS
   ========================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.text-link { color: #FA9A85; font-weight: 700; font-size: 14px; }

/* Stats Bar */
.stats-bar { background: var(--primary-gradient); padding: 40px 0; margin-top: -40px; position: relative; z-index: 10; }
.stats-grid { display: flex; justify-content: space-around; align-items: center; color: white; }
/* Fade + Slide Up animation for status items */
.stat-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.stat-item.show {
    opacity: 1;
    transform: translateY(0);
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-divider { height: 40px; width: 1px; background: rgba(255,255,255,0.3); }

/* =========================================
   HOME: SERVICE CARDS & PROCESS
   ========================================= */
.service-card {
    background: var(--primary-gradient);       padding: 40px;
    border-radius: 16px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.03);
}
.service-card:hover {
    transform: translateY(-5px);
    background: #141421;
}
.purple-circle {
    width: 50px; height: 50px;
    background: #25162b;
    border-radius: 50%;
    margin-bottom: 25px;
}
.service-card h3 { font-size: 20px; margin-bottom: 15px; color: white;}
.service-card p { color: var(--text-grey); font-size: 14px; line-height: 1.6; color: white; }

.process-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.process-box {
    background: var(--primary-gradient);    
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1;
    min-width: 150px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    transition: 0.3s;
    transform: translateY(30px);
}
.process-box:hover { border-color: #EE58C5; transform: translateY(-5px); }

.about-section h2 { font-size: 40px; margin-bottom: 20px; }
.about-section p { color: var(--text-grey); margin-bottom: 20px; font-size: 16px; }

/* Grid Layouts for About */
.grid-mv { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.large-card {
    background-size: cover; background-position: center; border-radius: 20px; padding: 50px;
    display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,0.1);
}
.checklist { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checklist div { font-weight: 600; display: flex; align-items: center; gap: 10px; color: white; }
.right-col-cards { display: flex; flex-direction: column; gap: 30px; }
.color-card {
    padding: 40px; border-radius: 20px; color: white; flex: 1;
    display: flex; flex-direction: column; justify-content: center;
}
.purple-card { background-color: #7F00FF; }
.pink-card { background-color: #FF6B95; }
.card-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; opacity: 0.8; }

/* Team Cards */
.small-grid { max-width: 800px; margin: 0 auto; }
.team-card {
    background: #121225; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); text-align: center; padding-bottom: 20px; transition: 0.3s;
}
.team-card:hover { transform: translateY(-5px); border-color: #EE58C5; }
.team-img-holder { width: 100%; height: 300px; overflow: hidden; margin-bottom: 20px; }
.team-img-holder img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.3s; }
.team-card:hover img { filter: grayscale(0%); }
.team-info h3 { font-size: 20px; margin-bottom: 5px; }
.team-info p { color: #EE58C5; font-weight: 600; font-size: 14px; }

/* =========================================
   PORTFOLIO PAGE STYLES
   ========================================= */
.portfolio-card {
    background: #121225; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; position: relative;
}
.portfolio-card:hover { transform: translateY(-5px); border-color: #EE58C5; box-shadow: 0 10px 30px rgba(238, 88, 197, 0.15); }
.portfolio-img { height: 200px; width: 100%; position: relative; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.funding-badge {
    position: absolute; bottom: 15px; right: 15px; background: var(--primary-gradient);
    color: white; padding: 5px 15px; border-radius: 50px; font-size: 12px; font-weight: 700;
}
.portfolio-content { padding: 25px; }
.portfolio-content h3 { font-size: 20px; margin-bottom: 10px; color: white; }
.p-desc { font-size: 14px; color: var(--text-grey); margin-bottom: 20px; line-height: 1.5; }
.impact-box { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 10px; border-left: 3px solid #FA9A85; }
.impact-label { display: block; font-size: 10px; font-weight: 800; color: #FA9A85; margin-bottom: 5px; letter-spacing: 1px; }
.impact-box p { font-size: 13px; color: white; font-weight: 500; margin-bottom: 0; }


.grid-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: flex-start; } 
.contact-desc { color: var(--text-grey); margin-bottom: 40px; } 
.info-items { display: flex; flex-direction: column; gap: 30px; margin-bottom: 50px; } 
.info-box { display: flex; align-items: center; gap: 20px; } 
.icon-circle-small { width: 50px; height: 50px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; flex-shrink: 0; } 
.info-text h4 { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; color: white; } 
.info-text p { color: var(--text-grey); font-size: 15px; margin-bottom: 0; }
.social-label { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: white; } 
.social-icons { display: flex; gap: 15px; } .social-icons a { width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: black; transition: 0.3s; font-size: 18px; } 
.social-icons a:hover { background: #EE58C5; color: white; transform: translateY(-3px); }
 

/* Contact Form */ 
.contact-form-container { background: #121225; padding: 50px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); } 
.contact-form-container h3 { font-size: 28px; margin-bottom: 10px; } 
.form-sub { color: var(--text-grey); margin-bottom: 30px; font-size: 14px; } 
.styled-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; } 
.styled-form input, .styled-form select, 
.styled-form textarea { width: 100%; background: #0A0A18; border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 8px; color: white; font-family: var(--font-main); font-size: 14px; transition: border 0.3s; }
.styled-form input:focus, 
.styled-form select:focus, 
.styled-form textarea:focus { outline: none; border-color: #EE58C5; }
.styled-form select { color: var(--text-grey); } 
.input-group { margin-bottom: 20px; } 
.checkbox-group {
    display: flex;
    align-items: center;  /* Vertically center checkbox with text */
    gap: 10px;            /* Space between checkbox and label text */
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-grey);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffffff; /* checkbox color */
    flex-shrink: 0;        /* prevent shrinking */
}

.checkbox-group label {
    display: inline;       /* keep label inline with checkbox */
    line-height: 1.3;
}

.checkbox-group a {
    color: white;
    text-decoration: underline;
}
.map-section { width: 100%; line-height: 0; margin-top: 0; }

/* =========================================
   LEGAL PAGE STYLES
   ========================================= */
.legal-container { padding: 150px 20px 80px; max-width: 800px; margin: 0 auto; }
.legal-container h1 { font-size: 42px; margin-bottom: 10px; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.last-updated { color: var(--text-grey); font-size: 14px; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.legal-content p { margin-bottom: 25px; color: #d1d1e0; font-size: 16px; line-height: 1.8; }
.legal-content strong { color: white; font-size: 18px; display: block; margin-bottom: 10px; }

/* =========================================
   FOOTER (Updated to Match Screenshot)
   ========================================= */
footer { padding: 50px 0; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: center; 
    font-size: 14px; 
    color: var(--text-grey); } 
.footer-links { margin-top: 15px; }
.footer-links a { margin: 0 10px; color: var(--text-white); }

/* =========================================
   RESPONSIVE
   ========================================= */
.map-section { width: 100%; line-height: 0; margin-top: 0; }

@media (max-width: 900px) {
    .grid-2, .grid-contact, .grid-cta, .grid-mv { grid-template-columns: 1fr; gap: 50px; }
    .hero h1 { font-size: 36px; }
    .process-row { flex-direction: column; }
    .stats-bar { display: none; }
    .nav-links { display: none; }
    
    /* Footer Responsive */
    .footer-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand p { margin: 20px auto; }
    .footer-socials { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* =========================================
   VIDEO HERO FIXES
   ========================================= */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    background: #000;
}

.video-iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: cover;
}

/* Ensure iframes scale to cover */
@media (min-aspect-ratio: 16/9) {
    .video-iframe { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    .video-iframe { width: 177.78vh; }
}

.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5, 5, 17, 0.75); /* Darken video */
    z-index: -1;
}

.hero-content { position: relative; z-index: 1; }
/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 5px;
    }

    /* Hide nav links by default on mobile */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #050511;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 15px;
        border-radius: 10px;
    }

    .nav-links.active {
        display: flex;
    }
}


.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: flex;
}
