/* ============================================
   DIGITAL INNOVATION - BLUE & WHITE ALTERNATING
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Lastica';
  src: url('../fonts/Lastica-Regular.woff2') format('woff2'),
       url('../fonts/Lastica-Regular.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Book.woff2') format('woff2'),
       url('../fonts/Garet-Book.woff') format('woff');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --navy: #0b2447;
  --blue-900: #0d2b52;
  --blue-800: #10365e;
  --blue-700: #19437a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --cyan: #06b6d4;
  --sky: #38bdf8;
  --gold: #f59e0b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #94a3b8;
  --font-primary: 'Garet', 'Inter', sans-serif;
  --font-tertiary: 'Raleway', 'Inter', sans-serif;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-primary); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; background: var(--white); }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Custom Cursor ===== */
.custom-cursor {
  width: 40px; height: 40px; border: 2px solid rgba(37,99,235,0.4);
  border-radius: 50%; position: fixed; pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.custom-cursor.hover { width: 60px; height: 60px; border-color: rgba(59,130,246,0.6); background: rgba(37,99,235,0.06); }
.custom-cursor-dot { width: 6px; height: 6px; background: var(--blue-600); border-radius: 50%; position: fixed; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); }
@media (max-width: 768px) { .custom-cursor, .custom-cursor-dot { display: none !important; } }

/* ===== Reveals ===== */
.reveal-up { opacity: 0; transform: translateY(50px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; } .delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* Particles */
.particles-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; background: rgba(255,255,255,0.5); border-radius: 50%; animation: particleFloat linear infinite; }
@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 0.8; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

.section-label {
  font-family: var(--font-tertiary); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-primary); font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; line-height: 1.15;
}
.section-subtitle {
  font-family: var(--font-tertiary); font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500; line-height: 1.5;
}
.section-paragraph { font-size: clamp(0.9rem, 1.5vw, 1.05rem); line-height: 1.8; }
.accent-line { width: 60px; height: 4px; background: var(--blue-600); border-radius: 4px; margin-bottom: 1.5rem; }


/* Canvas dots handled by JS */
.dots-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


/* ============================================
   HEADER - WHITE
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(37,99,235,0.08);
  transition: all 0.5s ease; height: 90px;
}
.header.scrolled {
  height: 68px; background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 30px rgba(11,36,71,0.08);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 100%;
}
.header-logo img { width: 190px; object-fit: contain; transition: width 0.5s ease; }
.header.scrolled .header-logo img { width: 150px; }

.nav-desktop { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  position: relative; font-family: var(--font-tertiary); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-gray); padding: 0.5em 0; transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 3px;
  background: var(--blue-600); border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); }

.lang-toggle {
  display: flex; align-items: center;
  background: var(--blue-50); border-radius: 9999px; padding: 3px; gap: 2px;
}
.lang-toggle button {
  padding: 5px 16px; border-radius: 9999px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; border: none; cursor: pointer;
  transition: all 0.3s ease; background: transparent; color: var(--blue-700);
  font-family: var(--font-tertiary);
}
.lang-toggle button.active {
  background: var(--blue-600); color: var(--white);
  box-shadow: 0 3px 12px rgba(37,99,235,0.25);
}

.social-icons { display: flex; align-items: center; gap: 4px; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: var(--blue-400); transition: all 0.3s cubic-bezier(0.16,1,0.3,1); font-size: 0.95rem;
}
.social-icon:hover {
  color: var(--white); background: var(--blue-600);
  transform: translateY(-3px); box-shadow: 0 4px 15px rgba(37,99,235,0.25);
}

.hamburger {
  display: none; width: 28px; height: 20px; position: relative; cursor: pointer;
  flex-direction: column; justify-content: space-between; background: none; border: none; padding: 0;
}
.hamburger span { display: block; width: 100%; height: 2.5px; background: var(--blue-800); border-radius: 2px; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--blue-600); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--blue-600); }

.mobile-menu {
  display: none; background: rgba(255,255,255,0.98); backdrop-filter: blur(24px);
  border-top: 1px solid var(--blue-100); padding: 1.5rem;
  max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease; opacity: 0;
}
.mobile-menu.open { max-height: 500px; opacity: 1; padding: 1.5rem; }
.mobile-menu a { display: block; padding: 1rem 1.5rem; color: var(--blue-800); font-weight: 600; font-size: 1.1rem; border-radius: 12px; transition: all 0.3s ease; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--blue-50); color: var(--blue-600); padding-left: 2rem; }
.mobile-social { display: flex; justify-content: center; gap: 1rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--blue-100); }

@media (max-width: 768px) {
  .nav-desktop { display: none; } .hamburger { display: flex; }
  .mobile-menu { display: block; } .header-logo img { width: 140px; }
  html { scroll-padding-top: 80px; }
}


/* ============================================
   HERO - BLUE
   ============================================ */
