
    :root {
  /* --primary: hsl(0, 85%, 45%); */
  --primary: #CF2030;
  --primary-hover: hsl(0, 85%, 45%);
  --primary-foreground: #fff;
  --secondary: hsl(0, 0%, 96%);
  --foreground: hsl(0, 0%, 15%);
  --muted: hsl(0, 0%, 45%);

    --background: hsl(210 20% 98%);
  --foreground: hsl(222 47% 11%);
    --accent: hsl(186 90% 48%);
  --hero-overlay: hsl(222 47% 11% / 0.7);
}
html {
  scroll-behavior: smooth;
}

/* Reset */
body, h1, h2, h3, h4, p { margin: 0; padding: 0; }
body {
  font-family: Libre Franklin;
  background: #fff;
  color: var(--foreground);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }


/* new hero */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--primary-foreground);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hero-image.jpg") center/cover no-repeat;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: -2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: url("pattern-overlay.png") center/cover repeat;
  opacity: 0.3;
  mix-blend-mode: overlay;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid hsl(198 93% 35% / 0.3);
  border-radius: 9999px;
  background: hsl(198 93% 35% / 0.2);
  margin-bottom: 2rem;
}

.hero-logo-fixed {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000; /* Always on top */
}

.hero-logo-fixed img {
  max-width: 120px;  /* Adjust logo size */
  height: auto;
}


.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-foreground);
}

/* Heading */
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.gradient-text {
    font-family: 'Poppins';
    font-weight: 200;
  /* background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
}

/* Subheading */
.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-family: Libre Franklin;
  font-weight: 400;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: hsl(198 93% 30%);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-foreground);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat {
  background: hsl(0 0% 100% / 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid hsl(0 0% 100% / 0.15);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

.value {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Bottom Fade */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--background), transparent);
}
@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on mobile */
    gap: 1rem; /* slightly smaller gap for compact look */
  }

  .stat {
    padding: 0.8rem;
  }

  .value {
    font-size: 1.6rem;
  }

  .label {
    font-size: 0.8rem;
  }
}

/* Navbar container */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
}

/* Logo */
.navbar .logo img {
  height: 50px;
}

/* Desktop navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f55d56; /* accent color */
}

/* Hamburger menu for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(255,255,255,0.95);
    flex-direction: column;
    width: 200px;
    padding: 1rem;
    gap: 1rem;
    display: none; /* hidden by default */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}


.about {
  padding: 100px 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.about-left h2 span {
  color: var(--primary);
}

.about-left p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.about-right h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.about-right h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.director-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  padding: 20px;
  transition: all 0.3s ease;
}

.director-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


.director-content h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.director-content .role {
  color: var(--primary);
  font-weight: 600;
  margin: 4px 0 8px;
}

.director-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .director-card {
    flex-direction: column;
    text-align: center;
  }

  .about-right h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}




/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  border-bottom: 1px solid #333;
}

