/* ==========================================================================
   SECFORGE - Semantic CSS
   Clean, maintainable styles with descriptive class names
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #1C244B;
  --color-secondary: #F3F5F8;
  --color-text: #324A6D;
  --color-accent: #247DA8;
  --color-accent-light: #20B9E1;
  --color-white: #FFFFFF;
  --color-light-gray: #F9FAFD;
  --color-border: #C8D5DC;

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-size-base: 16px;
  --font-size-small: 15px;
  --font-size-medium: 19px;
  --font-size-large: 22px;
  --font-size-xl: 36px;
  --font-size-xxl: 75px;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto !important;
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 70px;
  width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0.5rem 0 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

/* Anchor scroll offset for fixed header */
[id] {
  scroll-margin-top: 150px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4%;
}

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

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 19px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-logo img {
  display: block;
  max-height: 60px;
  width: auto;
}

.site-navigation {
  display: flex;
  align-items: center;
}

.site-navigation .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-header .site-navigation .menu li {
  position: relative;
  z-index: 1;
}

.site-header .site-navigation .menu li:hover {
  z-index: 1001;
}

.site-header .site-navigation .menu a {
  display: block;
  padding: 20px 20px 8px;
  color: var(--color-primary);
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.site-header .site-navigation .menu a:hover {
  color: var(--color-accent);
}

.site-header .site-navigation .menu a[aria-current="page"] {
  color: var(--color-accent);
  position: relative;
}

.site-header .site-navigation .menu a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 4.5px;
  background-color: var(--color-accent);
}

/* Mega Menu Dropdown */
.nav-dropdown-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: max-content;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 1000;
  margin-top: 12px;
  padding: 12px;
}

.nav-dropdown-mega::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.site-navigation li:hover .nav-dropdown-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

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

.mega-menu-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-menu-item {
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.mega-menu-item:hover {
  background-color: var(--color-light-gray);
  border-color: transparent;
}

.mega-menu-item a {
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: 0 !important;
}

.mega-menu-item:hover a {
  color: var(--color-primary);
}

.mega-menu-title {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 3px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mega-menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--color-accent);
  opacity: 0.7;
}

svg.mega-menu-icon {
  fill: var(--color-accent);
}

img.mega-menu-icon {
  object-fit: contain;
}

.mega-menu-desc {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.7;
  line-height: 1.4;
  margin-left: 26px;
}

.site-navigation-toggle-holder {
  display: none;
  align-items: center;
  padding: 8px 15px;
}

.site-navigation-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  background-color: rgba(0,0,0,0.05);
  color: #494c4f;
}

.site-navigation-toggle-icon {
  display: block;
  width: 1.875rem;
}

.site-navigation-toggle-icon::before,
.site-navigation-toggle-icon::after {
  content: "";
  background-color: currentColor;
  display: block;
  height: 4px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.site-navigation-toggle-icon::before {
  box-shadow: 0 0.525rem 0 currentColor;
  margin-bottom: 0.75rem;
}

.site-navigation-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  z-index: 10000;
  background: var(--color-white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.site-navigation-dropdown.open {
  display: block;
}

.site-navigation-dropdown .menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation-dropdown .menu a {
  display: block;
  padding: 15px 20px;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid var(--color-secondary);
}

.site-navigation-dropdown .menu a:hover {
  background: var(--color-secondary);
}

.site-navigation-toggle.open .site-navigation-toggle-icon {
  background: transparent;
}

.site-navigation-toggle.open .site-navigation-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.site-navigation-toggle.open .site-navigation-toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Hide checkbox (CSS-only fallback for no-JS) */
.nav-toggle-checkbox {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Show dropdown when checkbox is checked (no-JS fallback) */
.nav-toggle-checkbox:checked + .site-navigation-dropdown {
  display: block;
}

@media (max-width: 1024px) {
  .site-header .site-navigation.show { display: none !important; }
  .site-navigation-toggle-holder.show { display: flex !important; }
  .nav-dropdown-mega { display: none !important; }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-top: -70px;
  padding: 0 4%;
  gap: 35px;
  background: linear-gradient(40deg, #8493A0 0%, #FFFFFF 0%);
}

.hero-section > * {
  width: 100%;
  max-width: 1440px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  min-height: 280px;
}

.hero-logo-area {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  flex: 1;
  padding-right: 22px;
}

.hero-logo img {
  width: 400px;
  max-width: 100%;
}

.hero-text-area {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 200px;
}

.hero-accent {
  display: flex;
  flex: 0 0 auto;
  width: 9px;
  height: 200px;
  background-color: var(--color-accent);
}

.hero-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 22px;
}

.hero-title-main h2,
.hero-title-sub h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1em;
  color: var(--color-accent);
  margin: 0;
}

.hero-tagline {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.3s forwards;
}

.hero-tagline h5 {
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--color-text);
  margin: 0;
}

.hero-cta {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.7s forwards;
}

.hero-cta .btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  padding: 16px 55px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 15px;
  text-align: center;
  fill: var(--color-white);
  transition: all 0.3s;
}

