/* =========================
   BASE & DEFAULT STYLES
   ========================= */

/* Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Typography */
/* Base Body Styles */
body {
  font-family: 'Montserrat', 'Poppins', 'Roboto', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100vw;
}

body.loader-active {
  overflow: hidden !important;
}

html,
body {
  overflow-x: hidden;
}

/* =========================
   LAYOUT & UTILITIES
   ========================= */

/* Container Layouts */
.main-content,
.services-grid,
.team-container,
.founders-container,
.about-container,
.contact-container {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Section Dividers */
.section-divider {
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #e0e7ef 0%, #bfc9d9 100%);
  border: none;
  border-radius: 1px;
  margin: 48px auto 48px auto;
  opacity: 0.8;
  box-shadow: 0 8px 32px rgba(50, 50, 100, 0.28);
}

/* =========================
   LOADER/OVERLAY
   ========================= */
.loader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #323393;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border: 4px solid #0000;
  border-radius: 50%;
  border-right-color: #25b09b;
  animation: l15 1s infinite linear;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
  animation: l15 2s infinite;
}

.loader::after {
  margin: 8px;
  animation-duration: 3s;
}

@keyframes l15 {
  100% {
    transform: rotate(1turn);
  }
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
.header {
  min-height: 70px;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 5px;
  position: fixed;
  top: 30px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  top: 15px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 100%;
  margin: 0 !important;
}

.logo-main {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo-main .lumen {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.logo-main .cap {
  color: #7cb342;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 0.75rem;
  color: #323393;
  font-style: italic;
  margin-top: -2px;
  margin-left: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-menu {
  display: flex;
  list-style: none !important;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.nav-menu-mobile {
  list-style: none;
  gap: 3rem;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-menu a {
  text-decoration: none;
  color: #323393;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
  display: block;
}

.nav-menu-mobile a {
  text-decoration: none;
  color: #323393;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0;
  display: block;
}
.nav-menu a:hover {
  transform: translateY(-2px);
}

.nav-menu-mobile a:hover {
  transform: translateY(-2px);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -2px;
  left: 50%;
  background: #7cb342;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-menu-mobile a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -2px;
  left: 50%;
  background: #7cb342;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu-mobile a:hover::after {
  width: 100%;
}

.cta-button {
  align-self: center;
  margin: 0 0 0 1rem;
  background-image: linear-gradient(135deg, #7cb342, #323393, #7cb342);
  background-size: 200% 200%;
  background-position: left top;
  transition: background-position 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  cursor: pointer;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}
.cta-button:hover {
  background-position: right bottom;
  color: #fff;
  box-shadow: 0 8px 32px rgba(50, 50, 100, 0.18);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  align-self: center;
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 1rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #323393;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 130px;
  right: 20px;
  width: 220px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem 0 1.5rem 0;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay .nav-menu-mobile {
  background: none;
  box-shadow: none;
  padding: 0 1.5rem;
  min-width: unset;
  min-height: unset;
  gap: 1.5rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #7cb342;
  cursor: pointer;
  font-weight: 600;
  z-index: 10;
}

.mobile-menu-overlay .cta-button {
  display: none;
}

/* =========================
   HERO SECTION
   ========================= */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2.5rem;
}

.hero-overlay-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.9rem 0;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  max-width: 70%;
  margin-bottom: 0.2rem !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 40, 60, 0.15);
  z-index: 2;
  pointer-events: none;
}

.hero-underline {
  width: 400px;
  height: 6px;
  background: #7cb342;
  border-radius: 3px;
  margin: 1.2rem 0 1.5rem 0;
  box-shadow: 0 2px 8px rgba(124, 179, 66, 0.12);
}

.glass-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* =========================
   ABOUT SECTION
   ========================= */
.about {
  padding: 2rem;
  padding-bottom: 5px;
  background: white;
  display: flex;
  align-items: center;
}

.about-container {
  border-radius: 20px;
  padding-top: 2rem !important;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.about h2 {
  font-size: clamp(2.5rem, 6vw, 3rem);
  color: #7cb342;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-content {
  color: #333;
  line-height: 1.2;
  margin-bottom: 4rem;
}

.about-content p {
  font-weight: 500;
  line-height: 1.5;
  color: #2e3192;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Mobile (600px) */
@media (max-width: 600px) {
  /* Who We Are heading */
  .about h2 {
    font-size: 1.8rem;
    margin-bottom: 0rem;
    font-weight: 600;
    line-height: 75.15px;
    color: #8bc73e;
  }

  /* Who We Are content */
  .about-content {
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: -3%;
    color: #2e3192;
  }

  .team-header h2 {
    padding-left: 1rem !important;
  }

  .team-header {
    padding: 1rem 0rem 1rem !important;
  }

  .section-divider {
    width: 95%;
    margin: 28px auto 28px auto;
  }

  .mobile-linkedin-footer {
    display: flex;
  }

  .linkedin-section {
    display: none !important;
  }

  .service-card {
    width: 95vw;
    max-width: 90%;
    height: auto;
    min-height: 180px;
    aspect-ratio: unset;
    padding: 16px 8px 16px 12px;
  }

  .cta-button {
    font-size: 11.43px;
  }

  .nav-menu-mobile a {
    font-size: 18.8px;
  }

  .logo-main {
    font-size: 18px;
  }

  .learn-more {
    font-size: 0.5rem;
  }

  .linkedin-icon i.fa-brands.fa-linkedin-in {
    color: #fff !important;
    font-size: 1rem;
  }

  .footer-linkedin-icon,
  .mobile-linkedin-icon {
    width: 40px;
    height: 40px;
  }

  .footer-linkedin-icon i.fa-brands.fa-linkedin-in,
  .mobile-linkedin-icon i.fa-brands.fa-linkedin-in {
    font-size: 1.3rem;
  }
}

/* =========================
   SECTOR SECTION
   ========================= */
.sector-section {
  margin-top: 4rem;
  text-align: center;
}

.sector-section h2 {
  font-size: clamp(2.5rem, 6vw, 3rem);
  color: #7cb342;
  margin-bottom: 3rem;
  text-align: left;
  padding-left: 10px;
  font-weight: 600;
}

/* Default: 2 columns for desktop and tablet */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* For mobile: 1 column */
@media (max-width: 600px) {
  .sector-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.sector-card {
  padding: 0.5rem 1.5rem;
  cursor: default;
  min-height: 40px;
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative;
  background: #323393;
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(50, 51, 147, 0.15);
  transition: all 0.3s ease;
}

.sector-card:hover,
.sector-card:focus {
  /* No hover/focus effect */
  transform: none;
  box-shadow: 0 4px 12px rgba(50, 51, 147, 0.15);
}

.sector-card h3 {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  position: static !important;
  left: unset !important;
  right: unset !important;
  pointer-events: auto;
  z-index: auto;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  /* Remove flex properties */
}

.sector-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
}

.sector-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.sector-icon {
  z-index: 2;
}

/* =========================
   SERVICES SECTION
   ========================= */

.services-header {
  background: #7cb342;
  text-align: center;
  padding: 4rem 2rem 2rem;
  padding-top: 1.5px;
  padding-bottom: 1.5px;
}

.services h2 {
  font-size: clamp(2.5rem, 6vw, 3rem);
  color: white;
  font-weight: 600;
  margin: 0;
}

.services-content {
  background: white;
  padding: 4rem 0 0rem 0;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .services-content {
    margin: 0 auto;
  }
}

@media (min-width: 388px) and (max-width: 420px) {
  .services-content {
    padding: 4rem 0 0rem 0;
    margin: 0 auto;
  }
}

@media (max-width: 377px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin: 0 auto;
  }
}

/* Small Mobile (377px) */
@media (max-width: 377px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 12px;
  }

  .service-card {
    width: 100%;
    height: auto;
    min-height: 180px;
    max-width: 85%;
    aspect-ratio: unset;
    padding: 16px 8px 16px 12px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile (375px) */
@media (max-width: 375px) {
  .hero {
    padding: 0 !important;
    min-width: 0 !important;
  }

  .loader-overlay {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Extra Small Mobile (325px) */
@media (max-width: 325px) {
  .green-footer {
    min-height: 60px;
  }
}

/* Extra Small Mobile (320px) */
@media (max-width: 320px) {
  .service-card {
    max-width: 90%;
    width: 100%;
  }
}

/* Extra Small Mobile (480px) */
@media (max-width: 480px) {
  .card img {
    max-height: 150px;
  }
}

/* Default: 3 columns for PC */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
  justify-items: center;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    gap: 30px;
    margin: 0 auto;
  }
}

/* Mobile: 2 columns */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 12px;
    margin: 0 auto;
    padding: 0 16px;
    justify-items: center;
  }
  .service-card {
    width: 100%;
    max-width: 85%;
    box-sizing: border-box;
  }
}

.service-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 30px 20px 30px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  touch-action: manipulation;
  min-height: 200px;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-5px);
}

.service-card::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px;
  height: 80px;
  width: 10px;
  background-color: #7cb342;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.service-card h3 {
  min-height: 3.8em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.15rem;
  margin-top: 1.2rem;
  line-height: 1.1;
  color: #323393;
}

.service-card p {
  min-height: 3.2em;
  display: flex;
  align-items: flex-start;
  font-size: 0.89rem;
  line-height: 1.2;
  margin-top: 0.1rem;
}

/* =========================
   TEAM DESCRIPTION & FOUNDERS
   ========================= */
.team-description {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem 3rem;
  margin: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  min-height: 130vh;
}

@media (min-width: 767px) and (max-width: 1025px) {
  .team-description {
    min-height: 85vh;
  }

  .team-description h2 {
    font-size: clamp(1rem, 6vw, 4rem);
    color: #7cb342;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
  }
  .team-header h2 {
    padding-left: 1rem !important;
  }
}

.team-description-container {
  max-width: 1000px;
  margin: 0 auto;
}

.team-description h2 {
  font-size: clamp(1rem, 6vw, 3rem);
  color: #7cb342;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-description-content {
  line-height: 1.2;
  font-weight: 500;
  color: #323393;
  padding-bottom: 50px;
}

/* Founders Section */
.founders-section-inside {
  text-align: center;
  max-height: 550px;
}

/* Team Section */
.team {
  background: #7cb342;
}

.team-header {
  padding: 1rem 0rem 2rem;
  text-align: left;
}

.team-header h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: white;
  margin: 0;
  padding-left: 10rem;
}

.team-content {
  padding: 2rem 4rem 6rem;
  max-height: 550px;
}

/* =========================
   CONTACT SECTION
   ========================= */
.contact {
  background: #323393 !important;
  padding: 6rem 4rem 0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Enhanced Interactive Quote Section */
.quote-card {
  position: relative;
  background-color: white;
  padding: 3.8rem 3.75rem;
  border-radius: 1.875rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  width: 100%;
  margin: 0 auto 4rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  touch-action: manipulation;
}

.quote-card:hover,
.quote-card:focus {
  /* Remove upward movement */
  transform: none;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.quote-text {
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 3.25rem);
  color: #7cb342;
  margin: 0;
  line-height: 1.3;
  padding-right: 3rem;
  letter-spacing: -0.5px;
}

.line-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.progress-circle {
  height: clamp(30px, 6vw, 40px);
  width: clamp(30px, 6vw, 40px);
  background-color: #323393;
  border-radius: 50%;
  transition: transform 0.5s ease, background-color 0.5s ease;
  z-index: 2;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.progress-line {
  height: clamp(6px, 1.5vw, 10px);
  width: clamp(40px, 8vw, 60px);
  background-color: #323393;
  transition: width 0.5s ease;
}

/* Hover animation for quote card */
.quote-card:hover .progress-circle,
.quote-card.touch-active .progress-circle,
.quote-card.keyboard-active .progress-circle {
  background-color: #7cb342;
  transform: scale(1.1);
}

.quote-card:hover .progress-line,
.quote-card.touch-active .progress-line,
.quote-card.keyboard-active .progress-line {
  width: clamp(80px, 20vw, 700px);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 95, 193, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(74, 95, 193, 0);
  }
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.contact-link {
  color: #e0e7ff;
  text-decoration: none;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  display: inline-block;
  line-height: 1.6;
}

.contact-link:hover {
  color: #ffffff;
}

.contact-info h4 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
  font-weight: 700;
  color: white;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item strong {
  min-width: 110px;
  text-align: left;
  display: inline-block;
}

.contact-item span {
  color: #e0e7ff;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.linkedin-section {
  text-align: center;
}

.linkedin-section h4 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
  font-weight: 600;
  color: white;
}

.linkedin-section .linkedin-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  touch-action: manipulation;
}

.linkedin-section .linkedin-icon:hover,
.linkedin-section .linkedin-icon:focus {
  transform: scale(1.1);
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 1rem 0;
}

.footer-logo {
  background: #323393;
  text-align: center;
  padding: 1.2rem 0 2rem;
}

.footer-logo .logo-text {
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  font-weight: bold;
  color: white;
  margin-bottom: 0.2rem;
}

.footer-logo .logo-text .lumen {
  color: white;
}

.footer-logo .logo-text .cap {
  color: white;
}

.footer-logo .tagline {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #e0e7ff;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.header-logo-img,
.footer-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header-logo-img {
  height: 55px !important;
  max-width: 150px !important;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  width: min(350px, 80vw);
  margin: 0 auto;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

/* ====== INTERNAL CARD STYLES ====== */
.card-scroll-outer {
  width: 100%;
  overflow-x: auto;
}
.team-container,
.founders-container {
  display: flex;
  flex-direction: row;
  padding-bottom: 1rem;
  align-items: flex-start;
}
.team-container .card,
.founders-container .card {
  flex: 0 0 calc(50% - 1rem);
}
@media (min-width: 768px) {
  .team-container .card,
  .founders-container .card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}
/* Only align left if overflowing */
.card-scroll-outer:has(.team-container > .card:nth-child(n + 4)),
.card-scroll-outer:has(.founders-container > .card:nth-child(n + 4)) {
  /* For 3+ cards (PC/tab), align left */
  .team-container,
  .founders-container {
    justify-content: flex-start;
  }
}
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  width: 100%;
  max-width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  isolation: isolate;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.card-footer {
  background: white;
  padding: 0.4rem;
  color: #2e3192;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  padding-left: 0.7rem;
}

.card:hover .card-footer {
  max-height: 160px;
  background: #26398d;
  color: white;
}

.card-footer h3,
.card-footer p {
  line-height: 1;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.card-footer h3 {
  margin-bottom: 0.1rem !important;
}

.card-footer p {
  margin-top: 0.1rem !important;
}

.extra-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.card:hover .extra-info {
  opacity: 1;
  max-height: 50px;
}

.extra-info .linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 8px;
}
.extra-info .linkedin-icon img {
  width: 24px;
  height: 24px;
  display: block;
}
@media (max-width: 600px) {
  .extra-info .linkedin-icon {
    width: 24px;
    height: 24px;
  }
  .extra-info .linkedin-icon img {
    width: 20px;
    height: 20px;
  }
}
.learn-more {
  font-size: 0.7rem;
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  padding-right: 7px;
}

/* ====== MODAL STYLES ====== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-x: hidden; /* Prevent horizontal scroll */
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: visible !important;
  overflow-x: hidden;
  padding: 1rem !important;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem !important;
  position: relative;
  animation: slideUp 0.3s ease;
  max-width: 70% !important;
  overflow: visible !important;
  max-height: none !important;
}

@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;
    align-items: flex-start;
    padding-top: 50px !important;
    padding-right: 2.5rem !important;
  }
  .modal-header-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    max-width: 260px;
    height: 100%;
    flex-shrink: 0;
    gap: 0.5rem;
    position: relative;
  }
  .modal-header-row img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    max-height: 240px;
    object-fit: cover;
    border-radius: 10px;
  }
  .modal-header-text {
    text-align: center !important;
    width: 100%;
  }
  #modalDetails {
    overflow-y: auto;
    max-height: 60vh;
    flex: 1 1 auto;
  }
}
#modalDetails {
  color: #2e3192;
  font-size: 0.85rem !important;
  margin-top: 0.2rem !important;
  margin-bottom: 0.8rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  /* Minimal scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #b0b0b0 #f5f5f5;
  overflow-y: auto !important;
  max-height: 340px !important;
}
#modalDetails::-webkit-scrollbar {
  width: 6px;
}
#modalDetails::-webkit-scrollbar-thumb {
  background: #b0b0b0;
  border-radius: 4px;
}
#modalDetails::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 4px;
}

.scroll-down-arrow {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: #888;
  z-index: 10;
  pointer-events: none;
  animation: bounceDown 1s infinite;
}
@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.modal-content img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.modal-text {
  flex: 1;
  overflow-y: auto;
}

.modal-text h2 {
  color: #88ce43;
  margin-bottom: 0;
}

.modal-text h4 {
  margin-top: 5px;
  color: #666;
}

.modal-text p {
  color: #333;
  line-height: 1.5;
  margin-top: 1rem;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 9999999;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  /* Remove background and scale effect */
  background: rgba(255, 255, 255, 0.9);
  transform: none;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Desktop (1025px+) */
