@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;
  padding:2px;
}
.navbar a:hover {
  color: #f00;
}
#menu-icon {
  font-size: 36px;
  color: red;
  display: none;
}

.section {
  padding: 250px 0px;
  text-align: center;
  color: white;
}

/*Member form*/
.member {
  text-align: center; /* keeps heading + notes centered */
  padding: 2px 20px;
}

.member form {
  width: 100%;
  max-width: 500px;
  text-align: center;
  align-items: center;
  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: 0 auto; /* centers form inside member */;
}

.member h2 {
  font-size: 36px;
  color: #e40808;
  text-align: center;
  margin-bottom: 15px;
}

.member p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
}


.member p.note {
  font-size: 13px;
  text-align: center;
  color: #555;
  margin: 5px 0;
}

.input-box {
  display: flex;
  flex-direction: column;
}

.input-field .item,
.input-field input {
  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 input:focus {
  border-color: #e40808;
  box-shadow: 0 0 5px rgba(228, 8, 8, 0.3);
  outline: none;
}


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);
}

.terms {
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  color: #666;
}

.terms a {
  color: #e40808;
  font-weight: 500;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .member form {
    padding: 20px;
  }

  .member h2 {
    font-size: 28px;
  }
}

























/* Footer Styles */
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;
  }
}






/* 🔹 Notifications Section (original ka code) */
.notif-section {
  text-align: center;
  padding: 30px 15px 15px;
}
.notif-section h1 {
  font-size: 28px;
  font-weight: 700;
  color: #2b2b2b;
}
.notif-section i {
  color: #030303;
  margin-right: 10px;
}

/* Controls */
.notif-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.notif-controls input,
.notif-controls select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
  transition: 0.2s;
}
.notif-controls input:focus,
.notif-controls select:focus {
  border-color: #000000;
  box-shadow: 0 0 6px rgba(3, 3, 3, 0.3);
}

/* Container */
.notif-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Card */
.notif-card {
  display: flex;
  background: rgb(233, 221, 221);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.6s ease;
}
.notif-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

/* Date */
.notif-date {
  background: linear-gradient(135deg, #df0404, #070000);
  color: white;
  padding: 22px;
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 3px solid #eee;
}
.notif-date .day {
  font-size: 34px;
  font-weight: 700;
}
.notif-date .month {
  font-size: 18px;
  text-transform: uppercase;
}
.notif-date .year {
  font-size: 14px;
  opacity: 0.9;
}

/* Content */
.notif-content {
  padding: 20px;
  flex: 1;
}
.notif-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #2b2b2b;
}
.notif-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
.badge.new {
  background: #ff3b3b;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.tag.event { background: #3a8ef6; color: white; }
.tag.scholarship { background: #28a745; color: white; }
.tag.membership { background: #ff9800; color: white; }

/* Actions */
.notif-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.read-more,
.download-btn {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.read-more {
  color: #030303;
  border: 1px solid #000000;
}
.read-more:hover {
  background: #3a8ef6;
  color: white;
}
.download-btn {
  background: #fa3a3a;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
}
.download-btn:hover {
  background: #3a8ef6;
}

/* Pagination */
.pagination {
  text-align: center;
  margin: 25px 0;
}
.pagination button {
  padding: 10px 20px;
  border: none;
  background: #000000;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.pagination button:hover {
  background: #6f3afa;
}

/* Responsive */
@media (max-width: 768px) {
  .notif-card {
    flex-direction: column;
    align-items: center;
  }
  .notif-date {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }
  .notif-actions {
    justify-content: center;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