.hero-cta .btn:hover {
  background-color: transparent;
  color: var(--color-accent);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION ("What We Offer")
   -------------------------------------------------------------------------- */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 4%;
}

.services-section > * {
  width: 100%;
  max-width: 1440px;
}

.services-heading h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.2em;
  text-align: center;
  color: var(--color-primary);
  margin: 0 0 30px;
}

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

.service-col {
  display: flex;
  padding: 20px;
  background: var(--color-white);
}

.service-card {
  width: 100%;
  text-align: left;
}

.service-card figure {
  margin: 0;
}

.service-card figure.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card figure.service-icon svg {
  width: 120px;
  height: 120px;
}

.service-card img {
  width: 100%;
  max-width: 100%;
  margin: 0 0 15px;
  border-radius: 10px;
  transition: transform 0.3s;
}

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

.service-card h4 {
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--color-primary);
  margin: 0 0 15px;
}

.service-card p {
  font-size: 16px;
  margin: 0;
  text-align: left;
  color: #333333;
}

/* --------------------------------------------------------------------------
   7. EXPERTISE SECTION
   -------------------------------------------------------------------------- */
.expertise-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 4%;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-white) 100%);
}

.expertise-section > * {
  width: 100%;
  max-width: 1440px;
}

.expertise-heading h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.1em;
  text-align: center;
  color: var(--color-primary);
  margin: 0 0 50px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.expertise-item {
  padding: 25px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
}

.expertise-item h4 {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. PROCESS SECTION ("How We Work")
   -------------------------------------------------------------------------- */
.process-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 4%;
}

.process-section > * {
  width: 100%;
  max-width: 1440px;
}

.process-heading h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-xl);
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  margin: 0 0 50px;
}

.process-intro {
  max-width: 1440px;
  margin: 0 auto 30px;
}

.process-intro p {
  text-align: left;
  margin: 0;
}

.process-diagram {
  text-align: center;
  margin-bottom: 30px;
}

.process-diagram img {
  max-width: 100%;
  margin: 0 auto;
}

.process-diagram-mobile {
  display: none;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.process-step {
  padding: 25px;
  background: var(--color-light-gray);
  border-radius: 8px;
}

.process-step-wide {
  grid-column: span 3;
}

.process-step h4 {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.process-step .divider {
  height: 2px;
  background: var(--color-accent);
  margin: 10px 0;
  width: 50px;
}

.process-step p {
  font-size: 14px;
  margin: 0;
}

.process-step .sub-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 15px;
}

.process-step .sub-step {
  flex: 1;
  min-width: 150px;
}

.process-step .sub-step h4 {
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   9. BENEFITS SECTION ("Why Choose Us")
   -------------------------------------------------------------------------- */
.benefits-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 4%;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-white) 100%);
}

.benefits-section > * {
  width: 100%;
  max-width: 1440px;
}

