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

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    line-height: 1.6;
}

main {
    margin: 1em auto;
    padding: 1em;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* General header styling */
header {
    /* Optional: Header background color */
    color: #fff;
    /* Optional: Header text color */
    padding: 10px 20px;
    display: flex;
    align-items: left;
    justify-content: space-between;
    position: relative;
    text-align: center;
}


.crsq {
  	text-decoration: none !important; /* Removes underline */
  	color: inherit !important; /* Keeps the default text color */
  	color: white !important;
}

.crsq:visited, 
.crsq:hover, 
.crsq:active {
	color: inherit !important; /* Prevents color change */
  	text-decoration: none !important; /* Ensures underline does not appear */
}

header,
footer,
nav {
    background-color: rgb(57, 119, 34);
    color: #fff;
}

/* Header container for logo and navigation */
.header-container,
.footer-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    justify-content: space-between;
}

/* Logo and Text Container */
.logo-container {
    display: flex;
    align-items: center;
}


/* home page image */

/* Hero Section */
.hero {
    position: relative;
    background: url('Images/rohingyas.jpg') no-repeat center center/cover;
    /* Add your hero background image */
    height: 80vh;
    /* Adjust height as needed */
    display: flex;
    align-items:flex-start ;
    justify-content: center;
    text-align: center;
    color: #fff;
}


.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    /* Semi-transparent overlay */
    padding: 10px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for better contrast */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff5722;
    /* Highlight color for the button */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e64a19;
    /* Darker hover effect */
}


.intro {
    padding: 40px 20px;
    /* Adds spacing around the section */
    background-color: #f9f9f9;
    /* Matches the background for a unified design */
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    /* Professional heading color */
}

.intro p {
    font-size: 1rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 30px;
    /* Space below the paragraph */
}

.activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }


.intro-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal-width columns */
    gap: 20px;
    /* Space between the images */
    justify-items: center;
    /* Centers the images */
}


.image-block img {
    width: 100%;
    /* Makes the image responsive */
    height: 200px;
    /* Uniform image height */
    object-fit: cover;
    /* Ensures the image scales properly without distortion */
    border-radius: 10px;
    /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for a professional look */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Adds smooth hover effect */
}


.partners-grid {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;

}


.image-block img:hover {
    transform: translateY(-10px);
    /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}


.image-block,
.partners-grid div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
    grid-template-columns: repeat(3, 1fr);
}

.partners-grid img,
.intro-images img {
    max-width: 100%;
    border-radius: 5px;
}


.initiatives {
    padding: 40px 20px;
    /* Adds spacing around the section */
    background-color: #f9f9f9;
    /* Optional: A light background to distinguish the section */
    text-align: center;
}

.initiatives h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    /* Adjust color for better readability */
}

.initiative-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal-width columns */
    gap: 20px;
    /* Space between the cards */
    justify-items: center;
    /* Centers the cards in their grid areas */
}

.card {
    background-color: #fff;
    /* Card background */
    border: 1px solid #ddd;
    /* Adds a subtle border */
    border-radius: 10px;
    /* Rounds the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for a professional look */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Adds smooth hover effect */
}

.card:hover {
    transform: translateY(-10px);
    /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

.card img {
    width: 100%;
    /* Makes the image responsive */
    height: 200px;
    /* Uniform image height */
    object-fit: cover;
    /* Ensures the image scales properly without distortion */
    border-radius: 10px;
    /* Matches card's rounded corners */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    color: #222;
    /* Adjust heading color */
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #555;
    /* Adjust paragraph color */
    line-height: 1.6;
    /* Improves readability */
}


/* Testimonials Section */
.testimonials {
    padding: 10px 10px;
    background-color: #f9f9f9;
    /* Light background for contrast */
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    color: #333;
}

.testimonial-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    /* Spacing between testimonials */
}

blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    border-left: 4px solid #ff5722;
    /* Accent border for the quote */
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

blockquote::before {
    content: '“';
    font-size: 3rem;
    color: #ff5722;
    position: absolute;
    top: -10px;
    left: 10px;
}

blockquote::after {
    content: '”';
    font-size: 3rem;
    color: #ff5722;
    position: absolute;
    bottom: -10px;
    right: 10px;
}

cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}


/* about page */

.about-image {
    max-width: 100%;
    height: 300px;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal-width columns */
    gap: 20px;
    /* Space between the cards */
    justify-items: center;
    /* Centers the cards in their grid areas */
}

