body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #333;
    color: #fff;
}
/* Default Light Mode Styles */

/* Dark Mode Styles */
.dark-mode .modal {
    background-color: rgba(0, 0, 0, 0.6); /* Darker background */
}

.dark-mode .modal-content {
    background-color: #333; /* Dark background */
    color: #fefefe; /* Light text color */
    border: 1px solid #555; /* Dark border */
}

.dark-mode .close {
    color: #ccc; /* Light color for close icon */
}

.dark-mode .close:hover,
.dark-mode .close:focus {
    color: #fff; /* Bright color for hover/focus */
}

.dark-mode .form-container {
    background-color: #444; /* Dark background */
    color: #fff; /* Light text color */
}

.dark-mode .form-container input,
.dark-mode .form-container textarea {
    background-color: #555; /* Dark input fields */
    border: 1px solid #666; /* Dark border */
    color: #fff; /* Light text color */
}

.dark-mode .form-container button {
    background-color: #0056b3; /* Darker button color */
}

.dark-mode .form-container button:hover {
    background-color: #003d7a; /* Darker hover color */
}

.dark-mode .card {
    background-color: #444; /* Dark card background */
    border: 1px solid #555; /* Darker border */
    color: #fff; /* Light text color */
}

.dark-mode .card .time {
    color: #aaa; /* Light color for time */
}

.dark-mode .card .icons div {
    color: #aaa; /* Light color for icons */
}

.dark-mode .card .icons div:hover {
    color: #fff; /* Bright color for icon hover */
}

.dark-mode .comments-section {
    background-color: #555; /* Darker comment section */
}

.dark-mode .comment {
    border: 1px solid #666; /* Darker border */
    background-color: #333; /* Dark comment background */
    color: #f3f3f3; /* Light text color */
}

.dark-mode .comment .time {
    color: #aaa; /* Light color for time */
}

.dark-mode .how-it-works {
    background-color: #444; /* Dark background */
    color: #fff; /* Light text color */
}

.dark-mode footer {
    background-color: #222; /* Darker footer background */
    color: #ddd; /* Light text color */
}


header {
           position: relative;
           background-image: url('header.png');
           background-size: cover;
           background-repeat: no-repeat;
           padding: 20px;
           text-align: center;
           color: #9ecc44;
           opacity: 0.8;
       }

       h1 {
           font-size: 3em; /* Adjust as needed */
           font-weight: bold;
           background: linear-gradient(45deg, #ff6b6b, #f06595, #f9cb28, #ff6b6b); /* Gradient colors */
           -webkit-background-clip: text;
           -webkit-text-fill-color: transparent;
           background-clip: text;
           color: transparent;
           text-align: center;
           margin: 20px 0; /* Adjust margin as needed */
       }


nav {
            display: flex;
            justify-content: flex-start; /* Align items to the left */
        }

        nav a {
              margin: 0 -4px; /* Adjust this value to reduce or increase spacing */
              padding: 10px 17px; /* Adjust padding for better click area */
              text-decoration: none;
              color: #0c0b0b; /* Change this to your preferred link color */
                background: linear-gradient(to right, #97d6a9, #8ca496);
              border-radius: 5px; /* Rounded corners */
              display: inline-block; /* Ensure the links are inline-block elements */
              transition: background 0.3s ease, transform 0.3s ease; /* Smooth transitions */
          }

        nav a:hover {
            background: linear-gradient(to right, #feb47b, #a1928f); /* Hover gradient colors */
            transform: scale(1.05); /* Slightly enlarge on hover */
        }


main {
    padding: 2em;
}

h2 {
    margin-top: 0;
    text-align: center;
    color: green;
}

.button-group {
    text-align: center;
    margin: 20px 0;
}

.button-group button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-group button:hover {
    background-color: #0056b3;
}

.form-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 0.5em 0 0.2em;
}

input, textarea, select {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;

    padding: 0.5em 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
.comment-time {
    position: absolute;
    top: 10px;
    right: 10px;
    color: green;
}

.comment-email {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.comment-text {
    margin-left: 20px; /* Indent the comment text */
}
.header-container {
         display: flex;
         justify-content: space-between;
         align-items: center;
         position: relative; /* Required for absolute positioning of the menu */
     }

     .menu-btn {
         background: #007bff;
         color: #fff;
         padding: 10px 15px;
         border: none;
         border-radius: 5px;
         cursor: pointer;
         display: flex;
         align-items: center;
         transition: background 0.3s ease, transform 0.3s ease;
     }

     .menu-btn:hover {
         background: #62b197;
         transform: scale(1.05);
     }

     .menu-btn i {
         margin-right: 5px;
     }

     .dropdown-menu {
          display: none;
          position: absolute;
          top: 50px; /* Adjust this based on the height of your header */
          right: 0;
          background-color: #fff;
          border: 1px solid #ddd;
          border-radius: 5px;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          width: 200px; /* Adjust the width as needed */
          z-index: 1;
      }

      .dropdown-menu a {
          display: block;
          padding: 10px 15px;
          text-decoration: none;
          color: #333;
          border-bottom: 1px solid #6588af;
          transition: background 0.3s ease;
      }

     .dropdown-menu a:hover {
         background-color: #f1f1f1;
     }

     .dropdown-menu a:last-child {
         border-bottom: none;
     }
