/* =============================================
   SEMKAN - Modern Website CSS
   ============================================= */

:root {
  --primary: #1a3a6b;
  --primary-light: #2456a4;
  --primary-dark: #0f2347;
  --accent: #4a9eff;
  --accent-light: #7ab8ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --text: #1e293b;
  --text-light: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
svg { overflow: visible; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-logo {
  width: 80px;
  margin: 0 auto 24px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: progress 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes progress {
  0% { width: 0%; transform: translateX(0); }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
}

#navbar.scrolled .nav-link { color: var(--text); }
#navbar.scrolled .nav-link:hover { color: var(--primary); }
#navbar.scrolled .nav-email { color: var(--text-light); }
#navbar.scrolled .nav-social { color: var(--text-light); }
#navbar.scrolled .hamburger span { background: var(--text); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-logo .logo-desktop { height: 52px; }
.nav-logo .logo-mobile { height: 52px; display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(26,58,107,0.08);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 16px;
}

.nav-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.nav-email:hover { color: var(--white); }
.nav-email svg { height: 14px; flex-shrink: 0; }

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  background: rgba(255,255,255,0.1);
}

.nav-social:hover {
  color: var(--white);
  background: rgba(255,255,255,0.2);
}

.nav-social svg { height: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--primary); }
.mobile-email { color: var(--text-light) !important; font-size: 14px !important; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 35, 71, 0.88) 0%,
    rgba(26, 58, 107, 0.75) 50%,
    rgba(36, 86, 164, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 158, 255, 0.2);
  border: 1px solid rgba(74, 158, 255, 0.35);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(74, 158, 255, 0.4);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74, 158, 255, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s ease-in-out infinite;
  transition: var(--transition);
}

.hero-scroll:hover { color: var(--white); }
.hero-scroll svg { width: 32px; height: 32px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SECTION LABELS & HEADINGS
   ============================================= */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(74, 158, 255, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.about-section .section-label { color: var(--primary); background: rgba(26,58,107,0.08); }

.section-heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-heading { margin-bottom: 0; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  opacity: 0.12;
}

.about-img {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* about-badge removed — stats grid used instead */

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.list-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(26,58,107,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.list-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.about-list p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { background: var(--gray-50); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(26,58,107,0.08), rgba(74,158,255,0.08));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-card:hover .service-icon svg { color: var(--white); }

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(26,58,107,0.07);
  padding: 4px 10px;
  border-radius: 100px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0;
}

.contact-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  filter: grayscale(20%) brightness(0.9);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 35, 71, 0.92) 0%,
    rgba(15, 35, 71, 0.85) 40%,
    rgba(15, 35, 71, 0.3) 100%
  );
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-card {
  max-width: 480px;
}

.contact-card .section-label { color: var(--accent-light); background: rgba(74,158,255,0.15); }
.contact-card .section-heading { color: var(--white); }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(74,158,255,0.15);
  border: 1px solid rgba(74,158,255,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-item-icon svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  transition: var(--transition);
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary-dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo img { height: 44px; filter: brightness(0) invert(1); opacity: 0.7; }

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal-link {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-family: inherit;
  transition: var(--transition);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.footer-legal-link:hover { color: rgba(255,255,255,0.7); }

.footer-legal-sep {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-linkedin:hover {
  background: #0077B5;
  color: var(--white);
}

.footer-linkedin svg { width: 16px; height: 16px; }

/* =============================================
   MODALS
   ============================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 71, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.modal-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: -2px;
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--text);
}

.modal-close svg { width: 16px; height: 16px; }

.modal-body {
  padding: 28px 32px 36px;
  overflow-y: auto;
  line-height: 1.75;
  font-size: 14.5px;
  color: var(--text-light);
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

.modal-body p { margin-bottom: 16px; }
.modal-body p:last-child { margin-bottom: 0; }

.modal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}

.modal-body h3:first-child { margin-top: 0; }

.modal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0;
}

.modal-body ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.modal-body ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
}

.modal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(26,58,107,0.3);
  text-underline-offset: 2px;
  transition: var(--transition);
}

.modal-body a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.modal-body strong { color: var(--text); font-weight: 600; }

/* =============================================
   ABOUT STATS
   ============================================= */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
  cursor: default;
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74,158,255,0.3);
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, #7ab8ff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-lbl {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  line-height: 1.3;
}

/* =============================================
   TECH PREVIEW
   ============================================= */
.tech-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.tech-preview-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tech-pill-faded { opacity: 0.45; }

.btn-show-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26,58,107,0.3);
}

.btn-show-all:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,58,107,0.4);
}

.btn-show-all svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-show-all:hover svg { transform: translateX(3px); }

/* =============================================
   TECH MODAL TABS
   ============================================= */
.modal-wide { max-width: 860px; }

.modal-tabs {
  display: flex;
  gap: 0;
  padding: 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.modal-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  font-family: inherit;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  margin-bottom: -1px;
}

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

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-body-tabs { padding-top: 28px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
  transition: var(--transition);
}

#navbar.scrolled .lang-toggle {
  background: rgba(26,58,107,0.08);
  border-color: rgba(26,58,107,0.18);
}

.lang-btn {
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1.6;
}

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

#navbar.scrolled .lang-btn { color: var(--text-light); }
#navbar.scrolled .lang-btn.active { color: var(--primary); }

.mobile-lang {
  display: flex;
  gap: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

.mobile-lang .lang-toggle {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.mobile-lang .lang-btn { color: var(--text-light); }
.mobile-lang .lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* =============================================
   TECHNOLOGIES SECTION
   ============================================= */
.tech-section { background: var(--gray-50); }

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.tech-category {}

.tech-cat-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 8px 16px 8px 10px;
  transition: var(--transition);
  cursor: default;
}

.tech-pill:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tech-pill i {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.tech-initial {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.tech-pill span:last-child {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

/* stagger tech categories */
.tech-categories .tech-category:nth-child(2) { transition-delay: 0.1s; }
.tech-categories .tech-category:nth-child(3) { transition-delay: 0.2s; }

/* =============================================
   ANIMATIONS
   ============================================= */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger children */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }

.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.3s; }
.hero .reveal:nth-child(4) { transition-delay: 0.45s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-image-wrapper { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links, .nav-contact { display: none; }
  .nav-logo .logo-desktop { display: none; }
  .nav-logo .logo-mobile { display: block; }
  .hamburger { display: flex; }

  .section { padding: 72px 0; }

  .hero-title { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }

  .about-grid { gap: 48px; }
  .about-badge { bottom: -16px; right: 16px; }

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

  .contact-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 35, 71, 0.95) 0%,
      rgba(15, 35, 71, 0.88) 100%
    );
  }

  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-logo img { margin: 0 auto; }
  .footer-center { order: 1; }
  .footer-logo { order: 0; }
  .footer-linkedin { order: 2; }

  /* Tech section mobile */
  .tech-pill { padding: 6px 12px 6px 8px; }
  .tech-pill i { font-size: 20px; }

  /* Modal mobile */
  .modal-header { padding: 20px 20px 16px; }
  .modal-body { padding: 20px 20px 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .service-card { padding: 28px 24px; }
  .tech-pill span:last-child { font-size: 12px; }
}