.team-image {
    max-width: 650px !important;
    height: 300px !important;
    background-color: #fff;
    /* Card background */
    border: 1px solid #ddd;
    /* Adds a subtle border */
    border-radius: 10px;
    /* Rounds the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for a professional look */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Adds smooth hover effect */
}

section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h1,
section h2 {
    color: #0073e6;
    margin-bottom: 1rem;
}

section p {
    margin-bottom: 1rem;
    text-align: justify;
}


.achievements {
    background-color: #f9f9f9;
    /* Light neutral background */
    padding: 50px 20px;

}

.achievements h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.achievements p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Our Partners Section */
.partners-section {
    background-color: #f9f9f9;
    padding: 20px 0;
    text-align: center;
    overflow: hidden;
}

.partners-section h2 {
    color: #333;
}

.partners-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 200%;
    /* Twice the width to accommodate duplicate images */
    animation: scroll 15s linear infinite;
}

.slider-track img {
    height: 100px;
    margin: 0 20px;
    flex-shrink: 0;
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}


/* Logo styling */
.logo-link {
    text-decoration: none;
    /* Remove underline on link */
}

.logo {
    height: 50px;
    /* Adjust height to fit header */
    max-height: 100%;
    /* Prevent logo from exceeding header height */
    margin-right: 20px;
    /* Add spacing between logo and navigation */
}

/* Navigation menu styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    color: white;
}

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

nav ul li {
    margin: 1rem;
}

nav ul li a {
    color: white;
    /* Optional: Link color */
    text-decoration: none;
    font-size: 1em;
}

.actuel {
    background-color: rgb(14, 14, 174);
    padding: 0.6rem;
    color: white;
    border-radius: 10px;
}

nav ul li a:hover {
    color: white;
    border-radius: 10px;
}


/* dropdown */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
    color: orange;
}


.dropdown:hover .dropdown-content {
    display: block;
}


/* Key Services styling */
.services h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.services div {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 8px;
}


/* support section */

.support {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    max-width: 1200px;
}

.support h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.support h3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.support-box {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.support-box:hover {
    transform: scale(1.05);
}


/* Activity highlights */
.activity-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.activity {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.activity:hover {
    transform: scale(1.05);
}

.activity h3 {
    margin-top: 0;
    color: #333;
}

.activity p {
    color: #555;
}

/* Gallery styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Space between the img */
    justify-items: center;
}

.gallery img {
    max-width: 450px !important;
    height: 250px !important;
    background-color: #fff;
    /* Card background */
    border: 1px solid #ddd;
    /* Adds a subtle border */
    border-radius: 10px;
    /* Rounds the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for a professional look */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Adds smooth hover effect */

}

.gallery img:hover {
    transform: scale(1.05);
}

/* Footer */

/* Footer general styles */
footer {
    color: #fff;
    /* Footer text color */
    padding: 1rem;
}

/* Footer container layout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* Equal space between categories */
    align-items: center;
    /* Center items vertically */
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    /* Add space between items for aesthetics */
    flex-wrap: wrap;
    /* Allow wrapping for smaller screens */
}


.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    /* Remove underline */

}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section ul {
    font-size: 1em;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #fff;
    /* Optional: Link color */
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

/* Social media links styling */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
}

.social-links img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
    /* Hover effect */
}

/* Footer bottom styling */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #444;
    /* Optional: Divider line */
}

.footer-bottom p {
    font-size: 0.9em;
    margin: 0;
}



/* Form Section */

.form-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f5f5f5;
    width: 50%;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input:focus,
form textarea:focus {
    border-color: #003366;
    outline: none;
}


form button:hover {
    background-color: #0056b3;
}


