* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

/* Header (Nav) */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #1976D2;
    text-decoration: none;
}

.logo-nav img {
    height: 60px;
    margin-right: 10px;
    border-radius: 40px;
}

.slogan {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    font-style: italic;
}

.impact {
    display: flex;
    align-items: center;
    color: #1976D2;
    font-size: 14px;
    margin-left: 20px;
}

.impact::before {
    content: "♥";
    margin-right: 5px;
    color: #1976D2;
}

.menu a {
    margin: 0 25px;
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.menu a:hover {
    color: #1976D2;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language {
    font-size: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.language:hover {
    color: #1976D2;
}

.login-btn {
    background: transparent;
    border: 2px solid #1976D2;
    color: #1976D2;
    padding: 6px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #1976D2;
    color: white;
}

.donate-btn {
    background: #1976D2;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.donate-btn:hover {
    background: #1565C0;
}

/* Carousel Section */
.carousel {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    margin-top: 90px;
    height: 650px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 24px;
    color: #666;
}

.carousel-container {
    display: flex;
    width: 600%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 20%;
    height: 110%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.carousel-slide.active img {
    opacity: 1;
    transform: scale(1.05);
}

/* Dark Overlay */
.carousel-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Overlay Text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    z-index: 5;
    max-width: 600px;
    animation: slideUp 1s ease-out;
}

.carousel-slide.active .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.overlay-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.overlay-text p {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color: white;
}

.overlay-text .cta-btn {
    display: inline-block;
    background: #1976D2;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
}

.overlay-text .cta-btn:hover {
    background: #1565C0;
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.dot.active {
    background: #1976D2;
    transform: scale(1);
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #header {
        flex-wrap: wrap;
        padding: 20px 15px;
    }

    .logo-container {
        flex: 1;
        margin-bottom: 10px;
    }

    .logo-nav {
        font-size: 35px;
        margin-bottom: 20px;
        gap: 20px
    }

    .logo-nav img {
        height: 60px;
        margin-right: 10px;
        border-radius: 50px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 90px;
        left: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        margin: 10px 0;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .right-section {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-right: 50px;
    }

    .login-btn,
    .donate-btn {
        padding: 8px 16px;
        font-size: 16px;
        border-radius: 8px;
        font-weight: 500;
    }

    .login-btn {
        border: 2px solid #1976D2;
        width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        font-size: 20px;
    }

    .donate-btn {
        background: #1976D2;
        width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        font-size: 20px;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 15px;
        font-size: 24px;
        margin-top: 90px;

    }

    /* Rest of your mobile styles */
    .carousel {
        height: 350px;
    }

    .carousel-slide {
        height: 350px;
    }

    .overlay-text {
        left: 10%;
        width: 80%;
        transform: translate(0, -50%);
    }

    .overlay-text h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .overlay-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .overlay-text .cta-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .carousel-dots {
        bottom: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}