/*
 * ECOMX ICT Company Website
 * Main Stylesheet
 * Colors: #29ABE2 (Primary Cyan), #0071BC (Secondary Blue), #FFFFFF (White), #050B1A (Dark BG)
 */

/* =========================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ========================================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:          #29ABE2;
  --primary-light:    #5BC8EF;
  --primary-dark:     #1A8BBF;
  --secondary:        #0071BC;
  --secondary-dark:   #005A96;
  --dark:             #050B1A;
  --darker:           #020710;
  --surface:          rgba(255,255,255,0.04);
  --surface-hover:    rgba(255,255,255,0.07);
  --surface-solid:    #0D1626;
  --border:           rgba(41,171,226,0.18);
  --border-hover:     rgba(41,171,226,0.5);
  --white:            #FFFFFF;
  --text-primary:     #E8F4FD;
  --text-secondary:   #8BAEC8;
  --text-muted:       #4D6A85;
  --gradient:         linear-gradient(135deg, #29ABE2 0%, #0071BC 100%);
  --gradient-dark:    linear-gradient(135deg, #050B1A 0%, #0D1626 100%);
  --glow:             0 0 20px rgba(41,171,226,0.35);
  --glow-strong:      0 0 40px rgba(41,171,226,0.55);
  --glow-sm:          0 0 10px rgba(41,171,226,0.25);
  --shadow:           0 8px 40px rgba(0,0,0,0.6);
  --shadow-sm:        0 4px 20px rgba(0,0,0,0.4);
  --nav-height:       80px;
  --ease:             cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius:           12px;
  --radius-lg:        20px;
  --radius-xl:        32px;
}

html[data-theme="light"] {
  --dark:             #F6F9FC;
  --darker:           #FFFFFF;
  --surface:          rgba(0, 49, 87, 0.04);
  --surface-hover:    rgba(0, 49, 87, 0.08);
  --surface-solid:    #FFFFFF;
  --border:           rgba(0, 113, 188, 0.24);
  --border-hover:     rgba(0, 113, 188, 0.45);
  --text-primary:     #0E2A44;
  --text-secondary:   #355975;
  --text-muted:       #54748E;
  --shadow:           0 8px 30px rgba(8, 45, 84, 0.12);
  --shadow-sm:        0 4px 16px rgba(8, 45, 84, 0.1);
}

html[data-theme="light"] #navbar.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 24px rgba(8, 45, 84, 0.1);
}

html[data-theme="light"] #navbar .nav-logo,
html[data-theme="light"] #footer .nav-logo {
  background: rgba(0,113,188,0.08);
}

html[data-theme="light"] .nav-mobile {
  background: rgba(255,255,255,0.98);
}

html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active {
  color: var(--secondary);
  background: rgba(0,113,188,0.08);
}

html[data-theme="light"] .nav-mobile a:hover,
html[data-theme="light"] .nav-mobile a.active {
  background: rgba(0,113,188,0.08);
}

html[data-theme="light"] .slide:nth-child(1) .slide-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,113,188,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(41,171,226,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #f7fbff 0%, #eef6fd 50%, #e4f1fb 100%);
}

html[data-theme="light"] .slide:nth-child(2) .slide-bg {
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(0,113,188,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(41,171,226,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #f9fcff 0%, #edf5fc 60%, #e1eef9 100%);
}

html[data-theme="light"] .slide:nth-child(3) .slide-bg {
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(41,171,226,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(0,113,188,0.14) 0%, transparent 55%),
    linear-gradient(135deg, #f7fbff 0%, #ecf4fc 50%, #e3effa 100%);
}

html[data-theme="light"] .slide-bg::after {
  background-image:
    linear-gradient(rgba(0,113,188,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,113,188,0.07) 1px, transparent 1px);
}

html[data-theme="light"] .slide-text h1,
html[data-theme="light"] .service-card h3,
html[data-theme="light"] .about-feature h4,
html[data-theme="light"] .about-metric .metric-val,
html[data-theme="light"] .sidebar-widget h4,
html[data-theme="light"] .faq-question {
  color: var(--text-primary);
}

html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .section-header h2,
html[data-theme="light"] .contact-form-wrapper h3,
html[data-theme="light"] .form-success h3,
html[data-theme="light"] .author-info h4,
html[data-theme="light"] .newsletter-box h3,
html[data-theme="light"] .news-featured-body h2,
html[data-theme="light"] .news-card h3,
html[data-theme="light"] .recent-post-title,
html[data-theme="light"] .team-card h3,
html[data-theme="light"] .value-card h4,
html[data-theme="light"] .cert-card h4,
html[data-theme="light"] .process-card h4,
html[data-theme="light"] .service-detail-card h3,
html[data-theme="light"] .contact-info-card h4 {
  color: var(--text-primary);
}

html[data-theme="light"] .recent-post-icon {
  color: var(--text-primary);
}

html[data-theme="light"] .slider-btn {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,113,188,0.2);
  color: var(--text-primary);
}

html[data-theme="light"] .dot {
  background: rgba(0,113,188,0.2);
}

html[data-theme="light"] .btn-ghost {
  background: rgba(41,171,226,0.12);
  border-color: rgba(0,113,188,0.3);
  color: var(--secondary);
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(41,171,226,0.2);
  border-color: rgba(0,113,188,0.45);
}

html[data-theme="light"] .cta-box .btn-ghost {
  background: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.95);
  color: var(--secondary);
}

html[data-theme="light"] .cta-box .btn-ghost:hover {
  background: #ffffff;
  color: var(--secondary-dark);
}

html[data-theme="light"] .about-metric {
  background: rgba(255,255,255,0.86);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.theme-toggle-btn i {
  font-size: 0.9rem;
}

.nav-cta .theme-toggle-btn {
  margin-left: 10px;
}

.nav-mobile .theme-toggle-btn {
  margin-top: 12px;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection {
  background: rgba(41,171,226,0.35);
  color: #fff;
}

/* =========================================================
   2. SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-secondary); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: var(--glow-sm);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

/* =========================================================
   4. UTILITY CLASSES
   ========================================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,113,188,0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,113,188,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(41,171,226,0.08);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 17px 40px;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* =========================================================
   6. GLASSMORPHISM CARD
   ========================================================= */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease);
}