.benefits-heading h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-xl);
  font-weight: 600;
  text-align: center;
  color: #333333;
  margin: 0 0 50px;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.benefit-card {
  flex: 1;
  min-width: 250px;
  padding: 25px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefit-card h4 {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 10px;
}

.benefit-card .divider {
  height: 2px;
  background: var(--color-accent);
  margin: 10px 0;
  width: 50px;
}

.benefit-card p {
  font-size: 14px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. ABOUT & CONTACT SECTION (Combined)
   -------------------------------------------------------------------------- */
.about-contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 80px 4%;
  gap: 60px;
}

.about-contact-section > *:not(.anchor) {
  flex: 1;
  min-width: 300px;
  max-width: 690px;
}


.about-contact-section .about-content h2,
.about-contact-section .contact-content h2 {
  font-family: var(--font-family);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 20px;
}

.about-contact-section .about-content p {
  margin: 0 0 20px;
}

.about-contact-section .about-content .btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  padding: 12px 40px;
  font-family: var(--font-family);
  font-weight: 400;
  transition: all 0.3s;
}

.about-contact-section .about-content .btn:hover {
  background-color: transparent;
  color: var(--color-accent);
}

.about-contact-section .about-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.about-contact-section .partner-logos {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.about-contact-section .partner-logos img {
  max-height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.about-contact-section .partner-logos img:hover {
  opacity: 1;
}

.about-contact-section .contact-content .subtitle {
  font-family: var(--font-family);
  font-size: var(--font-size-medium);
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 20px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-method .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.contact-method .icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-method a {
  font-family: var(--font-family);
  color: var(--color-text);
}

.contact-method a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   12. PARTNERS SECTION
   -------------------------------------------------------------------------- */
.partners-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 40px 4%;
}

.partner-logo img {
  max-height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partner-logo img:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 80px;
  padding: 40px 0;
  background: linear-gradient(180deg, #D8DFE6 0%, var(--color-white) 100%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4%;
  gap: 40px;
}

.site-footer .site-logo img {
  max-height: 80px;
}

.site-footer .footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.site-footer .site-navigation .menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .site-navigation .menu a {
  padding: 2px 0;
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none !important;
  border-bottom: none !important;
}

.site-footer .copyright {
  font-size: 14px;
  color: var(--color-text);
}

.site-footer .copyright p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. OUR STORY PAGE
   -------------------------------------------------------------------------- */

/* Story Hero Banner */
.story-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  padding: 80px 4%;
  text-align: center;
}

.story-hero-content h1 {
  font-family: var(--font-family);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 10px;
}

.story-hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Company Info Cards */
.company-info-section {
  padding: 0 4%;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  background: var(--color-white);
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.info-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
}

.info-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
  margin-bottom: 5px;
}

.info-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Timeline Section */
.timeline-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 4%;
  background: var(--color-secondary);
}

.timeline-section > * {
  width: 100%;
  max-width: 1440px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 8px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0;
}

/* Technologies Section */
.tech-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 4%;
}

.tech-section > * {
  width: 100%;
  max-width: 1440px;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.tech-item {
  padding: 12px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  transition: all 0.3s;
}

.tech-item:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Team Stats */
.team-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

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

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  animation: countUp 1s ease-out;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 8px;
}

.team-intro-text {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

/* Story Section */
.story-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 4%;
}

.story-section > * {
  width: 100%;
  max-width: 1440px;
}

.story-text h2 {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 20px;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
}

.story-image {
  flex: 0 0 40%;
  min-width: 280px;
}

.story-image img {
  border-radius: 10px;
  width: 100%;
}

.story-image.values-icon {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  min-width: auto;
}

.story-image.values-icon svg {
  width: 280px;
  height: auto;
}

.values-section .story-content {
  align-items: center;
  gap: 60px;
}

.story-text {
  flex: 1;
  min-width: 280px;
}

.values-section,
.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 4%;
}

.values-section > *,
.team-section > * {
  width: 100%;
  max-width: 1440px;
}

.section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  margin: 0 0 30px;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.team-member {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  padding: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-white) 40%);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Alternating layout for even team members */
.team-member-alt {
  flex-direction: row-reverse;
}

.team-divider {
  display: none;
}

.member-photo {
  flex: 0 0 22.5%;
  min-width: 150px;
}

.member-photo img {
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.5);
  width: 100%;
}

.member-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.member-info h3 {
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 5px;
}

.member-info .role {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
  margin: 0 0 8px;
}

.member-info .skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 15px;
}

