* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
 }
 
 html,
 body {
    height: 100%;
    width: 100%;
    overflow-x: clip;
    ;
 }
 
nav {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white; 
    height: 70px;
    
    /* CRITICAL: Fixes the nav bar to the top */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* CRITICAL: Creates space equal to the nav height so content isn't hidden */
.nav-spacer {
    height: 70px; 
}

/* Logo Styling */
.logo {
    color: var(--color-text-dark);
}

.logo h1 {
    font-size: 24px;
    transition: transform 0.3s ease-in-out;
}

.logo h1:hover {
    transform: scale(1.1);
}

/* Custom Nimzliot Logo Colors */
.logo .nimz {
    color: var(--color-primary-dark);
}

.logo .liot {
    color: var(--color-primary-light);
}

/* Menu List */
#menuList {
    display: flex;
    list-style: none;
    gap: 55px;
    align-items: center;
    margin: 0; 
    padding: 0; 
}

#menuList li {
    position: relative;
}

#menuList li a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 18px;
    padding: 8px 0;
    transition: color 0.3s ease-in-out;
}

/* Underline Effect */
#menuList li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color-primary-light);
    transition: width 0.3s ease-in-out;
}

#menuList li a:hover {
    color: var(--color-primary-light);
}

#menuList li a:hover::after {
    width: 100%;
}

/* Right Contact Button (Desktop) */
.nav-right a {
    display: flex;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: var(--color-primary-light);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0px 5px 10px rgba(12, 192, 223, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-right a:hover {
    transform: translateY(-3px);
    background: var(--color-primary-dark);
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon img {
    width: 30px;
    transition: transform 0.3s ease-in-out;
}
 .nimz {
    color: #004aad;
 }
 
 .liot {
    color: #0cc0df;
 }
 
 .whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
 }
 
 
 .chat-popup {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 20px;
    width: 320px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 999;
 }
 
 
 .chat-popup header {
    background: #25D366;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }
 
 .chat-popup header .close-btn {
    cursor: pointer;
    font-size: 20px;
 }
 
 
 .chat-body {
    padding: 20px;
    font-size: 14px;
 }
 
 .chat-body p {
    margin-top: 30px;
    margin-bottom: 10px;
 }
 
 .chat-body .contact-card {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
 }
 
 .chat-body .contact-card:hover {
    background: #e0e0e0;
 }
 
 .contact-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
 }
 
 .contact-card .contact-info {
    flex: 1;
 }
 
 .contact-card .contact-info .name {
    font-weight: bold;
 }
 
 .contact-card .contact-info .role {
    font-size: 12px;
    color: gray;
 }
 @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
 }
.mission-section {
    position: relative;
    width: 100%;
    min-height: 50vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('placeholder-bg.jpg'); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.95), rgba(12, 192, 223, 0.8));
    z-index: 1;
}
.content-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    width: 90%;
}
.mission-icon {
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 50px;
    border: 3px solid white;
    border-radius: 50%;
    padding: 15px;
    line-height: 1;
    display: inline-block;
    color: white;
    /* Optional: Add a subtle shadow for depth */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.mission-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
}
.mission-statement {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1.4;
}
.vision-section {
    width: 100%;
    padding: 60px 20px; /* Generous padding for vertical spacing */
    background-color: white; /* Clean white background */
    text-align: center;
    color: #333;
    z-index: 10; /* Darker text for readability on white background */
}

.vision-section .content-container {
    max-width: 800px;
    margin: 0 auto; /* Center the container */
}
.vision-icon {
    margin-bottom: 25px;
}

.vision-icon i {
    /* Brand Color: #0cc0df */
    color: #0cc0df; 
    font-size: 80px; /* Larger icon size */
    line-height: 1;
}
.vision-title {
    /* Brand Color: #0cc0df */
    color: #0cc0df; 
    font-size: 2.5em; 
    font-weight: bold;
    margin-bottom: 20px;
}
.vision-statement {
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.6; /* Excellent line height for readability */
    margin: 0 auto;
    max-width: 650px; /* Constrains text width, which is also good */
}
:root {
    --color-primary-dark: #004aad;  /* Dark Blue */
    --color-primary-light: #0cc0df; /* Light Cyan */
    --color-text-dark: #333;
    --color-background-light: #f8f8fc;
    --dot-size: 16px;
    --line-thickness: 2px;
}
.journey-section {
    padding: 80px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.journey-header {
    margin-bottom: 50px;
}

.logo-icon i {
    color: var(--color-primary-light);
    font-size: 30px;
    margin-bottom: 10px;
}

.journey-title {
    color: var(--color-primary-dark);
    font-size: 2.5em;
    font-weight: 700; /* Use numerical weight */
    margin-bottom: 120px;
}
.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: var(--line-thickness);
    background: repeating-linear-gradient(to right, #ccc, #ccc 10px, transparent 10px, transparent 15px);
    transform: translateY(-50%);
    z-index: 1;
}
.timeline-item {
    position: absolute;
    width: 33.33%;
    z-index: 2;
}

.item-2023 { left: 0; }
.item-2024 { left: 33.33%; }
.item-2025 { left: 66.66%; }

.timeline-dot {
    position: absolute;
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background-color: var(--color-primary-dark);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--color-primary-dark);
    transition: transform 0.3s ease; /* Add a subtle hover effect */
}

