/* ==========================================================================
   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;
}

/* --------------------------------------------------------------------------
   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;
}

.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;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation .menu li {
  position: relative;
}

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

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

.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;
}

@media (max-width: 1024px) {
  .site-header .site-navigation.show { display: none !important; }
  .site-navigation-toggle-holder.show { display: flex !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;
  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;
}

.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(-5px);
  box-shadow: 0 15px 40px 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);
}

.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-intro {
  text-align: left;
  font-size: 18px;
  margin-bottom: 40px;
}

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

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

.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%;
}

.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-content.impressum {
  max-width: 600px;
  margin: 0 auto;
}

.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;
}