.form-section input,
.form-section select,
.form-section textarea {
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-section button {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

/* Contact Info Section */
.contact-info {
    margin-top: 30px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info ul li a {
    color: #003366;
    text-decoration: none;
}

.contact-info ul li a:hover {
    text-decoration: underline;
}


/* Responsive Styles media queries*/

/* For Small Screens (max-width: 768px) */
@media (max-width: 768px) {
    nav ul {
        padding: 0;
    }

    nav ul li {
        margin: 0.3rem 0;
    }

    .header {
        font-size: 1.2rem;
    }

    .main {
        font-size: 0.9rem;
    }

    .footer {
        font-size: 0.8rem;
    }
  
  .activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }

    /* Images stack one below another */
    .initiative-cards,
    .team-gallery,
    .gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .initiative-cards .card,
    .team-gallery .team-image,
    .gallery img {
        width: 100%;
        height: auto;
    }

      .hero {
        height: auto;
        /* Allow the hero section height to adjust to content */
        padding: 20px;
        /* Add padding for better spacing */
        display: flex;
        align-items:flex-start ;
        justify-content: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
        /* Adjust font size for smaller screens */
        line-height: 1.3;
        /* Improve readability */
    }

    .hero p {
        font-size: 1rem;
        /* Reduce font size */
        margin-bottom: 20px;
        /* Adjust spacing */
    }
  
  .activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }

    .hero-overlay {
        padding: 20px;
        /* Reduce padding to fit smaller screens */
        max-width: 90%;
        /* Ensure it stays within the screen width */
    }

    .cta-button {
        font-size: 0.9rem;
        /* Make the button slightly smaller */
        padding: 10px 20px;
        /* Adjust button padding */
    }

    .activity-block {
        gap: 15px;
        /* Reduce gap for smaller screens */
    }

    .activity {
        flex: 1 1 calc(50% - 15px);
        /* Two items per row */
    }

    .activity h3 {
        font-size: 1.1rem;
        /* Reduce heading size slightly */
    }

    .activity p {
        font-size: 0.95rem;
        /* Adjust font size for better readability */
    }

    .support-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    /* Increase logo size */
    .logo {
        width: 60px;
        /* Bigger on small screens */
        height: 50px;
    }

    /* Hide navigation links by default */
    nav ul {
        display: none;
        position: absolute;
        right: 10px;
        top: 60px;
        background: rgba(0, 0, 0, 0.9);
        width: 180px;
        flex-direction: column;
        text-align: left;
        padding: 10px;
        border-radius: 8px;
        z-index: 1000;
    }

    /* Ensure menu items take full width */
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: background 0.3s;
    }

    nav ul li a:hover {
        background: #555;
    }

    /* Show menu when active */
    nav ul.active {
        display: flex !important;
    }

    /* Show the menu icon */
    .menu-icon {
        display: block;

    }

    .menu-icon img {
        width: 40px;
        /* Small image for toggling menu */
    }

    .site-name {
        font-size: 9px;
    }
  
  .partners-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-slider img {
    display: inline-block;
    height: 100px;
    /* Adjust height as needed */
    margin: 0 20px;
    /* Space between logos */
    animation: scroll 15s linear infinite;
    /* Adjust duration for slower speed */
}

}


/* Medium Screens (450px to 1250px) */
@media (min-width: 450px) and (max-width: 1250px) {
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 10px;
    }

    .initiative-cards,
    .intro-images,
    .team-gallery,
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;

    }

    .initiative-cards .card,
    .intro-images .image-block,
    .team-gallery .team-image,
    .gallery img {
        flex: 1 1 48%;
        max-width: 48%;
        height: auto;
    }

    header {
        flex-direction: column;
        padding: 15px;
    }

    .support-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
  .partners-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-slider img {
    display: inline-block;
    height: 100px;
    /* Adjust height as needed */
    margin: 0 20px;
    /* Space between logos */
    animation: scroll 15s linear infinite;
    /* Adjust duration for slower speed */
}
  
  .activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }
  
   /* Increase logo size */
    .logo {
        width: 60px;
        /* Bigger on small screens */
        height: 50px;
    }

    /* Hide navigation links by default */
    nav ul {
        display: none;
        position: absolute;
        right: 10px;
        top: 60px;
        background: rgba(0, 0, 0, 0.9);
        width: 180px;
        flex-direction: column;
        text-align: left;
        padding: 10px;
        border-radius: 8px;
        z-index: 1000;
    }

    /* Ensure menu items take full width */
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: background 0.3s;
    }

    nav ul li a:hover {
        background: #555;
    }

    /* Show menu when active */
    nav ul.active {
        display: flex !important;
    }

    /* Show the menu icon */
    .menu-icon {
        display: block;

    }

    .menu-icon img {
        width: 40px;
        /* Small image for toggling menu */
    }

    .site-name {
        font-size: 1.2rem;
    }

  
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    body {
        font-size: 20px;
        line-height: 1.6;
    }

    nav ul li {
        margin: 0 15px;
    }

    .initiative-cards,
    .team-gallery,
    .gallery {
        display: grid !important;
        flex-wrap: nowrap;
        gap: 20px;
        justify-content: flex-start;

    }

    .initiative-cards .card,
    .team-gallery .team-image,
    .gallery img {
        flex: 0 0 auto;
        max-width: 100%;
        height: auto;
    }

    .support div ul li {
        flex: 1 1 calc(25% - 20px);
        /* Four boxes per row */
    }

}

