body {
  font-family: Titillium Web;
  font-weight: 400;
 }

/* =========================
   ABOUT SECTION
========================= */
.about-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 200px 5% 60px; /* untouched */
  background: #0a0a0a;
  color: #fff;
  gap: 25px;
  box-sizing: border-box;
  z-index: 1;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* GLOW BACKGROUND */
.about-section::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1800px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 221, 135, 0.08),
    rgba(0, 221, 135, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* =========================
   NEW LAYOUT WRAPPER
========================= */
.about-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  padding-right: 50px; /* ✅ prevents edge cut */
  z-index: 2;
}


/* =========================
   LEFT TEXT
========================= */
.about-text {
  flex: 1;
}

/* TEXT STYLES */
.about-subtitle {
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 32px;
  color: #00B2FF;
  text-align: left; 
}

.about-title {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  color: #fff;
  max-width: 700px;
  text-align: left; 
}

.about-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  text-align: left; 
  margin-top: 10px;
}

/* =========================
   RIGHT IMAGE
========================= */
.about-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #ffffff; /* white border */
}


/* =========================
   RESPONSIVE ABOUT SECTION
========================= */
@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    padding: 100px 6%;
    gap: 50px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-subtitle,
  .about-title,
  .about-desc {
    text-align: center; /* back to center on mobile */
  }

  .about-title {
    font-size: 28px;
  }

  .about-desc {
    font-size: 16px;
  }

  .about-image {
    justify-content: center;
  }

  .about-image img {
    max-width: 90%;
  }

  .about-buttons {
    justify-content: center;
  }
}

/* =========================
   SECURITY / PRIVACY
========================= */

/* Disable dragging and selecting images globally */
img, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
}

/* Disable right-click on images */
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Overlay for extra security on images/video */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
  background: transparent;
  z-index: 100;
  pointer-events: auto; /* prevents interaction on base element */
}

/* =========================
   TEAM SECTION
========================= */
.leadership-section .section-title {
  text-align: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.leadership-section .section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.about-page .team-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  position: relative;
  z-index: 10;
}

.about-page .nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #15141d;
  border: 1px solid #2d4b5a;
  border-radius: 0.5rem;
  cursor: default; /* disable nav clicking for privacy */
  transition: all 0.3s ease;
}

.about-page .nav-btn img {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

.about-page .nav-btn:hover {
  background: #2d4b5a;
  border-color: #00dd87;
  box-shadow: 0 0 0.625rem rgba(0, 221, 135, 0.5),
              0 0 1.25rem rgba(0, 221, 135, 0.3);
}

.about-page .nav-btn.prev img {
  transform: scaleX(-1);
}
/* =========================
   TEAM CONTAINER
========================= */
.about-page .team-container {
  width: 100%;
  padding: 1.5rem 1rem 3.7rem 1rem;
  box-sizing: border-box;
}

.about-page .team-row {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* =========================
   TEAM CARDS
========================= */
.about-page .team-cards-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  transition: transform 0.5s ease;
  
}

.about-page .team-card {
  flex: 0 0 auto;
  overflow: hidden; /* IMPORTANT */
  user-select: none;
  background: #141219;
  position: relative;
  padding: 16px;
  border-radius: 15px;
  margin-right: 16px;
}

.about-page .team-card .team-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.about-page .team-card .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   FULL IMAGE OVERLAY
========================= */
.about-page .team-card .team-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

Show info on hover
.about-page .team-card:hover .team-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* =========================
   TYPOGRAPHY
========================= */
.about-page .team-card .team-info .author-name {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  font-weight: 600;
  color: #89eb89;
  margin-bottom: 0.1rem;
}

.about-page .team-card .team-info .author-title {
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  color: #03a1d1;
  margin-bottom: 0.2rem;
}

/* =========================
   LINKEDIN ICON
========================= */
.team-linkedin {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 32px;              /* adjust icon size */
  height: 32px;
  display: block;
  z-index: 20;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.team-linkedin:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.team-linkedin .linkedin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   DESKTOP OVERRIDES (1024+)
========================= */
@media (min-width: 1150px) {

  .about-page .team-card {
    height: 400px;
    width: 265px !important;
  }

  .about-page .team-row {
    max-width: 1111px;
  }

  .about-page .team-card .team-image img {
    object-fit: cover;
  }
  .about-page .team-card .team-info .author-name {
  font-size: clamp(1.2rem, 1.2vw, 1.8rem);
   line-height: 2.2rem;
   margin-bottom: 0.5rem; 
}
  .about-page .team-card .team-info .author-title {
  font-size: clamp(0.9rem, 0.8vw, 1.1rem);
  }
  .about-page .team-card .team-info {
    padding-bottom: 0.5rem; /* adjust as needed */
  }
  .team-linkedin .linkedin-img {
    padding-bottom: 1px;
  }
}


@media (min-width: 1024px) and (max-width: 1149px) {

  .about-page .team-card {
    height: 425px;
    width: 265px !important;
  }

  .about-page .team-row {
    max-width: 835px;
  }

  .about-page .team-card .team-image img {
    object-fit: cover;
  }

  .about-page .team-card .team-info .author-name {
    font-size: clamp(1.4rem, 1.3vw, 1.8rem);
  }

  .about-page .team-card .team-info .author-title {
    font-size: clamp(1.1rem, 0.8vw, 1.5rem);
  }

  .about-page .team-card .team-info {
    padding-bottom: 0.5rem;
  }

  .team-linkedin .linkedin-img {
    padding-bottom: 1px;
  }
}

/* =========================
   TABLET (481px–1023px)
========================= */
@media (min-width: 481px) and (max-width: 1023px) {
  .about-page .team-card {
    width: 265px !important;
    height: auto; 
  }

  .about-page .team-row {
    max-width: 546px;
  }
  
.about-page .team-card .team-info .author-title {
  font-size:small;
  margin-bottom:0.1px;
}

.about-page .team-card .team-info .author-name {
  font-size: clamp(0.8rem, 1.2vw, 1.4rem);
  margin-bottom:0.1px;
}

.about-page .team-card .team-info {
  padding:0.6rem;
}

.team-linkedin{
  position: relative !important;  /* override absolute positioning */
    bottom: auto !important;
    left: auto !important;
    margin-top: 10px;
  }
}

/* =========================
   MOBILE (<=480px)
========================= */
@media (max-width: 480px) {
  .about-page .team-card {
    margin-right: 15px;
    height: auto !important;       /* Ensure auto-height */
    overflow: visible !important;  /* Make sure content below shows */
  }

  /* On mobile, overlay below image */
  .about-page .team-card .team-info {
    position: relative !important;  /* override absolute */
    inset: unset !important;        /* remove positioning */
    width: 100% !important;
    opacity: 1 !important;          /* always visible */
    transform: none !important;     /* remove translateY */
    pointer-events: auto !important; 
    margin-top: 10px;
    background: transparent !important; /* remove overlay dark bg */
    padding: 0 !important;   
  }

  /* LinkedIn icon below content on mobile */
  .team-linkedin {
    position: relative !important;  /* override absolute positioning */
    bottom: auto !important;
    right: auto !important;
    margin-top: 10px;
    width: 28px;
    height: 28px;
  }

  .about-page .team-card .team-image img {
    height: auto;
  }

  .team-card-inner {
    padding: 20px;
  }
}