.timeline-dot:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.timeline-content {
    padding: 15px;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.timeline-year {
    font-weight: 700;
    margin-top: 10px;
    color: var(--color-primary-dark);
    font-size: 1.1em;
}
.timeline-item.top .timeline-content {
    position: absolute;
    bottom: calc(100% + 20px); /* Use calc for cleaner spacing */
    left: 0;
    width: 100%;
}
.timeline-item.bottom .timeline-content {
    position: absolute;
    top: calc(100% + 20px); /* Use calc for cleaner spacing */
    left: 0;
    width: 100%;
}
.leadership-section {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.section-title-leadership {
    color: var(--color-primary-dark);
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title-leadership::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary-light);
    margin: 10px auto 0;
}

.leadership-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px; 
    margin: 0 auto;
}
.leader-card {
    flex-basis: 250px; /* Base width for standard cards */
    max-width: 100%;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    background-color: white; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Added a light shadow for definition */
    border-radius: 6px;
}

.leader-name {
    color: var(--color-primary-dark);
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 10px; /* Adjusted top margin since photo is gone */
}

.leader-title {
    color: var(--color-text-dark);
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 15px; /* Increased margin to separate title from bio */
    font-style: italic;
}

.leader-bio {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}


.leader-card.primary-leader {
    flex-basis: 350px; /* Significantly wider than the standard 250px */
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 74, 173, 0.15); /* More prominent shadow */
    background-color: var(--color-background-light); /* Slight background tint */
    border-bottom: 5px solid var(--color-primary-dark); /* Stronger accent border */
    order: -1; /* Ensures this card always appears first in the flex container */
}

.leader-card.primary-leader .leader-name {
    font-size: 1.6em; /* Larger name font */
}

.leader-card.primary-leader .leader-title {
    font-size: 1.1em; /* Slightly larger title font */
    color: var(--color-primary-dark);
}
.locations-section {
    padding: 80px 20px;
    background-color: var(--color-background-light); /* Light background */
    text-align: center;
}

.section-title-locations {
    color: var(--color-primary-dark);
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 50px;
}

