:root {
    --primary: #BAFF00;
    --secondary: #36F1CD;
    --accent-blue: #03A9F4;
    --accent-green: #4CAF50;
    --dark: #1A1D2E;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --text-muted: #6B7280;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --radius: 12px;
    --radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
    /* Black for better contrast on light header */
    filter: brightness(0);
}

.logo-k {
    background: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #a3d900;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(186, 255, 0, 0.2);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #2ddbb9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 29, 46, 0.7), rgba(26, 29, 46, 0.7)),
        url('assets/0.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tagline {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.impact-counter {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.counter-item {
    display: flex;
    flex-direction: column;
}

.counter-item .count {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.video-container {
    aspect-ratio: 16 / 9;
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== UNIFIED DONATION SECTION ===== */
.wompi-section {
    margin-bottom: 50px;
}

.wompi-card {
    background: var(--light);
    border: 2px solid var(--primary);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 15px 35px rgba(186, 255, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.btn-wompi {
    font-size: 1.25rem;
    padding: 18px 40px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(186, 255, 0, 0.3);
}

.wompi-bullets {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wompi-bullets span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.separator-text {
    text-align: center;
    margin: 40px 0;
    position: relative;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.separator-text::before,
.separator-text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e5e7eb;
}

.separator-text::before {
    left: 0;
}

.separator-text::after {
    right: 0;
}

.unified-form {
    max-width: 800px;
    margin: 0 auto;
}

.kit-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.kit-option {
    position: relative;
    text-align: center;
    padding: 30px 20px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    height: 100%;
}

.kit-option:hover {
    border-color: var(--primary);
    background: rgba(186, 255, 0, 0.03);
}

.kit-option.selected {
    border-color: var(--primary);
    background: rgba(186, 255, 0, 0.06);
    box-shadow: 0 8px 25px rgba(186, 255, 0, 0.15);
    transform: translateY(-5px);
}

.kit-option-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.kit-option h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.kit-option p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.kit-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.kit-option.selected .kit-check {
    background: var(--primary);
}

.form-fields {
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
    transition: all 0.5s ease;
    overflow: hidden;
    margin-top: 20px;
}

.hidden-fields {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
}

.visible-fields {
    max-height: 500px;
    opacity: 1;
    pointer-events: all;
}

.form-group {
    margin-bottom: 16px;
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

.form-footer-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: calc(33.333% - 14px);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.carousel-item:hover .video-thumb::after {
    background: rgba(0, 0, 0, 0.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.carousel-item:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-nav button {
    background: var(--dark);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-nav button:hover {
    background: var(--primary);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    opacity: 0.7;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-img {
    height: 30px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.social-img:hover {
    transform: translateY(-3px);
    opacity: 1;
    filter: brightness(1.2);
}

.footer-logo-img {
    height: 75px;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 29, 46, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--radius);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: var(--secondary);
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    pointer-events: auto;
}

.lightbox-nav button:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 991px) {

    .history-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .carousel-item {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .carousel-item {
        min-width: 100%;
    }

    .kit-selector {
        grid-template-columns: 1fr;
    }

    .unified-form {
        padding: 25px;
    }

    .lightbox-nav {
        padding: 0 20px;
    }

    .lightbox-nav button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}