* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1f2e;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2c7a4a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1f5a38;
}

/* Navbar Premium */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c7a4a 0%, #1f5a38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #2c7a4a;
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    margin: 0 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c7a4a, #43a047);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: #2c7a4a !important;
    transform: translateY(-2px);
}

/* Hero Section Premium */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f5e9 50%, #f8fafc 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/003_DRC.jpg.webp') center/cover no-repeat;
    opacity: 0.08;
    animation: slowZoom 20s infinite;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a2e2a 0%, #2c7a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2c7a4a;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #4a5568;
}

.btn-premium {
    background: linear-gradient(135deg, #2c7a4a, #1f5a38);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(44,122,74,0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44,122,74,0.4);
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid #2c7a4a;
    color: #2c7a4a;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-premium:hover {
    background: #2c7a4a;
    color: white;
    transform: translateY(-3px);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: rgba(44,122,74,0.1);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a2e2a, #2c7a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Cards */
.premium-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c7a4a, #43a047);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6d9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: #2c7a4a;
}

.premium-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Donation Cards */
.donation-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.donation-card.popular::before {
    content: 'Популярный';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c7a4a, #1f5a38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.donation-icon i {
    font-size: 2.5rem;
    color: white;
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c7a4a;
    margin: 1rem 0;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control-premium {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s;
}

.form-control-premium:focus {
    border-color: #2c7a4a;
    box-shadow: 0 0 0 3px rgba(44,122,74,0.1);
}

/* Footer Premium */
.footer-premium {
    background: #0a1a15;
    color: white;
    padding: 60px 0 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #2c7a4a;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        position: relative !important;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.active {
    color: #1f5a38 !important;
    text-decoration: underline !important;
}

.language a {
    color: #08120c;
    text-decoration: none;
}

/* Добавьте в main.css */
@media (max-width: 991.98px) {
    /* Сброс кастомных стилей для мобилок */
    .navbar-collapse {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        text-align: center;
    }
    
    /* Просто центрируем ссылки */
    .navbar-nav {
        text-align: center;
    }
}

.partner-logo {
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.partner-logo img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Мобильные кнопки */
@media (max-width: 576px) {
    .btn-premium, .btn-outline-premium {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .stat-item {
        width: 100%;
    }
}
