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

html{
    scroll-behavior: smooth;
}

body {
    width: 100%;
}


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;
}

/*main content*/
.blogs-section {
  padding: 60px 40px;
  background: linear-gradient(to bottom, #e0f7fa, #c3f1f8);
  text-align: center;
}

.blogs-heading {
  font-size: 42px;
  color: #034f4f;
  margin-bottom: 30px;
  font-weight: 700;
}

.blogs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.blog-card {
  background-color: #e0f4fa;
  border: 1px solid #b0dfe8;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: #034f4f;
}

.blog-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 12px;
}

.blog-content a {
  text-decoration: none;
  color: #088395;
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-content a:hover {
  color: #034f4f;
}


body{
    background-color:  #caf0f8;
}

.mainheading{
    color: #0078D4;
    text-align: center;
}

/* 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;
}



