/* Color Variables */
:root {
    --primary-color: #ffffff; /* White (60%) */
    --secondary-color: #007bb5; /* Secondary Color (30%) */
    --accent-secondary-color: #008237; /* Secondary Color (30%) */
    --accent-color: #008237; /* Accent Color (10%) */
    --accent-color: #008237; /* Accent Color (10%) */
    --text-color: #333;
    --overlay-color: rgba(0, 0, 0, 0.5);

    --font-serif: "Nunito Sans", serif;
    --font-sans: "Nunito Sans", sans-serif;
    --font-serif2: "Nunito Sans", serif;
	--less-color: #8c6239;
    --bg-less-color: #ef9b48;
}

/* General Styles */
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-color);
    font-weight: 600;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Header Styles */
header {
    background: var(--primary-color);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* img {
  max-width: 100%;
  height: auto;
  display: block;
} */

.logo img {
    height: 50px;
}
.menu {
    display: flex;
}

.menu .menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu .menu-links li {
    margin-left: 20px;
    padding: 10px;
}

.menu .menu-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu .menu-links li a:hover {
    color: var(--secondary-color);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu .sub-links {
    background-color: #007bb5;
    padding: 0;
    margin: 10px 0 0 0; /* Only top margin needed */
    position: absolute;
    width: max-content;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: 100%;
    left: 0;
    z-index: 100; /* Ensure it appears above other elements */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional: add shadow for depth */
}
.menu .sub-links li {
    width: 100%; /* Force li to fill container */
    margin-left: 0;
}
/* Create the arrow */
.menu li {
    position: relative;
    list-style: none;
}

.menu li:hover .sub-links {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

/* Hover effect for sub-menu items */
.menu .sub-links li a {
    display: block;
    padding: 8px 10px; /* Adjust padding for better spacing */
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease;
}


.menu li .sub-links li:hover {
    background-color: white !important; /* Hover background */
    color: #007bb5 !important;
    text-shadow: 0 0 2px #007bb5;
}
.menu li .sub-links li:hover a {
    color: #007bb5 !important;
    text-shadow: 0 0 2px #007bb5;
}
/* Arrow styling */
.menu li .show-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white; /* Arrow color */
    transition: all 0.3s ease;
    opacity: 0;
}

.menu li:hover .show-menu::after {
    opacity: 1;
}

/* Hamburger Icon Styles */
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger::before {
    top: -8px;
    width: 20px;
}

.hamburger::after {
    top: 8px;
    width: 15px;
}

/* Active state (X icon) */
.menu-toggle.active .hamburger {
    background: transparent;
}

/* Optional: Add animation when the menu is active */
.menu.active .hamburger {
    transform: rotate(45deg);
}

.menu.active .hamburger::before {
    transform: rotate(90deg) translate(5px, 5px);
    opacity: 0;
    width: 25px;
}

.menu.active .hamburger::after {
    transform: rotate(-90deg) translate(5px, -5px);
    opacity: 0;
    width: 25px;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
    width: 25px;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 25px;
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-top: 80px;
    overflow: hidden;
    text-align: left;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: -1;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--overlay-color);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    max-width: 600px;
    text-align: left;
    padding-top: 90px;
}
.hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-family: var(--font-serif2);
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-content p {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}
.btn {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
    padding: 16px 40px;
    border: 2px solid transparent;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1.5px;
}
.a-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    font-weight: 600;
    z-index: -1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.a-btn:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
}
.a-btn:hover::before {
    clip-path: inset(0 0 0 100%);
}

/* Water flow animation when mouse leaves */
.a-btn:not(:hover)::before {
    transition-timing-function: cubic-bezier(0.5, 0, 0.1, 1);
    transition-duration: 0.8s;
}
/* Hero Logo Styles */

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}
.hero-logo img {
    opacity: 0.5;
    width: 300px;
}
.hero-logo h4 {
    color: var(--secondary-color);
    font-size: 40px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 400;
}
/* Challenge Section Styles */
.challenge-section {
    display: flex;
    padding: 100px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}
