* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #0f0f1a, #1a1a2e);
  color: #f1f1f1;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.pp {
  max-width: 84vw; /* Use max-width for better responsiveness */
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px; /* Replaces 'top' for spacing */
  padding-bottom: 59px;
  font-size: 1.3rem;
  /* The following is added for better box model behavior */
  box-sizing: border-box; 
}

.our-goals{
font-size: 3.5rem;
}

.goals{
  font-size:1.5rem;
}

.what-is-mindfullreaders{
  font-size: 2.5rem;
}

.community-student{
  font-size: 2.5rem;
}

.community-desc{
  padding-top: 25px;
}

/*--- Main Structure ---*/
main {
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.section {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}
.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.section h1,
.section h2 {
  font-size: 2.5rem;
  color: #00bfff;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  text-align: justify;
  max-width: 900px;
  margin: auto;
}

.section {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}
.section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.section h1,
.section h2 {
  font-size: 2.5rem;
  color: #00bfff;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  text-align: justify;
  max-width: 900px;
  margin: auto;
}

/*--- Video Placeholder ---*/
.about-video-placeholder {
  padding: 4rem 2rem;
  background: #f0f4f8;
  text-align: center;
  color: #333;
}
.video-box {
  height: 300px;
  background: #dbe9f4;
  border-radius: 8px;
  margin-top: 1rem;
}
/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
  .section h1,
  .section h2 {
    font-size: 2rem;
  }

  .section p {
    font-size: 1rem;
    padding: 0 10px;
  }

  main {
    padding: 20px 10px;
  }
}

/* --- Navbar --- */
#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Changed from baseline to center for better vertical alignment */
  background-color: #3e97ff;
  color: white;
  padding: 10px 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1000;
  /* Ensure navbar is on top */
}

#navbar img {
  border-radius: 7px;
  height: 40px;
}

/* Navigation menu */
#navbtn {
  display: flex;
  list-style: none;
  gap: 25px;
}

#navbtn li {
  cursor: pointer;
  padding: 10px;
}

#navbtn li a {
  /* Targeting anchor tags inside list items */
  color: white;
  text-decoration: none;
  /* Remove underline from links */
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

#navbtn li:hover a,
#navbtn li.active a {
  /* Hover effect for navigation links */
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Hamburger icon */
.hamburger {
  display: none;
  /* Hidden by default for desktop */
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  color: white;
  /* Ensure hamburger is white */
}
/* --- Main Image Section (Hero) --- */
.imgebody {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 10%;
  background-color: #000;
}

.mainbodyimg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) blur(2px);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
}

.content .tagline {
  color: #ffc107;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 15px 0;
}

.content .club-intro-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.pagination-dots {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.dot.active {
  background-color: white;
  border: 1px solid #001eff;
}

.dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.8);
}

.join-us-section {
  margin-bottom: 40px;
  padding: 40px 20px;
  background: #1a1a1a;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.join-us-section h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #00bfff;
}

.join-us-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #ccc;
}

/* Already in your CSS — ensure this part stays too */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  font-family: "Montserrat", sans-serif;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

.primary-btn {
  background: linear-gradient(45deg, #ff8c00, #e67d00);
  color: white;
}

.primary-btn:hover {
  transform: scale(1.05);
}

.secondary-btn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

#navbar {
  padding: 10px 15px;
}

#navbar img {
  height: 35px;
}

.hamburger {
  font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .nav-links.show {
    display: flex;
  }
}
.about-video-placeholder {
  padding: 4rem 2rem;
  background: #f0f4f8;
  text-align: center;
}

.video-box {
  height: 300px;
  background: #dbe9f4;
  border-radius: 8px;
  margin-top: 1rem;
}

.about-what {
  background-color: #0077cc;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}
.about-goals {
  background-color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  color: #333;
}
.about-goals ul {
  list-style: none;
  padding: 0;
}
.about-goals ul li {
  background: #0077cc;
  color: white;
  margin: 0.5rem auto;
  padding: 1rem;
  max-width: 600px;
  border-radius: 6px;
}
.student-community {
  background: #e0f2ff;
  text-align: center;
  padding: 3rem 2rem;
  color: #003b5c;
}
.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 1.4rem;
}
.community-actions div {
  background: #0077cc;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
}

.about-what {
  background-color: #0077cc;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.about-goals {
  background-color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
}

.about-goals ul {
  list-style: none;
  padding: 0;
}

.about-goals ul li {
  background: #0077cc;
  color: white;
  margin: 0.5rem auto;
  padding: 1rem;
  max-width: 600px;
  border-radius: 6px;
}

.student-community {
  background: #e0f2ff;
  text-align: center;
  padding: 3rem 2rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.community-actions div {
  background: #0077cc;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #3e97ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  transition: color 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #ffdb58;
}

@media screen and (max-width: 768px) {
  /* Navbar */
  .hamburger {
    display: block;
  }

  #navbtn {
    display: none;
    /* Hidden by default on mobile */
    flex-direction: column;
    width: 100%;
    background-color: #3e97ff;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    /* Below navbar, above main content */
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

  #navbtn.show {
    display: flex;
    /* Show when 'show' class is added by JS */
  }

  #navbtn li {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Added for separation */
  }

  #navbtn li:last-child {
    border-bottom: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .nav-links.show {
    display: flex;
  }
}
html {
  scroll-behavior: smooth;
}
.site-footer {
  background: linear-gradient(to right, #000000, #1a1a1a);
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  border-top: 2px solid #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.site-footer h3 {
  margin-bottom: 15px;
  font-size: 28px;
  letter-spacing: 1px;
}

.site-footer p {
  margin: 10px 0;
  font-size: 16px;
  opacity: 0.85;
}

.site-footer .social-icons {
  margin: 20px 0;
}

.site-footer .social-icons a {
  color: #ffffff;
  margin: 0 12px;
  font-size: 22px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: #1da1f2;
  transform: scale(1.2);
}

.site-footer .copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #cccccc;
}
