* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}
/* Side Modal */
#profile-modal {
    position: fixed;
    top: 0;
    right: -500px; /* hidden initially */
    width: 450px;
    height: 100%;
    background: #ffffffee;
    backdrop-filter: blur(8px);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.35s ease-in-out;
    padding: 25px;
    z-index: 9999;
    border-left: 4px solid #1113;
}

/* Modal open state */
#profile-modal.show {
    right: 0;
}

.modal-content {
    color: #222;
    font-family: Arial, sans-serif;
}

/* Close button */
#close-modal {
    font-size: 28px;
    cursor: pointer;
    float: right;
    margin-top: -10px;
}

/* Profile image */
#profile-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
}
/* Profile Name Bar Color (dynamic via JS) */
#profile-name {
    padding: 10px 0;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    /* border-bottom: 4px solid var(--profileColor, #3498db); */
}

/* Profile Meta (country + occupation) */
.profile-meta {
    display: flex;
    gap: 25px;
    margin: 15px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: skyblue;
    font-size: 15px;
    font-weight: 600;
}

.meta-icon {
    font-size: 18px;
}

/* Description */
.profile-description {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.profile-name {
    font-size: 26px;
    font-weight: bold;
    color: var(--profileColor); /* dynamic color */
    margin-bottom: 10px;
}

.country-occupation {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.country, .occupation {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3b6bb2;
    font-size: 15px;
}

.flag-icon::before {
    content: "🌍";
}

.spanner-icon::before {
    content: "🔧";
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin: 15px 0;
    object-fit: cover;
}

.profile-description {
    margin-top: 10px;
    line-height: 1.5;
}

/* Nav Bar */
header {
    width: 100%;
    display: flex;
    background-color: white;
    justify-content: center;
}

nav {
  display: flex;
  justify-content: space-between;
  width: 90%;
  align-items: center;
  gap: 20px;
  padding: 1%;
}

.navLogo {
    position: absolute;
    left: 5.2%;
}


nav a {
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
}

.navLink {
    padding: 1%;
    width: 45%;
    margin-left: 6%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

nav .factSheet-btn {
  background-color: #001f3f;
  color: white;
  width: 140px;
  padding: 2%;
  font-size: 1.2rem;
  text-align: center;
  border-radius: 4px;
}

nav .factSheet-btn:hover {
    background-color: #6DA7D8;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.navCon {
    width: 37%;
    display: flex;
    justify-content: space-between;
}

.nav-search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.nav-search-box input {
    display: flex;
    width: 230px;
    height: 50px;
    padding: 4%;
    align-items: center;
    background: white;
    border-radius: 5px;
    overflow: hidden;
}

.nav-search-box button {
    border: none;
    background: #333;
    color: white;
    padding: 15px 10px;
    cursor: pointer;
}

.navCon .donate  {
  background-color: #FF5A00;
  color: white;
  width: 130px;
  height: 50px;
  padding: 5%;
  border: none;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

.navCon .donate:hover {
    background-color: #f88141f1;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    position: absolute;
    right: 2%;
    top: 3%;
    z-index: 1010;
}

/* Dropdown menu */
.dropdown {
    position: absolute;
    top: 80px;
    right: 0;
    width: 250px;
    background: #f4f4f4;
    padding: 20px;
    display: none;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.dropdown a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    color: #064c77;
    text-decoration: none;
}

.dropdown a:hover {
    text-decoration: underline;
}


.slide-panel {
    display: none;                   /* hides it completely */
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: auto;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(100%);     /* positioned off-screen */
    transition: transform 0.4s ease;
}

/* When panel is visible (JS adds this class) */
.slide-panel.open {
    display: block;
    transform: translateX(0%);       /* slides into view */
}

.close-btn {
    font-size: 40px;
    cursor: pointer;
    float: right;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 20px;
    color: white;
    background-color: black;
}

.panel-image {
    width: 100%;
    display: block;
}

.slidePanel-btn {
    width: 100%;
    display: flex;
    gap: 15px;
    padding: 2%;
}

.slidePanel-btn button {
    background-color: #001f3f;
    color: white;
    padding: 2%;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.slidePanel-btn button:hover {
    background-color: #6DA7D8;
}

/* Index main */

.sec1 {
    width: 100%;
    
}

.sec1Wrap {
    width: 100%;
    display: flex;
}

.sec1Con-Wrap {
    width: 30%;
    background-color: #00254B;
    color: white;
    padding: 3%;
}

.sec1Con1 {
    border-bottom: 1.5px solid white;
}

.sec1Con1 h2 {
    font-size: 3rem;
    font-family: Open Sans Condensed Bold, Sans-serif;
    margin-bottom: 3%;
    margin-top: 10%;
}

.sec1Con1 h1 {
    font-size: 3.9rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 60px;
    margin-bottom: 10%;
}

.sec1Con2 p {
    font-size: 1.1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    margin-top: 15%;
}

.sec1Con3 {
    border: 1.5px solid white;
    border-radius: 10px;
    margin-top: 15%;
    padding: 3%;
}

.sec1Con3 h3 {
    margin-top: 5%;
}

.sec1Con3 select {
    width: 100%;
    height: 25px;
    margin-top: 10%;
    margin-bottom: 5%;
    /* padding: 2%; */
}

.sec1Con3 button {
    width: 35%;
    padding: 4%;
    border-radius: 10px;
    color: white;
    background-color: #FF5A00;
    border: none;
}

.sec1Con3 button:hover {
    background-color: #f88141f1;
}

#map-container {
    width: 70%;
    background-color: #83aabb;
    z-index: 5;
    /* FIX: Removed leading slash, added ../ to go up from css folder */
    background-image: url('../img/Hero-Feature-Map-NO-DENMARK-02-scaled.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}

/* Square base style */
.icon.square {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    border: 2px dashed rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s;
    opacity: 0.88;
}
/* Remove default white pulse */
.icon.square {
    animation: none;
    position: absolute;
}

/* Shared shape properties remain the same */

/* Person icon (simple shape) */
.icon.square::before {
    content: "👤";
    font-size: 32px;
    color: white;
}

.icon.square:hover {
    transform: scale(1.3);
}

#minnesota {
    top: 25%;
    left: 8%;
    background-color: #ead204d0;
}

#california {
    top: 20%;
    left: 10%;
}

#texas {
    top: 25%;
    left: 14%;
}

#columbia {
    top: 37%;
    left: 18%;
    z-index: 1;
}

#equador {
    top: 35%;
    left: 22%;
    z-index: 2;
}

#malta {
    top: 25%;
    left: 55%;
}