.challenge-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 100%;
    background-image: url("../images/Logo_Transparent.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.1;
    z-index: 0;
}
.challenge-section .container {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.challenge-section .eco_title {
    font-family: var(--font-serif);
    font-size: 40px;
    line-height: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.challenge-section .pre_title {
    font-size: 22px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: #606060;
}
.challenge-section p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 30px;
}
.challenge-section .btn {
    font-family: "Abhaya Libre", serif;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.challenge-section .btn:hover {
    background: #00662c;
    transform: translateY(-3px);
}
/* Layout for The Challenge */
.challenge,
.what-we-do {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
}
.content-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.challenge .content-block{
    gap: 40px;
}
.what-we-do .content-block{
    width: 100%;
    gap:40px;
}
.content-block.reverse {
    flex-direction: row-reverse;
}

.content-block .image-container img{
    width: 100%;
    border-radius: 10px;
}
.content-block .text-container{
    width: 100%;
    max-width: 800px;
}


/* Our Impact at a Glance Section */
.impact {
    padding: 60px 0;
    text-align: center;
    background: var(--primary-color);
}
.impact h3 {
    font-family: var(--font-serif);
    font-size: 40px;
    color: #434244;
    margin-bottom: 40px;
}
.impact-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.impact-item {
    padding: 20px;
}

/* Icon/image styling */
.impact-item i,
.impact-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: block;
    margin: 0 auto 15px;
}
.impact-number {
    font-family: var(--font-serif);
    font-size: 80px;
    line-height: 50px;
    font-weight: 700;
    color: var(--less-color);
    margin: 15px 0;
}
.impact-label {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* Our Work */
.our-work {
    padding: 60px 0;
    text-align: center;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}
.our-work .our-work__background {
    position: absolute;
    top: 0;
    width: 60%;
    opacity: 0.1;
    max-width: 2500px;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.our-work h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 40px;
    color: #434244;
    line-height: 40px;
    margin: 30px 0;
    text-align: center;
    margin-bottom: 15px;
}
.our-work h4 {
    font-size: var(--font-serif2);
    font-weight: 400;
    font-size: 25px;
    line-height: 40px;
    text-align: center;
}
.our-work h4 strong {
    font-weight: 800;
    color: var(--secondary-color);
}
.images-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.image-item {
    overflow: hidden;
    border-radius: 1px;
    transition: transform 0.3s ease;
}
.our-work-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.image-item:hover .our-work-image {
    transform: scale(1.05);
}

/* Optional: Add overlay effect */
.image-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}
.image-item:hover::after {
    opacity: 0;
}

/* Contact Section Styles */
.contact-section {
    padding: 60px 0;
    background: #f2f2f3;
}
.contact-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
.contact-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 30px;
}

/* Icon Container */
.ctas__icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 123, 181, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Image Styling */
.ctas__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.ctas__item-title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.ctas__copy {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
    flex: 1;
    margin-bottom: 1rem;
}
.contact-col .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
}

