/* GENERAL */

html {
scroll-behavior: smooth;
}

body {
margin: 0;
font-family: Arial, sans-serif;
background: #ffffff;
color: #17231d;
}

a {
color: inherit;
}

button {
font-family: inherit;
}


/* HEADER */

.site-header {
position: sticky;
top: 0;
z-index: 1000;
background: #ffffff;
border-bottom: 1px solid #188834;
}

.navbar {
width: 90%;
max-width: 1280px;
min-height: 78px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

.nav-links {
display: flex;
align-items: center;
gap: 28px;
}

.nav-links > a,
.dropdown-toggle {
text-decoration: none;
color: #17231d;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}

.nav-links > a:hover,
.dropdown-toggle:hover {
color: #188834;
}

.nav-dropdown {
position: relative;
}

.dropdown-menu {
position: absolute;
top: calc(100% + 24px);
left: 50%;
width: 270px;
transform: translateX(-50%) translateY(10px);
visibility: hidden;
opacity: 0;
background: #ffffff;
border-top: 3px solid #188834;
box-shadow: 0 12px 30px rgba(23, 35, 29, 0.12);
transition: 0.25s ease;
}

.nav-dropdown:hover .dropdown-menu {
visibility: visible;
opacity: 1;
transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
display: block;
padding: 12px 16px;
text-decoration: none;
color: #17231d;
font-size: 13px;
line-height: 1.4;
}

.dropdown-menu a:hover {
background: #ebf5ee;
color: #188834;
}

.menu-toggle {
display: none;
width: 42px;
height: 42px;
padding: 8px;
border: 0;
background: transparent;
cursor: pointer;
}

.menu-toggle span {
display: block;
width: 25px;
height: 2px;
margin: 5px auto;
background: #17231d;
}


/* SECTION HEADINGS */

.section-heading {
width: 90%;
max-width: 1180px;
margin: 0 auto 35px;
text-align: left;
}

.section-heading span {
display: block;
margin-bottom: 7px;
color: #188834;
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
}

.section-heading h2 {
margin: 0;
color: #17231d;
font-size: 30px;
line-height: 1.2;
font-weight: 700;
}

.section-heading p {
max-width: 700px;
margin: 12px 0 0;
color: #59645e;
font-size: 14px;
line-height: 1.7;
}


/* HERO */

.projects-hero {
position: relative;
height: 570px;
overflow: hidden;
background: #17231d;
}

.hero-images {
position: absolute;
inset: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
}

.hero-image {
height: 100%;
overflow: hidden;
}

.hero-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero-image:nth-child(2) img {
animation-delay: 2s;
}

.hero-image:nth-child(3) img {
animation-delay: 4s;
}

@keyframes heroZoom {

from {
transform: scale(1);
}

to {
transform: scale(1.04);
}

}

.hero-overlay {
position: absolute;
inset: 0;
background: rgba(10, 35, 20, 0.25);
}

.projects-hero-content {
position: relative;
z-index: 2;
width: 90%;
max-width: 950px;
height: 100%;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #ffffff;
text-align: center;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.projects-hero-content span {
margin-bottom: 14px;
font-size: 12px;
font-weight: 700;
letter-spacing: 2px;
}

.projects-hero-content h1 {
max-width: 850px;
margin: 0 0 20px;
font-size: 42px;
line-height: 1.12;
}

.projects-hero-content p {
max-width: 700px;
margin: 0;
font-size: 14px;
line-height: 1.65;
}


/* PORTFOLIO */

.portfolio {
padding: 75px 0;
background: #ffffff;
}

.portfolio-stats {
width: 90%;
max-width: 1180px;
margin: auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 22px;
}

.portfolio-stat {
padding: 28px 20px;
background: #ebf5ee;
text-align: center;
}

.portfolio-stat strong {
display: block;
margin-bottom: 6px;
color: #176b31;
font-size: 30px;
line-height: 1.1;
}

.portfolio-stat span {
color: #59645e;
font-size: 13px;
}


/* COUNTRY PROJECTS */

.project-country {
width: 90%;
max-width: 1180px;
min-height: 430px;
margin: 0 auto 25px;
display: grid;
grid-template-columns: 1fr 1fr;
background: #f3f7f4;
scroll-margin-top: 100px;
}

.project-country.reverse {
direction: rtl;
}

.project-country.reverse .country-content {
direction: ltr;
}

.country-image {
min-height: 430px;
overflow: hidden;
}

.country-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition: transform 0.6s ease;
}

.project-country:hover .country-image img {
transform: scale(1.04);
}

.country-content {
padding: 45px;
display: flex;
flex-direction: column;
justify-content: center;
}

.country-content > span {
margin-bottom: 9px;
color: #188834;
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
}

.country-content h2 {
margin: 0 0 15px;
font-size: 30px;
line-height: 1.2;
}

.country-content p {
margin: 0 0 25px;
color: #59645e;
font-size: 14px;
line-height: 1.7;
}

.country-details {
display: flex;
gap: 40px;
}

.country-details div {
display: flex;
flex-direction: column;
}

.country-details strong {
color: #176b31;
font-size: 28px;
line-height: 1.1;
}

.country-details span {
margin-top: 4px;
color: #59645e;
font-size: 12px;
}


/* PROJECT MAP */

.project-map-section {
padding: 75px 0;
background: #ebf5ee;
}

#projectMap {
width: 90%;
max-width: 1180px;
height: 480px;
margin: 0 auto;
overflow: hidden;
}

.map-note {
width: 90%;
max-width: 1180px;
margin: 12px auto 0;
color: #59645e;
font-size: 11px;
text-align: center;
}


/* APPROACH */

.project-approach {
padding: 80px 0;
background: #ffffff;
}

.approach-grid {
width: 90%;
max-width: 1180px;
margin: auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
}

.approach-card {
padding: 28px;
background: #f3f7f4;
border-left: 4px solid #188834;
}

.approach-card h3 {
margin: 0 0 10px;
font-size: 21px;
}

.approach-card p {
margin: 0;
color: #59645e;
font-size: 13px;
line-height: 1.7;
}


/* CTA */

.projects-cta {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.projects-cta > div {
    width: 90%;
    max-width: 850px;
    margin: auto;
}

.projects-cta .section-label {
    margin: 0 0 12px;
    color: #176b31;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.projects-cta h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    color: #17231d;
}

.projects-cta p:not(.section-label) {
    margin: 25px auto 30px;
    max-width: 700px;
    color: #17231d;
    font-size: 17px;
    line-height: 1.7;
}

.projects-cta .btn {
    background: #176b31;
    color: #ffffff;
}

.projects-cta .btn:hover {
    background: #125625;
}


/* FOOTER */

.site-footer {
    background: #17231d;
    color: #ffffff;
    padding: 32px 0 12px;
}

.footer-content {
    width: 90%;
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.site-footer h4 {
    margin: 0 0 10px;
    font-size: 15px;
}

.site-footer p {
    margin: 0;
    line-height: 1.45;
    color: #dce5df;
    font-size: 13px;
}

.office-row,
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.office-row strong,
.contact-row strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.contact-row a {
    color: #dce5df;
    text-decoration: none;
}

.contact-row a:hover {
    color: #8fcf9b;
}

.footer-bottom {
    width: 90%;
    max-width: 1180px;
    margin: 20px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: #dce5df;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 650px) {

    .footer-content {
        width: 90%;
    }

    .office-row,
    .contact-row {
        gap: 20px;
    }
}

@media (max-width: 420px) {

    .office-row,
    .contact-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* TABLET */

@media (max-width: 900px) {

.menu-toggle {
display: block;
}

.nav-links {
position: absolute;
top: 78px;
left: 0;
right: 0;
display: none;
padding: 20px 5%;
box-sizing: border-box;
flex-direction: column;
align-items: stretch;
gap: 0;
background: #ffffff;
border-bottom: 1px solid #188834;
}

.nav-links.active {
display: flex;
}

.nav-links > a,
.dropdown-toggle {
display: block;
padding: 14px 0;
}

.nav-dropdown {
width: 100%;
}

.dropdown-menu {
position: static;
width: 100%;
transform: none;
visibility: visible;
opacity: 1;
display: none;
border-top: 1px solid #d8e4db;
box-shadow: none;
}

.nav-dropdown.open .dropdown-menu {
display: block;
}

.dropdown-menu a {
padding: 11px 15px;
}

.projects-hero {
height: 520px;
}

.projects-hero-content h1 {
font-size: 38px;
}

.section-heading h2 {
font-size: 28px;
}

.portfolio-stats {
grid-template-columns: repeat(2, 1fr);
}

.project-country {
min-height: 360px;
}

.country-image {
min-height: 360px;
}

.country-content {
padding: 35px;
}

.country-content h2 {
font-size: 27px;
}

}


/* MOBILE */

@media (max-width: 650px) {

.navbar {
min-height: 70px;
}

.nav-links {
top: 70px;
}

.projects-hero {
height: 560px;
}

.hero-images {
width: 300%;
grid-template-columns: repeat(3, 100%);
animation: heroSlide 18s infinite;
}

.hero-image {
width: 100%;
}

@keyframes heroSlide {

0%,
28% {
transform: translateX(0);
}

33%,
61% {
transform: translateX(-33.333%);
}

66%,
94% {
transform: translateX(-66.666%);
}

100% {
transform: translateX(0);
}

}

.hero-overlay {
background: rgba(10, 35, 20, 0.22);
}

.projects-hero-content {
width: 86%;
}

.projects-hero-content h1 {
font-size: 34px;
}

.projects-hero-content p {
font-size: 14px;
}

.section-heading {
width: 88%;
margin-bottom: 30px;
}

.section-heading span {
font-size: 10px;
}

.section-heading h2 {
font-size: 26px;
}

.section-heading p {
font-size: 13px;
}

.portfolio {
padding: 60px 0;
}

.portfolio-stats {
width: 88%;
grid-template-columns: 1fr 1fr;
gap: 15px;
}

.portfolio-stat {
padding: 24px 12px;
}

.portfolio-stat strong {
font-size: 29px;
}

.project-country,
.project-country.reverse {
width: 88%;
display: flex;
flex-direction: column;
direction: ltr;
margin-bottom: 20px;
}

.country-image {
height: 250px;
min-height: 250px;
}

.country-content {
padding: 30px 25px;
}

.country-content h2 {
font-size: 26px;
}

.country-content p {
font-size: 14px;
}

.country-details {
gap: 30px;
}

.project-map-section,
.project-approach {
padding: 60px 0;
}

#projectMap {
width: 88%;
height: 390px;
}

.map-note {
width: 88%;
}

.approach-grid {
width: 88%;
grid-template-columns: 1fr;
gap: 18px;
}

.approach-card {
padding: 25px;
}

.approach-card p {
font-size: 13px;
}

.projects-cta {
padding: 60px 5%;
}

.projects-cta h2 {
font-size: 30px;
}

.projects-cta p {
font-size: 14px;
}

.footer-content {
flex-direction: column;

}

}