/* General Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
    box-sizing: border-box; /* Consolidated box-sizing property */
}


a {
    text-decoration: none;
    color: inherit;
}


* {
    box-sizing: border-box;
}
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
}

/* Logo */
.logo img {
    width: 150px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    margin-left: 20px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #8fc52e;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.nav-links ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: #8fc52e;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.nav-links ul li a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-links ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        height: calc(100vh - 60px);
        justify-content: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        text-align: center;
    }

    .nav-links ul li {
        margin: 20px 0; /* Add more space between items */
    }

    .nav-links ul li a {
        font-size: 20px; /* Increased font size for mobile */
        padding: 10px 0; /* Add padding to make the clickable area larger */
        font-weight: 700; /* Make the font weight slightly bolder */
    }

    .nav-links ul.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 5px 10px;
    }

    .logo img {
        width: 90px;
    }

    .nav-links ul {
        font-size: 14px; /* Adjust font size for small screens */
    }
    .nav-links ul li a {
        font-size: 22px; /* Further increase font size for very small screens */
        padding: 15px 0; /* Add more padding for better touch area */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero_image.jpg') no-repeat center center;
    background-size: cover; /* Ensures the image covers the entire section */
    animation: zoom 10s infinite alternate; /* Apply continuous zoom effect */
    z-index: -2; /* Make sure the pseudo-element is behind the overlay */
    transform-origin: center; /* Ensure the zoom effect is centered */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: -1; /* Ensure the overlay is above the background image but below the text */
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensure text is on top of the background and overlay */
    animation: slideUp 1.5s ease-in-out; /* Unified animation for the whole content */
}

.hero h1 {
    font-size: 4vw; /* Responsive font size based on viewport width */
    margin-bottom: 2vw;
    animation: slideInFromLeft 1.5s ease-in-out; /* Slide-in effect for heading */
}

.hero p {
    font-size: 2vw; /* Responsive font size based on viewport width */
    max-width: 90%;
    margin: 0 auto;
    opacity: 0; /* Start hidden */
    animation: fadeIn 2s ease-in-out 1s forwards; /* Delayed fade-in for paragraph */
}

/* Animation */
@keyframes zoom {
    0% {
        transform: scale(1); /* Initial scale (no zoom) */
    }
    100% {
        transform: scale(1.1); /* Slight zoom effect */
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Styles for Hero Section */
@media (max-width: 768px) {
    .hero {
        height: 75vh; /* Adjust height for smaller screens */
        padding: 20px; /* Add padding to avoid content being too close to edges */
    }

    .hero h1 {
        font-size: 5vw; /* Responsive font size based on viewport width */
        margin-bottom: 3vw;
    }

    .hero p {
        font-size: 3vw; /* Responsive font size based on viewport width */
        max-width: 100%; /* Full width for more space */
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh; /* Further adjust height for very small screens */
        padding: 10px; /* Reduce padding for very small screens */
    }

    .hero h1 {
        font-size: 6vw; /* Responsive font size based on viewport width */
        margin-bottom: 2vw;
    }

    .hero p {
        font-size: 4vw; /* Responsive font size based on viewport width */
        max-width: 100%; /* Full width for very small screens */
    }
}


/* Mission Section */
.mission {
    color: #333; /* Adjust text color if needed */
    padding: 60px 20px; /* Reduced top and bottom padding for better margins */
    margin: 0 auto; /* Center the section horizontally */
    max-width: 1200px; /* Optional: Set a max-width to control the width on large screens */
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

/* Services Section */
.services {
    padding: 40px 20px; /* Ensure padding is consistent */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center-align text on larger screens */
}

.services h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Consistent color for header */
}
.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between items */
}

.service-item {
    text-align: center;
    max-width: 300px;
    flex: 1 1 300px; /* Flex grow and shrink to ensure responsiveness */
    margin: 10px; /* Space around items */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px; /* Add padding inside service items */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px; /* Adjusted margin */
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.service-item h3 {
    font-size: 20px; /* Adjust font size for better readability */
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px; /* Adjusted font size for better readability */
    color: #666; /* Lighter color for text */
}

/* Small screens */
@media (max-width: 480px) {
    .services {
        padding: 20px 10px; /* Reduced padding for smaller screens */
    }

    .service-item {
        max-width: 100%; /* Full width for each item */
        margin: 10px 0; /* Space between items vertically */
    }

    .service-item h3 {
        font-size: 18px; /* Smaller font size for headings */
    }

    .service-item p {
        font-size: 14px; /* Smaller font size for text */
    }
    .services h2 {
        font-size: 28px; /* Adjust font size for smaller screens */
        margin-bottom: 15px; /* Reduce margin for smaller screens */
    }
}
@media (max-width: 480px) {
    .services {
        padding: 20px 10px; /* Reduced padding for smaller screens */
    }

    .services h2 {
        font-size: 24px; /* Smaller font size for very small screens */
        margin-bottom: 10px; /* Reduce margin for very small screens */
    }

    .service-items {
        flex-direction: column; /* Stack items vertically on very small screens */
    }
}
/* About Us Section */
.about-us {
    padding: 80px 20px;
    text-align: center;
}

.about-us img {
    max-width: 200px;
    margin: 20px 0;
}

.about-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 18px;
    color: #666;
}

/* Core Values */
.core-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between values */
    margin-top: 20px;
}