.hero {
  position: relative; height: 75vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--navy);
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 2s ease-in-out;
  z-index: 0; pointer-events: none; transform: scale(1.05);
}
.hero-bg-img.active { opacity: 1; animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: linear-gradient(180deg,
    rgba(11,36,71,0.82) 0%,
    rgba(13,43,82,0.6) 40%,
    rgba(37,99,235,0.25) 70%,
    rgba(11,36,71,0.9) 100%
  );
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 11; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(37,99,235,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.12) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 20; max-width: 950px; width: 100%; padding: 0 1.5rem; color: white; }
.hero-text-slide {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 100%; padding: 0 1.5rem; opacity: 0; pointer-events: none; text-align: center;
}
.hero-text-slide.active { opacity: 1; pointer-events: auto; }
.hero-text-slide.active .hero-title { animation: heroTitleIn 1s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-text-slide.active .hero-subtitle-text { animation: heroSubIn 1s cubic-bezier(0.16,1,0.3,1) 0.3s forwards; }
.hero-text-slide.active .hero-cta { animation: heroSubIn 1s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
.hero-title, .hero-subtitle-text { opacity: 0; transform: translateY(40px); }
.hero-title {
  font-size: clamp(2.2rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 1.25rem;
  color: white;
}
.hero-subtitle-text {
  font-size: clamp(1rem, 2.5vw, 1.35rem); font-weight: 300;
  line-height: 1.7; max-width: 700px; margin: 0 auto; color: var(--blue-200);
}
@keyframes heroTitleIn { from { opacity: 0; transform: translateY(50px); filter: blur(12px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes heroSubIn { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 2.5rem; padding: 16px 40px;
  background: var(--white); color: var(--navy);
  border-radius: 9999px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
}
.hero-cta:hover {
  transform: translateY(-3px); background: var(--blue-50);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); color: white;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.hero-nav-btn:hover {
  background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}
.hero-nav-btn.prev { left: 1.5rem; } .hero-nav-btn.next { right: 1.5rem; }

.slide-indicators { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; gap: 10px; }
.slide-indicator { width: 36px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; cursor: pointer; border: none; padding: 0; position: relative; overflow: hidden; transition: width 0.4s ease; }
.slide-indicator::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--white); border-radius: 4px; }
.slide-indicator.active { width: 56px; }
.slide-indicator.active::after { animation: indicatorProgress 6s linear forwards; }
@keyframes indicatorProgress { from { width: 0; } to { width: 100%; } }

.scroll-indicator {
  position: absolute; bottom: 5.5rem; left: 50%; transform: translateX(-50%);
  z-index: 30; display: flex; flex-direction: column; align-items: center;
  gap: 8px; opacity: 0.5; animation: scrollBounce 2.5s ease-in-out infinite;
}
.scroll-mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative; }
.scroll-mouse::after {
  content: ''; width: 3px; height: 8px; background: var(--white); border-radius: 3px;
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; } 50% { transform: translateX(-50%) translateY(12px); opacity: 0; } }
@keyframes scrollBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }
@media (max-width: 768px) { .hero-nav-btn { width: 42px; height: 42px; font-size: 0.95rem; } .scroll-indicator { display: none; } }


/* ============================================
   ABOUT - WHITE BG
   ============================================ */
.about {
  position: relative; padding: 6rem 0;
  background: var(--white);
  overflow: hidden;
}
.about .dots-canvas { position: absolute; inset: 0; z-index: 0; }
.about > *:not(.dots-canvas) { position: relative; z-index: 1; }
.about-inner { display: flex; flex-direction: column; gap: 3rem; }
.about-content .section-label { color: var(--blue-600); }
.about-content .section-title { color: var(--text-dark); }
.about-content .section-subtitle { color: var(--text-gray); }
.about-content .section-paragraph { color: var(--text-gray); }

.about-image-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 420px; box-shadow: 0 20px 60px rgba(11,36,71,0.12);
}
.about-image-wrapper img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1.2s ease-in-out, transform 1.8s ease-out; border-radius: var(--radius-lg);
}
.about-image-wrapper img.active { opacity: 1; transform: scale(1); }
.about-image-wrapper img.inactive { opacity: 0; transform: scale(1.06); }

