/* Universal Styles */
* {
  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);
  /* Match premium background */
  color: #f1f1f1;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

main {
  max-width: 1400px;
  margin: 0 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-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: #00bfff;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.section p {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  text-align: justify;
  max-width: 900px;
  margin: 0 auto;
}

/* --- 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;
  min-height: 60vh; /* Use viewport height for responsiveness, or a fixed pixel value like 600px if preferred */
  height: 100vh; /* Make the section fill the viewport height for a hero section feel */
  display: flex;
  align-items: center; /* Vertically centers the .content */
  justify-content: center; /* Horizontally centers the .content */
  background-color: #000;
  overflow: hidden; /* Prevents content from spilling out */
  padding: 20px; /* Add some padding around the entire section on smaller screens */
  box-sizing: border-box; /* Include padding in the element's total width */
}

.mainbodyimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire area without distortion */
  filter: brightness(0.5) blur(2px);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 2; /* Ensures content is above the image */
  width: 100%; /* Allows content to take full width of available space within imgebody's padding */
  max-width: 800px; /* Max width for content, adjust as needed for optimal line length */
  padding: 20px; /* Internal padding for text */
  box-sizing: border-box; /* Include padding in the total width */
  color: white;
  text-align: center; /* Centers all inline-level content (text, tagline) */
  margin: 0; /* Remove auto margins here since flexbox is handling centering */
}

.content .tagline {
  color: #ffc107;
  font-size: clamp(1rem, 2.5vw, 1.4rem); /* Responsive font size */
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px; /* Add a bit of letter spacing for better appearance */
}

.content h1 {
  font-size: clamp(
    2.5rem,
    7vw,
    4.5rem
  ); /* More aggressive scaling for main heading */
  font-weight: 700;
  margin: 15px auto; /* Still useful for vertical spacing and to treat it as a block */
  line-height: 1.1; /* Tighter line-height for headings */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow for better contrast */
}

.content .club-intro-text {
  font-size: 1.5rem;
  line-height: 1.1;
  margin: 0 auto 25px auto; /* Top, right, bottom, left margins */
  align-items: center;
  max-width: 700px; /* Constrain max width for good line length on large screens */
  opacity: 0.9; /* Slightly reduce opacity for a softer look */
}

/* Optional: Media queries for fine-tuning on very small screens if clamp() isn't enough */
@media (max-width: 480px) {
  .imgebody {
    padding: 10px; /* Reduce overall padding on very small screens */
  }

  .content {
    padding: 15px; /* Reduce content padding */
  }
}

/* Optional: Media query for very large screens if content needs more constraint */
@media (min-width: 1400px) {
  .content {
    max-width: 900px; /* Further increase max-width for ultra-wide monitors if needed */
  }
}

/* Match footer layout with site width */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Join Us block */
.join-us-section {
  margin-bottom: 40px;
  padding: 40px 20px;
  background: #1a1a1a;
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.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;
}

/* Footer base styling (This was partially duplicated, adjusted for consistency) */
.site-footer {
  background: linear-gradient(to right, #000000, #1a1a1a);
  color: #ffffff;
  border-top: 2px solid #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 50px 20px;
  text-align: center;
}

.footer-content {
  text-align: center;
  padding-top: 0;
  /* Removed padding-top here as it's now handled by .site-footer padding */
}

.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;
}

/* Button styles already in your code */
.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);
}

/* Responsive tweak if needed */
@media (max-width: 768px) {
  .join-us-section h3 {
    font-size: 1.6rem;
  }

  .join-us-section p {
    font-size: 1rem;
  }

  .site-footer h3 {
    font-size: 24px;
  }
}

.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);
}

/* --- Founder's Voice Section --- */
#foundersvoice {
  display: flex;
  justify-content: center; /* Changed from space-between to center */
  align-items: center;
  gap: 60px;
  padding: 80px 10%;
  background: linear-gradient(to right, #0f0f1a, #1a1a2e);
  color: #eaeaea;
  position: relative;
  flex-wrap: wrap;

  /* These lines center the section itself */
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px; /* Or a suitable maximum width for your content */
}

.intro-container {
  flex: 1;
  max-width: 600px;
  /* Added these lines to center the content within intro-container */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-container h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: #00bfff;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.introduction-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  /* Changed text-align to justify for a more rectangular look */
  text-align: justify;
}

