/* 
   Trustt Digital - Static Recreation
   Pixel-perfect CSS based on Elementor/WordPress design
*/

/* 1. CSS Custom Properties (:root) */
:root {
  /* Colors */
  --color-primary: #0B67EC;
  --color-primary-alt: #0A6CED;
  --color-primary-hover: #0958c7;
  --color-dark-blue: #3352CE;
  --color-dark-blue-hover: #4032DC;
  --color-green-accent: #80FF88;
  --color-green-btn: #19DB82;
  --color-white: #FFFFFF;
  --color-bg-light: #F4F4F4;
  --color-bg-light-alt: #F9F9F9;
  --color-text-dark: #000000;
  --color-text-dark-alt: #141414;
  --color-text-dark-alt2: #353535;
  --color-text-gray: #7A7A7A;
  --color-text-gray-alt: #646464;
  --color-border: #DBDBDB;
  --color-border-alt: #F2F2F2;
  --color-bg-footer: #1A1A2E;
  --color-error: #e74c3c;
  --color-error-bg: #fdf2f2;

  /* Shadows */
  --shadow-sm: 0 0 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 2px 4px 10px rgba(0, 0, 0, 0.11);
  --shadow-dropdown: 2px 4px 10px rgba(0, 0, 0, 0.11);
  --shadow-mobile-menu: 0 4px 10px rgba(0, 0, 0, 0.1);

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-aux: 'Roboto', sans-serif;
}

/* 2. Reset / Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: var(--font-heading);
  background-color: var(--color-white);
  color: var(--color-text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 3. Typography */
h1 {
  font-size: 38px;
  font-weight: 600;
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--color-text-dark);
}

h2 {
  font-size: 32px;
  font-weight: 600;
  font-family: var(--font-heading);
}

h3 {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-heading);
}

h4 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-heading);
}

h5 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  font-family: var(--font-heading);
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-gray);
  font-family: var(--font-body);
}

.highlight-green {
  color: inherit;
  display: inline;
  background-image: linear-gradient(var(--color-green-accent), var(--color-green-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-blue {
  color: var(--color-white);
  display: inline;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* 4. Layout Utilities */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  min-height: 100vh;
  padding: 80px 0 80px;
  display: grid;
  align-content: center;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .section {
    min-height: auto;
    padding: 80px 0;
  }
}

.section__inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 2.5%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
}

.btn svg,
.btn i {
  width: 16px;
  height: 16px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--green {
  background: var(--color-green-btn);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  transition: color 0.3s ease;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-link-arrow:hover {
  color: var(--color-dark-blue-hover);
}

.btn-link-arrow svg,
.btn-link-arrow i {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn-link-arrow:hover svg,
.btn-link-arrow:hover i {
  transform: translateX(4px);
}

/* 6. Header (.main-header) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

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

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 30px 15px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Active bottom underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link i {
  font-size: 11px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* --- SUBMENU MEGA --- */
.submenu-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  background-color: var(--color-white);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 24px 30px;
  display: none;
  gap: 30px;
  z-index: 1010;
  align-items: stretch;
}

/* Hover bridge */
.submenu-mega::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.nav-item:hover .submenu-mega {
  display: flex;
}

.submenu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.submenu-link {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-alt);
  text-decoration: none;
  transition: padding-left 0.3s ease;
}

.submenu-link:first-child {
  padding-top: 0;
}

.submenu-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.submenu-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}

.submenu-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-gray);
  margin-top: 4px;
}

.submenu-link:hover .submenu-title {
  color: var(--color-dark-blue-hover);
}

.submenu-link:hover {
  padding-left: 5px;
}

.submenu-image {
  flex: 0 0 45%;
  max-width: 250px;
}

.submenu-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- HEADER ACTIONS --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

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

.lang-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-dark-alt2);
  text-decoration: none;
  text-transform: uppercase;
  padding: 2px 6px;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--color-primary);
  font-weight: 700;
}

.lang-sep {
  font-size: 11px;
  color: var(--color-border);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 50px;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-dark);
  cursor: pointer;
  padding: 5px;
}

/* Custom menu toggle SVG vs FontAwesome icon visibility */
.mobile-toggle .menu-svg-icon {
  display: block;
}

.mobile-toggle i {
  display: none !important;
}

.mobile-toggle.active .menu-svg-icon {
  display: none !important;
}

.mobile-toggle.active i {
  display: block !important;
}

