/* ============================================
   eXolnet Clone — Design System & Global Styles
   ============================================ */

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

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

/* ---- CSS Variables ---- */
:root {
  /* Brand Colors */
  --purple: #4f46e5;            /* Electric Indigo */
  --purple-dark: #312e81;       /* Deep Indigo-Navy */
  --purple-light: #6366f1;      /* Vibrant Violet-Indigo */
  --purple-bg: #f5f3ff;         /* Soft Lavender-Indigo Tint */
  --cyan: #06b6d4;              /* Electric Neon Cyan */
  --cyan-light: #22d3ee;        /* Neon Blue-Cyan */
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --accent-solar: #ff6b4a;      /* Solar Orange (represents rising/growth) */

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;         /* Slate Off-white */
  --light-gray: #f1f5f9;        /* Slate Light Gray */
  --mid-gray: #e2e8f0;          /* Slate Mid Gray */
  --text-gray: #64748b;         /* Slate Text Gray */
  --text-dark: #0f172a;         /* Slate Text Dark */
  --dark-bg: #090914;           /* Rich Navy-Black */

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container: 1200px;
  --section-pad: 100px;
  --section-pad-sm: 60px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(79, 70, 229, 0.06);
  --shadow-md: 0 8px 30px rgba(79, 70, 229, 0.1);
  --shadow-lg: 0 20px 60px rgba(79, 70, 229, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

/* ---- Base Styles ---- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple);
  margin-bottom: 12px;
  display: block;
}

.section-label.white {
  color: rgba(255,255,255,0.8);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 20px;
}

.section-title.white {
  color: var(--white);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--white);
}
.btn-cyan:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--cyan-glow);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Arrow icon for buttons */
.btn .arrow {
  transition: transform 0.3s ease;
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

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

.navbar.scrolled .nav-logo {
  color: var(--purple);
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}
.navbar.scrolled .nav-links a:hover {
  color: var(--purple);
}

.navbar.scrolled .nav-contact-phone {
  color: var(--text-dark);
}

.navbar.scrolled .nav-contact-btn {
  border-color: var(--purple);
  color: var(--purple);
}
.navbar.scrolled .nav-contact-btn:hover {
  background: var(--purple);
  color: var(--white);
}

.navbar.scrolled .nav-lang {
  color: var(--text-dark);
}

/* For pages with purple hero, start with solid bg */
.navbar.solid {
  background: var(--purple);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span {
  font-weight: 400;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-contact-phone {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.nav-contact-phone:hover {
  color: var(--white);
}

.nav-contact-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition);
}
.nav-contact-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.nav-contact-btn.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple);
}

.nav-lang {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}
.nav-lang:hover {
  color: var(--white);
}

/* Mobile Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--purple);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

/* ================================================
   HERO SECTION (Homepage)
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--purple-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(30, 19, 56, 0.7) 0%, 
    rgba(64, 45, 138, 0.5) 50%, 
    rgba(30, 19, 56, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content h1 .underline-accent {
  position: relative;
  display: inline-block;
}
.hero-content h1 .underline-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--white);
  opacity: 0.4;
  border-radius: 3px;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ---- Page Hero (for sub-pages) ---- */
.page-hero {
  background: var(--purple);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(90,66,176,0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.6);
}
.page-hero .breadcrumb a:hover {
  color: var(--white);
}
.page-hero .breadcrumb .separator {
  margin: 0 8px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================
   SECTIONS
   ================================================ */
.section {
  padding: var(--section-pad) 0;
}

.section.gray-bg {
  background: var(--off-white);
}

.section.purple-bg {
  background: var(--purple);
}

.section.light-purple-bg {
  background: var(--purple-bg);
}

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

.section-header.center {
  text-align: center;
}

/* ================================================
   WHAT WE DO (Homepage)
   ================================================ */
.what-we-do {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.what-we-do-text .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.what-we-do-text p {
  margin-bottom: 32px;
  font-size: 1rem;
}

.services-grid-home {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.service-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}
.service-icon-card:hover {
  background: var(--purple-bg);
  transform: translateY(-4px);
}

.service-icon-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-card .icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
}

.service-icon-card h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
}

/* ================================================
   THE EXOLNET WAY
   ================================================ */
.exolnet-way {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.exolnet-way-text h2 {
  color: var(--white);
  margin-bottom: 40px;
}

.way-checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.way-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.5;
}

.way-checklist li .check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.way-checklist li .check-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
}

.way-slider {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.way-slider-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.way-slider-before,
.way-slider-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.way-slider-before {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.way-slider-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.1s ease;
}

.wireframe {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  opacity: 0.5;
}

.wireframe-sidebar {
  background: var(--mid-gray);
  border-radius: 6px;
}

.wireframe-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wireframe-line {
  height: 12px;
  background: var(--mid-gray);
  border-radius: 6px;
}
.wireframe-line.short { width: 60%; }
.wireframe-line.med { width: 80%; }
.wireframe-block {
  flex: 1;
  background: var(--mid-gray);
  border-radius: 6px;
}

.dashboard-mock {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.mock-sidebar {
  background: rgba(0,0,0,0.2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-sidebar-item {
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}
.mock-sidebar-item.active {
  background: rgba(255,255,255,0.5);
}

.mock-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-header-bar {
  height: 14px;
  width: 40%;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.mock-card {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card-line {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
.mock-card-line.short { width: 50%; }

.mock-chart {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  min-height: 80px;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--purple);
  z-index: 5;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle::after {
  content: '‹ ›';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  box-shadow: 0 4px 15px rgba(64,45,138,0.4);
}

/* ================================================
   PORTFOLIO / PROJECTS GRID
   ================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.portfolio-grid .span-3 {
  grid-column: span 3;
}
.portfolio-grid .span-2 {
  grid-column: span 2;
}
.portfolio-grid .span-4 {
  grid-column: span 4;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid .span-3,
  .portfolio-grid .span-2,
  .portfolio-grid .span-4 {
    grid-column: span 1;
  }
  .portfolio-card {
    height: 280px;
  }
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(30,19,56,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition);
}

.portfolio-card .overlay .company {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.portfolio-card .overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.portfolio-card .overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.portfolio-card:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Projects page - larger grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card-full {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card-full:hover img {
  transform: scale(1.05);
}

.project-card-full .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(30,19,56,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.project-card-full .company-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 6px;
}

.project-card-full h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.project-card-full .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.project-card-full:hover .tags {
  opacity: 1;
  transform: translateY(0);
}

.tag-pill {
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}

/* Filter pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-pill {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  background: var(--light-gray);
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.filter-pill:hover {
  background: var(--purple-bg);
  color: var(--purple);
}

.filter-pill.active {
  background: var(--purple);
  color: var(--white);
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.33% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--purple);
  opacity: 0.3;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-gray);
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--mid-gray);
  padding-top: 20px;
}

.testimonial-card .author-info .name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-card .author-info .role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
}
.slider-nav button:hover {
  background: var(--purple);
  transform: scale(1.1);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  cursor: pointer;
}

.cta-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cta-card:hover img {
  transform: scale(1.05);
}

.cta-card .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(30,19,56,0.85) 100%);
}

.cta-card .cta-content {
  position: relative;
  z-index: 2;
}

.cta-card .cta-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta-card .cta-content .label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,188,212,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--purple);
  padding: 80px 0 0;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.footer-brand .big-x {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-contact-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact-card a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-contact-card a:hover {
  color: var(--cyan);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--cyan);
  transform: translateY(-3px);
}
.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ================================================
   SERVICES PAGE
   ================================================ */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-detail-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-bg);
}

.service-detail-card .service-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--purple-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-card .service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
}

.service-detail-card h3 {
  font-size: 1.15rem;
  color: var(--purple);
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--mid-gray);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
}

/* Tech Grid */
.tech-category {
  margin-bottom: 40px;
}

.tech-category h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 16px;
  font-size: 1rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.tech-pill:hover {
  border-color: var(--purple);
  background: var(--purple-bg);
  color: var(--purple);
  transform: translateY(-2px);
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-text h2 {
  color: var(--purple);
  margin-bottom: 20px;
}

.about-story-text p {
  margin-bottom: 16px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mid-gray);
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-bg);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  background: var(--purple-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.value-card .value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
}

.value-card h4 {
  color: var(--purple);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.value-card p {
  font-size: 0.85rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.team-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card .team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--purple-bg);
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.team-card .team-social a {
  color: var(--text-gray);
  transition: var(--transition);
}
.team-card .team-social a:hover {
  color: var(--purple);
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form h3 {
  color: var(--purple);
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--cyan-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 12px;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mid-gray);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--purple-bg);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--purple-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card .info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-info-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--purple);
  font-weight: 500;
}

.map-section {
  width: 100%;
  height: 400px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }

  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .what-we-do,
  .exolnet-way,
  .about-story,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .process-timeline::before {
    display: none;
  }

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

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

  .testimonial-card {
    flex: 0 0 calc(100% - 16px);
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 130px 0 60px;
  }
}

@media (max-width: 480px) {
  .services-grid-home {
    grid-template-columns: 1fr;
  }

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

/* ================================================
   FULL-STACK FORM SUBMISSION STATES (AJAX)
   ================================================ */
.form-success-card {
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
  max-width: 550px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-success-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success-card .success-icon-container {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success-card .success-check-icon {
  width: 40px;
  height: 40px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
}

.form-success-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Error Banner */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: var(--radius-sm);
  color: #c62828;
  font-size: 0.9rem;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-error-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-error-banner .error-warn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #c62828;
  fill: none;
  stroke-width: 2;
}

/* Disabled Form Elements */
button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}