.founder-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  width: 300px; /* Fixed width for founder cards */
  margin-top: 20px; /* Space between cards */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers content horizontally within the card */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.founder-card img {
  max-width: 100%; /* Ensures the image doesn't overflow the card */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Ensures the image behaves as a block element for margin auto */
  margin-left: auto; /* Centers the image horizontally within its parent */
  margin-right: auto; /* Centers the image horizontally within its parent */
  margin-bottom: 15px; /* Space between the image and text below */
  border-radius: 0; /* Ensures the image is rectangular (removes any previous rounding) */
}
.founder-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 5px;
}

.founder-info p {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #89c9ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

.text-content-wrapper {
  /* New wrapper for heading and paragraph */
  flex: 1; /* Allows it to take available space */
  max-width: 600px; /* Limits its maximum width */
  display: flex; /* Flex container for h1 and p */
  flex-direction: column; /* Stack h1 and p vertically */
  align-items: flex-start; /* Align text elements to the start (left) */
  text-align: left; /* Default text alignment for this block */
}

.text-content-wrapper h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: #00bfff;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left; /* Ensure heading aligns left within its wrapper */
  width: 100%; /* Ensure heading takes full width for alignment */
}

@media (max-width: 900px) {
  #foundersvoice {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .intro-container {
    text-align: center;
  }

  .introduction-text {
    text-align: center;
  }

  .founder-card {
    margin-top: 40px;
  }
}

/* --- Image Slider Section --- */


/* Hide the title as requested */
.imgslider {
    display: none;
}

.slider-container {
    overflow: hidden;
    margin: auto; /* Keeps it centered */
    width: 100%; /* Maximize container width to fit the website properly */
    max-width: none; /* Remove max-width to allow it to expand fully */
    position: relative;
    padding-bottom: 35px; /* Slightly increased space at the bottom for larger slider */
}

/* Continuous loop animation */
.slider-track {
    display: flex;
    gap: 30px; /* Adjusted gap between cards for larger square look */
    /* Using 15s duration as per your provided CSS */
    animation: scrollSlider 5s linear infinite; 
    will-change: transform;
    padding: 0 30px 30px; /* Adjusted horizontal padding to the track */
    /* To ensure no gaps, the track content will be duplicated in HTML */
}

.slider-card {
    width: 350px; /* Increased fixed width for larger square card */
    height: 350px; /* Increased fixed height for larger square card */
    flex-shrink: 0; /* Prevent cards from shrinking */
    background: #25253a;
    border-radius: 18px; /* Slightly larger border-radius */
    padding: 25px; /* Adjusted padding inside cards for larger size */
    box-sizing: border-box;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6); /* Slightly larger shadow */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-card:hover {
    transform: translateY(-8px); /* Slightly increased lift on hover */
    box-shadow: 0 15px 28px rgba(0, 0, 0, 0.8); /* Slightly larger hover shadow */
}

.slider-card img {
    width: 100%; /* Image fills the width of the card */
    height: 100%; /* Image fills the height of the card */
    object-fit: cover; /* Ensures the image covers the area, cropping if necessary */
    border-radius: 12px; /* Slightly larger image border-radius */
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}

.slider-card:hover img {
    filter: brightness(1.1);
}

.card-content {
    display: none; /* Hide all card content text and buttons */
}

/* Hide nav buttons if infinite loop is on */
.slider-btn {
    display: none;
}

/* Animation for continuous loop */
@keyframes scrollSlider {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Moves the track by 50% of its width, which is exactly the width of the original set of cards */
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}

/* --- Responsive Adjustments for Medium Look --- */
@media (max-width: 1200px) {
    .slider-card {
        width: 320px; /* Adjusted for larger size */
        height: 320px;
        padding: 22px;
    }
}

