@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@100..900&family=Noto+Serif+Bengali:wght@100..900&family=Tiro+Bangla:ital@0;1&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Courier New", Courier, monospace;
}

.bangla-font {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: normal;
}

#heading {
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  background-color: aquamarine;
  font-size: 2rem;
  font-weight: 900;
}

.project {
  padding: 1rem;
  margin: 1rem 0;
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.project-card img {
  width: 400px;
}

.project-card > div {
  align-self: flex-start;
}

.project-timeline {
  margin: 5rem 0;
}

.project-timeline h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 2rem 0;
}

.project-timeline .entries {
  width: calc(100% - 80px);
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-timeline .entries .entry {
  width: calc(50% - 80px);
  /* float: left; */
  padding: 20px;
  /* margin-top: 0.5rem; */
  clear: both;
  text-align: right;
  align-self: flex-start;

  &:not(:first-child) {
    margin-top: -100px;
  }

  .title {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    color: #343434;
    &:before {
      content: "";
      position: absolute;
      width: 8px;
      height: 8px;
      border: 4px solid #ffffff;
      background-color: #1d1d1d;
      border-radius: 100%;
      top: 50%;
      transform: translateY(-50%);
      right: -73px;
      z-index: 1000;
    }
    &.big:before {
      width: 24px;
      height: 24px;
      transform: translate(8px, -50%);
    }
  }

  .body {
    color: #aaa;
    margin-bottom: 5rem;

    p {
      line-height: 1.4em;
    }
  }

  &:nth-child(2n) {
    text-align: left;
    /* float: right; */
    align-self: flex-end;
    .title {
      &:before {
        left: -63px;
      }
      &.big:before {
        transform: translate(-8px, -50%);
      }
    }
  }
}

.collaboration {
  margin-top: 20px;
  margin-bottom: 200px;
}

.collaboration h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 2rem 0;
}

.collaboration > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.collaboration div > img {
  width: 100px;
}

.fund h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 2rem 0;
}

.fund div {
  width: 60%;
  margin: auto;
  text-align: justify;
  line-height: 1.5rem;
}
.header {
  grid-area: header; /* Assigns this class to the 'header' grid area */
  background-color: #00796b; /* Teal background for the header */
  padding: 1rem; /* Adds padding inside the header */
}

.nav {
  display: flex; /* Uses flexbox to align nav items */
  justify-content: space-between; /* Spaces out the items between left and right */
  align-items: center; /* Vertically aligns items in the center */
}

.left-nav,
.right-nav {
  display: flex; /* Makes both nav sections flex containers */
  list-style-type: none; /* Removes bullet points from list items */
}

.left-nav {
  justify-content: flex-start; /* Aligns left nav items to the left */
}

.left-nav li a {
  color: white; /* Sets the text color of links to white */
  text-decoration: none; /* Removes underline from links */
  margin-right: 1.5rem; /* Adds space between each link */
  font-weight: bold; /* Makes the text bold */
}

.right-nav {
  justify-content: flex-end; /* Aligns right nav items to the right */
}

.right-nav li {
  position: relative; /* Allows the dropdown menu to be positioned relative to this item */
}

.right-nav li a {
  color: white; /* Sets text color to white */
  text-decoration: none; /* Removes underline */
  margin-left: 1.5rem; /* Adds space between links */
  font-weight: bold; /* Makes text bold */
}

.right-nav li a:hover {
  text-decoration: underline; /* Adds underline when hovered */
}

/* Dropdown styling */
.dropdown-content {
  display: none; /* Hides dropdown menu initially */
  position: absolute; /* Positions the dropdown relative to its parent */
  background-color: #00796b; /* Teal background for the dropdown */
  min-width: 160px; /* Minimum width for the dropdown */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow around the dropdown */
  z-index: 1; /* Ensures the dropdown is above other content */
  right: 0; /* Aligns dropdown to the right edge of the parent */
}

.dropdown-content a {
  color: white; /* White text for dropdown links */
  padding: 12px 16px; /* Adds padding inside each dropdown link */
  text-decoration: none; /* Removes underline */
  display: block; /* Makes links take up the full width of the dropdown */
}

.dropdown-content a:hover {
  background-color: #004d40; /* Changes background color on hover */
}

.dropdown:hover .dropdown-content {
  display: block; /* Shows the dropdown menu when hovering over the parent */
}

/* Ensures dropdown is fully visible within the viewport */
.dropdown-content {
  overflow: hidden; /* Prevents content from overflowing */
  white-space: nowrap; /* Prevents text from wrapping to the next line */
}