.about-badge {
  position: absolute; bottom: 24px; left: 24px; z-index: 10;
  background: var(--blue-600); color: white; padding: 18px 26px;
  border-radius: 18px; animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(37,99,235,0.35);
}
.about-badge .badge-number { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about-badge .badge-text { font-size: 0.8rem; opacity: 0.85; margin-top: 2px; }

.about-indicators { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.about-indicator { width: 12px; height: 12px; border-radius: 50%; background: var(--blue-100); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.about-indicator.active { background: var(--blue-600); width: 36px; border-radius: 6px; }

.check-grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-top: 2rem; }
.check-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px;
  border-radius: var(--radius-sm); transition: all 0.3s ease;
}
.check-item:hover { background: var(--blue-50); transform: translateX(6px); }
.check-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  background: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem; margin-top: 2px;
}
.check-item p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

.stats-bar {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; padding: 3rem 0; margin-top: 3rem;
  border-top: 2px solid var(--blue-50);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--blue-600); }
.stat-label { font-size: 0.85rem; color: var(--text-gray); margin-top: 0.5rem; font-weight: 500; }

@media (min-width: 768px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .about-inner { flex-direction: row; gap: 4rem; align-items: stretch; }
  .about-content, .about-gallery { width: 50%; }
  .about { padding: 8rem 0; }
}


/* ============================================
   SERVICES - BLUE BG + WHITE CARDS
   ============================================ */
.services {
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
  background: var(--navy);
}

.services .section-label { color: var(--blue-300); }
.services .section-title { color: var(--white); }
.services .section-paragraph { color: var(--blue-200); }
.services-header { margin-bottom: 3.5rem; }
.services-header .section-paragraph { max-width: 600px; margin: 0.75rem auto 0; }

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; max-width: 1300px; margin: 0 auto; padding: 0 2rem;
}
.service-card {
  position: relative; background: var(--white);
  border-radius: var(--radius-lg); padding: 3rem 2.5rem;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer; overflow: hidden; text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: flex; gap: 1.75rem; align-items: flex-start;
}
/* Top accent bar */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--blue-600); border-radius: 0 0 4px 0;
  transition: height 0.5s cubic-bezier(0.16,1,0.3,1);
}
/* Shine sweep */
.service-card::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(59,130,246,0.04) 50%, transparent 70%);
  transition: left 0.7s ease; pointer-events: none;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(59,130,246,0.1);
}
.service-card:hover::before { height: 100%; }
.service-card:hover::after { left: 100%; }

