* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  min-height: 100vh;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 100px;
}

/* ===== FABRIC BACKGROUND ===== */
.fabric-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #f8fafc, #eef2ff);
  overflow: hidden;
}

canvas#fabric {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== HEADER ===== */
header {
  height: 90px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-svg {
  height: 150px;
  width: auto;
  transition: transform .3s ease, filter .3s ease;
  clip-path: inset(20px 0 20px 0);
}

.logo:hover .logo-svg {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 14px rgba(37, 99, 235, 0.35));
}

.logo-blue {
  fill: #1A52B1;
  transition: fill .3s ease;
}

.logo-orange {
  fill: #FA5514;
  transition: fill .3s ease;
}

.logo:hover .logo-blue {
  fill: #2563eb;
}

.logo:hover .logo-orange {
  fill: #fb7c3c;
}

/* ===== NAVIGATION ===== */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: transform .3s ease;
}

.nav-link:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
  transition: all .3s ease;
}

.lang-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s ease;
  display: none;
}

.lang-select:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

/* ===== MAIN ===== */
main {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
  color: #1e3a8a;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: #334155;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.trial-highlight-container {
  text-align: center;
  margin: 30px 0;
}

.trial-highlight {
  display: inline-block;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(96, 165, 250, 0.12));
  color: #1e3a8a;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  animation: trialPulse 2.8s ease-in-out infinite;
}

@keyframes trialPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.25);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
  }
}

@keyframes trialPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.25);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
  }
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 10px;
  color: #1e3a8a;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}

/* ===== EXPERTS SECTION ===== */
.trust-merged {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 40px 22px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.10));
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.trust-merged h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e3a8a;
}

.trust-merged p {
  color: #475569;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  margin-bottom: 10px;
}

/* Expert Cards - Desktop: Static, Mobile: Scrolling */
.trust-experts-wrapper {
  margin: 18px 0 30px;
  overflow: hidden;
}

/* Mobile: Enable scrolling with visible scrollbar */
@media (max-width: 768px) {
.trust-experts-wrapper {
  margin: 18px 0 30px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2563eb #e2e8f0;
}

.trust-experts-wrapper::-webkit-scrollbar {
  height: 10px;
}

.trust-experts-wrapper::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
  margin: 0 10px;
}

.trust-experts-wrapper::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 10px;
}

.trust-experts-wrapper::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}
  
  /* Disable animation on mobile to allow manual scrolling */
  .trust-experts-track {
    animation: none;
  }
}

.trust-experts-track {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.our-experts {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.our-experts p {
  font-size: 25px;
  font-weight: 600;
  color: #1e3a8a;
}

.trust-expert-card {
  width: 450px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.trust-expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.25);
}

.trust-expert-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid rgba(37, 99, 235, 0.35);
}

.trust-expert-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.expert-role {
  font-size: 15px;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
}

.expert-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Hide duplicates on desktop */
.mobile-duplicate {
  display: none;
}

.trust-points {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.products-section {
  margin: 20px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 15px 30px;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, .2);
}

.badge {
  display: inline-block;
  background: rgba(37, 99, 235, .1);
  color: #2563eb;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #0f172a;
}

.card-content {
  flex: 1;
}

.feature-group,
.benefit-group {
  margin-bottom: 24px;
}

.feature-group strong,
.benefit-group strong {
  display: block;
  font-size: 15px;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.features li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}

.features li::before {
  content: '◆';
  color: #2563eb;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 18px;
}

.benefits li::before {
  content: '★';
  color: #f59e0b;
}

.testimonial {
  margin: 20px 0;
  font-size: 14px;
  color: #475569;
  font-style: italic;
  padding: 16px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 12px;
  border-left: 3px solid #2563eb;
}

.cta-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-weight: 600;
  transition: all .3s ease;
  text-align: center;
  margin-top: auto;
  width: fit-content;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 99, 235, .35);
}

.btn-icon {
  margin-right: 6px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content>p {
  font-size: 17px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 30px;
  text-align: center;
}

.team-structure {
  margin-bottom: 40px;
}

.team-structure h3 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 40px;
  color: #1e3a8a;
}

/* Team Members Scrolling Section */
.team-members-wrapper {
  overflow: hidden;
  margin: 40px 0;
}

/* Add scrollbar for both desktop and mobile */
@media (min-width: 769px) {
  .team-members-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #e2e8f0;
  }

  .team-members-wrapper::-webkit-scrollbar {
    height: 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
  }
  
  /* Disable animation on desktop to allow manual scrolling */
  .team-members-track {
    animation: none;
  }
}

@media (max-width: 768px) {
  .team-members-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #e2e8f0;
  }

  .team-members-wrapper::-webkit-scrollbar {
    height: 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
  }

  .team-members-wrapper::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
  }
  
  /* Disable animation on mobile to allow manual scrolling */
  .team-members-track {
    animation: none;
  }
}

/* ===== MOBILE RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
  .trial-highlight-container {
    margin: 20px 0;
  }

  .trial-highlight {
    font-size: 13px;
    padding: 12px 18px;
  }
}

.team-members-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: teamLoop 50s linear infinite;
}

.team-members-wrapper:hover .team-members-track {
  animation-play-state: paused;
}

.team-member-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.25);
}

.team-member-card.team-lead {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.15));
  border: 2px solid rgba(37, 99, 235, 0.35);
}

.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid rgba(37, 99, 235, 0.35);
  transition: all .3s ease;
}

.team-member-card.team-lead .member-photo {
  width: 160px;
  height: 160px;
  border: 4px solid rgba(37, 99, 235, 0.5);
}

.team-member-card:hover .member-photo {
  transform: scale(1.05);
  border-color: rgba(37, 99, 235, 0.6);
}

.team-member-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

.team-member-card.team-lead h4 {
  font-size: 22px;
  font-weight: 700;
}

.member-role {
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 12px;
}

.team-member-card.team-lead .member-role {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

@keyframes teamLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-section {
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-top: 10px;
}

.contact-section h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #1e3a8a;
}

.contact-section p {
  color: #475569;
  margin-bottom: 28px;
  font-size: 16px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 28px 20px;
  font-size: 14px;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  margin-top: 40px;
}

footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color .3s ease;
}

footer a:hover {
  color: #1e40af;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 0 20px;
  }

  .logo-svg {
    height: 110px;
    clip-path: inset(18px 0 18px 0);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .main-nav.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .trial-highlight {
    font-size: 13px;
    padding: 12px 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Enable scrolling for experts on mobile */
  .trust-experts-wrapper {
    overflow: hidden;
  }

  .trust-experts-track {
    justify-content: flex-start;
    width: max-content;
    animation: expertLoop 40s linear infinite;
  }

  .trust-experts-wrapper:hover .trust-experts-track {
    animation-play-state: paused;
  }

  @keyframes expertLoop {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  .mobile-duplicate {
    display: flex;
  }

  .trust-expert-card {
    width: 300px;
  }

  .trust-expert-card img {
    width: 160px;
    height: 160px;
  }

  main {
    padding: 16px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

  .about-section {
    padding: 20px;
  }

  .team-member-card {
    width: 240px;
  }

  .member-photo {
    width: 120px;
    height: 120px;
  }

  .team-member-card.team-lead .member-photo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .trust-points {
    flex-direction: column;
    gap: 12px;
  }

  .about-section {
    padding: 20px 16px;
  }
}