:root {
  --teal: #22B7A8;
  --teal-light: #3DD4C3;
  --teal-dark: #1A9A8C;
  --blue: #0076CE;
  --blue-dark: #005AA3;
  --text: #1E1E1E;
  --text-light: #4A5568;
  --muted: #6b7280;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --radius: 20px;
  --shadow: 0 20px 60px rgba(4, 18, 30, 0.12);
  --shadow-lg: 0 30px 80px rgba(4, 18, 30, 0.18);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%;
  overflow-x: hidden
}

body {
  background: linear-gradient(135deg, #0a192f 0%, #1a3a52 50%, #0a192f 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
  position: relative;
}

/* Animated background particles */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(30px, -30px) scale(1.1)
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9)
  }
}

.container {
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}

/* Glass Header */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 1360px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 0.9rem 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.header-spacer {
  height: 120px
}

.header-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: .7rem;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05)
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  padding: 2px;
}

.brand-text {
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--teal-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center
}

.nav ul {
  display: flex;
  gap: 0.3rem;
  list-style: none
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: .55rem .85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .3s ease;
  position: relative;
}

.nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav a:hover::before {
  opacity: 0.15
}

.nav a:hover {
  color: #fff;
  transform: translateY(-2px)
}

.header-cta {
  margin-left: 1rem;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white;
  border-radius: 12px;
  padding: .6rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: all .3s ease;
  box-shadow: 0 8px 24px rgba(34, 183, 168, 0.3);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(34, 183, 168, 0.4);
}

.header-cta:hover::before {
  opacity: 1
}

.header-cta span {
  position: relative;
  z-index: 1
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #fff;
  display: inline-block;
  position: relative
}

.hamburger::after,
.hamburger::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff
}

.hamburger::before {
  top: -7px
}

.hamburger::after {
  bottom: -7px
}

/* HERO with dynamic animated elements */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
  background: linear-gradient(135deg, #0a192f 0%, #1a3a52 50%, #0a192f 100%);
}

.hero-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: orbit 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal), transparent);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue), transparent);
  bottom: 10%;
  right: 10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--teal-light), transparent);
  top: 50%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes orbit {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  25% {
    transform: translate(50px, -50px) scale(1.2)
  }

  50% {
    transform: translate(100px, 30px) scale(0.8)
  }

  75% {
    transform: translate(-30px, 60px) scale(1.1)
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.35rem, 3vw, 2.8rem);
  margin: 0 0 1.5rem;
  line-height: 1.08;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.12em;
}