.footer {
  grid-area: footer; /* Assigns this class to the 'footer' grid area */
  background-color: #00796b; /* Teal background for the footer */
  padding: 1rem; /* Adds padding inside the footer */
  text-align: center; /* Centers the text inside the footer */
}

.footer p {
  color: white; /* White text color for footer paragraphs */
  font-size: 0.9rem; /* Sets a smaller font size for footer text */
}

.footer a {
  color: white; /* White text color for footer links */
  text-decoration: none; /* Removes underline from links */
  margin-left: 1rem; /* Adds space between links */
}

.footer a:hover {
  text-decoration: underline; /* Adds underline when links are hovered over */
}

.footer-container {
  display: flex; /* Uses flexbox layout for the footer container */
  flex-wrap: wrap; /* Ensures child elements wrap onto multiple lines if needed */
  justify-content: space-between; /* Spaces out child elements evenly across the width */
}

.footer div {
  flex: 1; /* Ensures all child divs inside the footer take equal space */
  margin: 1rem; /* Adds 1rem of margin around the child divs */
}

.footer-about, .footer-quick-links, .footer-contact, .footer-newsletter {
  margin-bottom: 1.5rem; /* Adds space below each section in the footer */
}

.footer h3 {
  color: #fff; /* Sets the heading color to white */
  margin-bottom: 0.75rem; /* Adds space below the heading */
}

.footer p, .footer li {
  font-size: 0.9rem; /* Sets the font size for paragraphs and list items to 0.9rem */
  color: #ffffff; /* Sets the text color to white */
}

.footer a {
  color: #ffffff; /* Makes all footer links white */
  text-decoration: none; /* Removes the underline from links */
}

.footer a:hover {
  text-decoration: underline; /* Adds underline when the link is hovered */
}

.footer-quick-links ul {
  list-style-type: none; /* Removes bullet points from the list */
  padding: 0; /* Removes padding from the list */
}

.footer-quick-links li {
  margin: 0.5rem 0; /* Adds vertical spacing between each list item */
}

.footer-social-icons a {
  font-size: 1.5rem; /* Increases the size of the social media icons */
  margin-right: 1rem; /* Adds space between each icon */
  color: rgb(255, 255, 255); /* Sets the icon color to white */
}

.footer-newsletter form {
  display: flex; /* Applies flexbox layout to the newsletter form */
  flex-direction: column; /* Stacks the input and button vertically */
}

.footer-newsletter input {
  padding: 0.5rem; /* Adds padding inside the input field */
  border: none; /* Removes the default border */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem; /* Adds space below the input */
  border-radius: 4px; /* Rounds the corners of the input field */
}

.footer-newsletter button {
  padding: 0.5rem 1rem; /* Adds padding inside the button (top/bottom 0.5rem, left/right 1rem) */
  background-color: #004d40; /* Sets a dark green background for the button */
  color: white; /* Makes the button text white */
  border: none; /* Removes any border */
  cursor: pointer; /* Changes the mouse cursor to a pointer when hovering over the button */
  border-radius: 4px; /* Rounds the corners of the button */
}

.footer-newsletter button:hover {
  background-color: #002f2b; /* Changes the button's background to a darker green when hovered */
}

.footer-legal {
  text-align: center; /* Centers the legal section text */
  margin-top: 1rem; /* Adds space above the legal section */
}

.footer-legal p {
  font-size: 0.8rem; /* Sets a smaller font size for the legal text */
}

@media (max-width: 768px) {
  body {
    grid-template-columns: 1fr; /* Changes the layout to a single column on small screens */
    grid-template-areas:
      "header"
      "main"
      "sidebar"
      "footer"; /* Reorganizes grid areas for smaller screens to a vertical layout */
  }
}



/* For user.html page; Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body.user-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background-color: #f4f7fb;
  font-family: Arial, sans-serif;
  padding: 20px;
  overflow-y: auto;
}

/* Container styling */
.container {
  background-color: #ffffff;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Main header styling */
h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

/* Toggle buttons for Login and Registration */
.toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.toggle-buttons button {
  padding: 0.5rem 1.5rem;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.toggle-buttons button:hover {
  background-color: #0056b3;
}

/* Form section styling */
.form-section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #f9fafb;
}

.form-section h2 {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

input, select, button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* Link styling */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.profile-picture {
  width: 80px;            
  height: 80px;         
  border-radius: 50%;    
  object-fit: cover;     
  border: 2px solid #ddd; 
}




/*For Volunteer page*/