@media (min-width: 1025px) {
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }

  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .card .card-footer,
  .card .card-footer * {
    position: relative;
    z-index: 2;
  }
}

/* Tablet (1024px) */
@media (width: 1024px) {
  .services-content {
    padding: 4rem 0rem 0rem;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .team-container {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .founders-container {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 1rem;
    margin-right: 1rem;
    justify-content: flex-start;
  }
}

/* Tablet (767px - 1025px) */
@media (min-width: 767px) and (max-width: 1025px) {
  .team-description {
    min-height: 85vh;
  }

  .team-description h2 {
    font-size: clamp(1rem, 6vw, 4rem);
    color: #7cb342;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
  }

  .team-header h2 {
    padding-left: 1rem !important;
  }
}

/* Mobile & Tablet (900px) */
@media (max-width: 900px) {
  .service-card {
    width: 280px;
    height: 280px;
    max-width: 90%;
    max-height: 350px;
  }
  .hero-overlay-content h1 {
    font-size: clamp(1.2rem, 4vw, 2.2rem);
  }
}

/* Mobile (767px) */
@media (max-width: 767px) {
  body {
    font-size: 0.95rem;
  }

  .about-content,
  .about-content p {
    font-size: 0.95rem;
  }

  .sector-card h3 {
    font-size: 0.95rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.92rem;
  }

  .team-header h2 {
    font-size: 1.5rem;
  }

  .team-description-content,
  .team-description-content p {
    font-size: 0.95rem;
  }

  .modal-header-text h2 {
    font-size: 1rem;
  }

  .modal-header-text h4 {
    font-size: 0.9rem;
  }

  #modalDetails {
    font-size: 0.9rem;
  }

  .team-container,
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .modal-content {
    flex-direction: column !important;
    align-items: stretch;
    text-align: left;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    padding: 0.8rem 0.5rem;
    gap: 0;
    position: relative;
  }

  .modal-header-row img {
    max-height: 260px;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .modal-header-text h2 {
    font-size: 1.1rem;
    color: #88ce43;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
  }

  .modal-header-text h4 {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    margin: 0;
    margin-top: 0.2rem;
  }

  #modalDetails {
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 0;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    max-height: calc(70vh - 100px);
    padding-right: 0.5rem;
  }

  .about-container {
    padding: 0.8rem !important;
  }

  .sector-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .sector-section h2 {
    font-size: 1.7rem !important;
    margin-bottom: 1.2rem;
  }

  .sector-grid {
    gap: 0.7rem;
    max-width: 100%;
  }

  .sector-card {
    padding: 0.8rem 1rem;
    min-height: 60px;
    border-radius: 14px;
  }

  .sector-card h3 {
    font-size: 1rem;
    font-weight: 600;
  }

  .card-footer {
    max-height: 140px;
  }

  .card:hover .card-footer {
    max-height: 200px;
  }

  .card-footer h3 {
    font-size: clamp(1rem, 4vw, 1.15rem);
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }

  .card-footer p {
    font-size: clamp(0.85rem, 3vw, 1rem);
    font-weight: 500;
    margin: 0.1rem 0 0 0;
    line-height: 1.3;
    opacity: 1;
    transition: opacity 0.3s;
  }

  .team-description {
    margin: 2rem 0.6rem !important;
  }

  .team-description h2 {
    font-size: clamp(1.7rem, 6vw, 4rem) !important;
  }

  .card img {
    max-height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .team-container {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .founders-container {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 1rem;
    margin-right: 1rem;
    justify-content: flex-start;
  }
}

@media (min-width: 1025px) and (max-width: 1145px) {
  .services-content {
    padding: 4rem 0rem 0rem;
  }
}

@media (min-width: 1025px) {
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }

  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .card .card-footer,
  .card .card-footer * {
    position: relative;
    z-index: 2;
  }
}

.mobile-linkedin-footer {
  display: none;
  background: #323393;
  color: #fff;
  padding: 1.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
  position: static;
  margin-bottom: 0;
  margin-top: 0;
}

.mobile-linkedin-text {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.mobile-linkedin-icon img {
  display: block;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .mobile-linkedin-footer {
    display: flex;
  }
  .linkedin-section {
    display: none !important;
  }
}

.modal-header-text h2,
.modal-header-text h4 {
  color: #323393 !important; /* blue for default */
}
.modal-header-text.green-footer h2,
.modal-header-text.green-footer h4 {
  color: #7cb342 !important; /* green for founders */
}

.team-card,
.founder-card {
  padding: 0.4rem !important;
  margin: 0 !important;
  gap: 0 !important;
}
@media (max-width: 325px) {
  .green-footer {
    min-height: 60px;
  }
}

@media (max-width: 480px) {
  .card img {
    max-height: 150px;
  }
}

.modal-header-text h2 {
  font-size: 1rem !important;
}

.modal-header-text h4 {
  font-size: 0.85rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.1rem !important;
}

.card-details {
  display: none;
  width: 100%;
  background: #fff;
  color: #323393;
  font-size: 0.98rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(50, 51, 147, 0.08);
  margin-top: 0.5rem;
  padding: 1rem 1.2rem;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.card.expanded .card-details {
  display: block;
  max-height: 400px;
  opacity: 1;
}
@media (max-width: 1024px) {
  .card-details {
    font-size: 0.98rem;
    padding: 1rem 0.8rem;
  }
}

.team-container::after,
.founders-container::after {
  content: "";
  flex: auto;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 2.5rem;
}

.hero-overlay-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 0.9rem 0;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  max-width: 70%;
  margin-bottom: 0.2rem !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 40, 60, 0.15);
  z-index: 2;
  pointer-events: none;
}
.hero-slide {
  z-index: 1;
}
.hero-overlay-content {
  z-index: 3;
  position: relative;
}

.linkedin-icon {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  width: 28px;
  height: 28px;
}
.linkedin-icon i {
  display: none !important;
}
.linkedin-icon::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url("../assets/linkedin.png") no-repeat center center / contain;
}

.footer-linkedin-icon,
.mobile-linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #323393;
  border: 3px solid #fff;
  border-radius: 12px;
  text-decoration: none;
  margin: 0.5rem 0.2rem auto;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 12px rgba(50, 50, 100, 0.1);
}
.footer-linkedin-icon i.fa-brands.fa-linkedin-in,
.mobile-linkedin-icon i.fa-brands.fa-linkedin-in {
  color: #fff;
  font-size: 2.2rem;
  background: none;
  border: none;
  padding: 0;
}
.footer-linkedin-icon:hover,
.mobile-linkedin-icon:hover {
  box-shadow: 0 4px 24px rgba(50, 50, 100, 0.18);
  background: #2540a0;
}