.service-card-number {
  position: absolute; top: 0.75rem; right: 1.5rem;
  font-size: 5rem; font-weight: 900; color: rgba(37,99,235,0.06);
  line-height: 1; z-index: 0; transition: color 0.5s ease;
}
.service-card:hover .service-card-number { color: rgba(37,99,235,0.12); }

.service-card-icon {
  width: 5rem; height: 5rem; flex-shrink: 0;
  background: var(--blue-600); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1); position: relative; z-index: 1;
}
.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(37,99,235,0.35);
  background: var(--blue-500);
}

.service-card-body { position: relative; z-index: 1; flex: 1; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { flex-direction: column; text-align: center; align-items: center; padding: 2.5rem 2rem; }
  .service-card::before { top: 0; left: 0; width: 100%; height: 4px; }
  .service-card:hover::before { height: 4px; width: 100%; }
}


/* ============================================
   TECHNOLOGIES - SINGLE ROW CAROUSEL
   ============================================ */
.technologies {
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
  background: var(--gray-50);
}
.technologies .dots-canvas { position: absolute; inset: 0; z-index: 0; }
.technologies > *:not(.dots-canvas) { position: relative; z-index: 1; }
.technologies .section-title { color: var(--text-dark); }
.technologies .section-paragraph { color: var(--text-gray); }

/* Slider container */
.tech-slider {
  position: relative; width: 100%; overflow: hidden; padding: 2rem 0;
}
/* Fade edges */
.tech-slider-fade {
  position: absolute; top: 0; bottom: 0; width: 140px; z-index: 3; pointer-events: none;
}
.tech-fade-left { left: 0; background: linear-gradient(90deg, var(--gray-50), transparent); }
.tech-fade-right { right: 0; background: linear-gradient(270deg, var(--gray-50), transparent); }

/* Track */
.tech-slider-track {
  display: flex; gap: 1.25rem; width: max-content;
  animation: techSlide 55s linear infinite;
}
.tech-slider-track:hover { animation-play-state: paused; }

@keyframes techSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual items */
.tech-item {
  flex-shrink: 0; width: 140px; padding: 1.75rem 1rem 1.25rem;
  border-radius: 20px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; cursor: default;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
/* Shine sweep on hover */
.tech-item::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(59,130,246,0.07) 50%, transparent 70%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.tech-item:hover::before { left: 100%; }

.tech-item:hover {
  transform: translateY(-14px) scale(1.08);
  border-color: var(--blue-300);
  box-shadow: 0 18px 45px rgba(37,99,235,0.12), 0 0 0 1px rgba(59,130,246,0.08);
}

.tech-item img {
  width: 50px; height: 50px; object-fit: contain; margin-bottom: 0.75rem;
  filter: grayscale(35%) brightness(0.95);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.tech-item:hover img {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.2) rotate(-5deg);
}

.tech-item span {
  font-family: var(--font-tertiary); font-size: 0.75rem; font-weight: 600;
  color: var(--text-light); transition: all 0.3s ease; white-space: nowrap;
}
.tech-item:hover span { color: var(--blue-600); font-weight: 700; }


/* ============================================
   TESTIMONIALS - BLUE BG + WHITE CARDS
   ============================================ */
.testimonials {
  position: relative; padding: 6rem 0;
  background: var(--navy); overflow: hidden;
}
.testimonials-deco-1 {
  position: absolute; top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.testimonials-deco-2 {
  position: absolute; bottom: -80px; left: -80px; width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(6,182,212,0.05), transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.testimonials .section-label { color: var(--blue-300); }
.testimonials .section-title { color: var(--white); }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; z-index: 10; }
.testimonial-card {
  position: relative; background: var(--white);
  padding: 2.5rem; border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: all 0.5s ease;
}
.testimonial-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.2); transform: translateY(-6px); }
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--blue-600); border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0; transition: opacity 0.5s ease;
}
.testimonial-card:hover::before { opacity: 1; }

