/* Base Styles */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
  }


html {
    scroll-behavior: smooth;
  }
    
  
  /* Header & Navigation */
    
.Header {
    background-color: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}
    
.Navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    
  /* Logo Styling */
.Navbar-logo .logo {
    height: 130px;
    width: auto;
    display: block;
    margin-right: auto;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    
} 
    
  /* Navigation Links */
.Navbar-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 40px; /* Adjusted margin for spacing */
}

.Navbar-links-wrapper {
    margin-right: 40px; /* Pushes links to the left */
  }
    
.Navbar-item a {
    text-decoration: none;
    color: #1f2f3f;
    font-weight: 500;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.5rem;
    display: inline-block;
    position: relative; /* Required for the ::after pseudo-element */
    padding: 12px ;
    transition: color 0.3s ease; /* Smooth color transition */
}
  
  /* Underline Animation */
.Navbar-item a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; /* Start with no underline */
    height: 2px; /* Thickness of the underline */
    background-color: #70C0BA; /* Underline color */
    transition: width 0.3s ease; /* Smooth animation for the underline */
}
  
.Navbar-item a:hover::after {
    width: 100%; /* Expand the underline to full width on hover */
}
  
.Navbar-item a:hover {
    color: #70C0BA; /* Change text color on hover */
}
    
  /* Dropdown Arrow Styling */
.Navbar-item .arrow {
    font-size: 1.3rem;
}
    
  /* Dropdown Menu */
.dropdown-menu {
    display: block;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
    
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.1s; /* Add a slight delay before showing */
  
}
    
  /* Dropdown Link */
.dropdown-menu li a {
    color: #1f2f3f;
    display: block;
    padding: 0.4rem 0;
    text-decoration: none;
    white-space: nowrap;
}
    
.dropdown-menu li a:hover {
    color: #70C0BA;
}

@media (max-width: 768px) {
  .Navbar-item.dropdown .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: opacity 0.3s, max-height 0.3s;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .Navbar-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    transition: opacity 0.3s, max-height 0.3s;
  }
}

@media (max-width: 768px) {
  .Navbar-links {
    left: 1vw; /* or any value you prefer */
    right: auto; 
  }
}

@media (max-width: 768px) {
  .dropdown-menu li a {
    white-space: normal;
    word-break: break-word;
    padding: 12px 16px;
    font-size: 1rem;
  }
}
    
    
  /* Hero Section */
.hero {
    min-height: 50vh;
    background: url('images/Local Government Advisory.jpg') center center /cover no-repeat;
    background-position: 20% 50%;
    border: 10px solid #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5%;
    color: white;
    position: default;
    
}


/* Banner Section */
.banner-section {
    background-color: #213444;
    color: white;
    padding: 20px 20px;
    text-align: center;
}

.banner-heading {
  font-family: "Nunito Sans", sans-serif;
  position: relative;
  color: #f1f3f8;
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.banner-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #70C0BA;
  margin: 10px auto 0;
  border-radius: 2px;
}
  
  
.banner-content p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 25px;
}



/* Footer Styles */
.Footer {
    background-color: #213444;
    padding: 20px 2rem 20px;
    color: #fff;
    border-top: 1px solid #444;
}
  
.Footer .Container {
    max-width: 1100px; /* Optional: control width of inner content */
    margin: 0 auto;
    padding: 0 1rem; /* Add horizontal spacing inside the content */
    display: flex;
    flex-direction: column;
}
    
.Footer .column-title {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
    
.Footer .title {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    cursor: pointer;
}
  
.Footer a:hover {
    color: #70C0BA;
}
    
.Footer-contact {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 17px;
}
    
.Footer-contact > li {
    margin-bottom: 10px;
}

.Footer-contact-link i,
.Footer-contact li i {
  margin-right: 10px;       
  font-size: 1.2rem;
}
    
.Footer-contact-link {
    text-decoration: none;
    color: white;
}

/* Flag Image */
.Flag-container {
  display: flex;
  justify-content: center;
  transform: translateX(15px);
}

.Flag-image {
  width: 100px;
  height: 70px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
  
    /* Styling for the large-arrow */
.large-arrow {
    display: inline-block;
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease-in-out;
    padding-right: 45px; /* Space between text and arrow */
}
  
.large-arrow:hover {
    transform: scale(1.12); /* Slightly enlarge the arrow on hover */
    cursor: pointer; 
}
    
.large-arrow svg {
    width: 140%;
    height: 140%;
}
    
.Footer-strapline {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Space between text and arrow */
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}
    
.Footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 2rem;
    color: #ccc;
    font-size: 0.9rem;
    font-family: "Nunito Sans", sans-serif;
}
    
.Footer-legal-links a {
    margin-left: 20px;
    font-size: 0.875rem;
    color: #ccc;
    font-family: "Nunito Sans", sans-serif;
    margin-top: 40px;
    padding-top: 20px;
    text-decoration: none;
      
}

@media (max-width: 768px) {
  .Footer {
    padding: 40px 1rem;
    text-align: center;
  }

  .Footer .Container {
    padding: 0 1rem;
    flex-direction: column;
    align-items: center;
  }

  .Footer-strapline {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .Footer-contact {
    font-size: 1rem;
    padding: 0;
  }

  .Footer-contact li {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .Footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
  }

  .Footer-contact-link i {
    font-size: 1.2rem;
  }

  .Footer-legal {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 0 1rem;
  }

  .Footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .Footer-legal-links a {
    margin: 0;
    font-size: 0.85rem;
    padding: 0;
  }

  .Flag-container {
    margin-top: 1rem;
    transform: translateX(0);
  }
}
    
    
    /* Grid Helpers */
.Grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}


/* local-gov-advisory.html Content */
.gov-advisory-content {
    padding: 60px 20px;
    background-color: #fff;
    color: #1f2f3f;
    font-family: "Nunito Sans", sans-serif;
  }
  
.gov-advisory-content .container {
  max-width: 1000px;
  margin: 0 auto;
}
  
.gov-advisory-content p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
  
.gov-advisory-content h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 800;
}
  