/* Specific Small Screens (200px to 450px) */
@media (min-width: 200px) and (max-width: 450px) {
    header {
        flex-direction: column;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    /* Images stack vertically */
    .initiative-cards,
    .intro-images,
    .team-gallery,
    .gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .initiative-cards .card,
    .intro-images .image-block,
    .team-gallery .team-image,
    .gallery img {
        width: 95%;
        height: auto;
    }

     .hero {
        padding: 15px;
        /* Further adjust padding for narrow screens */
        display: flex;
        align-items: flex-start;
        position: relative;
    }

    .hero h1 {
        font-size: 1.5rem;
        /* Further reduce font size */
    }

    .hero p {
        font-size: 0.9rem;
        /* Adjust paragraph font size */
    }
  
  .activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }

    .hero-overlay {
        padding: 15px;
        /* Reduce overlay padding */
        max-width: 95%;
        /* Max width close to full screen */
    }

    .cta-button {
        font-size: 0.8rem;
        /* Smaller button text */
        padding: 8px 15px;
        /* Compact button design */
    }

    .activity {
        flex: 1 1 100%;
        /* Stack items vertically */
    }

    main p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }

    .support div ul li {
        flex: 1 1 100%;
        /* One box per row */
    }

    .support-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Increase logo size */
    .logo {
        width: 60px;
        /* Bigger on small screens */
        height: 50px;
    }

    /* Hide navigation links by default */
    nav ul {
        display: none;
        position: absolute;
        right: 10px;
        top: 60px;
        background: rgba(0, 0, 0, 0.9);
        width: 180px;
        flex-direction: column;
        text-align: left;
        padding: 10px;
        border-radius: 8px;
        z-index: 1000;
    }

    /* Ensure menu items take full width */
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: background 0.3s;
    }

    nav ul li a:hover {
        background: #555;
    }

    /* Show menu when active */
    nav ul.active {
        display: flex !important;
    }

    /* Show the menu icon */
    .menu-icon {
        display: block;

    }

    .menu-icon img {
        width: 40px;
        /* Small image for toggling menu */
    }

    .site-name {
        font-size: 9px;
    }
  
  .partners-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-slider img {
    display: inline-block;
    height: 100px;
    /* Adjust height as needed */
    margin: 0 20px;
    /* Space between logos */
    animation: scroll 15s linear infinite;
    /* Adjust duration for slower speed */
}

}

/* Narrow Smartphones with Small Screens (min-width: 402px) */
@media (min-width: 402px) and (max-width: 600px){

    .initiative-cards,
    .team-gallery,
    .gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .initiative-cards .card,
    .team-gallery .team-image .gallery img {
        width: 90%;
        margin: auto;
        height: auto;
    }

    .activity {
        flex: 1 1 100%;
        /* Stack items vertically */
    }

    main p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }
  
  .activity-block p {
        font-size: 0.9rem;
        /* Further adjust font size for small screens */
        text-align: left;
        /* Avoid justification for readability on small devices */
    }

    .support div ul li {
        flex: 1 1 calc(50% - 15px);
        /* Two boxes per row */
        margin: auto;
        /* Center the boxes within their container */
    }

    /* Increase logo size */
    .logo {
        width: 60px;
        /* Bigger on small screens */
        height: 50px;
    }

    /* Hide navigation links by default */
    nav ul {
        display: none;
        position: absolute;
        right: 10px;
        top: 60px;
        background: rgba(0, 0, 0, 0.9);
        width: 180px;
        flex-direction: column;
        text-align: left;
        padding: 10px;
        border-radius: 8px;
        z-index: 1000;
    }

    /* Ensure menu items take full width */
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
        transition: background 0.3s;
    }

    nav ul li a:hover {
        background: #555;
    }

    /* Show menu when active */
    nav ul.active {
        display: flex !important;
    }

    /* Show the menu icon */
    .menu-icon {
        display: block;

    }

    .menu-icon img {
        width: 40px;
        /* Small image for toggling menu */
    }

    .site-name {
        font-size: 9px;
    }
  
  .partners-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-slider img {
    display: inline-block;
    height: 100px;
    /* Adjust height as needed */
    margin: 0 20px;
    /* Space between logos */
    animation: scroll 15s linear infinite;
    /* Adjust duration for slower speed */
}
  
 .hero {
        padding: 15px;
        /* Further adjust padding for narrow screens */
        display: flex;
        align-items: flex-start;
        position: relative;
    }
}