/* --- MOBILE DRAWER (Floating Card Menu) --- */
.mobile-drawer {
  position: fixed;
  top: 50px;
  left: 4%;
  width: 92%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 40;
  max-height: calc(100vh - 105px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 30;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-content {
  padding: 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.drawer-link:hover {
  background-color: var(--color-bg-light);
}

.drawer-link.active {
  color: var(--color-primary);
  background-color: rgba(11, 103, 236, 0.04);
}

.drawer-dropdown-menu {
  display: none;
  background-color: transparent;
  padding: 8px;
}

.drawer-dropdown-menu.active {
  display: block;
  animation: menuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-sub-link {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.drawer-sub-link:hover {
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.drawer-cta {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  text-align: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 20px -5px rgba(11, 103, 236, 0.2);
}

.drawer-cta:hover {
  background-color: #0b5fd5;
  color: var(--color-white) !important;
}

/* Carousel image */
.carousel-image {
  width: 100%;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 220px;
}

/* Swiper slide link layout fix */
.swiper-slide a {
  display: block;
  width: 100%;
}

/* 10. Hero Sections */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--desktop {
  padding: 160px 0% 160px;
  background: var(--color-white);
}

.hero__grid {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

body.overflow-hidden {
  overflow: hidden;
}

.section__subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-text-gray);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.hero--mobile {
  display: none;
}

.hero__image {
  flex: 0 0 50%;
}

.hero__image img {
  width: 100%;
}

.hero__content {
  flex: 1;
}

.hero__content h1 {
  font-size: 38px;
  margin-bottom: 20px;
}

.hero__content p {
  font-size: 16px;
  color: var(--color-text-gray);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero__buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Mobile Hero */
.hero--mobile {
  padding: 120px 5% 60px;
  background: var(--color-white);
  text-align: center;
}

.hero--mobile p {
  margin-bottom: 30px;
}

/* Platform Mobile Section */
.section--platform-mobile {
  display: none;
  background: var(--color-bg-light);
  padding: 50px 5%;
  text-align: center;
}

.section--platform-mobile img {
  max-width: 400px;
  margin: 0 auto 30px;
}

.section--platform-mobile h2 {
  margin-bottom: 20px;
}

.section--platform-mobile h5 {
  text-align: left;
  margin-bottom: 10px;
  color: #000;
}

.platform-mobile__text {
  margin-bottom: 30px;
}

.hero--mobile h1 {
  font-size: 28px;
}

.hero--mobile p {
  text-align: center;
}

.hero--mobile .hero__buttons {
  flex-direction: column;
  align-items: stretch;
}

/* 11. Platform Section (.section--platform) */
.section--platform {
  background: var(--color-bg-light);
  padding: 80px 5%;
}

.platform__grid {
  display: flex;
  align-items: center;
  gap: 60px;
}

.platform__image {
  flex: 0 0 45%;
}

.platform__image img {
  width: 100%;
  border-radius: 8px;
}

.platform__content {
  flex: 1;
}

.platform__content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.platform__content ul {
  list-style: none;
  padding: 0;
}

.platform__content li {
  margin-bottom: 15px;
}

.platform__content li h5 {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.6;
}

/* 12. Legal Section (.section--legal) */
.section--legal {
  background: var(--color-white);
  padding: 80px 5%;
  text-align: center;
}

.section--legal h2 {
  margin-bottom: 10px;
}

.section--legal h5 {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-text-gray);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.icon-box {
  text-align: center;
  padding: 30px 20px;
}

.icon-box__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.icon-box__icon svg {
  width: 100%;
  height: 100%;
}

.icon-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.icon-box p {
  font-size: 14px;
  color: var(--color-text-gray);
}

/* 13. Benefits Section (.section--benefits) */
.section--benefits {
  background: var(--color-bg-light);
  padding: 80px 5%;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 14. What We Do Section (.section--whatwedo) */
.section--whatwedo {
  background: var(--color-white);
  padding: 80px 5%;
  text-align: center;
}

.section--whatwedo h2 {
  max-width: 800px;
  margin: 0 auto 15px;
}

.section--whatwedo h4 {
  margin-bottom: 30px;
  color: var(--color-text-dark);
}

.whatwedo__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 15. Partner Section (.section--partner) */
.section--partner {
  background-image: linear-gradient(rgb(15 23 42 / 54%), rgb(15 23 42 / 0%)), url(../assets/images/partner-bg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 120px 5%;
  color: #ffffff;
}
}

.section--partner .section__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section--partner h1,
.section--partner h1 strong,
.section--partner p,
.section--partner strong {
  color: #ffffff !important;
}

.section--partner p {
  margin-bottom: 20px;
  max-width: 700px;
}

.section--partner .highlight-blue {
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .section--partner {
    background-attachment: scroll;
  }
}

/* 16. Media Section (.section--media) */
.section--media {
  background: var(--color-white);
  padding: 80px 5%;
}

.section--media h1 {
  text-align: center;
  margin-bottom: 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.media-grid img,
.media-carousel img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.media-grid img:hover,
.media-carousel img:hover {
  filter: grayscale(0%) opacity(1);
}

.media-carousel {
  display: none;
}

/* 17. Footer (.footer) */
.footer {
  background: var(--color-bg-footer);
  color: var(--color-white);
  padding: 60px 5% 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-white);
}

.footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--color-white);
}

.footer__icon-list {
  list-style: none;
  padding: 0;
}

.footer__icon-list li {
  margin-bottom: 8px;
}

.footer__icon-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer__icon-list svg {
  width: 14px;
  height: 14px;
  fill: rgba(255, 255, 255, 0.7);
}

.footer__partner-logo img {
  max-width: 120px;
  margin-top: 10px;
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

/* 18. Modal/Popup (.modal) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.modal__close svg {
  width: 100%;
}

.modal h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.modal h2:nth-of-type(2) {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-gray);
  margin-bottom: 25px;
}

/* 19. Tabs (.tabs) */
.tabs__nav {
  display: flex;
  gap: 0;
  margin-bottom: 25px;
}

.tabs__nav-item {
  flex: 1;
  padding: 14px 20px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-heading);
  border: 2px solid var(--color-border-alt);
  background: var(--color-bg-light-alt);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tabs__nav-item:first-child {
  border-radius: 8px 0 0 8px;
}

.tabs__nav-item:last-child {
  border-radius: 0 8px 8px 0;
}

.tabs__nav-item.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.tabs__nav-item svg {
  width: 16px;
  height: 16px;
}

.tabs__panel {
  display: none;
}

.tabs__panel.active {
  display: block;
}

/* 20. Form (.form) */
.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-dark-alt2);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-alt);
  border-radius: 5px;
  background: var(--color-bg-light-alt);
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  outline: none;
  transition: border-color 0.3s;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--color-primary);
}

.form__group input.error {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}

.form__error {
  color: var(--color-error);
  font-size: 13px;
  margin-top: 6px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__submit {
  width: 100%;
}

.form__submit .btn {
  width: 100%;
  justify-content: center;
}

/* 21. Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay classes */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Hero Image Floating animation removed for static display */


/* 22. Responsive Media Queries */

/* Tablet and below */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: block;
  }

  .header__menu,
  .header__nav .btn {
    display: none;
  }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    transform: none;
  }

  .section,
  .section--platform,
  .section--legal,
  .section--benefits,
  .section--whatwedo,
  .section--partner,
  .section--media {
    padding: 50px 5%;
  }

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

  .hero--desktop .hero__content h1 {
    font-size: 30px;
  }

  .platform__grid {
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero--desktop {
    display: none;
  }

  .hero--mobile {
    display: block;
  }

  .section--platform-mobile {
    display: block;
  }

  .section--platform {
    display: none;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .grid-2,
  .grid-3,
  .legal-grid,
  .benefits-grid,
  .form__row {
    grid-template-columns: 1fr;
  }

  .platform__grid {
    flex-direction: column;
  }

  .media-grid {
    display: none;
  }

  .media-carousel {
    display: block;
    overflow: hidden;
  }

  .media-carousel .swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 35px;
    max-width: 320px;
  }

  .media-carousel .swiper-slide {
    width: 50%;
    flex-shrink: 0;
  }

  .media-carousel .swiper-pagination-bullet {
    background: #CBD5E1 !important;
    opacity: 1 !important;
    width: 8px;
    height: 8px;
    margin: 0 5px !important;
    transition: all 0.3s ease;
  }

  .media-carousel .swiper-pagination-bullet-active {
    background: #0F172A !important;
  }

  .btn--full-mobile,
  .whatwedo__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .header__logo img {
    max-width: 130px;
  }

  .lang-selector {
    display: none;
  }
}

/* ==========================================================================
   Accordion Component (Sanfonas)
   ========================================================================== */
.accordion-item {
  border-bottom: 1px solid #E2E8F0;
  /* gray-200 */
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #1E293B;
  /* slate-800 */
  transition: color 0.2s ease-in-out;
}

.accordion-header:hover {
  color: #0B67EC;
  /* primary */
}

.accordion-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.accordion-icon {
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out, color 0.2s ease-in-out;
  color: #64748B;
  /* slate-500 */
}

.accordion-item.active .accordion-header {
  color: #0B67EC;
  /* primary */
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: #0B67EC;
  /* primary */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease-in-out;
}

.accordion-item.active .accordion-content {
  opacity: 1;
}

.accordion-body {
  padding-bottom: 1.25rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  /* text-sm */
  line-height: 1.6;
  color: #475569;
  /* slate-600 */
}

.bg-trustt {
  background-color: #f6f8fb;
}