/* ============================================================
   SEIDOR Static Website - Main Stylesheet
   Inspired by seidor.com branding - Humanizing Technology
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --primary: #263c7a;
  --primary-dark: #07153a;
  --primary-light: #004a8a;
  --accent: #66b6ff;
  --accent-light: #e6f4fa;
  --accent-dark: #0082b3;
  --secondary: #6c757d;
  --success: #28a745;
  --dark: #1a1a2e;
  --darker: #0d0d1a;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --white: #ffffff;
  --black: #000000;
  --font-sans: Poppins, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.3);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--primary);
  color: var(--white);
}

.section-light {
  background-color: var(--gray-100);
}

.section-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 16px; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section-title p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 16px auto 0;
}

.section-title.light h2 { color: var(--white); }
.section-title.light h2::after { background: var(--white); }
.section-title.light p { color: rgba(255,255,255,0.8); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--gray-200);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION - SEIDOR style with Mega Menu
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 54px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 90px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li {
  position: static;
  margin: 0;
  padding: 0;
}

.nav-links > li > a,
.nav-links > li > button {
  padding: 16px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  font-family: var(--font-sans);
  line-height: normal;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
  color: var(--accent);
}

/* Arrow SVG inline with button text */
.nav-links > li > button svg,
.nav-links > li > a svg {
  margin-left: 4px;
  vertical-align: middle;
}

/* ===== MEGA MENU DROPDOWN ===== */
.nav-links > li {
  position: static;
}

/* Mega menu positions relative to .nav (which has position:relative) */
.megamenu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 999;
  border-top: 1px solid var(--gray-200);
  margin-top: -12px;
  padding-top: 12px;
}

/* Hover: menu items keep dropdown visible */
.nav-links > li:hover .megamenu {
  display: block;
}

/* Hover bridge: transparent top area covers gap between button and menu */
.megamenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.megamenu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  gap: 24px;
}

/* Services: 2 columns layout */
.megamenu-services {
  grid-template-columns: 1fr 2fr;
}

.megamenu-category {
  margin-bottom: 20px;
}

.megamenu-category-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
}

.megamenu-links {
  display: grid;
  gap: 4px;
}

.megamenu-links a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.megamenu-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.megamenu-links a.bold {
  font-weight: 600;
  color: var(--primary);
}

/* Industries: 4 columns */
.megamenu-industries {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px 28px;
}

/* SEIDOR: 3 columns */
.megamenu-seidor {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 32px;
}

/* Shared link styles for industries and SEIDOR menus */
.megamenu-industries a,
.megamenu-seidor a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  font-size: 14px;
  color: var(--gray-700);
  transition: all 0.2s ease;
  border-radius: 6px;
  text-decoration: none;
}

.megamenu-industries a:hover {
  color: var(--accent);
  background: var(--accent-light);
  padding-left: 10px;
}

.megamenu-seidor a:hover {
  color: var(--accent);
  background: #f5f7fb;
  padding-left: 10px;
}

/* Partners: two-column layout matching SEIDOR style */
.megamenu-partners {
  display: flex;
  gap: 32px;
  padding: 8px 0;
}

/* Left: description column */
.partners-desc {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--gray-200);
}

.partners-desc p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0;
}

.partners-desc .partners-sub {
  font-size: 13px;
  color: var(--gray-500);
}

.partners-desc a {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.partners-desc a:hover {
  color: var(--primary);
}

/* Right: 4-column partner grid */
.partners-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.partners-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
  min-height: 110px;
}

.partners-grid a:hover {
  background: #f5f7fb;
}

/* Partner logo image - large, clean, no border/background */
.partners-grid .partner-logo {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-grid .partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Partner label below logo */
.partners-grid .partner-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  text-align: center;
  transition: color 0.2s ease;
}

.partners-grid a:hover .partner-name {
  color: var(--accent);
}

/* Remove old partner styles */
/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Search box */
.nav-search-wrap {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 20px;
  padding: 0 12px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-search-wrap:focus-within {
  border-color: var(--accent);
  background: var(--white);
}

.nav-search-input {
  background: none;
  border: none;
  outline: none;
  font-size: 12px;
  color: var(--gray-700);
  font-family: var(--font-sans);
  padding: 6px 4px;
  width: 80px;
  transition: width 0.2s ease;
}

.nav-search-input:focus {
  width: 140px;
}

.nav-search-input::placeholder {
  color: var(--gray-500);
}

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
}