#mongolia {
    top: 20%;
    left: 90%;
}

#finland {
    top: 15%;
    left: 61%;
}

#india {
    top: 30%;
    left: 80%;
}

#sierra-leone {
    top: 37%;
    left: 48%;
}

#ethopia {
    top: 36%;
    left: 52%;
}

#kenya {
    top: 36%;
    left: 56%;
}

#uganda {
    top: 38%;
    left: 65%;
    z-index: -3;
}

#ghana {
    top: 40%;
    left: 63%;
}

#nigeria {
    top: 42%;
    left: 62%;
}

#Mozambique {
    top: 42%;
    left: 59%;
    z-index: -3;
}

#zambia {
    top: 46%;
    left: 59%;
    z-index: -3;
}

#lesotho {
    top: 49%;
    left: 60%;
    z-index: -3;
}



/* Colors matching the screenshot */
.yellow { background: #ead204d0; }
.red { background: #da3a34d0; }
.purple { background: #7c3ecdce; }
.orange { background: #f99908d0; }
.teal { background: #062f3dd0; }
.brown { background: #81542bcb; }
.green { background: #64a850d0; }
.brightgreen { background: #58d46bd0; }
.pink { background: #d343cbd0; }
.blue { background-color: blue; }
.lightblue { background-color: rgb(147, 147, 255); }
.lightred { background-color: rgb(244, 121, 121); }

/* Yellow Pulse */
.icon.square.yellow {
    animation: pulseYellow 2s infinite ease-out;
}
@keyframes pulseYellow {
    0% { box-shadow: 0 0 0 0 rgba(234, 210, 4, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(234, 210, 4, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 210, 4, 0); }
}

/* Red Pulse */
.icon.square.red {
    animation: pulseRed 2s infinite ease-out;
}
@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(218, 58, 52, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(218, 58, 52, 0); }
    100% { box-shadow: 0 0 0 0 rgba(218, 58, 52, 0); }
}

/* Purple Pulse */
.icon.square.purple {
    animation: pulsePurple 2s infinite ease-out;
}
@keyframes pulsePurple {
    0% { box-shadow: 0 0 0 0 rgba(124, 62, 205, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(124, 62, 205, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 62, 205, 0); }
}

/* Orange Pulse */
.icon.square.orange {
    animation: pulseOrange 2s infinite ease-out;
}
@keyframes pulseOrange {
    0% { box-shadow: 0 0 0 0 rgba(249, 153, 8, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(249, 153, 8, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 153, 8, 0); }
}

/* Teal Pulse */
.icon.square.teal {
    animation: pulseTeal 2s infinite ease-out;
}
@keyframes pulseTeal {
    0% { box-shadow: 0 0 0 0 rgba(6, 47, 61, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(6, 47, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 47, 61, 0); }
}

/* Brown Pulse */
.icon.square.brown {
    animation: pulseBrown 2s infinite ease-out;
}
@keyframes pulseBrown {
    0% { box-shadow: 0 0 0 0 rgba(129, 84, 43, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(129, 84, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(129, 84, 43, 0); }
}

/* Green Pulse */
.icon.square.green {
    animation: pulseGreen 2s infinite ease-out;
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(100, 168, 80, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(100, 168, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(100, 168, 80, 0); }
}

/* Bright Green Pulse */
.icon.square.brightgreen {
    animation: pulseBrightGreen 2s infinite ease-out;
}
@keyframes pulseBrightGreen {
    0% { box-shadow: 0 0 0 0 rgba(88, 212, 107, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(88, 212, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(88, 212, 107, 0); }
}

/* Pink Pulse */
.icon.square.pink {
    animation: pulsePink 2s infinite ease-out;
}
@keyframes pulsePink {
    0% { box-shadow: 0 0 0 0 rgba(211, 67, 203, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(211, 67, 203, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 67, 203, 0); }
}

/* Blue Pulse */
.icon.square.blue {
    animation: pulseBlue 2s infinite ease-out;
}
@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 255, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(0, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 255, 0); }
}

/* Light Blue Pulse */
.icon.square.lightblue {
    animation: pulseLightBlue 2s infinite ease-out;
}
@keyframes pulseLightBlue {
    0% { box-shadow: 0 0 0 0 rgba(147, 147, 255, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(147, 147, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(147, 147, 255, 0); }
}

/* Light Red Pulse */
.icon.square.lightred {
    animation: pulseLightRed 2s infinite ease-out;
}
@keyframes pulseLightRed {
    0% { box-shadow: 0 0 0 0 rgba(244, 121, 121, 0.7); }
    60% { box-shadow: 0 0 0 20px rgba(244, 121, 121, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 121, 121, 0); }
}


.sec2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec2Wrap {
    width: 80%;
    display: flex;
}

.sec2box1 {
    width: 50%;
    font-size: 2.4rem;
    padding: 1%;
    display: flex;
    align-items: center;
}   

.sec2box2 {
    width: 50%;
}

#sec2Con1 {

    margin-top: 5%;
    border-bottom: 2px solid black;
}

.sec2Con {
    width: 100%;
    padding: 1%;
    margin: 5% 0;
}

.sec2Con h3 {
    font-size: 3rem;
}

.sec2Con h4 {
    font-size: 1.5rem;
    line-height: 35px;
}

#sec2Con1 h3 {
    margin-bottom: 5%;
}

#sec2Con1 h4 {
    margin-bottom: 5%;
}

.sec2Con {
    font-size: 1.1rem;
    line-height: 24px;
}

.sec3 {
    width: 100%;
    /* FIX: Removed leading slash, added ../ to go up from css folder */
    background-image: url('../img/Hero-Feature-Map-NO-DENMARK-02-scaled.jpg');
    height: 900px;
    display: flex;
    justify-content: center;
    background-size: cover;
}

.sec3Wrap {
    width: 80%;
}

.sec3box {
    width: 45%;
    background-color: #5a5a5a;
    text-align: center;
    opacity: 60%;
    box-shadow: 3px 8px rgba(0, 0, 0, 0.413);
}

.sec3box h2 {
    font-size: 2.4rem;
    margin: 1% 0;
    padding: 1%;
    font-weight: 900;
}

.sec3box p {
    font-size: 1.1rem;
    margin: 1% 0;
    padding: 1%;
    font-weight: 700;
    line-height: 30px;
}

.sec4 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: aliceblue;
}

.sec4Wrap {
    width: 80%;
}

.sec4Wrap p {
    margin-top: 5%;
    line-height: 30px;
    font-size: 1.1rem;
}

.sec4box {
    width: 50%;
    padding: 3%;
}

.sec4Con {
    display: flex;
    align-items: center;
}

.sec4Con h3 {
    font-size: 1.6em;
    margin-left: 5%;
}

.sec5 {
  padding: 3%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* FIX: Removed leading slash, added ../ to go up from css folder */
  background-image: url('../img/TF.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.sec5Wrap {
    width: 80%;
}
.title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.container {
        display: flex;
        padding: 10px 20px 20px;
        gap: 60px;
    }

    /* ===== LEFT MENU ===== */
    .sidebar {
        width: 320px;
    }

    .overview-tab {
        background: #6DA7D8;
        display: inline-block;
        padding: 15px 20px;
        border-radius: 5px;
        font-weight: bold;
        margin-bottom: 25px;
        color: white;
        font-size: 18px;
    }

    .menu-link {
        display: block;
        font-size: 15px;
        font-weight: 700;
        margin: 18px 0;
        cursor: pointer;
        transition: 0.2s;
        font-family: 'Montserrat', sans-serif;
    }

    .menu-link:hover,
    .menu-link.active {
        color: #6DA7D8;
    }

    /* ===== RIGHT CONTENT AREA ===== */
    .content-box {
        flex: 1;
        background: rgba(255,255,255,0.05);
        padding: 40px;
        border-radius: 10px;
        min-height: 500px;
        line-height: 1.7;
        font-size: 16px;
    }

    .content-box p {
        margin-top: 18px;
        font-weight: 500;
    }

    .program-title {
        font-size: 32px;
        font-weight: bold;
        margin-bottom: 20px;
    }

.recent-news {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: rgb(245, 245, 245);
}

.rn-Wrap {
    width: 80%;
    display: flex;
}

.rn-box1 {
    width: 40%;
    padding: 1% 3%;
    border-right: 1px solid black;
}

.rn-box1 h2 {
    margin: 25% 0;
    font-size: 2.5rem;
    color: #00254B;
}

.rn-box1 button {
    width: 100%;
    padding: 3%;
    margin: 5% 0;
    border-radius: 5px;
    color: white;
    background-color: #00254B;
    font-weight: 800;
    cursor: pointer;
}

.rn-box1 button:hover {
    background-color: #6DA7D8;
}

.rn-box2 {
    width: 60%;
}

.rn-box2 h2 {
    margin: 5% 4%;
    font-size: 2.5rem;
    color: #00254B;
}

.rn-box-conWrap {
    display: flex;
    justify-content: space-around;
}

.rn-box-con {
    width: 40%;
    margin-bottom: 5%;
    background-color: white;
    box-shadow: 2px 6px 2px 4px rgb(188, 188, 188);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rn-box-con:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-img img{
    width: 100%;
}

.news-content {
    padding: 3% 6%;
}

.news-content h3 {
    margin-bottom: 5%;
    font-size: 1.6rem;
}

.news-content a {
    text-decoration: none;
    color: #00254B;
    margin-bottom: 10%;
}

.sec6 {
    width: 100%;
    background-color: #3B6BB2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec6Wrap {
    width: 80%;
    display: flex;
}

.sec6box1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 1%;
}

.sec6box1 h3 {
    font-size: 2.5rem;
    color: white;
    margin-top: 11%;
}

.sec6box1 p {
    font-size: 1.3rem;
    color: white;
    margin-top: 12%;
    margin-bottom: 11%;
}

.sec6box2 {
    width: 50%;
    padding: 3%;
}

.sec6Form input {
    width: 47%;
    height: 45px;
    margin: 1%;
    padding: 4%;
}

.sec6Form button {
    width: 35%;
    padding: 4%;
    border-radius: 10px;
    color: white;
    background-color: #FF5A00;
    border: none;
    margin-top: 2%;
}

.sec6Form button:hover {
    background-color: #f88141f1;
}

.footer {
    width: 100%;
  background-color: #0d2b55;
  color: white;
  padding: 40px 60px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo img {
    width: 210px;
    margin-bottom: 15px;
}

.footer-logo .bold {
  font-weight: 700;
}

.contact p {
  margin: 10px 0;
  font-size: 15px;
}

.footer-buttons  {
    margin-top: 40px;
}

.footer-buttons .btn {
  margin: 8px 10px 0 0;
  padding: 10px 60px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.donate {
  background-color: #FF5A00;
}

.btn:hover {
  background-color: #f88141f1;
}

.footer-links h3,
.footer-programs h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 3.5;
}

.legal-links {
    margin-top: 60px;
}

.legal-links a {
    line-height: 35px;
    color: white;
    text-decoration: none;
}

.footer-programs ul li {
  color: white;
  font-size: 14px;
  line-height: 1.3;
  list-style-type: disc;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-info {
    margin-top: 60px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-info a {
    color: #b2d8ff;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.certifications {
    margin-top: 50px;
}

.cert-logo {
    height: 65px;
    width: 120px;
    margin-left: 10px;
}

.t-cert {
    width: 65px;
    height: 65px;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 22px;
    transition: color 0.3s;
}

.social-icons a:hover {
  color: #b2d8ff;
}

.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  height: 45px;
  width: 45px;
  background: #0077b6;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.whatsapp img {
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 50px;
}