.gov-advisory-content h4 {
  font-size: 1.3rem;
  color: #003366;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}
  
.gov-advisory-content ul {
  margin: 0 0 30px 1.2rem;
  padding-left: 1.2rem;
}
  
.gov-advisory-content ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.gov-advisory-content h1 {
  color: #003366;
  font-size: 1.5rem;
  margin-top: 30px;
}

.gov-advisory-content h2 {
  font-size: 1.3rem;
  margin-top: 10px;
  margin-bottom: 10px;
  color:#003366;
}

  
  /* Climate Advisory Logos */
.advisory-logos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem; /* Much smaller gap */
  padding: 2rem 1rem;
  flex-wrap: nowrap;
  width: 100%;
}

.advisory-logo {
  width: 220px; /* Adjust as needed for logo size */
  height: auto;
  margin-top: 20px;
  flex-shrink: 0;
}

.advisory-logos-content {
  flex: 1 1 500px;
  min-width: 350px;
  max-width: 900px;
  text-align: left;
  align-self: flex-start;
}
@media (max-width: 768px)  {
  .advisory-logo {
    display: none !important;
  }
}



  
  
  /* Hero Section for dev-projects-advisory.html */
.dev-projects .hero {
    background: url('images/devproject.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: flex-start;
    padding: 5%;
    color: white;
    position: default;
    min-height: 50vh;
}

 /* Hero Section for climate-advisory.html */
.climate-advisory .hero {
    background: url('images/Climate\ Advsiory.jpeg') center top / cover no-repeat;
    display: flex;
    justify-content: flex-start;
    padding: 5%;
    color: white;
    position: default;
    min-height: 50vh;
}

.infrastructure-advisory .hero {
    background: url('images/infrastructure.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: flex-start;
    padding: 5%;
    color: white;
    position: default;
    min-height: 50vh;
}

/* community-approach-wrapper image */
.community-approach-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
  }
  
  .community-text {
    flex: 1 1 500px;
  }
  
  .community-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .community-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }


  
/* =============================== */
/* 📱 Mobile Optimization Styles 📱 */
/* =============================== */
@media (max-width: 768px)  {
  .Navbar-links {
    display: none;
    overflow: visible;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 80vw;
    max-width: 300px;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .Navbar-links.active {
    display: flex;
  }

  .hamburger {
    flex: 0 0 auto;
    margin-left: 35px;
  }

  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #1f2f3f;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  .Navbar-container {
    position: relative; /* Ensure it creates a stacking context */
    z-index: 1001; /* Above background */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
  }

  
  .Navbar-item a {
    font-size: 1.2rem;
    padding: 10px;
  }

  .Navbar-logo {
    margin-right: auto;
  }
  
  .Navbar-logo .logo {
    height: 60px; /* Adjust logo height for mobile */
    width: auto;
    margin: -10px;
    transform: translateX(-20px); /* Reset transform for mobile */
  }

  .hero {
    position: relative; /* Ensure the hero section doesn't overlap the dropdown */
    z-index: 1;
    min-height: 60vh; /* Adjust height for mobile */
    padding: 20px; /* Add padding for better spacing */
    text-align: center; /* Center-align content for mobile */
  }

  .hero h1 {
    font-size: 2rem; /* Adjust font size for mobile */
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 0;
  }

  /* Community Section */
  .community-approach-wrapper {
    flex-direction: column; /* Stack content vertically */
    gap: 20px; /* Reduce spacing */
  }

  .community-text,
  .community-image {
    width: 100%; /* Full width for both text and image */
    text-align: center;
  }

  .community-image img {
    max-width: 90%; /* Ensure image scales properly */
    height: auto;
    border-radius: 10px;
  }

  

  /* Banner Section */
  .banner-heading {
    font-size: 2rem; /* Adjust font size for mobile */
    margin-bottom: 10px;
  }

  .banner-content p {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  /* Advisory Content */
  .gov-advisory-content {
    padding: 40px 15px; /* Adjust padding for mobile */
  }

  .gov-advisory-content h3,
  .gov-advisory-content h4 {
    font-size: 1.3rem; /* Adjust heading sizes */
  }

  .gov-advisory-content p,
  .gov-advisory-content ul li {
    font-size: 1rem; /* Adjust paragraph and list item sizes */
  }

  .advisory-flex {
    flex-direction: column; /* Stack columns vertically */
    gap: 20px; /* Reduce the gap between columns */
  }

  .advisory-column,
  .advisory-column-right {
    margin-top: 0; /* Remove any top margin */
  }
}