@media (max-width: 992px) {
    .slider-section {
        padding: 60px 0; /* Adjusted padding */
    }

    .slider-container {
        width: 100%; /* Full width */
    }

    .slider-track {
        gap: 25px; /* Adjusted gap */
        padding: 0 25px 25px; /* Adjusted padding */
    }

    .slider-card {
        width: 290px; /* Adjusted for larger size */
        height: 290px;
        padding: 20px;
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .slider-section {
        padding: 50px 0; /* Adjusted padding */
    }

    .slider-track {
        gap: 22px;
        padding: 0 22px 25px; /* Adjusted padding */
    }

    .slider-card {
        width: 250px; /* Adjusted for larger size */
        height: 250px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .slider-section {
        padding: 40px 0; /* Adjusted padding */
    }

    .slider-track {
        gap: 15px;
        padding: 0 15px 20px; /* Adjusted padding */
    }

    .slider-card {
        width: 220px; /* Adjusted for larger size */
        height: 220px;
        padding: 12px;
    }
}
/* --- Definition & Goals Section --- */
#definationandgoals {
  background-color: #3e97ff;
  min-height: 60vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Stack title and content */
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  /* Increased padding */
  text-align: center;
  color: white;
  /* Ensure text is white */
}

#definationandgoals .title-container {
  /* Added a container for the title */
  margin-bottom: 30px;
  /* More space below the title */
}

#definationandgoals .title-container h1 {
  /* Changed from #title to target h1 inside a container */
  font-size: 3.5rem;
  /* Larger font size for the main title */
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  /* Space between title and subtitle if present */
}

#definationandgoals .title-container p {
  /* For a potential subtitle or intro text */
  font-size: 1.2rem;
  opacity: 0.9;
}

.textcontainer {
  /* This will hold the definition and goals content */
  width: 90%;
  max-width: 900px;
  /* Increased max-width for more content */
  text-align: left;
  /* Align text to the left for better readability */
  line-height: 1.7;
}

.textcontainer h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #3cdde9;
  /* Highlight important subheadings */
}

.textcontainer p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  /* Increased z-index */
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: none;
  /* Controlled by JavaScript */
}

#backToTop:hover {
  background-color: #1da1f2;
  transform: scale(1.15);
}

/* --- Responsive Adjustments --- */
@media screen and (max-width: 1024px) {
  /* Founder's Voice */
  .intro-container {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  #foundersvoice .founder-section-title {
    text-align: center;
  }

  #foundersvoice .founder-section-title h1 {
    font-size: 2.5rem;
  }

  .founder-card {
    max-width: 350px;
  }

  /* Image Slider */
  .imgslider {
    font-size: 3rem;
  }

  .slider-card {
    min-width: 300px;
  }

  /* Definition & Goals */
  #definationandgoals .title-container h1 {
    font-size: 3rem;
  }
}