@media (max-width: 600px) {
  .footer-linkedin-icon,
  .mobile-linkedin-icon {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-linkedin-icon img,
  .mobile-linkedin-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
  }
}

.main-content,
.services-grid,
.team-container,
.founders-container,
.about-container,
.contact-container {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 375px) {
  .hero {
    padding: 0 !important;
    min-width: 0 !important;
  }
  .loader-overlay {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 600px) {
  .service-card {
    width: 100%;
    max-width: 90%;
    height: auto;
    min-height: 180px;
    aspect-ratio: unset;
    padding: 16px 8px 16px 12px !important;
  }
  .service-card h3 {
    min-height: 2.8em;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1;
  }
  .cta-button {
    font-size: 11.43px;
  }
  .nav-menu-mobile a {
    font-size: 18.8px;
  }
  .logo-main {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    width: 95vw;
    height: auto;
    min-height: 130px;
    max-width: 85%;
    aspect-ratio: unset;
    padding: 16px 8px 16px 12px;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
}
@media (max-width: 320px) {
  .service-card {
    max-width: 85%;
    width: 100%;
  }
}

.section-divider {
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #e0e7ef 0%, #bfc9d9 100%);
  border: none;
  border-radius: 1px;
  margin: 48px auto 48px auto;
  opacity: 0.8;
}
@media (max-width: 600px) {
  .section-divider {
    width: 95%;
    margin: 28px auto 28px auto;
  }
}

.card:hover .card-footer.green-footer {
  background: #7cb342 !important;
  color: #fff !important;
}

.card-footer.green-footer {
  color: #7cb342 !important;
}

@media (min-width: 1439px) {
  .services-content {
    padding: 4rem 0rem 0rem;
  }
}

@media (max-width: 600px) {
  .learn-more {
    font-size: 0.5rem;
  }
  .linkedin-icon i.fa-brands.fa-linkedin-in {
    color: #fff !important;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .sector-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .header {
    left: 0;
    right: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.6rem 1.2rem;
  }
  .header-logo-img {
    height: 40px;
    max-width: 120px;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
  }
  .logo {
    flex-direction: row;
    align-items: center;
    flex: 1 1 auto;
  }
  .cta-button {
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
    margin-right: 0.3rem;
    border-radius: 14px;
    max-width: 170px;
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }
  .mobile-menu-toggle {
    margin-right: 0;
    padding: 0.2rem;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 3;
  }
  .mobile-menu-toggle span {
    width: 32px;
    height: 3px;
    background: #7cb342;
  }
  .hero {
    position: relative;
    padding-bottom: 80px;
  }
  .hero-buttons {
    position: absolute;
    left: 0;
    bottom: 24px;
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 2;
  }
  .hero-btn {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 45px;
    padding: 1.2rem 2.5rem;
    z-index: 10;
    margin: 0;
    min-width: 140px;
    transition: background 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    border: none !important;
  }
  .hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }
  .sector-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 2.5rem;
    text-align: center !important;
  }
  .sector-card h3 {
    position: static;
    left: unset;
    right: unset;
    margin: 0;
    width: auto;
    pointer-events: auto;
    text-align: left;
    z-index: auto;
    font-size: 1.1rem;
    font-weight: 500;
  }
  .sector-icon {
    z-index: auto;
  }
  .hero-carousel {
    position: relative;
  }
}