.footer-logo img {
  /* width: 120px; */
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact,
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a,
.footer-socials a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-socials a:hover {
  color: #f55d56;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a i {
  margin-right: 0.3rem;
}

.footer-socials {
  gap: 0.5rem;
  /* display: inline-block; */
}

.footer-socials i {
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
footer .icons{
  gap: 0.5rem;
  display: inline-block;
}
.footer-socials i:hover {
  color: #fff;
  background: #f55d56;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contact,
  .footer-socials {
    flex-direction: column;
  }

  .footer-socials i {
    margin: 0.3rem;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links, .footer-contact, .footer-socials {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-socials a {
    margin-right: 0.5rem;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .footer-logo img {
    width: 120px;
    margin-bottom: 0.5rem;
  }

  .footer-links a,
  .footer-contact a {
    font-size: 0.9rem;
  }

  .footer-contact p {
    justify-content: center;
    font-size: 0.9rem;
  }

  .footer-socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
  }

  .footer-socials p {
    display: none; /* hide 'Follow us' to save space */
  }

  .footer-socials i {
    font-size: 1rem;
    padding: 0.4rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-logo img {
    width: 100px;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-contact p,
  .footer-contact a {
    font-size: 0.8rem;
  }
}







/* members new design  */
.card {
  width: 280px;
  height: 300px; /* increased from 280px */
  background: #f1f1f1;;
  border-radius: 32px;
  padding: 3px;
  position: relative;
  box-shadow: #604b4a30 0px 70px 30px -50px;
  transition: all 0.5s ease-in-out;
}
.card .mail {
  position: absolute;
  right: 1rem; /* fix position */
  top: 1rem;   /* fix position */
  background: transparent;
  border: none;
  z-index: 4; /* make sure it's above profile pic */
}
.card .mail i {
  font-size: 1.2rem;
  color: #ea837e;
}
.card .mail i:hover {
  color: #f55d56;
}


/* Keep profile pic the same */
/* .card .profile-pic {
  position: absolute;
  width: calc(100% - 80px);
  height: calc(100% - 60px); 
  top: 3px;
  left: 10%;
  aspect-ratio: 1 / 1.2; 
  border-radius: 29px;
  z-index: 1;
  border: 0px solid #ea837e;
  overflow: hidden;
  transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
} */
.card .profile-pic {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 85%;
  border-radius: 25px;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s ease-in-out 0.2s;
}



/* .card .profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  transition: all 0.5s ease-in-out;
} */

.card .profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* shows full head */
  transition: all 0.5s ease-in-out;
}


.card .bottom {
  position: absolute;
  bottom: 0px;
  left: 3px;
  right: 3px;
  background: #ea837e;
  top: 80%; /* slightly higher so image fits */
  border-radius: 29px;
  z-index: 2;
  box-shadow: rgba(96, 75, 74, 0.188) 0px 5px 5px 0px inset;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.645,0.045,0.355,1) 0s;
}

.card .bottom .content {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 200px; /* increased to fit extra info */
}

/* Bottom-bottom always visible info */
.card .bottom .bottom-bottom {
  position: absolute;
  bottom: -0.5rem;
  left: 1.5rem;
  right: 1.5rem;
  top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.card .bottom-bottom .basic-info .name{
  text-transform: uppercase;
}

/* Name + Business always visible */
.bottom-bottom .basic-info .name,
.bottom-bottom .basic-info .business {
  display: block;
  color: white;
  font-weight: bold;
  font-size: 1.02rem;
}

/* Hidden extra info initially */
.bottom-bottom .extra-info {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

/* Extra info elements */
.bottom-bottom .extra-info .category {
  font-weight: 400;
  color: white;
}

.bottom-bottom .extra-info .about-me {
  font-size: 0.8rem;
  color: white;
}

.bottom-bottom .extra-info .social-links-container {
  display: flex;
  gap: 0.8rem;
  padding: 5px;
  justify-content: center;
}

.bottom-bottom .extra-info .social-links-container i {
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s;
  justify-content: center;
}



.bottom-bottom .extra-info .button:hover {
  background: #f55d56;
  color: white;
}

/* Show extra info on hover */
.card:hover .bottom-bottom .extra-info {
  display: flex;
  text-align: center;
}

/* Hover adjustments */
.card:hover {
  border-top-left-radius: 55px;
}

.card:hover .bottom {
  top: 30%; /* slightly lower so more content fits */
  border-radius: 80px 29px 29px 29px;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

/* .card:hover .profile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 3;
  border: 7px solid #ea837e;
  box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px;
  transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
} */
.card:hover .profile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 3;
  border: 7px solid #ea837e;
  box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px;
  transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}


.card:hover .profile-pic img {
  /* object-position: 0px -6px; */
  object-position: 0px;
  transform: scale(1);
  transition: all 0.5s ease-in-out 0.5s;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 10px auto 0 auto;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#members-section {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* min 250px per card */
  gap: 24px; /* spacing between cards */
  /* margin-top: 2rem; */
  justify-content: center; /* <-- centers the cards if row not full */
  justify-items: center;   /* keeps individual cards centered in their cell */
}


.members_head {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.members_text {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--muted);
}
.card:hover .bottom-bottom{
  justify-content:center  
}


.card:hover .bottom-bottom .basic-info .name{
      font-size: 1.2rem;
      transition: all 0.5s cubic-bezier(0.645,0.045,0.355,1) 0s;
      text-align: center;
}
.card:hover .bottom-bottom .basic-info .business{
      font-size: 1.2rem;
      transition: all 0.5s cubic-bezier(0.645,0.045,0.355,1) 0s;
      text-align: center;
      font-weight: 500;
}

/* Pagination container */
.pagination {
  display: flex;
  justify-content: center; /* centers the buttons horizontally */
  align-items: center;
  gap: 1rem; /* spacing between buttons and page info */
  padding: 2rem 0; /* space above and below pagination */
  flex-wrap: wrap; /* wraps nicely on smaller screens */
  position: relative;
  z-index: 2;
}

/* Buttons */
.pagination button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
  background-color: #f55d56;
}

.pagination button:disabled {
  background-color: #e0e0e0;
  cursor: not-allowed;
  color: #aaa;
}

/* Page info text */
.pagination span {
  font-weight: bold;
  font-size: 1rem;
}




/* responsive */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-right {
    margin-top: 2rem;
  }
}


@media (max-width: 1024px) {
  .hero-content {
    padding: 6rem 1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-stats {
    gap: 1rem;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  footer h3 {
    font-size: 1.1rem;
  }
}




/* new about section */
.about {
  display: none;
}

/* ------------------ ABOUT SECTION ------------------ */
.about-section {
  background-color: rgba(240, 240, 240, 0.4);
  padding: 4rem 1rem;
  font-family: "Poppins", sans-serif;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Text Content */
.section-subtitle {
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: #9b9b9b;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #9a0000;
  margin-bottom: 1.5rem;
}

.section-text {
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Vision & Mission */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vision-mission h3 {
  color: #9a0000;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vision-mission p {
  font-size: 0.9rem;
  color: #666;
}

/* Directors Section */
.about-images {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.director-img {
  width: 190px;
  height: 280px;
  border-radius: 100px;
  border: 1px solid #9a0000;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.director-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 100px 0 0 100px; */
}

.director-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.director {
  text-align: center;
}

.director-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-top: 10px;
}

.director-role {
  font-size: 0.9rem;
  color: #9a0000;
  font-weight: 500;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .vision-mission {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-images {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-text {
    font-size: 0.95rem;
  }

  .director-img {
    width: 150px;
    height: 220px;
  }

  .vision-mission p {
    font-size: 0.85rem;
  }
}



/* ------------------ POWER TEAM SECTION ------------------ */
.power-team {
  background: linear-gradient(135deg, #b30000, #ff4d4d);
  color: #fff;
  padding: 100px 0;
}

.power-team-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  width: 90%;
  margin: auto;
  gap: 2rem;
}

/* Text side */
.power-team-text {
  flex: 1 1 400px;
  max-width: 500px;
}

.power-team-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.power-team-text h4 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ffe6e6;
}

.power-team-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #f5f5f5;
}

/* Slider container */
.power-team-slider {
  flex: 1 1 400px;
  position: relative;
  min-height: 280px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  background: #000;
  display: block;
  visibility: visible;
}

/* Each slide */
.slide {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

/* Active slide visible */
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Images & videos */
.power-team-slider .slide img,
.power-team-slider .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 992px) {
  .power-team-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .power-team-text {
    max-width: 600px;
  }

  .power-team-slider {
    width: 100%;
    max-width: 500px;
    min-height: 250px;
    height: auto;
  }
}

@media (max-width: 576px) {
  .power-team {
    padding: 60px 1rem;
  }

  .power-team-text h2 {
    font-size: 1.8rem;
  }

  .power-team-text h4 {
    font-size: 1rem;
  }

  .power-team-text p {
    font-size: 0.9rem;
  }

  .power-team-slider {
    width: 100%;
    max-width: 400px;
    min-height: 220px;
    border-radius: 12px;
    display: block;
    visibility: visible;
  }
}






/* lt leam section */
/* Leadership Team Section */
.leadership_team {
  text-align: center;
  padding: 80px 0 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.leadership_team .section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.leadership_team .section-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  color: #e60023;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
}

.leadership_team .text p {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Members Row */
.leaders-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.leader {
  text-align: center;
  position: relative;
  width: 220px;
  transition: transform 0.3s ease;
}

.leader:hover {
  transform: translateY(-5px);
}

.leader img {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e60023;
  transition: transform 0.3s ease;
}

.leader img:hover {
  transform: scale(1.05);
}

.leader h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

.leader p {
  font-size: 14px;
  color: #666;
}



/* 📱 Responsive Design */
@media (max-width: 992px) {
  .leadership_team {
    padding: 60px 0 80px;
  }

  .leadership_team .section-title {
    font-size: 2.2rem;
  }

  .leadership_team .section-subtitle {
    font-size: 1.4rem;
  }

  .leaders-row {
    gap: 30px;
  }

  .leader {
    width: 180px;
  }

  .leader img {
    width: 160px;
    height: 210px;
  }
}

@media (max-width: 576px) {
  .leaders-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .leader {
    width: 80%;
    max-width: 250px;
  }

  .leader img {
    width: 100%;
    height: auto;
  }
}




.profile-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.profile-links a {
  color: #333;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.profile-links a:hover {
  color: #007bff;
}

.no-links {
  font-size: 0.85rem;
  color: #999;
}




/* ====== RESPONSIVE DESIGN ====== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
  .card {
    width: 260px;
    height: 290px;
  }

  .card .bottom .content {
    height: 180px;
  }

  .bottom-bottom .basic-info .name,
  .bottom-bottom .basic-info .business {
    font-size: 0.95rem;
  }

  .bottom-bottom .extra-info .about-me {
    font-size: 0.75rem;
  }

  #members-section {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}

/* Mobile devices (768px and below) */
@media (max-width: 768px) {
  #members-section {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 16px;
  }

  .card {
        width: 180px;   /* smaller width for mobile */
    height: 240px;  /* smaller height */
    border-radius: 24px;
  }

  /* .card .profile-pic {
    width: calc(100% - 70px);
    height: calc(100% - 70px);
    left: 12%;
  } */

    .card .profile-pic {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    left: 15%;
  }

  .card .bottom {
    top: 75%;
  }

  .bottom-bottom .basic-info .name,
  .bottom-bottom .basic-info .business {
    font-size: 0.9rem;
  }

  .bottom-bottom .extra-info .about-me {
    font-size: 0.7rem;
  }

  .pagination {
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .pagination button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  #members-section {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .card {
    width: 90%;
    height: auto;
    min-height: 280px;
  }

  .card .profile-pic {
    width: 80%;
    height: 180px;
    left: 10%;
    top: 5px;
    border-radius: 20px;
  }

  .card:hover .profile-pic {
    width: 80px;
    height: 80px;
    top: 10px;
    left: 10px;
  }

  .card .bottom {
    top: 75%;
    border-radius: 25px;
  }

  .bottom-bottom .basic-info .name,
  .bottom-bottom .basic-info .business {
    font-size: 0.9rem;
    text-align: center;
  }

  .bottom-bottom .extra-info .about-me {
    font-size: 0.7rem;
    padding: 0 0.5rem;
  }

  .bottom-bottom .extra-info .social-links-container i {
    font-size: 1rem;
  }

  .pagination {
    flex-direction: column;
  }

  .pagination button {
    width: 100px;
  }
}



.footer-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #1a1a1a;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  font-size: 18px;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: #e63946; /* optional hover color */
  color: #fff;
}

.footer-socials p {
  margin-bottom: 10px;
  font-weight: 500;
  color: #fff;
}


.members-search-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

#memberSearch {
  width: 300px;
  max-width: 90%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: 25px;
  outline: none;
  transition: 0.3s;
}

#memberSearch:focus {
  border-color: #f55d56;
  box-shadow: 0 0 5px #f55d56;
}