.nav-search-btn:hover {
  color: var(--accent);
}

/* Contact button - SEIDOR style */
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 20px;
  font-weight: 500;
  font-size: 12.79px;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.2s ease;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.nav-contact:hover {
  background: #4da8e8;
  color: var(--white) !important;
}

.nav-contact svg {
  width: 14px;
  height: 14px;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
  padding: 4px 8px;
  line-height: 1;
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--gray-600);
  font-family: var(--font-sans);
  white-space: nowrap;
}

.lang-selector img {
  width: 20px;
  height: 13px;
  vertical-align: middle;
}

.lang-selector:hover {
  color: var(--primary);
}

/* ============================================================
   HERO SECTION - SEIDOR.com style
   ============================================================ */
.hero {
  padding-top: 90px;
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg-sphere {
  position: absolute;
  top: 50%;
  right: -5%;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(102,182,255,0.08) 0%, rgba(0,163,224,0.05) 30%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  flex: 1;
}

.hero h1 .highlight {
  color: var(--accent);
  display: block;
  font-size: 4.5rem;
}

/* Hero sphere decoration */
.hero-sphere {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sphere-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(102,182,255,0.25) 0%, rgba(102,182,255,0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: spherePulse 4s ease-in-out infinite;
}

@keyframes spherePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.sphere-ring {
  position: absolute;
  border: 1.5px solid rgba(102,182,255,0.2);
  border-radius: 50%;
  animation: sphereRotate 12s linear infinite;
}

.sphere-ring-1 {
  width: 200px;
  height: 200px;
  border-top-color: var(--accent);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: var(--accent);
}

.sphere-ring-2 {
  width: 250px;
  height: 250px;
  border-top-color: transparent;
  border-right-color: var(--accent);
  border-bottom-color: transparent;
  border-left-color: transparent;
  animation-duration: 16s;
  animation-direction: reverse;
}

.sphere-ring-3 {
  width: 280px;
  height: 280px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: var(--accent);
  border-left-color: transparent;
  animation-duration: 20s;
}

@keyframes sphereRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================================
   NEWS GRID (homepage - 3 per row)
   ============================================================ */
.news-grid-section {
  padding: 60px 0 80px;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-slide-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.news-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.news-slide-img {
  height: 160px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
}

.news-slide-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 20px;
}

.news-slide-body {
  padding: 20px;
}

.news-slide-date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.news-slide-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-slide-body p {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-slide-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.newsSwiper .swiper-pagination-bullet {
  background: var(--gray-400);
  opacity: 1;
}

.newsSwiper .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   TALENT SECTION - SEIDOR.com style
   ============================================================ */
.talent-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
}

.talent-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.talent-content {
  flex: 1;
}

.talent-label {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.talent-label span {
  display: block;
}

.talent-label .talent-label-highlight {
  color: var(--accent);
}

.talent-text {
  margin-bottom: 32px;
}

.talent-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}

.talent-image {
  flex: 0 0 200px;
}

.talent-img-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.talent-img-placeholder svg {
  width: 180px;
  height: 180px;
}

/* ============================================================
   CONTACT HOME SECTION
   ============================================================ */
.contact-home-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.contact-home-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-home-info h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-home-info p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.home-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Hero small (subpages) */

/* Hero small (subpages) */
.hero-small {
  padding-top: 80px;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-small::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,163,224,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-small .hero-content {
  position: relative;
  z-index: 1;
}

.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.hero-small .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.hero-small .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.hero-small .breadcrumb a:hover {
  color: var(--accent);
}

.hero-small .breadcrumb span {
  color: var(--accent);
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  overflow: hidden;
}

.card-image svg {
  width: 56px;
  height: 56px;
  stroke: currentColor;
  transition: var(--transition);
}

.card:hover .card-image {
  background: var(--accent);
  color: var(--white);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.card-body h3 a {
  color: inherit;
}

.card-body h3 a:hover {
  color: var(--accent);
}

.card-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  gap: 8px;
}

/* ============================================================
   INDUSTRY PAGE
   ============================================================ */
.hero-industry {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #0a1f4e 100%);
  color: var(--white);
  text-align: center;
}

.hero-industry .hero-pretitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.hero-industry h1 {
  font-size: 3.2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-industry p {
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.industry-about {
  max-width: 900px;
  margin: 0 auto;
}

.industry-about p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Challenges grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.challenge-item {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.challenge-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.challenge-item svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.challenge-item h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.challenge-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Solutions grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.solution-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.solution-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.solution-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(102,182,255,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.solution-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.solution-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 20px;
}

.solution-card .btn-sm {
  padding: 6px 20px;
  font-size: 0.8rem;
}

/* ============================================================
   FEATURES / ICON GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* On dark accent sections, revert text to dark on hover so it's readable */
.section-accent .feature-item:hover h3 {
  color: var(--primary) !important;
}

.section-accent .feature-item:hover p {
  color: var(--gray-600) !important;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--accent) !important;
  color: var(--white) !important;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   TALENT / CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ============================================================
   NEWS / ARTICLES
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.5);
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.news-body h3 a {
  color: var(--primary);
}

.news-body h3 a:hover {
  color: var(--accent);
}

.news-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.contact-detail p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,163,224,0.15);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* ============================================================
   PARTNER LOGO GRID
   ============================================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: center;
}

.partner-grid-home {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 8px;
}

.partner-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  min-width: 130px;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.partner-item img {
  max-width: 90%;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-item:hover img {
  filter: none;
  opacity: 1;
}

.partner-item-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-400);
  text-align: center;
  letter-spacing: 1px;
  transition: var(--transition);
}

.partner-item:hover .partner-item-text {
  color: var(--primary);
}

/* Partner Swiper Slider */
.partnerSwiper {
  padding-bottom: 50px;
  overflow: hidden;
}

.partner-slide {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: var(--transition);
}

.partner-slide:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.partner-slide img {
  max-width: 85%;
  max-height: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-slide:hover img {
  filter: none;
  opacity: 1;
}

.partnerSwiper .swiper-pagination-bullet {
  background: var(--gray-400);
  opacity: 1;
}

.partnerSwiper .swiper-pagination-bullet-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   FOOTER - SEIDOR.com style
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 88px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-column h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .hero h1 { font-size: 3rem; }
  .hero h1 .highlight { font-size: 3rem; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-sphere { display: none; }
  .news-carousel-section { margin-top: -40px; }
  .home-news-grid { grid-template-columns: repeat(2, 1fr); }
  .talent-inner { flex-direction: column; text-align: center; gap: 40px; }
  .talent-label { font-size: 2.2rem; }
  .talent-image { flex: none; }
  .contact-home-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-home-info { text-align: center; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
  .nav-search-wrap { display: none; }
}

@media (max-width: 768px) {
  .header {
    padding-bottom: 0;
  }

  .nav {
    min-height: 48px;
    padding: 0 12px;
  }

  .nav-logo img {
    height: 60px;
  }

  .nav-actions .lang-selector {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li > a,
  .nav-links > li > button {
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
  }

  .megamenu {
    position: static;
    box-shadow: none;
    border-top: none;
    display: none;
  }

  .nav-links > li:hover .megamenu {
    display: none;
  }

  .nav-links > li.open .megamenu {
    display: block;
  }

  .megamenu-inner {
    padding: 16px;
    grid-template-columns: 1fr !important;
  }

  .megamenu-links {
    grid-template-columns: 1fr !important;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1 .highlight {
    font-size: 2.2rem;
  }

  .news-carousel-section {
    margin-top: -20px;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .hero-small h1 {
    font-size: 1.8rem;
  }

  .card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .talent-label {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .home-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

/* ============================================================
   ADDITIONAL UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }

/* Services detail on homepage */
.services-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Logo font for SEIDOR brand text fallback */
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--accent);
}

/* About section content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  color: var(--primary);
}

.about-text p {
  color: var(--gray-600);
  line-height: 1.8;
}

.about-image {
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}