@media (max-width: 800px) {
  .header {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 1rem 1.5rem;
  }
  .nav-menu {
    display: none;
  }
  .cla-button-hide {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .logo-main {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 0.7rem;
  }
  .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-right: 0;
  }
  .hero {
    padding: 0 2rem;
    text-align: center;
    align-items: center;
    background-attachment: scroll;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-btn {
    padding: 1rem 2rem;
    text-decoration: none !important;
  }
  .services-grid {
    gap: 20px;
  }
  .service-card::before {
    top: 25px;
  }
  .contact {
    padding: 4rem 2rem 0;
  }
  .quote-card {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 2rem;
  }
  .quote-text {
    padding-right: 0;
  }
  .founders-grid,
  .team-grid {
    gap: 2rem;
  }
  .team-description {
    margin: 2rem 1rem;
    padding: 1rem 1rem 0rem;
  }
  .team-description-container {
    padding-left: 1rem;
  }
  .sector-card {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    min-height: 60px;
  }
  .sector-icon {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  .sector-icon svg {
    width: 20px;
    height: 20px;
  }
  .sector-card h3 {
    font-size: 1rem;
    font-weight: 600;
  }
  .nav-menu-mobile {
    text-align: center;
  }
  .nav-menu-mobile a {
    display: block;
    text-align: center;
    color: #323393;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  .nav-menu-mobile a.active,
  .nav-menu-mobile a[style*="color: #7cb342"] {
    color: #7cb342 !important;
  }
}

@media (max-width: 768px) {
  .card img {
    max-height: 200px;
  }
  .modal-header-row img {
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.8rem 1rem;
  }
  .hero {
    padding: 0 1rem;
    min-height: 500px;
  }
  .hero-btn {
    min-width: 180px;
    padding: 0.8rem 1.5rem;
    text-decoration: none !important;
  }
  .sector-card {
    flex-direction: row;
    text-align: center;
    padding: 1rem 1.2rem;
    min-height: 45px;
  }
  .quote-card {
    padding: 2rem 1rem;
  }
  .quote-text {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  .line-wrapper {
    width: clamp(80px, 35vw, 150px);
  }
  .progress-circle {
    height: clamp(25px, 7vw, 35px);
    width: clamp(25px, 7vw, 35px);
  }
  .progress-line {
    height: clamp(5px, 2vw, 8px);
    width: clamp(30px, 10vw, 50px);
  }
  .quote-card:hover .progress-line,
  .quote-card.touch-active .progress-line,
  .quote-card.keyboard-active .progress-line {
    width: clamp(60px, 25vw, 120px);
  }
  .about,
  .team-description,
  .team-header,
  .team-content,
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-card,
  .team-card {
    max-width: 100%;
  }
  .founder-image,
  .team-image {
    height: 250px;
  }
  .card img {
    max-height: 140px;
  }
  .modal-header-row img {
    max-height: 150px;
  }
}
@media (max-width: 395px) {
  .card img {
    max-height: 120px !important;
  }
}

@media (max-width: 350px) {
  .card img {
    max-height: 90px !important;
  }
}
@media (max-width: 600px) {
  .hero-carousel {
    height: 70vh; /* or 50vh, or any value you prefer */
    min-height: 320px; /* optional: ensures it's not too short */
  }
}
@media (max-width: 600px) {
  .hero-btn {
    position: absolute;
    left: 10px;
    bottom: 2rem; /* adjust as needed */
    transform: translateX(0%);
    margin-top: 0;
    width: auto; /* or 80% for a wider button */
    z-index: 10;
    text-decoration: none !important;
  }
}
@media (max-width: 360px) {
  /* Example tweaks */
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-btn,
  .glass-button {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    min-width: 160px;
  }
  .cta-button {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .nav-menu a,
  .nav-menu-mobile a {
    font-size: 0.9rem;
  }
  .founder-image,
  .team-image {
    height: 200px;
  }
  .sector-card,
  .service-card {
    padding: 1rem;
  }
  /* Fix any element overflowing */
  .container,
  .about,
  .team-description,
  .contact {
    overflow-x: hidden;
  }
  body {
    overflow-x: hidden;
  }
  .mobile-menu-overlay {
    width: 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: high) {
  .quote-card,
  .service-card {
    border: 2px solid #000;
  }
}

@media (max-width: 600px) {
  .extra-info .linkedin-icon {
    width: 24px;
    height: 24px;
  }
  .extra-info .linkedin-icon img {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 380px) {
  .sector-section h2 {
    font-size: 1.6rem !important;
    margin-bottom: 0rem !important;
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 0.95rem;
  }
  .about-content {
    font-size: 0.8rem;
  }
  .about-content p {
    font-size: 0.8rem;
  }
  .sector-card h3 {
    font-size: 0.95rem;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.7rem;
  }
  .team-header h2 {
    font-size: 1.5rem;
  }
  .team-description-content,
  .team-description-content p {
    font-size: 0.8rem;
  }
  .team-description-content h4 {
    font-size: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }
  .team-description-content ul {
    font-size: 0.95rem;
    margin-left: 0.5rem;
    margin-bottom: 0;
    padding-left: 1rem;
  }
  .team-description-content ul,
  .team-description-content li {
    font-size: 0.8rem;
    color: #323393;
    font-weight: 500;
  }
  .modal-header-text h2 {
    font-size: 1rem;
  }
  .modal-header-text h4 {
    font-size: 0.9rem;
  }
  #modalDetails {
    font-size: 0.9rem;
  }
  .team-container,
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .modal-content {
    flex-direction: column !important;
    align-items: stretch;
    text-align: left;
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    padding: 0.8rem 0.5rem;
    gap: 0;
    position: relative;
  }
  .modal-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: white;
    z-index: 2;
    position: sticky;
    top: 0;
    padding-bottom: 0.5rem;
  }
  .modal-header-row img {
    width: 70px;
    height: 85px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .modal-header-text h2 {
    font-size: 1.1rem;
    color: #88ce43;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
  }
  .modal-header-text h4 {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    margin: 0;
    margin-top: 0.2rem;
  }
  #modalDetails {
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 0;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    max-height: calc(70vh - 100px);
    padding-right: 0.5rem;
  }
  .about-container {
    padding: 1.3rem !important;
  }
  .sector-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .sector-section h2 {
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
    padding-left: 0;
    text-align: center;
    line-height: 1.4;
  }
  .sector-grid {
    gap: 0.7rem;
    max-width: 100%;
  }
  .sector-card {
    padding: 0.4rem 0.5rem;
  }
  .sector-card h3 {
    font-size: 1rem;
  }
  .card-footer {
    max-height: 140px;
  }
  .card:hover .card-footer {
    max-height: 200px;
  }
  .card-footer h3 {
    font-size: 0.8rem !important;
    font-weight: 600;
    margin: 0 !important;
    line-height: 1.2;
    letter-spacing: 0.01em !important;
  }
  .card-footer p {
    font-size: 0.65rem !important;
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.3;
    opacity: 1;
    transition: opacity 0.3s;
  }
  .team-description {
    margin: 2rem 0.6rem !important;
  }
  .team-description h2 {
    font-size: 1.8rem;
    margin-bottom: 0rem;
    font-weight: 600;
    line-height: 75.15px;
    color: #8bc73e;
  }
}
@media (max-width: 380px) {
  .team-description h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0rem;
    font-weight: 600;
    line-height: 75.15px;
    color: #8bc73e;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .team-container {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
}

@media (min-width: 1025px) {
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 900px;
    margin: auto;
  }
  .founders-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
  }
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .card .card-footer,
  .card .card-footer * {
    position: relative;
    z-index: 2;
  }
  .hero-carousel {
    position: relative;
  }
  .hero-btn {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 45px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    z-index: 10;
    margin: 0;
    min-width: 140px;
    transition: background 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    border: none !important;
  }
  .hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }
  .team {
    min-height: 70vh !important;
  }
}

@media (max-width: 600px) {
  .mobile-linkedin-footer {
    display: flex;
  }
  .linkedin-section {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .loader-brand-logo {
    max-width: 90vw;
  }
  .loader-slogan {
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 600px) {
  .sector-card h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .header {
    left: 0;
    right: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.4rem 0.5rem;
  }
  .header-logo-img {
    height: 50px;
    max-width: 120px !important;
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.2rem;
  }
  .logo {
    flex-direction: row;
    align-items: center;
    flex: 1 1 auto;
  }
  .cta-button {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    margin-right: 0.2rem;
    border-radius: 10px;
    max-width: 140px;
    min-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }
  .mobile-menu-toggle {
    margin-right: 0;
    padding: 0.2rem;
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    order: 3;
  }
  .mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #7cb342;
  }
  .hero {
    position: relative;
    padding-bottom: 70px;
  }
  .hero-buttons {
    position: absolute;
    left: 0;
    bottom: 18px;
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 2;
  }
  .hero-btn {
    min-width: 140px;
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
    margin-left: 18px;
    margin-bottom: 0;
    text-decoration: none !important;
  }
  .hero-underline {
    width: 250px;
    height: 4px;
    margin: 0rem 0 1.2rem 0;
  }
}

@media (min-width: 601px) {
  .header {
    left: 20px;
    right: 20px;
    border-radius: 15px;
    top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 5px 5px;
  }
  .nav-container {
    padding-left: 36px;
    padding-right: 10px;
  }
  .cta-button {
    margin-right: 12px;
  }
  .logo {
    margin-right: 0;
  }
}

@media (max-width: 767px) and (min-width: 320px) {
  .team {
    min-height: 46vh;
  }
}
@media (max-width: 400px) {
  .team-description {
    min-height: 110vh !important
    ;
  }
}
@media (min-width: 326px) and (max-width: 424px) {
  .team {
    min-height: 40vh !important;
  }
  .team-description {
    min-height: 100vh;
  }
}
@media (min-width: 423px) and (max-width: 767px) {
  .team {
    min-height: 49vh !important;
  }
  .team-header h2 {
    font-size: 1.8rem;
  }
  .team-description {
    min-height: 95vh !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .team {
    min-height: 50vh;
    padding: 2rem 4rem 4rem !important;
  }
}
@media (min-width: 420px) and (max-width: 480px) {
  .team {
    min-height: 38vh !important;
  }
}

.team-container::after,
.founders-container::after {
  content: "";
  flex: 0 0 1.5rem; /* same as your gap */
}

.loader-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: #323393;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
@media (min-width: 320px) and (max-width: 767px) {
  .team-swiper,
  .swiper,
  .swiper-wrapper {
    width: auto !important;
  }
}

@media (min-width: 801px) and (max-width: 1025px) {
  .nav-menu {
    display: none !important;
  }
  .nav-menu-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 320px) {
  .services h2 {
    font-size: 2rem;
  }
}

@media (min-width: 378px) and (max-width: 405px) {
  .service-card {
    max-width: 85%;
    padding-left: 2rem;
  }
  .team {
    min-height: 45vh !important;
  }
}

.swiper-free-mode > .swiper-wrapper {
  margin: auto !important;
}

@media (min-width: 1440px) and (max-width: 2800px) {
  .team {
    min-height: 75vh !important;
  }
}
@media (min-width: 2559px) {
  .team {
    min-height: 25vh !important;
  }
  .team-description {
    min-height: 30vh !important;
  }
  .contact-container,
  .about-container,
  .team-description-container {
    max-width: 80%;
  }
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
  }
  /* Font sizes for large screens */
  h1 {
    font-size: 3.5rem !important;
  }
  h2 {
    font-size: 2.8rem !important;
  }
  h3 {
    font-size: 2.2rem !important;
  }
  h4 {
    font-size: 1.8rem !important;
  }
  p {
    font-size: 1.3rem !important;
  }
  .hero-btn {
    font-size: 1.4rem !important;
  }
  .cta-button {
    font-size: 1.2rem !important;
  }
  .service-card h3 {
    font-size: 1.6rem !important;
  }
  .service-card p {
    font-size: 1.1rem !important;
  }
  .card-footer h3 {
    font-size: 1.5rem !important;
  }
  .card-footer p {
    font-size: 1.2rem !important;
  }
  .quote-text {
    font-size: 2.2rem !important;
  }
}
@media (max-width: 424px) {
  .mobile-menu-overlay {
    width: 50%;
    padding: 1rem 0 1rem 0;
  }
  .nav-menu-mobile a {
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px !important;
  }
  .hero-btn {
    min-width: 100px;
    font-size: 0.7rem;
  }
}

/* Media Queries for .swiper-free-mode>.swiper-wrapper 

@media (max-width: 320px) {
    .swiper-free-mode>.swiper-wrapper {

    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .swiper-free-mode>.swiper-wrapper {

    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .swiper-free-mode>.swiper-wrapper {

    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .swiper-free-mode>.swiper-wrapper {

    }
}

@media (min-width: 1025px) {
    .swiper-free-mode>.swiper-wrapper {

    }
}  */

@media (max-width: 600px) {
  h4 {
    font-size: 1rem !important;
  }
}

@media (min-width: 1025px) {
  .hero-btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    min-width: 100px;
    border-radius: 32px;
  }
}

@media (min-width: 768px) {
  .service-card::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 40px;
    height: 100px;
    width: 25px;
    background-color: #7cb342;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (min-width: 1440px) {
  .hero-overlay-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
  }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-overlay-content h1 {
    font-size: 2.8rem;
    font-weight: 600;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-overlay-content h1 {
    font-size: 2.2rem;
    font-weight: 600;
  }
}
@media (max-width: 767px) {
  .hero-overlay-content h1 {
    font-size: 1.3rem;
    font-weight: 600;
  }
}

@media (min-width: 1440px) {
  .hero-underline {
    width: 500px;
  }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-underline {
    width: 400px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-underline {
    width: 300px;
  }
}
@media (max-width: 767px) {
  .hero-underline {
    width: 180px;
  }
}

.hero-overlay-content h1 {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .contact-content {
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-info h4 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  .quote-card {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 600px) {
  .footer-logo-img {
    width: min(180px, 60vw);
  }
}
@media (max-width: 767px) {
  .card-footer h3 {
    font-size: 0.7rem !important;
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.2;
    letter-spacing: 0.01em !important;
  }
}
@media (max-width: 767px) {
  .card-footer p {
    font-size: 0.5rem !important;
    font-weight: 500;
  }
}

.swiper-slide {
  margin-left: 0 !important;
}

@media (min-width: 768px) {
  .linkedin-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1.2rem;
    width: 100%;
  }
  .linkedin-section h4 {
    text-align: right;
    margin-bottom: 0;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    padding-right: 0;
  }
  .footer-linkedin-icon {
    background: none;
    border: none;
    box-shadow: none;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  .footer-linkedin-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
  }
}

@media (min-width: 768px) {
  .founders-heading {
    margin-right: 50px !important;
  }
}

.card-footer h3 {
  margin-top: 0.7rem !important;
  margin-bottom: 0.1rem !important;
  font-size: 1rem !important;
  font-weight: 600;
  text-align: left;
  line-height: 1;
}
.card-footer p {
  margin-top: 0.1rem !important;
  font-size: 0.65rem !important;
  font-weight: 500;
  text-align: left;
  line-height: 1;
}

@media (max-width: 600px) {
  .card-footer h3 {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 320px) {
  .card-footer h3 {
    font-size: 0.7rem !important;
  }
}

#modalName {
  margin-top: 1.1rem;
  margin-bottom: 0.05rem;
  text-align: center;
  line-height: 1;
}
#modalRole {
  margin-top: 0.05rem;
  margin-left: 3.5rem;
  font-weight: 400;
  text-align: left;
  line-height: 1;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .quote-card .line-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: none;
  }
  .quote-card .progress-line {
    width: clamp(180px, 8vw, 60px) !important;
  }
  .quote-card:hover .progress-line {
    width: clamp(300px, 20vw, 700px) !important;
  }
}

@media (min-width: 1025px) {
  .quote-card .progress-line {
    width: clamp(200px, 8vw, 60px);
  }
  .quote-card:hover .progress-line {
    width: clamp(500px, 20vw, 700px);
  }
}

/* --- Modal Layouts for Founder/Team/Mobile (match main site) --- */
.modal-flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}
.modal-img-col {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.modal-img-col img {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.modal-info-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.modal-header-text {
  position: static !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 1.2rem;
  text-align: left !important;
}
#modalName {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #7cb342;
  text-align: left;
}
#modalRole {
  font-size: 1.2rem;
  font-weight: 600;
  color: #8bc73e;
  line-height: 1.03;
  margin: 0 0 1.2rem 0;
  text-align: left;
}
#modalDetails {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  max-height: 100%;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
}
#modalDetails::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetails::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetails::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Team modal (PC/tablet): name/role below image */
.modal-pc-team {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  width: 820px;
  max-width: 820px;
  min-width: 600px;
  box-sizing: border-box;
  overflow: visible !important;
  max-height: none !important;
}
.modal-pc-team .modal-img-col {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}
.modal-pc-team .modal-img-col img {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  font-size: 0.85rem !important;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}
#modalDetailsTeam {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
  max-height: 340px !important;
}
#modalDetailsTeam::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}
#modalDetailsTeam::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 6px;
}
#modalDetailsTeam::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
}
/* Hide mobile modal by default */
.modal-mobile { display: none; }
@media (max-width: 700px) {
  .modal-desktop { display: none !important; }
  .modal-mobile { display: block !important; }
  .modal-mobile-vertical {
    width: 100%;
  }
  .modal-mobile-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .modal-mobile-top-row .modal-img-col {
    flex: 0 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-mobile-top-row .modal-img-col img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  }
  .modal-mobile-top-row .modal-header-text {
    flex: 1 1 0;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 0;
    padding-left: 0.2rem;
  }
  #modalNameMobile {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #323393;
    line-height: 1.05;
    text-align: left;
  }
  #modalRoleMobile {
    font-size: 1rem;
    color: #7cb342;
    margin: 0;
    font-weight: 500;
    line-height: 1.05;
    text-align: left;
  }
  #modalDetailsMobile {
    margin-top: 0.5rem;
    text-align: left;
    font-size: 0.92rem;
    color: #323393;
    font-weight: 500;
    line-height: 1.5;
    background: none;
    padding: 0;
    max-height: 48vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #b0b0b0 #f5f5f5;
  }
  #modalDetailsMobile::-webkit-scrollbar {
    width: 6px;
  }
  #modalDetailsMobile::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
  }
  #modalDetailsMobile::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
  }
}
/* Hide team modal on mobile */
@media (max-width: 700px) {
  .modal-pc-team { display: none !important; }
}
/* Hide founder modal on mobile */
@media (max-width: 700px) {
  .modal-pc-founder { display: none !important; }
}