.core-value {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    max-width: 250px;
    flex: 1 1 250px; /* Responsive flex item */
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.core-value .icon {
    font-size: 40px; /* Icon size */
    margin-bottom: 10px;
    color: #9fcc3b; /* Consistent color for header */
}

.core-value h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #9fcc3b; /* Consistent color for header */
}

.core-value p {
    font-size: 16px;
    color: #555;
}

.core-value:hover {
    background-color: #c8e6c9; /* Slightly darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.core-value:hover .icon {
    color: #9fcc3b; /* Consistent color for header */
}

/* General Styles for Memberships Section */
.memberships {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f8f9fa;
}

.memberships h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.memberships p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #666;
}

/* Partners Logos Styling */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.partners-logos img {
    max-width: 150px;
    max-height: 100px; /* Ensure a consistent height for logos */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px;
    background-color: #fff; /* Add background to ensure consistency */
    padding: 10px; /* Add padding for better spacing */
}

/* Logo hover effect */
.partners-logos img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tooltip styling */
.partners-logos img:hover::after {
    content: attr(alt);
    position: absolute;
    bottom: -2rem; /* Position below the logo */
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    transform: translateX(-50%);
    left: 50%;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}


/* News Section */
.news {
    display: flex;
    flex-direction: column; /* Stack items vertically on mobile */
    align-items: center; /* Center-align items horizontally on mobile */
    padding: 40px 20px; /* Padding for desktop */
    box-sizing: border-box;
}

.news h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Consistent color for header */
}

/* Flex container for news articles */
.news-content {
    display: flex;
    flex-direction: column; /* Stack items vertically on mobile */
    align-items: center; /* Center-align items horizontally on mobile */
    width: 100%;
    max-width: 1200px; /* Maximum width for larger screens */
    gap: 20px; /* Space between the two sections */
}

.news .featured-news,
.news .other-news {
    width: 100%;
    padding: 0 20px; /* Padding for the sections */
}

.news .featured-news {
    flex: 1;
    margin-right: 20px; /* Space between featured news and other news */
}

.news .featured-news h3 {
    font-size: 28px; /* Font size for desktop */
    margin-bottom: 15px; /* Space between title and image */
    font-weight: bold;
    color: #000; /* Black color for headlines */
}

.news .featured-news h3 a {
    text-decoration: none;
    color: #000; /* Black color for links */
    font-weight: bold;
    transition: color 0.3s ease;
}

.news .featured-news h3 a:hover {
    color: #9fcc3b; /* Consistent color for header */
}

.news .featured-news .image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 20px;
    overflow: hidden; /* Crop overflow */
}

.news .featured-news .image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    transition: transform 0.3s ease;
}

.news .featured-news .image-container img:hover {
    transform: scale(1.05); /* Zoom effect on hover */
}

.news .featured-news p {
    margin-bottom: 20px;
    font-size: 18px; /* Font size for desktop */
    color: #666;
}

.news .featured-news .read-more {
    font-weight: bold;
    color: #9fcc3b; /* Consistent color for non-hovered links */
    text-decoration: none;
}
.news .featured-news .read-more {
    font-weight: bold;
    color: #9fcc3b; /* Consistent color for non-hovered links */
    text-decoration: none;
}

.news .featured-news .read-more:hover {
    color: #7aab1e; /* Slightly darker shade of green for hover effect */

}

.news .other-news {
    flex: 1;
    margin-left: 20px; /* Space between featured news and other news */
    text-align: left; /* Align text to the left for the other news section */
}

.news .other-news h3 {
    font-size: 28px; /* Font size for desktop */
    margin-bottom: 15px;
    font-weight: bold;
    color: #000;
}

.news .other-news ul {
    list-style-type: none;
    padding: 0;
}

.news .other-news ul li {
    margin-bottom: 15px; /* Space between list items */
}

.news .other-news ul li a {
    color: #9fcc3b; /* Consistent color for non-hovered links */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news .other-news ul li a:hover {
    color: #7aab1e; /* Slightly darker shade of green for hover effect */
}


/* Responsive Styles */
@media (min-width: 768px) {
    .news-content {
        flex-direction: row; /* Arrange items horizontally on larger screens */
        justify-content: space-between; /* Space between featured and other news */
        text-align: left; /* Align text to the left for desktop */
    }

    .news .featured-news,
    .news .other-news {
        width: 48%; /* Take up nearly half of the container width */
    }
}