.locations-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.location-item {
    flex-basis: 300px;
    max-width: 100%;
    text-align: left;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary-light); /* Light Cyan accent bar */
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.location-flag {
    color: var(--color-primary-dark);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.location-flag i {
    color: var(--color-primary-light);
    margin-right: 8px;
}

.location-detail, .location-contact {
    color: var(--color-text-dark);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 5px;
}
.contact-map-section {
    padding: 80px 20px;
    background-color: white; 
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; 
    gap: 40px;
}
.contact-details {
    flex-basis: 60%; 
    padding-right: 20px;
    text-align: left;
}

.contact-title {
    color: var(--color-primary-dark);
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-intro {
    color: var(--color-text-dark);
    margin-bottom: 30px; /* Space between paragraph and button */
    font-size: 1.1em;
    line-height: 1.6;
}
.submit-button {

    display: inline-block;
    text-decoration: none; /* Remove underline */
    text-align: center;
    width: 250px; /* Set a fixed width for a clean button look */
    max-width: 100%;
    background-color: var(--color-primary-light); /* Light Cyan background */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.submit-button:hover {
    background-color: var(--color-primary-dark); /* Dark Blue on hover */
}
.map-column {
    flex-basis: 40%; 
}

.map-title {
    color: var(--color-primary-dark);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.map-container {
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-primary-dark) !important;
    border-radius: 10px;
}
footer {
   background-color: #ffffff; 
   color: #ffffff;
   padding: 50px 20px;
   margin-top: 50px;
}

.footer-container {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   max-width: 1200px;
   margin: auto;
   gap: 30px;
}

.footer-about {
   flex: 1;
   min-width: 250px;
}

.footer-about h2 {
   font-size: 24px;
   font-weight: bold;
   margin-bottom: 15px;
}

.footer-about p {
   font-size: 14px;
   line-height: 1.6;
   color: gray; 
}


.footer-links, .footer-follow, .footer-legal {
   flex: 1;
   min-width: 200px;
}

.footer h3 {
   font-size: 18px;
   margin-bottom: 15px;
   color: #000000; 
}

.footer ul {
   list-style: none;
   padding: 0;
}

.footer ul li {
   margin-bottom: 10px;
}

.footer ul li a {
   color: gray;
   text-decoration: none;
   font-size: 14px;
   transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
   display: inline-block;
}

.footer ul li a:hover {
   color: #0CC0DF; 
   transform: translateX(5px);
}


.social-icons {
   display: flex;
   gap: 15px;
   padding: 0;
}

.social-icons li {
   list-style: none;
}

.social-icons a {
   color: #b3d9ff; 
   font-size: 18px;
   transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.social-icons a:hover {
   color: #0CC0DF; 
   transform: scale(1.1);
}


.footer-bottom {
   text-align: center;
   border-top: 1px solid #0a3b80; 
   padding-top: 10px;
   margin-top: 20px;
}

.footer-bottom p {
   font-size: 12px;
   color: gray; 
   margin: 0;
}
/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 65px;
    height: 65px;
    background:#25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.7);
    transition: 0.3s ease;
    z-index: 999;
    animation: waFloat 3s infinite ease-in-out;
}

/* WhatsApp icon inside the button */
.whatsapp-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

/* Hover Effect */
.whatsapp-btn:hover {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.9);
}
@media (max-width: 900px) {
    .contact-container {
        flex-direction: column; 
        gap: 50px;
    }
    
    .contact-details,
    .map-column {
        flex-basis: 100%; 
        padding-right: 0;
    }

    .map-title {
        margin-top: 20px;
    }
    .contact-details {
        text-align: center; 
    }
    
    .submit-button {
        display: block; /* Make button full width on mobile */
        width: 100%;
    }
}

 /*Responsive design*/
 
 @media screen and (max-width: 1024px){
    nav {
        padding: 10px 20px;
     }
  
     #menuList {
        gap: 20px;
        padding-right: 0;
     }
     .mission-section {
        min-height: 45vh;
    }

    .mission-icon i {
        font-size: 45px;
        padding: 14px;
    }

    .mission-title {
        font-size: 2.5em;
    }

    .mission-statement {
        font-size: 1.3em;
    }
    .vision-section {
        padding: 50px 20px;
    }

    .vision-icon i {
        font-size: 70px;
    }

    .vision-title {
        font-size: 2.2em;
    }
    .leader-card:not(.primary-leader) {
        flex-basis: 220px; /* Slightly less than 25% to account for the larger card */
    }
 }
 @media screen and (max-width: 768px){
    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) brightness(1.1) contrast(1.3);
        -webkit-backdrop-filter: blur(20px) brightness(1.1) contrast(1.3);
  
  
        padding: 15px 0;
        z-index: 1000;
     }
  
  
     .menu-icon {
        display: block;
        cursor: pointer;
        
     }
  
  
     .nav-menu .contact {
        display: block;
     }
  
  
     .nav-right a {
        display: none;
     }
  
  
     #menuList {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        text-align: center;
        flex-direction: column;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
     }
  
     #menuList.active {
        max-height: 500px;
        padding: 20px 0;
     }
  
     #menuList li {
        margin: 10px 0;
     }
      .mission-section {
        min-height: 40vh;
    }

    .mission-icon i {
        font-size: 40px;
        padding: 12px;
    }

    .mission-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .mission-statement {
        font-size: 1.1em;
    }
     .vision-section {
        padding: 40px 15px; /* Less padding on mobile */
    }

    .vision-icon i {
        font-size: 60px; /* Smaller icon on mobile */
    }

    .vision-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .vision-statement {
        font-size: 1em;
        line-height: 1.5;
    }
    .timeline {
        padding: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        border-left: 2px solid #ccc; /* Vertical line replaces horizontal */
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .timeline-line {
        display: none; /* Hide horizontal line */
    }
    
    .timeline-item {
        position: relative; /* Switch to flow layout */
        width: 100%; /* Full width */
        padding: 20px 0 20px 20px; /* Padding for content */
        margin-bottom: 30px;
    }
    .item-2023, .item-2024, .item-2025 { 
        left: 0; 
    }
    .timeline-dot {
        top: 30px; /* Adjust vertical position */
        left: -10px; /* Position dot over the vertical line */
        transform: none; 
    }
    .timeline-item .timeline-content {
        position: static;
        margin: 0;
        padding: 0;
        text-align: left;
    }
    .timeline-item.top .timeline-content,
    .timeline-item.bottom .timeline-content {
        position: static;
        margin-bottom: 5px;
        margin-top: 0;
    }
    
    .timeline-year {
        order: -1; /* Move year above the description text */
        margin-bottom: 5px;
    }
    
    .timeline-item p {
        font-size: 0.9em;
    }
    .leader-card {
        flex-basis: 100%;
        max-width: 280px;
    }

    .location-item {
        flex-basis: 100%;
    }
    
    .section-title-leadership, .section-title-locations {
        font-size: 1.8em;
    }
     .leader-card {
        flex-basis: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .leader-card.primary-leader {
        max-width: 350px;
        margin: 0 auto 30px; /* Add bottom margin to separate from the next card */
    }
      .footer {
   padding: 30px 10px;
}

.footer-container {
   flex-direction: column;
   text-align: center;
   gap: 20px;
}

.footer-about h2 {
   font-size: 20px;
}

.footer h3 {
   font-size: 16px;
}

.footer ul li a {
   font-size: 12px;
}

.social-icons {
   justify-content: center;
}

.social-icons a {
   font-size: 16px;
}
    
}
 
 @media screen and (max-width: 480px) {

 }
 
 @media screen and (min-width: 769px) {
    .nav-menu .contact {
       display: none;
    }
 }