/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9; /* Light background color */
    color: #333;
    line-height: 1.6;
}

/* Header Section */
header {
    background: url('../../../Images/ngocrousel1.png') no-repeat center center/cover;
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeIn 2s ease-in;
}

/* Sections */
.section {
    padding: 1rem 1rem;
    text-align: center;
    background: rgb(140,199,131);
    background: radial-gradient(circle, rgba(140,199,131,1) 0%, rgba(208,213,218,1) 100%);
    animation: slideIn 1s ease-out;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.section-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

/* Video Section */
.video-section {
    background-color: #f1f1f1; /* Light gray background */
    padding: 2rem 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Full-width div below carousel caption */
.carousel-full-width {
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* Slightly darker background for text readability */
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}

/* Take Action Section */
.action-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fafafa; /* Light background */
}

.action-box {
    background: #ffffff; /* Light background for boxes */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.action-box:hover {
    transform: scale(1.05);
}

.action-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.action-info {
    padding: 1.5rem;
    background-color: #f9f9f9; /* Light background for content */
}

.action-info h3 {
    font-size: 1.5rem;
    color: #2d572c;
    margin-bottom: 10px;
}

.action-info p {
    font-size: 1rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .action-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .action-box img {
        height: 200px;
    }
}
