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

/*cards*/
.card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.impact-card {
    background-color: #f0f8ff; /* light blue background */
    border: 2px solid #0077b6;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.impact-card h2 {
    color: #023e8a;
    margin-bottom: 15px;
}

.impact-card ul {
    padding-left: 20px;
}

.impact-card ul li {
    margin-bottom: 10px;
    line-height: 1.2;
}


/* 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 css*/

body{
    background-color: #caf0f8;
}

.mainheading{
    color: #011f45 ;
    text-align: center;
}

.container {
    display: flex;
    margin: 20px;
}

.left-section {
    flex: 0.9;
    width: 25%;
    padding: 20px;
    margin-top: 70px;
    background-color: #caf0f8;
    border-right: 2px solid #666;
}

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

.left-section ul li {
    margin: 15px 0;
}

.left-section ul li a {
    text-decoration: none;
    color: #011f45 ;
    font-weight: bold;
    font-size: 20px;
}

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

.right-section {
    width: 75%;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
}

/*images*/

.impact-images {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap; /* helps responsiveness */
}

.impact-images img {
  width: 100%;
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-left: 10px;
  margin-right: 10px;
}

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