.member-info .skills .skill-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(36, 125, 168, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
}

.network-info .skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 15px;
}

.network-info .skills .skill-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(36, 125, 168, 0.1);
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
}

.network-info .project-license {
  font-size: 13px;
  color: #7F7F7F;
  margin: 0 0 15px;
  font-style: italic;
}

.member-info p {
  margin: 0;
}

.team-divider {
  height: 2px;
  background: #7F7F7F;
  width: 30%;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   15. NETWORK PAGE
   -------------------------------------------------------------------------- */
.network-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 4%;
}

.network-section > * {
  width: 100%;
  max-width: 1440px;
}

.network-section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.network-intro {
  text-align: left;
  font-size: 18px;
  margin-bottom: 40px;
}

.network-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.network-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-white) 60%);
  transition: transform 0.3s, box-shadow 0.3s;
}

.network-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.network-card-alt {
  flex-direction: row-reverse;
}

.network-logo {
  flex: 0 0 200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.network-logo img {
  max-width: 180px;
  height: auto;
}

.network-info {
  flex: 1;
  min-width: 300px;
}

.network-info h3 {
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 15px;
}

.network-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 25px 0 10px;
}

.network-info p {
  margin: 0 0 15px;
}

.network-info ul {
  margin: 0;
  padding-left: 25px;
}

.network-info ul li {
  margin-bottom: 8px;
}

.network-info a {
  color: var(--color-accent);
}

.network-info a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   16. CONTACT SECTION (Site Notice)
   -------------------------------------------------------------------------- */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 4%;
}

.contact-section h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 15px;
  text-align: center;
}

.contact-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--color-text);
  margin: 0 0 30px;
}

.contact-section .contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.contact-section .contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-section .contact-method .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-section .contact-method .icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
}

.contact-section .contact-method a {
  font-family: var(--font-family);
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 500;
}

.contact-section .contact-method a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   17. LEGAL PAGES (Privacy, Site Notice)
   -------------------------------------------------------------------------- */
.legal-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 4%;
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-white) 100%);
}

.legal-section.privacy {
  background: #FFFFFF;
}

.legal-section > * {
  width: 100%;
  max-width: 1440px;
}

.legal-section h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 30px;
  text-align: center;
}

.legal-content {
  line-height: 1.7;
}

.legal-notice-box {
  background: rgba(32, 185, 225, 0.15);
  border: 2px solid #247DA8;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 500;
  color: #1C244B;
  text-align: center;
}

.legal-notice-box a {
  color: #1C244B;
  font-weight: 700;
  text-decoration: underline;
}

.legal-notice-box a:hover {
  color: #247DA8;
}

.legal-date {
  text-align: right;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--color-text);
}

.legal-content.impressum {
  max-width: 600px;
  margin: 0 auto;
}

.legal-content.impressum .company-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.impressum-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 20px;
  margin-top: 25px;
}

.impressum-list dt {
  font-weight: 600;
  color: var(--color-primary);
}

.impressum-list dd {
  margin: 0;
  color: var(--color-text-light);
}

.legal-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 40px 0 15px;
  padding: 15px 20px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-white) 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
}

.legal-content h4:first-child {
  margin-top: 0;
}

.legal-content h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 25px 0 10px 0;
}

