@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  min-height: 100vh;
  background-size: contain; /* Prevents cropping */
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  background: rgb(53, 51, 51);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}
.header:hover::before {
  left: 100%;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 2px solid #e40808;
  object-fit: cover;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: rotate(10deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.site-name {
  font-size: 1.5rem;
  color: #e40808;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}


.tagline {
  font-size: 0.8rem;
  color: white;
  margin: 0;
  font-style: italic;
  max-width: 300px;
}



/*New Ended*/

.navbar a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  margin-left: 3px;
  transition: 0.3s;
}
.navbar a:hover {
  color: #f00;
}
#menu-icon {
  font-size: 36px;
  color: red;
  display: none;
}

.section {
  padding: 250px 0px;
  text-align: center;
  color: white;
}

/* Grievance Form */
.member {
  text-align: center;
  padding: 2px 20px;
}
.member form {
  width: 100%;
  max-width: 600px;
  background: white;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  margin: 20px auto;
}
.member h2 {
  font-size: 36px;
  color: #e40808;
  margin-bottom: 15px;
}
.member p {
  font-size: 15px;
  margin-bottom: 15px;
}
.member p.note {
  font-size: 13px;
  color: #555;
  margin: 5px 0;
}
.input-box {
  display: flex;
  flex-direction: column;
}
.input-field input,
.input-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fafafa;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
  margin-top: 5px;
}
.input-field textarea {
  resize: none;
  min-height: 100px;
}
.input-field input:focus,
.input-field textarea:focus {
  border-color: #e40808;
  box-shadow: 0 0 5px rgba(228, 8, 8, 0.3);
  outline: none;
}

/* Button */
form button {
  width: 100%;
  background: linear-gradient(135deg, #e40808, darkred);
  color: white;
  border: none;
  padding: 14px;
  margin-top: 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(228, 8, 8, 0.4);
}

/* Footer */
footer {
  background-color: #1d1a1a;
  color: #fff;
  padding: 60px 0 0;
}
.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-section {
  flex: 1;
  min-width: 250px;
}
.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #e40808;
}
.footer-section p {
  margin-bottom: 15px;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 10px;
}
.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-section ul li a:hover {
  color: #e40808;
  padding-left: 5px;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background-color: #e40808;
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* BREAKPOINTS */
@media (max-width: 992px) {
  .header {
    padding: 1.25rem 4%;
  }
}
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }
  .logo-section {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
  }

  .navbar {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-menu {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    background: #fff;
    flex-direction: column;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    padding: 20px 0;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0.5rem 4%;
    display: none;
    justify-content: space-between;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1000px);
  }
  .navbar.active {
    display: block;
  }
  .navbar a {
    display: block;
    margin: 1.5rem 0;
    color: black;
  }
  .nav-bg {
    position: sticky;
    top: 0px;
    left: 0;
    width: 100%;
    height: 435px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(50px);
    z-index: 99;
    display: none;
  }
  .nav-bg.active {
    display: block;
  }
}

/* Responsive section padding and text */
@media (max-width: 768px) {
  .section {
    padding: 100px 15px;
  }

  .site-name {
  font-size: 0.9rem;
  color: #e40808;
  margin: 0;
  font-weight: 4000;
  letter-spacing: 0px;
}


.tagline {
  font-size: 0.6rem;
  color: white;
  margin: 0;
  font-style: italic;
  max-width: 300px;
}

  .section h1 {
    font-size: 28px;
  }

  .section p {
    font-size: 16px;
  }

  .logo {
    font-size: 20px;
  }

  .navbar a {
    font-size: 16px;
    margin-left: 0;
  }

  .header {
    padding: 15px 20px;
  }

  .home-section,
  .manifesto-section,
  .grievance-section,
  .gallery-section,
  .teams-section,
  .contact-section {
    background-size: cover;
    background-position: center;
  }
}
