/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fdfdfd;
  }
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  .container-left {
    width: 90%;
    max-width: 1200px;
    margin: left;
  }
  
  /* Header */
  header {
    background: #027f5f;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Optional, helps on small screens */
  }
  
 /* header h1 {
    float: left;
  }
  nav {
    float: right;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  header::after {
    content: "";
    display: table;
    clear: both;
  }*\
  
  /* Hero */
  .hero {
    background: linear-gradient(to left, #004e7c, #0078aa);
    background-image: url('herobackground.jpg');
    color: #fff;
    padding: 4rem 0;
    text-align: center;
  }
  .hero h2 {
    font-size: 3rem;          /* Increased size for more impact */
  font-weight: bold;        /* Bold title */
  margin-bottom: 1.5rem; /* Space below the title */

  }
  .hero p {
   font-size: 1.2rem;        /* Slightly larger text */
  line-height: 1.8;         /* More space between lines */
  margin: 0 auto 2rem auto; /* Centered with bottom margin */
  max-width: 800px;         /* Constrain the width for better readability */
  text-align: justify;      /* Or use 'center' if you prefer */
  }
  .hero .btn {
    background: #fff;
    color: #004e7c;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Projects Section */
  .projects {
    background-image: url('herobackground.jpg');
    padding: 4rem 0;
    background: #f5f9fc;
  }
  .projects h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  .project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    width: 300px;
    padding: 1rem;
    text-align: center;
  }
  .project-card img {
    max-width: 100%;
    border-radius: 5px;
  }
  .project-card h4 {
    margin: 1rem 0 0.5rem;
  }
  
  /* Footer */
  footer {
    background: #027f5f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
  }
  .menu-toggle {
    display: none;
  }
  
  
  /* Responsive */
  @media (max-width: auto) {
    nav {
      float: none;
      text-align: center;
      margin-top: 1rem;
    }
    nav ul {
      flex-direction: column;
    }
    header h1 {
      text-align: center;
      float: none;
    }
  }
  /* Dropdown Language Menu */
  .dropdown {
    position: relative;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 120px;
  }
  .dropdown-menu li {
    display: block;
    padding: 0;
  }
  .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
  }
  .dropdown-menu a:hover {
    background: #f0f0f0;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  /* Project Description Section */
  .project-description {
    padding: 4rem 0;
    background: #ffffff;
  }
  .project-description h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #004e7c;
  }
  .project-description p {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
  }
  
  /* Project Objectives / Goals Section */
  .goals {
    padding: 3rem 0;
    background: #f0f7fb;
  }
  .goals h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #004e7c;
    margin-bottom: 1.5rem;
  }
  .goal-list {
    max-width: 700px;
    margin: auto;
    padding-left: 12rem;
    font-size: 1.05rem;
    line-height: 2.1;
    color: #333;
  }
  .goal-list li {
    margin-bottom: 0.75rem;
  }
  /* Results Banner */
.results-banner {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/banner.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 4rem 0;
}
.results-banner h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

/* Results Grid */
.results-grid {
  padding: 3rem 0;
  background: #fff;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.result-card {
  position: relative;
  width: 200px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-decoration: none;
}
.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.result-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  font-weight: bold;
}

/*test dropdown */
/* Base menu styles */
.menu {
  list-style: none;
  background: #027f5f;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.menu.show {
  display: flex;
}
.menu > li {
  position: relative;
}
.menu a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  display: block;
  white-space: nowrap;
}

/* Dropdown styles */
.has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.has-dropdown:hover > .dropdown {
  display: block;
}

/* Nested dropdown (sub-dropdown) */
.dropdown li {
  position: relative;
}
.dropdown .has-dropdown > .dropdown {
  top: 0;
  left: 100%;
}

/* Dropdown link styles */
.dropdown a {
  color: #333;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}


/* Arrows for items with dropdowns */
.has-dropdown > a::after {
  content: " ▼";
  font-size: 0.6em;
  margin-left: 5px;
  color: black ;
}
.dropdown .has-dropdown > a::after {
  content: " ▶";
  color: #333;
}

.navbar-logo {
  height: 15px;
  vertical-align: left;
  margin-right: 1rem;
  float: left;
}

/* logo css */


.header-flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo-title {
  display: flex;
  align-items: center;
  float: left;
  gap: 10px;
}

.logo {
  height: 60px;
  width: auto;
}

.site-info {
  display: flex;
  flex-direction: column;
}

.site-info h1 {
  margin-bottom: 0.5rem;
  color: white;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.menu li a:hover {
  text-decoration: underline;
}

/* Contact form CSS*/
.contact-form-section {
  padding: 4rem 0;
  background: #f9f9f9;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: #004e7c;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.contact-form button {
  background-color: #004e7c;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0078aa;
}

/* Responsive Fixes */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem;
}

/* Real Media Query */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }


  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #004e7c;
    width: 100%;
  }

  .menu.show {
    display: flex;
  }

  nav .menu {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: #004e7c;
  }

  nav .menu.show {
    display: flex;
  }

  nav .menu li {
    width: 100%;
    text-align: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .goal-list {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .project-card,
  .result-card {
    width: 90%;
  }
}
p {
  margin-bottom: 1.5rem; /* or 24px, etc. */
}

.news-card img {
  width: 100%;
  height: 180px;      /* Set a fixed height */
  object-fit: cover;  /* Crop and scale image to fit */
}
.article-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.article-img img {
  width: 350px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.07);
}
.article-content {
  flex: 1;
  min-width: 0;
}
/* Responsive for mobile */
@media (max-width: 800px) {
  .article-flex {
    flex-direction: column;
    gap: 1rem;
  }
  .article-img img {
    width: 100%;
    max-width: 100%;
  }
}