.quote-icon {
  position: absolute; top: -18px; left: 2rem; width: 42px; height: 42px;
  background: var(--blue-600); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35); transition: transform 0.3s ease;
}
.testimonial-card:hover .quote-icon { transform: scale(1.1); }

.testimonial-quote { font-style: italic; color: var(--text-gray); line-height: 1.8; margin-top: 1rem; margin-bottom: 1.5rem; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); }
.author-avatar {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.author-stars { display: flex; gap: 3px; margin-top: 5px; }
.author-stars i { color: var(--gold); font-size: 0.8rem; }

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } .testimonials { padding: 8rem 0; } }


/* ============================================
   CONTACT - LEFT FORM + RIGHT MAP
   ============================================ */
.contact {
  position: relative; overflow: hidden;
  background: var(--white); padding: 5rem 0 0;
}
.contact .dots-canvas { position: absolute; inset: 0; z-index: 0; }
.contact > *:not(.dots-canvas) { position: relative; z-index: 1; }

.contact-wrapper {
  display: flex; flex-direction: column; gap: 2rem;
  max-width: 1400px; margin: 0 auto; padding: 0 2rem 0;
}

/* Left column */
.contact-left { flex: 1; }

.contact-left .section-label { color: var(--blue-600); margin-bottom: 0.75rem; display: block; }
.contact-big-title {
  font-family: var(--font-primary); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 0.75rem;
}
.contact-desc {
  font-size: 1rem; color: var(--text-gray); line-height: 1.7; margin-bottom: 2rem;
}

/* Form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 8px 35px rgba(11,36,71,0.07);
  border: 1px solid var(--blue-100);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.15rem; position: relative; z-index: 1; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700; color: var(--blue-800);
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px;
}

.input-icon-wrap { position: relative; }
.input-icon-wrap i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--blue-300); font-size: 0.85rem; pointer-events: none;
  transition: color 0.3s ease; z-index: 2;
}
.input-icon-wrap.textarea-wrap i { top: 15px; transform: none; }
.input-icon-wrap:focus-within i { color: var(--blue-600); }

.form-input {
  width: 100%; background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 12px; padding: 13px 14px 13px 42px; font-size: 0.9rem;
  font-family: var(--font-primary); transition: all 0.3s ease; outline: none;
  color: var(--text-dark);
}
.form-input:focus {
  background: var(--white); border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.form-input.error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.08); }
.form-input::placeholder { color: var(--text-light); }
textarea.form-input { resize: vertical; min-height: 110px; padding-top: 13px; }
.form-error { margin-top: 0.35rem; font-size: 0.75rem; color: #ef4444; font-weight: 600; }

.submit-btn {
  width: 100%; padding: 15px 24px;
  background: var(--blue-600); color: var(--white); border: none;
  border-radius: 12px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.3s ease;
  font-family: var(--font-primary); margin-top: 0.25rem;
}
.submit-btn:hover {
  background: var(--blue-700); transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.25);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn span { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.global-message {
  border-radius: 12px; padding: 12px 16px; font-weight: 600;
  text-align: center; font-size: 0.85rem; margin-bottom: 1rem;
  animation: slideDown 0.4s cubic-bezier(0.16,1,0.3,1);
}
.global-message.success { background: #059669; color: white; }
.global-message.error { background: #dc2626; color: white; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Locations bar below form */
.contact-locations {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
}
.contact-locations .detail-label { color: var(--blue-300); }
.contact-locations .detail-value { color: var(--white); }
.contact-locations a.detail-value:hover { color: var(--blue-300); }
.contact-locations .location-btn {
  border-color: rgba(96,165,250,0.25); background: transparent; color: var(--blue-200);
}
.contact-locations .location-btn:hover {
  border-color: var(--blue-400); color: var(--white); background: rgba(255,255,255,0.08);
}
.contact-locations .location-btn.active {
  background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
}
.contact-locations .contact-social-row a {
  background: rgba(255,255,255,0.08); color: var(--blue-300);
  border-color: rgba(96,165,250,0.15);
}
.contact-locations .contact-social-row a:hover {
  background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
}