.accent {
  background: linear-gradient(135deg, var(--teal-light), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 2px;
  opacity: 0.6;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.2rem;
  max-width: 60ch;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white;
  box-shadow: 0 12px 40px rgba(34, 183, 168, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(34, 183, 168, 0.4);
}

.btn-primary:hover::before {
  opacity: 1
}

.btn-primary span {
  position: relative;
  z-index: 1
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  list-style: none;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  flex-wrap: wrap;
}

.hero-stats li {
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.counter {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-glass {
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-glass:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(34, 183, 168, 0.2);
  border-color: var(--teal);
}

.hero-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-card-body {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

/* Sections with glass effect */
.section {
  /* padding: 6rem 0; */
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-top: 0;
}

/* Products grid with 3D cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  align-items: center;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 183, 168, 0.1), rgba(0, 118, 206, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 32px 90px rgba(34, 183, 168, 0.3);
  border-color: var(--teal);
}

.product-card:hover::before {
  opacity: 1
}

.product-media {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background-color: #f8f8f8;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}


.product-media img:hover {
  transform: scale(1.05);
}

.product-body {
  position: relative;
  z-index: 1;
  color: #fff;
}

.product-body h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.product-body p {
  color: rgba(74, 64, 64, 0.85);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.product-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.product-body ul li {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.product-body ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--teal-light);
  font-size: 1.2rem;
}

.product-actions {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: .7rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(34, 183, 168, 0.15);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 183, 168, 0.2);
}

.product-link {
  color: var(--teal-light);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.product-link:hover {
  color: #fff;
  gap: 0.8rem;
}

.alt-bg {
  background: linear-gradient(180deg, rgba(26, 58, 82, 0.5), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

#services {
  scroll-margin-top: 120px;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.services-intro .section-header {
  margin-bottom: 0;
  text-align: left;
}

.odoo-partner-badge {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(113, 75, 103, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.odoo-partner-badge img {
  width: 132px;
  height: auto;
  display: block;
}

.odoo-partner-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #714b67;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.odoo-partner-badge strong {
  display: block;
  color: #0f172a;
  font-size: 1.25rem;
}

.odoo-partner-badge p {
  margin: 0.35rem 0 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media(max-width:900px) {
  .services-intro {
    grid-template-columns: 1fr;
  }

  .services-intro .section-header {
    text-align: center;
  }

  .odoo-partner-badge {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
}

.service {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service:hover::before {
  transform: scaleX(1)
}

.service:hover {
  transform: translateY(-12px);
  border-color: var(--teal);
  box-shadow: 0 28px 70px rgba(34, 183, 168, 0.25);
}

.service img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  /* keep logo/image ratio */
  margin-bottom: 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  transition: transform 0.3s ease;
}

.service img.service-photo {
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #f4f8ff;
}

.generated-card-image {
  height: 300px;
  object-fit: contain;
  object-position: center;
  background: #f4f8ff;
}

.service img:hover {
  transform: scale(1.05);
}

.service h4 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.service p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.link {
  color: var(--teal-light);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.link:hover {
  color: #fff;
  gap: 0.8rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.two-col>div {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  color: #fff;
}

.two-col h3 {
  color: var(--teal-light);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.two-col p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 2rem 2.5rem;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.about-card:hover::before {
  transform: scaleX(1)
}

.about-card:hover {
  transform: translateY(-12px);
  border-color: var(--teal);
  box-shadow: 0 28px 70px rgba(34, 183, 168, 0.25);
}

.about-card h3 {
  color: var(--teal-light);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.about-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.partners-grid {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.partners-grid img {
  height: 60px;
  opacity: .8;
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all .3s ease;
}

.partners-grid img:hover {
  transform: translateY(-8px) scale(1.1);
  opacity: 1;
  box-shadow: 0 12px 40px rgba(34, 183, 168, 0.2);
  border-color: var(--teal);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.member-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  text-align: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 320px;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.member-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.member-card h4 {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.member-card p {
  font-size: 0.95rem;
  color: #e5e5e5;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 90%;
}

.member-card .member-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
  margin-bottom: 0.85rem;
}

.member-more {
  align-self: center;
  margin-top: auto;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(34, 183, 168, 0.12)) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(34, 183, 168, 0.6)) border-box;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease, transform 0.2s ease;
}

.member-more:hover {
  background: #fff;
  color: #0b2239;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 30px rgba(34, 183, 168, 0.25);
}

.member-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 24, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.member-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.member-modal .modal-dialog {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.member-modal .modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.member-modal .modal-body {
  color: #e6e6e6;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.member-modal .modal-name {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
}

.member-modal .modal-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.member-modal .modal-bio {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.member-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.member-modal .modal-close:hover {
  border-color: var(--teal);
  background: rgba(34, 183, 168, 0.15);
  transform: rotate(4deg);
}

@media (max-width: 768px) {
  .member-modal .modal-dialog {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .member-modal .modal-photo {
    height: 280px;
  }
}


.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.job-card:hover {
  transform: translateY(-12px);
  border-color: var(--teal);
  box-shadow: 0 28px 70px rgba(34, 183, 168, 0.25);
}

.job-card h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.job-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.job-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-12px);
  border-color: var(--teal);
  box-shadow: 0 28px 70px rgba(34, 183, 168, 0.25);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05)
}

.blog-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-left {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  color: #fff;
}

.contact-left h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--teal-light);
}

.contact-left h4 {
  color: var(--teal-light);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 700;
}

.contact-left p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.contact-map {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  border: 0;
  border-radius: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(34, 183, 168, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.recaptcha-wrap {
  min-height: 78px;
  max-width: 100%;
  overflow: hidden;
}

@media(max-width:420px) {
  .recaptcha-wrap {
    min-height: 66px;
  }

  .recaptcha-wrap .g-recaptcha {
    width: 360px;
    transform: scale(0.84);
    transform-origin: top left;
  }
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-status {
  color: var(--teal-light);
  font-weight: 600;
  margin-top: 0.5rem;
}

.site-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8fbfb;
  padding: 2rem 0;
  margin-top: 3rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.logo-sm {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.site-footer h4 {
  color: var(--teal-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 0.5rem;
}

.site-footer .muted {
  color: rgba(255, 255, 255, 0.5);
}

.small {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.inview {
  opacity: 1;
  transform: translateY(0);
}

@media(min-width:720px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start
  }

  .hero-right {
    padding-top: 0
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .two-col {
    grid-template-columns: 1fr 1fr
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .jobs-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr
  }

  .product-card {
    grid-template-columns: 300px 1fr
  }
}

@media(min-width:1280px) {
  .hero-grid {
    --hero-title-size: clamp(2.35rem, 3.5vw, 4.5rem);
    width: 94%;
    max-width: 1380px;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 4rem;
    align-items: center;
  }

  .hero-left {
    padding-top: calc(var(--hero-title-size) * 2.28 + 12.375rem);
  }

  .hero-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: var(--hero-title-size);
  }

  .hero-title-line {
    white-space: nowrap;
  }

  .hero-sub {
    position: absolute;
    top: calc(var(--hero-title-size) * 2.28 + 2.75rem);
    left: 0;
    width: 100%;
    max-width: none;
  }

  .hero-right {
    align-self: start;
    margin-top: calc(var(--hero-title-size) * 2.28 + 12.375rem + 50px);
  }
}

@media(max-width:720px) {
  .nav {
    display: none
  }

  .nav[aria-open="true"] {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 16px;
  }

  .nav ul {
    flex-direction: column;
    gap: 0
  }

  .nav a {
    display: block;
    padding: 1rem 0.5rem
  }

  .nav-toggle {
    display: block
  }

  .header-cta {
    display: none
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .product-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero-title {
    font-size: 2.5rem
  }

  .site-header {
    width: 90%;
    padding: 0.65rem 1rem
  }

  .logo {
    width: 56px;
    height: 56px;
  }

  .header-spacer {
    height: 105px
  }
}

body.light-mode {
  background: linear-gradient(135deg, #f8fbff 0%, #edf4ff 45%, #fefefe 100%);
  color: var(--text);
}

body.light-mode .bg-particles .particle {
  background: radial-gradient(circle, rgba(34, 183, 168, 0.3) 0%, transparent 70%);
  opacity: 0.2;
}

body.light-mode .site-header {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

body.light-mode .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

body.light-mode .brand {
  color: var(--text);
}

body.light-mode .brand-text {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .nav a {
  color: var(--text-light);
}

body.light-mode .nav a:hover {
  color: var(--text);
}

body.light-mode .header-cta {
  box-shadow: 0 8px 30px rgba(34, 183, 168, 0.35);
}

body.light-mode .nav-toggle {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .hamburger,
body.light-mode .hamburger::before,
body.light-mode .hamburger::after {
  background: #1e293b;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 60%, #ffffff 100%);
}

body.light-mode .section {
  background: transparent;
}

body.light-mode .hero-title {
  color: #0f172a;
  text-shadow: none;
}

body.light-mode .hero-sub {
  color: var(--text-light);
}

body.light-mode .btn-secondary {
  background: rgba(34, 183, 168, 0.12);
  color: #0f172a;
  border: 1px solid rgba(34, 183, 168, 0.35);
  backdrop-filter: none;
}

body.light-mode .link {
  color: var(--blue-dark);
}

body.light-mode .link:hover {
  color: var(--teal-dark);
}

body.light-mode .product-link {
  color: var(--blue-dark);
}

body.light-mode .product-link:hover {
  color: var(--teal-dark);
}

body.light-mode .hero-stats {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body.light-mode .hero-stats li {
  color: #0f172a;
}

body.light-mode .card-glass,
body.light-mode .product-card,
body.light-mode .service,
body.light-mode .about-card,
body.light-mode .member-card,
body.light-mode .job-card,
body.light-mode .blog-card,
body.light-mode .contact-left,
body.light-mode .contact-form,
body.light-mode .two-col>div {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

body.light-mode .card-glass:hover,
body.light-mode .product-card:hover,
body.light-mode .service:hover,
body.light-mode .member-card:hover,
body.light-mode .job-card:hover,
body.light-mode .blog-card:hover,
body.light-mode .about-card:hover,
body.light-mode .two-col>div:hover,
body.light-mode .contact-left:hover,
body.light-mode .contact-form:hover {
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.14);
  border-color: var(--teal);
}

body.light-mode .hero-card-body,
body.light-mode .product-body,
body.light-mode .service p,
body.light-mode .member-card p,
body.light-mode .job-card p,
body.light-mode .blog-card p,
body.light-mode .contact-left p {
  color: var(--text-light);
}

body.light-mode .service h4,
body.light-mode .job-card h4,
body.light-mode .blog-card h3,
body.light-mode .section-header h2 {
  color: #0f172a;
  background: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: inherit;
}

body.light-mode .section-header h2 {
  font-weight: 900;
}

body.light-mode .product-body ul li {
  color: var(--text-light);
}

body.light-mode .two-col p {
  color: var(--text-light);
}

body.light-mode .product-media img,
body.light-mode .member-card img,
body.light-mode .blog-card img {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

body.light-mode .btn-outline {
  background: rgba(34, 183, 168, 0.1);
  color: #0f172a;
  border: 1px solid rgba(34, 183, 168, 0.4);
}

body.light-mode .about-card p {
  color: var(--text-light);
}

body.light-mode .section-header p {
  color: var(--text-light);
}

body.light-mode .partners-grid img {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0.95;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 183, 168, 0.15);
}

body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder {
  color: rgba(15, 23, 42, 0.4);
}

body.light-mode .contact-form label {
  color: #0f172a;
}

body.light-mode .site-footer {
  background: #f1f5f9;
  color: #0f172a;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-mode .footer-links a,
body.light-mode .footer-contact span {
  color: var(--text-light);
}

body.light-mode .nav[aria-open="true"] {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-mode .alt-bg {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), transparent);
}

/* Hero value points */
.floating-messages {
  max-width: 640px;
  min-height: 474px;
  margin-top: 24px;
}

.value-points-title {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.value-points-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.value-points-grid span {
  display: flex;
  align-items: flex-start;
  min-height: 96px;
  padding: 16px 16px 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  line-height: 1.5;
  color: #0f172a;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-points-grid span:nth-child(even) {
  border-left-color: var(--blue);
}

.value-points-grid span:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 183, 168, 0.35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

@media(max-width:720px) {
  .floating-messages {
    min-height: 0;
  }

  .value-points-grid {
    grid-template-columns: 1fr;
  }

  .value-points-grid span {
    min-height: 0;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* exactly 2 cards per row */
  gap: 25px;
  margin-top: 40px;
}

.value-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* Mobile responsiveness: 1 card per row */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.product-highlights {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.product-highlights li {
  margin-bottom: 6px;
}
