:root {
    --primary-color: #284D5F;
    --secondary-color: #DB9C35;
    --accent-color: #e5a50a;
    --light-color: #f6f5f4;
    --dark-color: #466577;
    --text-color: #333;
    --light-text: #777;
    --color-1: rgb(255 255 255);
    --color-2: rgb(70 101 119);
    --color-3: rgb(40 77 95);
    --color-4: rgb(219 156 53);
    --color-5: rgba(219, 156, 53, 0.8);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* HEADER STYLES */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

/* LOGO SECTION */
.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.site-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2563eb;
    display: block;
}

.logo-container h2 {
    font-size: 18px;
    color: #1e293b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.3;
    white-space: nowrap;
}

/* NAVIGATION - DESKTOP */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 4px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.main-nav a:hover {
    color: #2563eb;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: #2563eb;
    font-weight: 700;
}

.main-nav a.active::after {
    width: 100%;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 8px;
    position: relative;
    z-index: 1001;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: #f1f5f9;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1e293b;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 8px;
}

.menu-toggle span:nth-child(1) {
    top: 14px;
}

.menu-toggle span:nth-child(2) {
    top: 20px;
}

.menu-toggle span:nth-child(3) {
    top: 26px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 20px;
    background: #ef4444;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 20px;
    background: #ef4444;
}

/* MOBILE NAVIGATION */
@media screen and (max-width: 991px) {
    .header-container {
        padding: 0 20px;
        height: 70px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 10px;
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .main-nav ul {
        background-color: var(--color-1);
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 3px solid #e2e8f0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .main-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .main-nav li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav li:nth-child(6) { transition-delay: 0.35s; }
    
    .main-nav a {
        display: block;
        padding: 20px 16px;
        font-size: 18px;
        color: var(--color-4);
        text-align: center;
        border-radius: 8px;
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .logo-container h2 {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .site-logo {
        width: 48px;
        height: 48px;
    }
}

/* TABLET STYLES */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .header-container {
        padding: 0 32px;
    }
    
    .logo-container h2 {
        font-size: 17px;
    }
}

/* SMALL MOBILE */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 16px;
        height: 64px;
    }
    
    .main-nav {
        top: 64px;
        height: calc(100vh - 64px);
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .logo-container h2 {
        font-size: 14px;
        letter-spacing: 0.8px;
    }
    
    .site-logo {
        width: 44px;
        height: 44px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
}

/* LARGE DESKTOP */
@media screen and (min-width: 1400px) {
    .header-container {
        padding: 0;
    }
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}


/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

/* Video with reduced opacity */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.7; /* Reduce video brightness */
}

/* Black transparent overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% black overlay */
    z-index: -1;
}

/* Your original gradient (now on top of black overlay) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--color-3), rgba(5, 4, 2, 0.3));
    z-index: -1;
    mix-blend-mode: overlay; /* Optional: blend modes for better effect */
}


.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--dark-color);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Section Styling */
section {
    padding: 0px 0;
}

.light-bg {
    background-color: var(--color-5);
    padding-bottom: 40px;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 20px;
}
#about .container .section-title img{
    height: 240px;
    border-radius: 100%;
    position: relative;
    align-content: center;
    padding: 0px;
    margin-bottom: none;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    align-content: center;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 20px;
}

.section-content {
    max-width: auto;
    margin: 0;
}

.vision-content p, .mission-content p {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
    padding-bottom: 20px;
}

.about-content p {
    margin: 5px;
    font-size: 1.0rem;
    line-height: 1.5;
    text-align: justify;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-category {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-category:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    color: white;
}

.program-category h3, {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(38, 162, 105, 0.2);
}


.program-items {
    list-style: none;
}

.program-items li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.program-items li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Support Section */
.support-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0 50px;
}

.reason {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.reason:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    color: white;
}

.reason i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reason p {
    color: var(--color-3);
}

.support-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px;
    padding-bottom: 20px;
}

/* Contact Form */
/* Add these styles to your existing CSS */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group label::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #e74c3c;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: super;
    opacity: 0.7;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.02);
}

.form-group input.success,
.form-group textarea.success,
.form-group select.success {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.02);
}

/* Error Message Styling */
.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

/* Form Message Box */
.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block !important;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block !important;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Netlify Honeypot */
.contact-form .hidden {
    display: none;
}

/* Submit Button with Loader */
.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
}

.submit-btn:hover:not(:disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Spinner Animation */
.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    animation: rotate 2s linear infinite;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Required Note */
.required-note {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Success Animation */
@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.success-pulse {
    animation: successPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Focus styles for accessibility */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state for form */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Footer */
footer {
    background-color: var(--color-3);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: var(--color-4);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--color-4);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-4);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .support-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        min-width: 100%;
    }
}

/* Projects Carousel */
.projects-section {
    padding: 10px 0;
    background-color: #fff;
}
.projects-section h2 {
    text-align: center;
    margin-bottom: 40px;
}
.projects-section h3{
    text-align: center;
    padding: 10px;
}
.projects-section p {
    font-size: 1.0rem;
    line-height: 1.5rem;
    padding-bottom: 20px;
    padding-bottom: 20px;
    text-align: justify;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 5px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 30s linear infinite;
    animation-play-state: running;
}

.carousel-track.paused {
    animation-play-state: paused;
}

.carousel-track img {
    width: auto;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 0;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-track img:hover {
    transform: scale(1.02);
}

/* Keyframe animation with pause */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    90% {
        transform: translateX(calc(-340px * 6));
    }
    100% {
        transform: translateX(calc(-340px * 6));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-track img {
        width: 280px;
        height: 200px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        90% {
            transform: translateX(calc(-300px * 6));
        }
        100% {
            transform: translateX(calc(-300px * 6));
        }
    }
}

@media (max-width: 480px) {
    .carousel-track img {
        width: 240px;
        height: 180px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        90% {
            transform: translateX(calc(-260px * 6));
        }
        100% {
            transform: translateX(calc(-260px * 6));
        }
    }
}



.simple-impact {
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
}

.simple-impact h2 {
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.simple-numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 0px;
  flex-wrap: wrap;
}

.simple-item {
  padding: 10px;
  transition: transform 0.3s;
}

.simple-item:hover {
  transform: translateY(-5px);
}

.simple-item i {
  font-size: 2.5rem;
  color: #db9c35;
  margin-bottom: 5px;
}

.simple-count {
  font-size: 2.5rem;
  font-weight: bold;
  color: #284d5f;
  }

.simple-item p {
  color: #666;
  font-size: 1.1rem;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  justify-content: center;
}

#fulll .gallery, .gallery img {
  height: auto;
  display: block;
  padding-bottom: 20px;
}

@media (max-width: 1023px) {
  .gallery img {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .gallery img {
    width: calc(40% - 8px); /* 50% minus nusu ya gap */
  }
}

@media (min-width: 1024px) {
  #fulll .gallery img {
display: none;
  }
}