.glass-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-6px);
}

/* =========================================================
   7. NAVIGATION
   ========================================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease);
}

#navbar .nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

#navbar.scrolled {
  background: rgba(5,11,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo .logo-image {
  height: 72px;
  width: auto;
  object-fit: contain;
}

#navbar .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 8px 12px;
}

#footer .nav-logo {
  display: inline-flex;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 8px 12px;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: var(--glow-sm);
  font-family: 'Space Grotesk', sans-serif;
}

.nav-logo .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-logo .logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(41,171,226,0.1);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover { background: var(--surface); }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(5,11,26,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.35s var(--ease);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: rgba(41,171,226,0.1);
}

.nav-mobile .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   8. HERO SLIDER
   ========================================================= */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.slides-wrapper {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Slide backgrounds */
.slide:nth-child(1) .slide-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,113,188,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(41,171,226,0.2) 0%, transparent 60%),
    linear-gradient(135deg, #020a16 0%, #050B1A 50%, #071829 100%);
}

.slide:nth-child(2) .slide-bg {
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(0,113,188,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(41,171,226,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #020810 0%, #050B1A 60%, #0a0f1e 100%);
}

.slide:nth-child(3) .slide-bg {
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(41,171,226,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(0,113,188,0.25) 0%, transparent 55%),
    linear-gradient(135deg, #030b1a 0%, #050B1A 50%, #07111f 100%);
}

/* Grid/tech overlay */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,171,226,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: var(--nav-height);
}

.slide-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 100vh;
  padding-top: 40px;
  padding-bottom: 80px;
}

.slide-text {
  max-width: 620px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.7s var(--ease) 0.1s both;
}

.slide-tag i { font-size: 0.7rem; }

.slide-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s var(--ease) 0.25s both;
}

.slide-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  animation: fadeSlideUp 0.7s var(--ease) 0.4s both;
}

.slide-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s var(--ease) 0.55s both;
}

.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 0.9s var(--ease) 0.3s both;
}

.hero-icon-box {
  width: 380px;
  height: 380px;
  position: relative;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 50%;
  animation: orbit-spin 12s linear infinite;
}

.hero-orbit:nth-child(2) {
  inset: 40px;
  animation-duration: 8s;
  animation-direction: reverse;
  border-color: rgba(0,113,188,0.3);
  border-style: dashed;
}

.hero-orbit:nth-child(3) {
  inset: 80px;
  animation-duration: 6s;
  border-color: rgba(41,171,226,0.15);
}

.hero-orbit::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--glow);
}

.hero-center {
  position: absolute;
  inset: 120px;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center i {
  font-size: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 4px;
  box-shadow: var(--glow-sm);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(41,171,226,0.2);
  border-color: var(--primary);
  box-shadow: var(--glow-sm);
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}

.slider-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
  width: 0;
  transition: width linear;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--primary));
  animation: scroll-line 1.8s ease infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   9. STATS COUNTER SECTION
   ========================================================= */
.stats-section {
  padding: 0;
  position: relative;
  z-index: 5;
}