.legal-content h5 + p,
.legal-content h5 + p + ul,
.legal-content h5 + ul {
  margin-left: 20px;
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content ul {
  margin: 0 0 15px;
  padding-left: 25px;
}

.legal-content ul li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.legal-content b {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title-main h2,
  .hero-title-sub h2 {
    font-size: 28px;
  }

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

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    margin-top: 0;
    padding: 40px 4%;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-logo-area {
    padding: 0;
    justify-content: center;
    margin-bottom: 30px;
  }

  .hero-logo img {
    width: 250px;
  }

  .hero-text-area {
    flex-direction: column;
    min-height: auto;
  }

  .hero-accent {
    display: none;
  }

  .hero-titles {
    padding: 0;
    align-items: center;
    text-align: center;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step-wide {
    grid-column: span 1;
  }

  .process-step .sub-steps {
    flex-direction: column;
  }

  .process-step .sub-step {
    min-width: 100%;
  }

  /* Our Story responsive */
  .story-hero {
    padding: 50px 4%;
  }

  .story-hero-content h1 {
    font-size: 32px;
  }

  .story-hero-content p {
    font-size: 16px;
  }

  .company-info-section {
    margin-top: -30px;
  }

  .info-card {
    min-width: 100%;
    padding: 20px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -24px;
    width: 10px;
    height: 10px;
  }

  .tech-grid {
    gap: 10px;
  }

  .tech-item {
    padding: 8px 16px;
    font-size: 13px;
  }

  .team-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }

  .team-member-alt {
    flex-direction: column;
  }

  .process-diagram {
    display: none;
  }

  .process-diagram-mobile {
    display: block;
    text-align: center;
    margin-bottom: 30px;
  }

  .team-member {
    flex-direction: column;
  }

  .member-photo {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .story-content {
    flex-direction: column;
  }

  .story-image {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  .about-section {
    flex-direction: column;
  }

  .about-image {
    flex: 0 0 100%;
  }

  .about-content .btn {
    align-self: center;
  }

  /* Header mobile */
  body {
    padding-top: 40px;
  }

  .site-header {
    padding: 4px 15px;
  }

  .site-header .site-logo img {
    max-height: 32px;
  }

  /* Footer mobile */
  .site-footer {
    margin-top: 40px;
    padding: 25px 0;
  }

  .site-footer .site-logo img {
    max-height: 50px;
  }

  .footer-inner {
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   17. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.hidden { display: none !important; }
.show-logo.show { display: flex; }
.site-logo.show { display: block; }
.site-navigation.show { display: flex; }
.copyright.show { display: block; }

.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  z-index: 100000;
}

.skip-link:focus {
  top: 0;
}

.divider {
  height: 2px;
  background: var(--color-accent);
  width: 50px;
}

.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   18. LINGOMATCH PAGE STYLES
   -------------------------------------------------------------------------- */

/* Project Banner */
.lm-project-banner {
  background: rgba(32, 185, 225, 0.15);
  padding: 60px 4%;
  color: var(--color-text);
  border-bottom: 3px solid #247DA8;
}

.lm-banner-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.lm-banner-text {
  flex: 1;
}

.lm-banner-text h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

.lm-banner-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.lm-banner-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.lm-banner-links .btn {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lm-banner-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

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

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

.lm-banner-partner {
  flex-shrink: 0;
}

.lm-banner-partner a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s;
}

.lm-banner-partner a:hover {
  transform: scale(1.05);
}

.lm-banner-partner img {
  max-width: 180px;
  border-radius: 12px;
}

.lm-banner-partner span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Hero Section */
.lm-hero-section {
  padding: 80px 4%;
  background: var(--color-white);
}

.lm-hero-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.lm-hero-text {
  flex: 1;
}

.lm-hero-text h2 {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 15px;
}

.lm-tagline {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.lm-hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.lm-hero-image {
  flex: 1;
  text-align: center;
}

.lm-hero-image img {
  max-width: 320px;
  width: 100%;
  border-radius: 0;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.3));
}

/* Problem Section */
.lm-problem-section {
  padding: 80px 4%;
  background: var(--color-bg-light);
}

.lm-problem-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.lm-problem-section .section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.lm-problem-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lm-problem-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lm-problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.lm-problem-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.lm-problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lm-problem-card h3 {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 12px;
}

.lm-problem-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
}

/* Solution Section */
.lm-solution-section {
  padding: 80px 4%;
  background: var(--color-white);
}

.lm-solution-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.lm-solution-section .section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.lm-solution-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.lm-solution-features {
  flex: 1;
}

.lm-solution-features h3 {
  font-size: 1.5rem;
  color: #1e3a5f;
  margin-bottom: 30px;
}

.lm-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-feature-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.lm-feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #10b981;
  margin-top: 2px;
}

.lm-feature-list li div {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.lm-feature-list li strong {
  color: var(--color-text);
}

.lm-solution-image {
  flex: 1;
  text-align: center;
}

.lm-solution-image img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.lm-solution-image h4 {
  font-size: 1.25rem;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.lm-solution-image p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Benefits Section */
.lm-benefits-section {
  padding: 80px 4%;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: var(--color-white);
}

.lm-benefits-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.lm-benefits-section .section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-white);
}

.lm-benefits-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.lm-benefit-column {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.lm-benefit-column h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--color-white);
}