/* Founder modal image fixed height */
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
/* Team modal image fixed height */
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}
/* Team modal: name/role below image, centered */
.modal-pc-team .modal-img-col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.modal-header-text-team {
  margin-top: 1.2rem;
  text-align: center;
  width: 100%;
}
#modalNameTeam {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.03;
  margin: 0 0 0.2rem 0;
  color: #323393;
  text-align: center;
}
#modalRoleTeam {
  font-size: 2.2rem;
  font-weight: 600;
  color: #7cb342;
  line-height: 1.03;
  margin: 0 0 0.8rem 0;
  text-align: center;
}

.modal-pc-founder {
  width: 980px;
  max-width: 980px;
  min-width: 600px;
  height: 420px;
  min-height: 420px;
  box-sizing: border-box;
  overflow: visible !important;
  max-height: none !important;
}
.modal-pc-founder .modal-img-col {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
}
.modal-pc-founder .modal-img-col img {
  height: 420px;
  width: auto;
  object-fit: cover;
  border-radius: 24px;
}
.modal-pc-team {
  width: 100%;
}
.modal-pc-team .modal-img-col {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}
.modal-pc-team .modal-img-col img {
  height: 260px;
  width: auto;
  object-fit: cover;
  border-radius: 16px;
}

@media (min-width: 701px) {
  #modalName {
    font-size: 1.8rem !important;
    font-weight: 800;
    line-height: 1.03;
    margin: 0 0 0.2rem 0;
    color: #7cb342;
    text-align: left;
  }
  #modalRole {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #8bc73e;
    line-height: 1.03;
    margin: 0 0 1.2rem 0;
    text-align: left;
  }
}
#modalDetails {
  margin-top: 0;
  text-align: left;
  font-size: 1.05rem;
  color: #323393;
  font-weight: 500;
  line-height: 1.5;
  max-height: 100%;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 #ffffff;
}

@media (min-width: 701px) {
  .modal-pc-founder {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .modal-pc-founder .modal-img-col {
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
  }
  #modalName {
    margin-top: 0 !important;
    display: block;
  }
}

@media (max-width: 1023px) {
  .modal-content {
    max-width: 90% !important;
  }
}
@media (min-width: 1024px) {
  .modal-content {
    max-width: 70% !important;
  }
}

@media (min-width: 701px) {
  .modal-content {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

.team-point {
  color: #323393;
  font-size: 1.15rem;
  margin-left: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  padding-left: 0;
  position: relative;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .logo {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }
}

.team-bullets {
  list-style: disc outside;
  padding-left: 1.5em;
  margin-left: 0;
}

.team-bullets li {
  position: relative;
  padding-left: 0.5em;
  text-indent: -0.5em;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
