/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary: #1a365d;
    --accent: #f59e0b;
    --secondary: #0f766e;
    --light: #f3f4f6;
    --dark: #111827;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 2rem;
    font-size: 0.85rem;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--accent);
}

.top-bar a {
    color: white;
}

.top-bar a:hover {
    color: var(--accent);
}

/* ===================== HEADER ===================== */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-with-topbar {
    top: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===================== HAMBURGER MENU ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
}

.mobile-nav-links a i {
    width: 24px;
    color: var(--secondary);
}

.mobile-nav-links a:hover {
    color: var(--accent);
}

/* ===================== BUTTONS ===================== */
.btn-donate {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-donate:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-donate:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--primary);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===================== SECTIONS ===================== */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================== GRID & CARDS ===================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--accent);
    gap: 10px;
}

/* ===================== MISSION/VISION ===================== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.mv-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mv-box:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================== PROJECTS SLIDER ===================== */
.projects-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.projects-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
}

.projects-slider::-webkit-scrollbar {
    display: none;
}

.projects-slider .card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===================== PARTNERS ===================== */
.partners-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    background: white;
}

.partners-track {
    display: inline-block;
    animation: slide 30s linear infinite;
}

.partner-logo {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===================== CONTACT ===================== */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 4rem;
    background: var(--gradient);
    color: white;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-form {
    padding: 4rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ===================== DONATION PAGE ===================== */
.donation-container {
    max-width: 800px;
    margin: 120px auto 5rem;
    padding: 0 1rem;
}

.donation-box {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.donation-box h1 {
    margin-bottom: 0.5rem;
}

.amount-presets {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.preset-btn {
    padding: 12px 20px;
    border: 2px solid #eee;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.preset-btn.active,
.preset-btn:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff8eb 0%, #fef3c7 100%);
    color: var(--accent);
    transform: scale(1.05);
}

.custom-amount-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1.5rem 0;
}

.custom-amount-input .currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.custom-amount-input input {
    width: 200px;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    font-family: inherit;
}

.custom-amount-input input:focus {
    outline: none;
    border-color: var(--accent);
}

.amount-display {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin: 1.5rem 0;
}

.currency-badge {
    display: inline-block;
    background: var(--light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-col p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #9ca3af;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #6b7280;
}

/* ===================== DROPDOWN ===================== */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    list-style: none;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: var(--dark) !important;
    border-radius: 6px;
}

.dropdown-content a:hover {
    background: var(--light);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        min-height: 80vh;
        margin-top: 70px;
    }

    section {
        padding: 3rem 1rem;
    }

    .mv-grid {
        gap: 1.5rem;
    }

    .mv-box {
        padding: 2rem 1.5rem;
    }

    .donation-container {
        margin-top: 100px;
        padding: 0 1rem;
    }

    .donation-box {
        padding: 2rem 1.5rem;
    }

    .preset-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .footer-container {
        gap: 2rem;
    }

    .projects-slider .card {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .amount-presets {
        gap: 0.5rem;
    }

    .preset-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .custom-amount-input input {
        width: 150px;
        font-size: 1.2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a,
    .footer-contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}