@media (max-width: 768px) {
    .news {
        flex-direction: column; /* Stack items vertically on mobile */
    }

    .news .featured-news,
    .news .other-news {
        width: 100%; /* Full width for mobile */
        margin: 0; /* Remove margins for mobile */
    }

    .news .featured-news {
        margin-bottom: 20px; /* Space between sections on mobile */
    }
}

@media (max-width: 480px) {
    .news h2 {
        font-size: 22px; /* Adjust font size for very small screens */
    }

    .news .featured-news h3,
    .news .other-news h3 {
        font-size: 20px; /* Adjust font size for very small screens */
    }

    .news .featured-news p {
        font-size: 14px; /* Adjust font size for very small screens */
    }

    .news .featured-news .image-container {
        padding-top: 80%; /* Adjust aspect ratio for very small screens */
    }
}



/* Highlight important text */
.highlight {
    color: #ff9800;
    font-weight: bold;
}

/* Add subtle animation to text */
.animated-text {
    animation: fadeIn 1.5s ease-in-out;
    font-size: 1.2em;
    line-height: 1.6;
    margin-left: 30px;
    margin-right: 30px;
}


/* Simple fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Testimonials Section */
section.testimonials {
    background-color: #f9f9f9; /* Light background */
    padding: 20px;
    border-radius: 8px;
    margin-left: 30px; /* Add left margin */
    margin-right: 30px; /* Add right margin */
}

.testimonials h2 {
    font-size: 36px;
    color: #124373; /* Primary header color */
}

.testimonials p {
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: justify; /* For better readability */
    border-left: 5px solid #9fcc3b; /* Accent color for the border */
    padding-left: 15px;
    font-family: 'Open Sans', sans-serif;
    color: #333; /* Main text color */
}

/* Highlighted text styles */
.testimonials p .highlight {
    color: #9fcc3b; /* Accent color for important text */
    font-weight: bold;
}

/* Optional: Add a subtle quote icon */
.testimonials p:before {
    content: '“';
    font-size: 4em;
    color: #124373; /* Primary color for quote icon */
    position: absolute;
    left: -40px;
    top: -10px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Space between cards */
}

.testimonial {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #9fcc3b; /* Accent color for image border */
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 10px;
    color: #666; /* Slightly lighter color for the quote */
}

.testimonial-content span {
    font-size: 16px;
    color: #9fcc3b; /* Accent color for the name */
}

/* Small screens */
@media (max-width: 480px) {
    .testimonials h2 {
        font-size: 28px;
    }

    .testimonial-content p {
        font-size: 16px;
    }

    .testimonial-content span {
        font-size: 14px;
    }

    .testimonials {
        padding: 40px 10px; /* Reduced padding for smaller screens */
    }
}


/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #8fc52e;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form button:hover {
    background-color: #7abf2d;
}

/* Footer Section */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px; /* Increased padding for a more spacious feel */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info {
    margin-bottom: 30px; /* Increased margin for better separation */
}

.footer-info p {
    margin: 10px 0; /* Increased margin for better readability */
}

.footer-info a {
    color: #fff;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px; /* Increased gap between icons */
    margin-bottom: 30px; /* Added margin for better spacing */
}

.social-link {
    color: #fff;
    font-size: 28px; /* Increased font size for better visibility */
    text-decoration: none;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.social-link:hover {
    color: #9fcc3b; /* Highlight color on hover */
}

.subscribe-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscribe-form input[type="email"] {
    padding: 10px;
    width: 250px;
    margin-bottom: 10px; /* Added margin below input */
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: #9fcc3b;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.subscribe-form button:hover {
    background-color: #7a9e2c; /* Darker color on hover */
}

#responseMessage {
    margin-top: 10px; /* Space between button and message */
    color: #fff;
    font-size: 16px; /* Adjust font size as needed */
}

/* General Styles */
h1, h2, h3 {
    color: #9fcc3b; /* Set the green color for headers */
}

.mission h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Ensure heading color consistency */
}
/* Services Section */
.services h2 {
    color: #9fcc3b; /* Update to match testimonials */
}

/* About Us Section */
.about-us h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Ensure heading color consistency */
    text-align: center;
}

/* Memberships Section */
.memberships h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Ensure heading color consistency */
    text-align: center;
}

/* News Section */
.news h3 {
    color: #9fcc3b; /* Update to match testimonials */
}
/* News Section */
.news h3 {
    color: #9fcc3b; /* Update to match testimonials */
}


/* Testimonials Section */
.testimonials h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Ensure heading color consistency */
    text-align: center;
}

.zoom-image {
    width: 200px;
    animation: zoom 3s ease-in-out infinite;
}

@keyframes zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
/* Testimonials Section */
h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9fcc3b; /* Ensure heading color consistency */
    text-align: center;
}