.contact-detail-row {
  display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem;
}
.contact-detail-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.detail-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.detail-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-light); margin-bottom: 1px;
}
.detail-value {
  display: block; font-size: 0.85rem; color: var(--text-dark); font-weight: 500;
  word-break: break-word;
}
a.detail-value:hover { color: var(--blue-600); }

.contact-bottom-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.contact-location-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.location-btn {
  padding: 8px 20px; border-radius: 9999px; font-size: 0.8rem; font-weight: 600;
  border: 2px solid var(--blue-200); cursor: pointer; background: var(--white);
  color: var(--blue-700); transition: all 0.3s ease; font-family: var(--font-primary);
}
.location-btn:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.location-btn.active {
  background: var(--blue-600); color: white;
  border-color: var(--blue-600); box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.contact-social-row { display: flex; gap: 0.5rem; }
.contact-social-row a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--white); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.3s ease;
  border: 1px solid var(--blue-100);
}
.contact-social-row a:hover {
  background: var(--blue-600); color: var(--white); border-color: var(--blue-600);
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(37,99,235,0.2);
}

/* Right column - map */
.contact-right { flex: 1; }

.contact-map-box {
  position: relative; width: 100%; height: 450px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 40px rgba(11,36,71,0.1);
  border: 2px solid var(--blue-100);
}
.contact-map-inner {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.map-pulse-ring {
  position: absolute; z-index: 1; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.35);
  animation: mapPulse 2.5s ease-out infinite;
}
.map-pulse-ring::before,
.map-pulse-ring::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(37,99,235,0.18);
  animation: mapPulse 2.5s ease-out infinite;
}
.map-pulse-ring::before { inset: -14px; animation-delay: 0.5s; }
.map-pulse-ring::after { inset: -28px; animation-delay: 1s; }
@keyframes mapPulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Desktop: side by side */
@media (min-width: 1024px) {
  .contact-wrapper {
    flex-direction: row; align-items: stretch; gap: 3rem;
    padding-bottom: 5rem;
  }
  .contact-left { width: 45%; }
  .contact-right { width: 55%; }
  .contact-map-box { height: 100%; min-height: 550px; }
}

/* Mobile */
@media (max-width: 1023px) {
  .contact-wrapper { padding-bottom: 0; }
  .contact-map-box { height: 350px; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
  .contact-right { margin: 0 -2rem; }
  .map-pulse-ring { display: none; }
  .contact-detail-row { flex-direction: column; }
}


/* ============================================
   FOOTER - DARK BLUE
   ============================================ */
.footer {
  background: var(--navy); color: white;
  padding: 5rem 0 0; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue-600);
}
.footer::after {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent);
  border-radius: 50%; pointer-events: none;
}
.footer-blob {
  position: absolute; bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.04), transparent);
  border-radius: 50%; pointer-events: none;
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; position: relative; z-index: 10; }
.footer-logo img { max-height: 150px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.875rem; color: var(--blue-300); max-width: 280px; line-height: 1.7; margin-top: 1rem; opacity: 0.6; }

.footer h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--blue-400); margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { color: var(--blue-200); opacity: 0.6; font-size: 0.95rem; transition: all 0.3s ease; position: relative; display: inline-block; }
.footer-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--blue-400); transition: width 0.3s ease; }
.footer-link:hover { opacity: 1; color: var(--white); transform: translateX(5px); }
.footer-link:hover::after { width: 100%; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: var(--blue-300); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); font-size: 1rem;
}
.footer-social-icon:hover {
  background: var(--blue-600); border-color: var(--blue-600);
  color: var(--white); transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

.footer-bottom { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--blue-300); opacity: 0.4; }

@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } }
