/* VDO Charity - Premium Navbar & Payment Modal */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Oswald:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

:root {
    --primary-orange: #ff6b35;
    --secondary-orange: #ff8e53;
    --dark-bg: rgba(15, 15, 40, 0.98);
    --glass-border: rgba(255, 107, 53, 0.3);
    --glow-primary: 0 0 20px rgba(255, 107, 53, 0.6);
    --glow-hover: 0 0 30px rgba(255, 107, 53, 0.8);
    --text-light: #e0e0e0;
    --white-glow: 0 0 10px rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Premium Header/Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--glow-hover), 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom-width: 2px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 55px;
    filter: drop-shadow(var(--white-glow));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover {
    transform: scale(1.08) rotate(5deg);
    filter: drop-shadow(var(--glow-primary));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.4s ease;
    background: linear-gradient(45deg, transparent 0%, var(--primary-orange) 50%, transparent 100%);
    background-size: 0% 2px;
    background-position: bottom;
    background-repeat: no-repeat;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    text-shadow: var(--glow-primary);
    background-size: 100% 2px;
    transform: translateY(-2px) rotateX(15deg);
}

.nav-cta {
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white !important;
    padding: 0.8rem 2rem !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--glow-primary);
    border: none;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: pulse-glow 2s infinite;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.nav-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow-hover);
    background: linear-gradient(45deg, var(--secondary-orange), #ff6b9d);
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:active {
    transform: translateY(-2px) scale(1.02);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    box-shadow: var(--glow-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hamburger:hover span {
    box-shadow: var(--glow-hover);
}

/* Payment Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--dark-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--glow-hover), 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.2);
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
    font-family: 'Oswald', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: var(--glow-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    border: none;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: var(--glow-primary);
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-hover);
}

.secure-note {
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Hero - unchanged */
.hero {
    height: 100vh;
    background: url('VDO BG.png') no-repeat center center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 6, 9, 0.7);
    /* backdrop-filter: blur(2px); */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.6);
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.stat {
    text-align: center;
}

.stat i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.stat h3 {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0b0;
}

/* Sections */
section {
    padding: 6rem 0;
}

.about {
    background: rgba(26, 10, 46, 0.5);
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff6b35;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Impact */
.impact {
    text-align: center;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.impact-card i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.impact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Donation Section */
.donation {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f1423 100%);
    text-align: center;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donate-btn {
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid #ff6b35;
    color: #fff;
    padding: 1.5rem 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.donate-btn:hover {
    background: #ff6b35;
    transform: scale(1.05);
}

#custom-amount {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ff6b35;
    color: #fff;
    padding: 1.5rem;
    font-size: 1.5rem;
    border-radius: 15px;
    width: 200px;
    text-align: center;
}

/* Footer */
footer {
    background: rgba(10, 10, 26, 0.95);
    padding: 3rem 0 1rem;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-badges i {
    font-size: 2rem;
    color: #4ade80;
}

.footer-content p {
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #ff6b35;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--dark-bg);
        backdrop-filter: blur(30px);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 4rem 2rem;
        gap: 2rem;
        overflow-y: auto;
        border-top: 1px solid var(--glass-border);
        box-shadow: var(--glow-primary);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .nav-cta {
        position: sticky;
        bottom: 2rem;
        margin: 0 auto;
        order: 999;
        z-index: 10;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .donation-grid {
        grid-template-columns: 1fr 1fr;
    }

    #custom-amount {
        grid-column: span 2;
        width: 100%;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 107, 53, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#ff6b35, #ff8e53);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b35;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}