/* ============================================
   LB GROUP – Corporate Design System
   Brand Colors:
     Primary:   #215273 (Deep Corporate Blue)
     Secondary: #4CB282 (Growth Green)
   ============================================ */

/* --- Custom Fonts --- */
@font-face {
  font-family: 'HelveticaNeueGEO';
  src: url('HELVETICA NEUE LT GEO 45 LIGHT.TTF') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeueGEO';
  src: url('HELVETICA NEUE LT GEO 65 MEDIUM.TTF') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeueGEO';
  src: url('HELVETICA NEUE LT GEO 75 BOLD.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeueGEO';
  src: url('HELVETICA NEUE LT GEO 85 HEAVY.TTF') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaNeueGEO';
  src: url('HELVETICA NEUE LT GEO 95 BLACK.TTF') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --primary: #215273;
  --primary-dark: #183d57;
  --primary-light: #2d6a96;
  --secondary: #4CB282;
  --secondary-dark: #3a9a6e;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #eef2f7;
  --mid-gray: #c5d0de;
  --text-dark: #1a2736;
  --text-body: #3d4f61;
  --text-muted: #6b7f95;
  --shadow-sm: 0 2px 8px rgba(33, 82, 115, 0.08);
  --shadow-md: 0 6px 24px rgba(33, 82, 115, 0.13);
  --shadow-lg: 0 16px 48px rgba(33, 82, 115, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-geo: 'HelveticaNeueGEO', sans-serif;
  --font-body: 'HelveticaNeueGEO', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-geo);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  caret-color: transparent;
  /* Hides the blinking text cursor globally */
}

/* Re-enable caret for inputs and textareas so user can see where they are typing */
input,
textarea {
  caret-color: var(--text-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Spacing --- */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.0);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--light-gray);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.navbar-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-default {
  display: none;
}

.logo-white {
  display: block;
}

.navbar.scrolled .logo-default {
  display: block;
}

.navbar.scrolled .logo-white {
  display: none;
}

.footer .logo-img {
  height: 110px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.navbar.scrolled .logo-name {
  color: var(--primary);
}

.navbar:not(.scrolled) .logo-name {
  color: var(--white);
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-links a:not(.nav-cta) {
  color: var(--text-body);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--secondary) !important;
}

.navbar:not(.scrolled) .nav-links a:not(.nav-cta):hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a:not(.nav-cta):hover {
  background: rgba(76, 178, 130, 0.08);
}

.nav-cta,
.nav-cta.active,
.navbar.scrolled .nav-cta,
.navbar.scrolled .nav-cta.active {
  padding: 10px 22px !important;
  background: var(--secondary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(76, 178, 130, 0.3);
}

.nav-cta:hover,
.nav-cta.active:hover {
  background: var(--secondary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(76, 178, 130, 0.4) !important;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 12px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.navbar.scrolled .lang-switch {
  background: var(--off-white);
  border-color: var(--light-gray);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-geo);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar.scrolled .lang-btn {
  color: var(--text-muted);
}

.lang-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-btn:hover {
  color: var(--primary);
  background: rgba(76, 178, 130, 0.1);
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .lang-btn.active {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(76, 178, 130, 0.3);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--primary);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/lbgrouppp.jpg');
  background-size: cover;
  background-position: center calc(50% + 5px);
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(21, 47, 67, 0.88) 0%,
      rgba(33, 82, 115, 0.75) 50%,
      rgba(21, 47, 67, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 178, 130, 0.18);
  border: 1px solid rgba(76, 178, 130, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--secondary);
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(76, 178, 130, 0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(76, 178, 130, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(76, 178, 130, 0.08);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.trust-item .check {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  animation: bounce-gentle 2.5s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes bounce-gentle {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}


/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-body);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-subtitle {
  margin-bottom: 28px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-point:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.about-point-icon {
  width: 36px;
  height: 36px;
  background: rgba(76, 178, 130, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--secondary);
}

.about-point-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.about-point-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-body);
}

.about-badge span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(33, 82, 115, 0.25);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 82, 115, 0.35);
}


/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(33, 82, 115, 0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
}

.service-icon {
  font-size: 24px;
  transition: var(--transition);
  color: var(--primary);
}

.service-card:hover .service-icon {
  color: var(--white);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out, margin 0.4s ease;
}

.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

.service-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: bold;
}

.service-card.expanded .service-details {
  max-height: 300px;
  /* Arbitrary enough height for content */
  opacity: 1;
  margin-top: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.service-link span {
  display: inline-block;
  transition: transform 0.4s ease;
}

.service-card.expanded .service-link span {
  transform: rotate(180deg);
}

.service-link:hover {
  opacity: 0.8;
}


/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  background: var(--off-white);
  padding-bottom: 96px;
}

.team-banner {
  position: relative;
  height: 420px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.team-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.team-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(21, 47, 67, 0.85) 0%,
      rgba(33, 82, 115, 0.6) 50%,
      rgba(21, 47, 67, 0.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 56px 48px;
}

.team-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-banner-text h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.team-banner-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

/* ==================== TEAM MEMBERS ==================== */
.team-members {
  padding-top: 64px;
}

.team-category {
  margin-bottom: 56px;
}

.team-category:last-child {
  margin-bottom: 0;
}

.team-category-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}

.team-category-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-color);
  margin: 16px auto 0;
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team-grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: block;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px 20px 24px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(76, 178, 130, 0.06);
  border-radius: 50%;
}

.pricing::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: rgba(76, 178, 130, 0.04);
  border-radius: 50%;
}

.pricing-inner {
  position: relative;
  z-index: 1;
}

.pricing-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: clamp(64px, 10vw, 112px);
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  letter-spacing: -4px;
  font-family: var(--font-body);
  margin-bottom: 8px;
}

