* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: #caf0f8;
}


header {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}



/* Navbar styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.navbar-logo img {
    height: 40px;
    padding-left: 30px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin-left: 300px;
}

.navbar-links li {
    position: relative;
}

.navbar-links a {
    text-decoration: none;
    color: #333;
    padding: 8px 5px;
    font-size: 16px; /*change font size of home, resources, water footprint, time for action, about us*/
    position: relative;
    cursor: pointer;
}

.navbar-links .dropdown a {
    display: flex;
    align-items: center;
}

.navbar-links .dropdown i {
    margin-left: 3px; /* Adjust gap between text and dropdown arrow */
    font-size: 10px;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    /* padding: 10px 0; */
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    top: 30px;
    left: 0;
    z-index: 1000;
    min-width: 180px;
}

.dropdown-menu li {
    padding: 5px 15px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.dropdown-menu li:hover{
    background-color: rgb(188, 234, 253);
}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Search bar styling */
.navbar-search {
    display: flex;
    align-items: center;
}

/* Search bar styling */
.navbar-search input[type="text"] {
    padding: 5px;
    border: 1px solid #ddd; 
    border-radius: 3px 0 0 3px;
    outline: none;
    transition: border-color 0.3s ease;
}

.navbar-search input[type="text"]:focus {
    border-color: #b4b1b1; /* Enforce lighter color on focus */
}


.navbar-search button {
    padding: 5px 10px;
    background-color: #007BFF;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
}

.navbar-search i {
    font-size: 16px;
}

/****************************** General Roadmap Section ******************************/
.roadmap-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #e0f7fa, #c3f1f8);
}

.roadmap-heading {
  font-size: 2.5rem;
  text-align: center;
  margin-left: 82px;
  color: #034f4f;
  margin-bottom: 10px;
}

.roadmap-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: #066c6c;
  margin-bottom: 40px;
  margin-left: 30px;
}

/****************************** Timeline Structure ******************************/
.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #088395;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-row {
  position: relative;
  min-height: 320px;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/****************************** Timeline Box ******************************/
.timeline-box {
  background-color: white;
  border-radius: 12px;
  width: 45%;
  position: absolute;
  padding: 20px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-box.left {
  left: 0;
}

.timeline-box.right {
  left: 55%;
}

.timeline-box h3 {
  margin-top: 0;
  color: #0a4d68;
  font-size: 1.3rem;
}

.timeline-box p {
  color: #444;
}

.timeline-box ul {
  padding-left: 20px;
  margin-top: 10px;
}

.timeline-box ul li {
  margin-bottom: 8px;
  color: #034f4f;
}

.timeline-box a {
  text-decoration: none;
  color: #088395;
  font-weight: 600;
}

.timeline-box a:hover {
  text-decoration: underline;
}

/****************************** Image Styling ******************************/
.image {
  position: absolute;
  width: 45%;
  text-align: center;
  padding: 20px;
}

.image.left {
  left: 0;
}

.image.right {
  left: 55%;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

/****************************** Responsive Design ******************************/
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 8px;
  }

  .timeline-row {
    flex-direction: column;
    position: static;
  }

  .timeline-box,
  .image.left,
  .image.right {
    width: 90%;
    position: relative;
    left: 0 !important;
    margin-left: 20px;
  }

  .image img {
    margin-top: 20px;
  }
}

/* Footer styles */
footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ccc;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 150px;
    text-align: left;
    padding-left: 10px;
}

.footer-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #000;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-social {
    margin: 20px 0;
}

.footer-social a {
    margin: 0 10px;
    color: #333;
    font-size: 18px;
    text-decoration: none;
}

.footer-social a:hover {
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

