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



/******************************content************************************************/
.timeforactionpage {
    text-align: center;
    padding: 20px;
}

.timeforactionpage h1 {
    font-size: 50px;
    color: #333;
    margin: 0;
}

.timeforactionpage p {
    font-size: 25px;
    color: #555;
    margin: 10px 0 0;
}

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

.left-section {
    flex: 0.9;
    width: 25%;
    padding: 20px;
    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: #0078D4;
    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;
}

.right-section h2 {
    color: navy;
    margin-top: 0;
}

.right-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.right-section ul li {
    margin: 10px 0;
    font-size: 18px;
}

.right-section ul li strong {
    color: #515050;
}


/*maincontent*/
.action-group {
  background-color: #f1f8ff;
  border-left: 5px solid #023e8a;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

.action-group h3 {
  color: #023e8a;
  margin-bottom: 0.5rem;
}

.cta-box {
  background-color: #caf0f8;
  border-left: 4px solid #0077b6;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
}


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

/*responsiveness*/
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-section, .right-section {
    width: 100%;
    padding: 10px;
    border-right: none;
  }

  .navbar-links {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar-search {
    margin-top: 10px;
  }
}

/*image*/

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