.pricing-from {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
  vertical-align: top;
  margin-top: 16px;
  display: inline-block;
}

.pricing-currency {
  font-size: 36px;
  vertical-align: top;
  margin-top: 18px;
}

.pricing-description {
  font-size: clamp(17px, 2.5vw, 21px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 16px auto 40px;
  line-height: 1.7;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--secondary);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(76, 178, 130, 0.35);
  margin-bottom: 24px;
}

.btn-green:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(76, 178, 130, 0.5);
}

.pricing-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  max-width: 460px;
  margin: 0 auto;
}


/* ============================================
   WHY CHOOSE US
   ============================================ */
.why {
  background: var(--white);
  padding-bottom: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
  align-items: start;
  margin-top: 56px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(76, 178, 130, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(33, 82, 115, 0.1), rgba(76, 178, 130, 0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.why-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.why-text span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-visual {
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.why-visual-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.why-stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.why-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.why-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(76, 178, 130, 0.15);
  border: 1px solid rgba(76, 178, 130, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.why-guarantee-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.why-guarantee-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.why-guarantee-text strong {
  display: block;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2px;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider-wrap {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.slider-container {
  display: flex;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  margin-bottom: 24px;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-card {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: center;
  box-sizing: border-box;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mid-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

.testimonial-card {
  background: var(--primary);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 15px 35px rgba(28, 59, 87, 0.2);
  border: none;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.testimonial-card:hover {
  box-shadow: 0 20px 45px rgba(28, 59, 87, 0.3);
  transform: translateY(-5px);
}

.quote-icon {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 90px;
  line-height: 1;
  color: var(--secondary);
  opacity: 0.1;
  margin: 0;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 28px;
  font-style: italic;
  z-index: 1;
  text-align: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: left;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #38a169);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.author-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.stars {
  color: #f5b432;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  z-index: 1;
  position: relative;
  text-align: center;
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--white);
  padding-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.contact-info .section-subtitle {
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: rgba(76, 178, 130, 0.3);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item-text a:hover {
  color: var(--secondary);
}

.map-embed {
  margin-top: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}




/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-sub {
  color: var(--secondary);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-mini a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: var(--transition);
}

.footer-contact-mini a:hover {
  color: var(--secondary);
}

.footer-contact-mini span:first-child {
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy span {
  color: var(--secondary);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================
   UTILITY / ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}


/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    order: -1;
  }

  .about-image-wrap img {
    height: 380px;
  }

  .about-badge {
    bottom: -16px;
    left: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    position: static;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-slider-wrap {
    padding: 32px 24px;
  }
}


/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .section-sm {
    padding: 32px 0;
  }

  .section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 12px;
    text-align: center;
  }

  .section-subtitle {
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-label {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    padding: 0 16px;
  }

  .navbar-inner {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--light-gray);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--text-body) !important;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
  }

  .lang-switch {
    margin: 12px 16px 0;
    justify-content: center;
    background: var(--light-gray);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  .lang-btn {
    color: var(--text-muted);
    flex: 1;
  }

  .lang-btn.active {
    box-shadow: 0 2px 6px rgba(76, 178, 130, 0.2);
  }

  .nav-toggle {
    display: flex;
    margin-right: 8px;
  }
  
  .logo {
    transform: translateX(-24px);
  }

  /* --- Hero --- */
  .hero {
    min-height: 60svh;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(26px, 7vw, 36px);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  /* --- Stats --- */
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 20px 14px;
  }

  .stat-number {
    font-size: 26px;
  }

  /* --- Services --- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Team --- */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-banner {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .team-banner-overlay {
    padding: 0 20px 20px;
  }

  /* --- Testimonials --- */
  .testimonial-card {
    padding: 32px 24px;
  }

  .quote-icon {
    font-size: 60px;
    right: 16px;
    top: 10px;
  }

  .slider-nav {
    margin-top: 16px;
  }

  /* --- About --- */
  .about-grid {
    gap: 24px;
  }

  .about-image-wrap img {
    height: 260px;
  }

  /* --- Contact --- */
  .contact-grid {
    gap: 28px;
  }

  .contact-items {
    gap: 12px;
  }

  .contact-item {
    gap: 14px;
    padding: 14px 16px;
  }

  .map-embed {
    height: 220px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials-slider-wrap {
    padding: 24px 16px;
  }

  /* --- Footer --- */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* --- Why --- */
  .why-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pricing-price {
    font-size: 64px;
    letter-spacing: -2px;
  }
}


/* ============================================
   FLOATING SIDE PANELS
   ============================================ */
.side-panel {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-panel-left {
  left: 0;
  align-items: flex-start;
}

.side-panel-right {
  right: 0;
  align-items: flex-end;
}

/* ---- Base Button ---- */
.side-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(33, 82, 115, 0.82);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  height: 46px;
  width: 46px;
  /* Fixed base width when collapsed */
  min-width: 46px;
  max-width: 46px;
  /* Bound it strictly */
  white-space: nowrap;
  position: relative;
}

.side-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2px;
  /* slightly bolder for better visibility */
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
}

.side-btn img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  border-radius: 3px;
  background-color: var(--white);
  padding: 2px;
}

.side-btn-left {
  flex-direction: row;
  border-radius: 0 8px 8px 0;
  border-left: none;
}

.side-btn-left .side-icon {
  width: 46px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.side-btn-left .side-label {
  opacity: 0;
  max-width: 0;
  padding: 0;
  margin: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  font-family: var(--font-geo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.3;
  pointer-events: none;
  overflow: hidden;
}

.side-btn-left:hover {
  width: auto;
  max-width: 450px;
  /* Allow growth on hover */
  background: rgba(76, 178, 130, 0.95);
  box-shadow: 0 6px 28px rgba(76, 178, 130, 0.4);
  border-color: rgba(76, 178, 130, 0.5);
}

.side-btn-left:hover .side-label {
  opacity: 1;
  max-width: 400px;
  padding-left: 10px;
  padding-right: 20px;
  transform: translateX(0);
}

/* ---- RIGHT panel button — label slides left, icon right ---- */
.side-btn-right {
  flex-direction: row-reverse;
  border-radius: 8px 0 0 8px;
  border-right: none;
  justify-content: flex-start;
  /* Icon is first (right) because of row-reverse */
}

.side-btn-right .side-icon {
  width: 46px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.side-btn-right .side-label {
  opacity: 0;
  max-width: 0;
  padding: 0;
  margin: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  font-family: var(--font-geo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.3;
  pointer-events: none;
  text-align: right;
  overflow: hidden;
}

.side-btn-right:hover {
  width: auto;
  max-width: 450px;
  /* Allow growth on hover */
  background: rgba(76, 178, 130, 0.95);
  box-shadow: 0 6px 28px rgba(76, 178, 130, 0.4);
  border-color: rgba(76, 178, 130, 0.5);
}

.side-btn-right:hover .side-label {
  opacity: 1;
  max-width: 400px;
  padding-left: 20px;
  padding-right: 10px;
  transform: translateX(0);
}

/* ---- Mobile: hide panels ---- */
@media (max-width: 1024px) {
  .side-panel {
    display: none;
  }
}

/* ============================================
   Legislation Page Styles
   ============================================ */

.legislation-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background-color: var(--off-white);
  min-height: 100vh;
}

.legislation-header {
  text-align: center;
  margin-bottom: 40px;
}

.legislation-title {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

/* Tabs */
.leg-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.leg-tab-btn {
  background: transparent;
  border: 2px solid var(--primary-light);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.leg-tab-btn:hover {
  background: rgba(30, 64, 175, 0.05);
}

.leg-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Category Containers */
.leg-category {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.leg-category.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-light);
  opacity: 0;
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
}

.doc-card:hover::before {
  opacity: 1;
}

.doc-content-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  margin-right: 16px;
}

.doc-icon {
  font-size: 28px;
  margin-right: 16px;
  background: rgba(30, 64, 175, 0.05);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--primary);
}

.doc-info {
  flex: 1;
}

.doc-title {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.doc-download-btn {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.doc-card:hover .doc-download-btn {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}


/* Search Bar Styles */
.leg-search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto 30px;
}

.leg-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: 50px;
  border: 2px solid var(--primary-light);
  font-size: 16px;
  color: var(--text-dark);
  background-color: var(--white);
  transition: var(--transition);
  outline: none;
}

.leg-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.leg-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--primary);
  pointer-events: none;
}


/* Legislation Controls Update */
.leg-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.leg-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
  flex: 1;
}

.leg-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0;
  flex: 1;
  min-width: 250px;
}

@media (max-width: 768px) {
  .leg-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .leg-search-wrapper {
    max-width: 100%;
  }
}


/* Clear Search Button Styles */
.leg-search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.leg-search-clear:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.leg-search-clear svg {
  width: 18px;
  height: 18px;
}
