
* {
    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**********************************/
/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #eef7ff;
    border: 1px solid #caf0f8;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faqq {
    padding-top: 40px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.fapp {
    font-size: 20px;
    text-align: center;
    color: #555;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 5px;
    border-radius: 3px;
}

.faq-question:hover {
    /* background-color: #eef7ff; */
    color: #007BFF;
}

.faq-answer {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
    padding-left: 10px;
    display: none; /* Hidden by default */
    transition: max-height 0.3s ease-in-out;
}

/* Show answer when FAQ is open */
.faq-item.open .faq-answer {
    display: block;
}

/* Cross Button Styling */
.close-btn {
    font-size: 30px;
    color: #999;
    font-weight: 900;
    cursor: pointer;
    margin-left: 10px;
    display: none; /* Hidden by default */
    transition: color 0.3s ease;
}

/* Show cross button when FAQ is open */
.faq-item.open .close-btn {
    display: inline-block;
}

.close-btn:hover {
    color: #ff0000;
}




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