/* Specific color variations based on SVG icons */
.btn--teal {
    background-color: #2aa8a8 !important;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--red {
    background-color: #e63946 !important;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--blue {
    background-color: #457b9d !important;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover states */
.btn--teal:hover {
    background-color: #b3b3b3;
    color: #f8f9fa;
    transform: translateY(-2px);
}
.btn--red:hover {
    background-color: #b3b3b3;
    color: #f8f9fa;
    transform: translateY(-2px);
}
.btn--blue:hover {
    background-color: #b3b3b3;
    color: #f8f9fa;
    transform: translateY(-2px);
}

/* Hover Effects */
.ctas__icon:hover {
    background: var(--accent-color);
    color: #f8f9fa;
    transform: translateY(-5px);
}
.ctas__icon:hover img {
    filter: brightness(0) invert(1);
}
/* social section */
.social {
    background-color: #434244;
    padding: 17px 0;
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.social-icons a:hover {
    transform: translateY(-3px);
}

/* Font Awesome icon styling */
.fab {
    display: inline-block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.x-logo {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.x-logo:hover {
    transform: rotate(-15deg) scale(1.1);
}
/* If you want to match the exact X/Twitter brand color */
a:hover .x-logo {
    fill: #000000; /* X's brand color is black */
}

/* For dark backgrounds (as per your previous setup) */
.social-icons a {
    color: white;
}
.social-icons a:hover .x-logo {
    fill: #ffffff;
}
/* Footer Styles */
.site-footer {
    background-color: #f2f2f3;
    color: #434244;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 0;
    list-style: none;
}
.footer-menu a {
    color: #434244;
    text-decoration: none;
    font-family: "Assistant", sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}
.footer-menu a:hover {
    color: #3498db;
}
.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #434244;
}
.copyright {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
    line-height: 1.5;
}
.footer-address {
    display: inline-block;
    margin-top: 0.5rem;
}
.copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.copyright a:hover {
    color: #3498db;
}

.donate{
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.donate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    font-weight: 600;
    z-index: -1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.donate:hover {
    background: transparent;
    border-color: #fff;
    transform: translateY(-3px);
}
.donate:hover::before {
    clip-path: inset(0 0 0 100%);
}

/* Water flow animation when mouse leaves */
.donate:not(:hover)::before {
    transition-timing-function: cubic-bezier(0.5, 0, 0.1, 1);
    transition-duration: 0.8s;
}
.donate a{
    padding: 20px;
    color: #fff !important;
}
.donate a:hover{
    color: #000000 !important;
}
.eco-uppercase{
    text-transform: uppercase;
}
.eco-text{
    color: #606060 !important;
}
/* Responsive Styles */
@media (max-width: 1390px){
    .hero{
        height: 90vh;
    }
}
@media (max-width: 1200px) {
    .hero{
        height: 90vh;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.3rem;
    }
    .btn {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    /* Menu Styles for Mobile */
    .menu {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: var(--primary-color);
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .menu.active {
        opacity: 1;
        visibility: visible;
    }
    .menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .menu ul li {
        margin: 10px 0;
    }
    .menu ul li a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        transition: color 0.3s ease;
    }
    .menu li .sub-links li:hover {
        background-color: white !important; /* Hover background */
        color: #007bb5 !important;
        text-shadow: 0 0 2px #007bb5;
    }
    .menu li .sub-links li:hover a {
        color: #007bb5 !important;
        text-shadow: 0 0 2px #007bb5;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        height: 60vh;
        flex-direction: column;
        padding: 60px 20px 20px;
        text-align: center;
        justify-content: center;
    }
    .hero-bg {
        object-position: top center;
    }

    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .hero-logo img{
        width: 250px;
    }
    .hero-logo h4{
        font-size: 19px;
    }
    .challenge-section {
        /* padding: 100px 0; */
        padding: 0;
    }
    .challenge-section::before {
        width: 500px;
    }
    .challenge-section .container{
        flex-direction: column;
    }
    .challenge-section .eco_title {
        font-size: 2rem;
    }
    .challenge-section p {
        font-size: 1rem;
    }
    .challenge-section .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .challenge .image-container,
    .what-we-do .image-container {
        order: -1;
    }
    .impact-items {
        grid-template-columns: 1fr;
    }
    .impact {
        padding: 20px 0;
    }
    .impact h3 {
        font-size: 25px;
        line-height: 25px;
        margin-top: 30px;
        margin-bottom: 70px;
    }
    .impact-number {
        font-size: 2.5rem;
    }
    .impact-label {
        font-size: 1rem;
    }
    .impact-item i,
    .impact-item img {
        width: 50px;
        height: 50px;
    }
    .contact-columns {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .contact-col {
        padding: 20px;
    }
    .ctas__item-title {
        font-size: 1.5rem;
    }
    .ctas__icon {
        width: 70px;
        height: 70px;
    }
    .ctas__icon img {
        width: 35px;
        height: 35px;
    }
    .images-list {
        grid-template-columns: 1fr;
    }
	.our-work h3{
		font-size: 25px;
        line-height: 25px;
	}
    .our-work-image {
        height: 300px;
    }
    .footer-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .copyright {
        font-size: 0.8rem;
    }
    .social-icons {
        gap: 20px;
    }
    .social-icons a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    .hero-bg {
        object-position: top center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-logo {
        padding: 22px;
    }

    .challenge-section::before {
        width: 500px;
    }

    .challenge-section .eco_title {
        font-size: 1.8rem;
    }

    .challenge-section p {
        font-size: 0.9rem;
    }

    .challenge-section .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .contact-section {
        padding: 40px 0;
    }

    .ctas__item-title {
        font-size: 1.3rem;
    }

    .ctas__copy {
        font-size: 0.9rem;
    }
}