@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;
  }

  /* Main Image Section (Hero) */
  /* Container for the image, providing a height if needed for layout */
  .imgebody {
    height: 500px; /* Adjust as needed, consider using min-height or aspect-ratio for responsiveness */
    display: flex; /* Use flexbox for easy centering of its child (the image) */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    overflow: hidden; /* Important if the image might be larger than the container */
  }

  /* Styles for the image inside .imgebody */
  .imgebody img {
    max-width: 100%; /* Ensures the image scales down to fit the container width */
    height: auto; /* Maintains the image's aspect ratio */
    /* If you don't use flexbox on .imgebody, you'd use these for centering a block image: */
    /* display: block; */
    /* margin: 0 auto; */
  }

  /* Existing .content styles with minor adjustments for better responsiveness */
  .content {
    /* Using 'left' and 'width' like this isn't ideal for fluid responsiveness. */
    /* It's better to use max-width and margin: auto for centering a block. */
    /* If this .content is *inside* a larger container, consider its parent's flex/grid properties. */

    /* Let's adjust to be more responsive */
    width: 90%; /* Responsive width */
    max-width: 800px; /* Or whatever max width makes sense for your design */
    margin: 0 auto; /* Centers the .content block horizontally */
    padding: 20px;
    text-align: center; /* Center text within the content block */
    box-sizing: border-box; /* Include padding in the width calculation */
  }

  .content .tagline {
    font-size: clamp(0.8rem, 2vw, 0.9rem); /* Responsive font size */
  }

  .content h1 {
    font-size: clamp(2rem, 5vw, 2.5rem); /* Responsive font size */
    margin-bottom: 15px;
  }

  .content .club-intro-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem); /* Responsive font size */
    margin-bottom: 25px;
    max-width: 100%; /* Ensures text takes full available width within .content */
  }

  /* Optional: Media queries for even finer control on smaller screens if needed */
  @media (max-width: 768px) {
    .imgebody {
      height: 350px; /* Adjust height for smaller screens */
    }
  }

  @media (max-width: 480px) {
    .imgebody {
      height: 250px; /* Further adjust for very small screens */
    }
    .content {
      padding: 15px; /* Less padding on small screens */
    }
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    /* Center buttons when stacked */
  }

  .hero-btn {
    width: 100%;
    /* Make buttons full width */
    max-width: 300px;
    /* Limit button width for larger tablets */
    padding: 12px 20px;
    font-size: 1rem;
  }

  .pagination-dots {
    justify-content: center;
    /* Center dots */
  }

  /* Founder's Voice */
  #foundersvoice {
    flex-direction: column;
    gap: 30px;
  }

  #foundersvoice .founder-section-title h1 {
    font-size: 2rem;
  }

  .introduction-text {
    font-size: 1rem;
    padding: 0 10px;
    /* Add horizontal padding to text */
  }

  .founder-card {
    width: 90%;
    max-width: 300px;
  }

  .founder-card img {
    width: 150px;
    height: 150px;
  }

  /* Image Slider */
  .slider-section {
    padding: 40px 15px;
  }

  .imgslider {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .slider-container {
    width: 95%;
  }

  .slider-card {
    min-width: 280px;
    padding: 20px;
  }

  .slider-card img {
    height: 180px;
  }

  .card-content h2 {
    font-size: 1.6rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .card-button {
    padding: 10px 20px;
    font-size: 1rem;
  }

  /* Definition & Goals */
  #definationandgoals .title-container h1 {
    font-size: 2.5rem;
  }

  .textcontainer {
    padding: 0 10px;
    /* Add horizontal padding to content */
  }

  .textcontainer h2 {
    font-size: 1.7rem;
  }

  .textcontainer p {
    font-size: 1rem;
  }

  /* Footer */
  .site-footer h3 {
    font-size: 24px;
  }

  .site-footer p {
    font-size: 15px;
  }

  .site-footer .social-icons a {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  /* Navbar */
  #navbar {
    padding: 10px 15px;
  }

  #navbar img {
    height: 35px;
  }

  .hamburger {
    font-size: 24px;
  }

  /* Main Image Section (Hero) */
  .imgebody {
    height: 400px;
  }

  .content {
    padding: 15px;
    text-align: center;
  }

  .content .tagline {
    font-size: 0.8rem;
  }

  .content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .content .club-intro-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-btn {
    max-width: 250px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  /* Founder's Voice */
  #foundersvoice {
    padding: 30px 15px;
  }

  #foundersvoice .founder-section-title h1 {
    font-size: 1.8rem;
  }

  .introduction-text {
    font-size: 0.9rem;
  }

  .founder-card {
    width: 100%;
    max-width: 280px;
    padding: 25px 15px;
    /* Adjust padding for smaller cards */
  }

  .founder-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    /* Adjust margin */
  }

  .founder-info h2 {
    font-size: 1.5rem;
  }

  .founder-info p {
    font-size: 1rem;
  }

  /* Founder's Name (if used, consider its placement) */
  .foundersname {
    position: relative;
    /* Changed to relative or remove if not needed within card */
    margin-top: 10px;
    /* Example: add margin if relative */
    left: auto;
    /* Remove absolute positioning */
    bottom: auto;
    /* Remove absolute positioning */
    font-size: 16px;
    background-color: rgba(66, 64, 64, 0.712);
    color: white;
    /* Changed to white for better contrast on dark background */
    height: 25px;
    min-width: 100px;
  }

  /* Image Slider */
  .imgslider {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .slider-card {
    min-width: 90%;
    max-width: 90%;
    padding: 15px;
  }

  .slider-card img {
    height: 150px;
  }

  .card-content h2 {
    font-size: 1.4rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .card-button {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  /* Definition & Goals */
  #definationandgoals {
    padding: 30px 15px;
  }

  #definationandgoals .title-container h1 {
    font-size: 2rem;
  }

  #definationandgoals .title-container p {
    font-size: 1rem;
  }

  .textcontainer h2 {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .textcontainer p {
    font-size: 0.9rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 15px;
  }

  .site-footer h3 {
    font-size: 22px;
  }

  .site-footer p {
    font-size: 14px;
  }

  .site-footer .social-icons a {
    font-size: 18px;
    margin: 0 8px;
  }

  .site-footer .copyright {
    font-size: 12px;
  }

  /* Back to Top Button */
  #backToTop {
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    font-size: 16px;
  }
}