.stats-band {
  background: var(--gradient);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M-10 10L10-10M50 70L70 50' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 0.55em;
  padding-bottom: 0.15em;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   10. SERVICES SECTION
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
  transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-6px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(41,171,226,0.12);
  border: 1px solid rgba(41,171,226,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.35s var(--ease);
}

.service-card:hover .service-icon {
  background: rgba(41,171,226,0.2);
  border-color: var(--primary);
  box-shadow: var(--glow-sm);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}

.service-link:hover { gap: 10px; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* =========================================================
   11. ABOUT / WHY US SECTION
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.about-img-main .service-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-main .img-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 70% at 60% 40%, rgba(0,113,188,0.5) 0%, transparent 60%),
    linear-gradient(135deg, #050B1A 0%, #0D1626 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-main i {
  font-size: 5rem;
  color: rgba(41,171,226,0.3);
}

.about-metric {
  position: absolute;
  background: rgba(5,11,26,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-metric.metric-1 {
  bottom: -20px;
  right: -20px;
}

.about-metric.metric-2 {
  top: 30px;
  left: -20px;
}

.about-metric .metric-icon {
  width: 44px;
  height: 44px;
  background: rgba(41,171,226,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-metric .metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about-metric .metric-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s;
}

.about-feature:hover .about-feature-icon {
  background: rgba(41,171,226,0.2);
  box-shadow: var(--glow-sm);
}

.about-feature h4 { color: var(--white); margin-bottom: 4px; }
.about-feature p  { font-size: 0.88rem; }

/* =========================================================
   12. TECH TICKER / MARQUEE
   ========================================================= */
.ticker-section {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ticker-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.ticker-item:hover { color: var(--primary); }
.ticker-item i { color: var(--primary); font-size: 1rem; }

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   13. PROCESS / HOW WE WORK
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
  padding-top: 24px;
  position: relative;
  counter-reset: process;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.process-card {
  text-align: center;
  padding: 32px 20px;
  counter-increment: process;
  position: relative;
}

.process-num {
  width: 80px;
  height: 80px;
  background: rgba(41,171,226,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  transition: all 0.35s;
  position: relative;
  z-index: 1;
}

.process-card:hover .process-num {
  background: rgba(41,171,226,0.15);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.process-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.process-card p { font-size: 0.88rem; }

/* =========================================================
   14. TESTIMONIALS
   ========================================================= */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.testimonial-quote {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info h4 { color: var(--white); font-size: 1rem; margin-bottom: 2px; }
.author-info p  { font-size: 0.82rem; color: var(--text-muted); }

.testimonial-logo-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 160px;
}

.testimonial-stars {
  color: #FFB800;
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* =========================================================
   15. NEWS / BLOG CARDS
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-6px);
}

.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.news-card-img .img-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.news-card:hover .img-bg { transform: scale(1.06); }

.img-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-bg.bg-1 {
  background: linear-gradient(135deg, #0071BC 0%, #29ABE2 100%);
}
.img-bg.bg-2 {
  background: linear-gradient(135deg, #050B1A 0%, #0078BD 100%);
}
.img-bg.bg-3 {
  background: linear-gradient(135deg, #1a1a4e 0%, #0071BC 100%);
}
.img-bg.bg-4 {
  background: linear-gradient(135deg, #003766 0%, #29ABE2 100%);
}
.img-bg.bg-5 {
  background: linear-gradient(135deg, #0D1626 0%, #0071BC 100%);
}

.img-bg i {
  font-size: 3rem;
  color: rgba(255,255,255,0.25);
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.news-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.2);
  padding: 3px 10px;
  border-radius: 50px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.2s;
}

.news-card:hover h3 { color: var(--primary); }

.news-card p {
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 20px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.news-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.author-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.news-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.news-read-more:hover { gap: 8px; }

/* =========================================================
   16. CTA BANNER
   ========================================================= */
.cta-section {
  padding: 0 0 100px;
}

.cta-box {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-white {
  background: #fff;
  color: var(--secondary);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* =========================================================
   17. FOOTER
   ========================================================= */
#footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.partner-badge {
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.partner-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.partner-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(41,171,226,0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-links a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--primary); }

/* =========================================================
   Cookie Consent Popup
   ========================================================= */
.cookie-popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 24px));
  background: rgba(10, 14, 28, 0.96);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  padding: 16px;
  z-index: 1200;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-popup h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.cookie-popup p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-popup a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.cookie-actions .btn {
  flex: 1;
  justify-content: center;
  min-height: 38px;
}

@media (max-width: 600px) {
  .cookie-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

/* =========================================================
   18. PAGE HERO BANNER (inner pages)
   ========================================================= */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,113,188,0.35) 0%, transparent 65%),
    linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,171,226,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 80%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 0.65rem; }

/* =========================================================
   19. TEAM PAGE
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  text-align: center;
}

.team-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-6px);
}

.team-card-top {
  padding: 36px 24px 24px;
  background: linear-gradient(180deg, rgba(41,171,226,0.05) 0%, transparent 100%);
  position: relative;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  border: 3px solid rgba(41,171,226,0.3);
  transition: border-color 0.35s, box-shadow 0.35s;
  font-family: 'Space Grotesk', sans-serif;
}

.team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.team-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card-body {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}

.team-card-body p {
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.65;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(41,171,226,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.25s;
}

.team-social a:hover {
  background: rgba(41,171,226,0.2);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Values section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s var(--ease);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(41,171,226,0.1);
  border: 1px solid rgba(41,171,226,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.35s;
}

.value-card:hover .value-icon {
  background: rgba(41,171,226,0.2);
  box-shadow: var(--glow-sm);
}

.value-card h4 {
  color: var(--white);
  margin-bottom: 10px;
}

.value-card p { font-size: 0.88rem; }

/* =========================================================
   20. CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(41,171,226,0.12);
  border: 1px solid rgba(41,171,226,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.contact-form-wrapper h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  font-size: 0.92rem;
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s var(--ease);
  outline: none;
  width: 100%;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--primary);
  background: rgba(41,171,226,0.06);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.15);
}

.form-control.error {
  border-color: #FF4B55;
  box-shadow: 0 0 0 3px rgba(255,75,85,0.15);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238BAEC8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

select.form-control option {
  background: var(--surface-solid);
  color: var(--text-primary);
}

.form-error-msg {
  font-size: 0.78rem;
  color: #FF4B55;
  display: none;
  align-items: center;
  gap: 4px;
}

.form-group.has-error .form-error-msg { display: flex; }

.form-submit { width: 100%; margin-top: 8px; justify-content: center; }

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  animation: fadeSlideUp 0.5s var(--ease);
}

.form-success.show { display: block; }

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(41,226,100,0.1);
  border: 2px solid rgba(41,226,100,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: #29E264;
}

.form-success h3 { color: var(--white); margin-bottom: 10px; }
.form-success p  { font-size: 0.95rem; }

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0,113,188,0.3) 0%, transparent 70%),
    var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,171,226,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,171,226,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
}

.map-placeholder span { position: relative; }

/* =========================================================
   21. NEWS PAGE
   ========================================================= */
.news-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

.news-featured-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-featured-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
}

.featured-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.featured-img .img-bg { height: 100%; }
.featured-img .img-bg i { font-size: 4rem; }
.news-featured-card:hover .featured-img .img-bg { transform: scale(1.05); }
.featured-img .img-bg { transition: transform 0.5s; }

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

.news-featured-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-featured-body h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 12px;
  line-height: 1.35;
  transition: color 0.2s;
}

.news-featured-card:hover h2 { color: var(--primary); }
.news-featured-body p { font-size: 0.92rem; flex: 1; margin-bottom: 20px; }

/* Newsletter */
.newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.newsletter-box h3 { color: var(--white); margin-bottom: 8px; }
.newsletter-box > p { margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  flex: 1;
  margin-bottom: 0;
}

/* Filter tabs */
.news-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(41,171,226,0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* =========================================================
   22. SERVICES DETAIL PAGE
   ========================================================= */
.services-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: all 0.35s var(--ease);
}

.service-detail-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.service-detail-card .service-icon {
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
  border-radius: 18px;
  margin-bottom: 24px;
}

.service-detail-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-detail-card p {
  margin-bottom: 24px;
  line-height: 1.7;
}

/* =========================================================
   23. SCROLL ANIMATIONS
   ========================================================= */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* Stagger helper */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* =========================================================
   24. KEYFRAME ANIMATIONS
   ========================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--glow); }
  50% { box-shadow: var(--glow-strong); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* =========================================================
   25. RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-visual  { max-width: 520px; margin: 0 auto; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .stat-item     { padding: 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .news-featured { grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .slide-content .container { grid-template-columns: 1fr; gap: 32px; padding-top: var(--nav-height); }
  .slide-visual  { display: none; }
  .hero-icon-box { display: none; }
}

/* =========================================================
   26. RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .section { padding: 72px 0; }

  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-logo .logo-image { height: 60px; }
  #navbar .nav-logo { padding: 6px 10px; }
  #footer .nav-logo { padding: 7px 10px; }

  .services-grid       { grid-template-columns: 1fr; }
  .grid-2, .grid-3     { grid-template-columns: 1fr; }
  .news-grid           { grid-template-columns: 1fr; }
  .team-grid           { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: 1fr; }
  .process-grid        { grid-template-columns: 1fr; }
  .services-hero-cards { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }

  .cta-box { padding: 48px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .partner-badge { display: flex; }

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .testimonial-logo-side { flex-direction: row; }

  .contact-form-wrapper { padding: 28px 20px; }

  .newsletter-form { flex-direction: column; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 24px 16px; }

  .slide-text h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  .slider-nav { bottom: 20px; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; }
  .stats-grid { grid-template-columns: 1fr; }
}