.lm-benefit-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-benefit-column li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

.lm-benefit-column li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: bold;
}

/* Market Section */
.lm-market-section {
  padding: 80px 4%;
  background: var(--color-bg-light);
}

.lm-market-section .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.lm-market-section .section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.lm-market-stats {
  max-width: 1440px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lm-stat-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.lm-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.lm-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.lm-stat-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
}

.lm-market-note {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Partners Section */
.lm-partners-section {
  padding: 80px 4%;
  background: var(--color-white);
}

.lm-partners-section .section-heading {
  text-align: center;
  margin-bottom: 20px;
}

.lm-partners-section .section-heading h2 {
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 600;
  color: var(--color-primary);
}

.lm-partners-intro {
  max-width: 1440px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.lm-partners-grid {
  max-width: 1440px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.lm-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.lm-partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.lm-partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.lm-partner-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: 12px;
  color: var(--color-text);
}

.lm-project-description {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.lm-project-description p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.lm-project-description p:last-child {
  margin-bottom: 0;
}

/* LingoMatch Responsive */
@media (max-width: 992px) {
  .lm-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .lm-hero-content {
    flex-direction: column;
  }

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

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

  .lm-solution-content {
    flex-direction: column;
  }

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

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

@media (max-width: 768px) {
  .lm-project-banner {
    padding: 40px 4%;
  }

  .lm-banner-text h2 {
    font-size: 1.4rem;
  }

  .lm-banner-links {
    flex-direction: column;
    align-items: center;
  }

  .lm-banner-links .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .lm-hero-section,
  .lm-problem-section,
  .lm-solution-section,
  .lm-benefits-section,
  .lm-market-section,
  .lm-partners-section {
    padding: 50px 4%;
  }

  .lm-hero-text h2 {
    font-size: 2rem;
  }

  .lm-tagline {
    font-size: 1.1rem;
  }

  .lm-problem-grid {
    grid-template-columns: 1fr;
  }

  .lm-benefits-grid {
    grid-template-columns: 1fr;
  }

  .lm-benefit-column {
    padding: 30px;
  }

  .lm-market-stats {
    grid-template-columns: 1fr;
  }

  .lm-stat-number {
    font-size: 1.75rem;
  }

  .lm-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   LANGUAGE SWITCHER
   -------------------------------------------------------------------------- */
.language-switcher {
  position: relative;
  margin-left: 10px;
  align-self: flex-end;
  margin-bottom: 4px;
}

.language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  color: var(--color-accent);
  transition: background-color 0.2s, color 0.2s;
}

.language-toggle:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.language-toggle svg {
  width: 24px;
  height: 24px;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10001;
  min-width: 160px;
  margin-top: 12px;
  padding: 8px 0;
  list-style: none;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -40px;
  right: 0;
  height: 12px;
}

/* Hide checkbox (CSS-only fallback for no-JS) */
.language-toggle-checkbox {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Show dropdown when checkbox is checked (no-JS fallback) */
.language-toggle-checkbox:checked ~ .language-switcher .language-dropdown {
  display: block;
}

.language-dropdown.open,
.language-switcher:hover .language-dropdown {
  display: block;
}

.language-dropdown li {
  margin: 0;
}

.language-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.2s;
}

.language-dropdown a:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.language-dropdown a[aria-current="true"] {
  font-weight: 600;
  color: var(--color-primary);
}

.language-dropdown .flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   ANCHOR LINKS
   -------------------------------------------------------------------------- */
.anchor-link {
  display: inline-block;
  margin-left: 0.5em;
  opacity: 0;
  transition: opacity 0.2s;
  text-decoration: none;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.anchor-link img {
  display: block;
  width: 100%;
  height: 100%;
  filter: opacity(1);
}

h3:hover .anchor-link {
  opacity: 1;
}

.anchor-link:hover img {
  filter: brightness(1.3);
}
