/* =============================================
   Yveloxy - Main Stylesheet
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Titillium+Web:wght@300;400;600;700&display=swap');

/* =============================================
   CSS Variables
   ============================================= */
:root {
  --primary-dark: #06021a;
  --primary-purple: #a855f7;
  --purple-light: #c084fc;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #2563eb 100%);
  --gradient-hover: linear-gradient(135deg, #6d28d9 0%, #be185d 50%, #1d4ed8 100%);
  --text-main: #eef0ff;
  --text-secondary: rgba(210, 215, 255, 0.62);
  --text-light: rgba(210, 215, 255, 0.38);
  --white: #ffffff;
  --light-bg: #0f0d2a;
  --card-shadow: 0px 4px 27px rgba(139, 92, 246, 0.15);
  --card-shadow-hover: 0px 8px 40px rgba(139, 92, 246, 0.28);
  --border-light: rgba(139, 92, 246, 0.22);
  --nav-height: 80px;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Titillium Web', sans-serif;
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-main);
  background: var(--primary-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 90px 0;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #c6ff00;
  color: #000000;
  padding: 14px 32px;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: #aee600;
  transform: translateY(-2px);
  color: #000000;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-purple);
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary-purple);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary-purple);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   Section Headings
   ============================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-purple);
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient);
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-label { padding-left: 0; }
.text-center .section-label::before { display: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 8, 26, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 170, 0.08);
  transition: var(--transition);
  height: var(--nav-height);
}

.navbar.scrolled {
  background: rgba(7, 8, 26, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

/* Navbar turns white on hover */
.navbar:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar:hover .nav-link {
  color: rgba(15, 15, 30, 0.75);
}
.navbar:hover .nav-link:hover,
.navbar:hover .nav-link.active {
  color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.08);
}
.navbar:hover .nav-logo .logo-text {
  color: #07081a;
}
.navbar:hover .menu-toggle span {
  background: #07081a;
}

/* Permanently white navbar for inner pages */
.navbar-white,
.navbar-white.scrolled,
.navbar-white:hover {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: none !important;
}
.navbar-white .nav-link,
.navbar-white:hover .nav-link {
  color: rgba(15, 15, 30, 0.75) !important;
}
.navbar-white .nav-link:hover,
.navbar-white .nav-link.active {
  color: var(--primary-purple) !important;
  background: rgba(139, 92, 246, 0.08) !important;
}
.navbar-white .nav-logo .logo-text,
.navbar-white:hover .nav-logo .logo-text {
  color: #07081a !important;
}
.navbar-white .menu-toggle span,
.navbar-white:hover .menu-toggle span {
  background: #07081a !important;
}
.navbar-white .dropdown-menu {
  background: #ffffff;
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.navbar-white .dropdown-menu a {
  color: #07081a !important;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-text {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo .logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.nav-logo .logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(139, 92, 246, 0.12);
}

.nav-link i {
  font-size: 11px;
  transition: var(--transition);
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #0f0d2a;
  border-radius: var(--radius);
  box-shadow: 0 15px 50px rgba(0,0,0,0.45);
  min-width: 240px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(168,85,247,0.22);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 14px;
  font-family: var(--font-primary);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  color: var(--primary-purple);
  background: rgba(168, 85, 247, 0.1);
  padding-left: 26px;
}

.dropdown-menu a i {
  width: 20px;
  color: var(--primary-purple);
  font-size: 13px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 480px;
  padding: 10px;
}

.dropdown-grid li {
  list-style: none;
}

.dropdown-grid a {
  border-radius: 8px;
  padding: 10px 14px;
}

.dropdown-grid a:hover {
  padding-left: 14px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.nav-cta .btn-primary {
  padding: 10px 22px;
  font-size: 14px;
  background: #c6ff00;
  color: #000000;
  border-radius: 4px;
}

.nav-cta .btn-primary:hover {
  background: #aee600;
  color: #000000;
  box-shadow: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  z-index: 1;
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-content {
  max-width: 680px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--purple-light);
  font-family: var(--font-primary);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 12px;
  color: var(--purple-light);
}

.hero-title {
  font-size: 58px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.hero-title span {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  white-space: nowrap;
}

.hero-desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  padding: 14px 36px;
  font-size: 15px;
  border-radius: 50px;
}

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-purple);
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary-purple);
  transition: var(--transition);
}

.btn-outline-teal:hover {
  background: var(--gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.40);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-main {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 420px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}

.hero-card-title {
  color: white;
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 600;
}

.hero-card-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.hero-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 20px;
}

.hero-bar {
  flex: 1;
  border-radius: 4px;
  background: rgba(139,92,246,0.2);
  position: relative;
  overflow: hidden;
}

.hero-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient);
  border-radius: 4px;
  animation: barGrow 2s ease forwards;
}

.hero-bar:nth-child(1) { height: 45%; }
.hero-bar:nth-child(1)::after { height: 45%; animation-delay: 0.1s; }
.hero-bar:nth-child(2) { height: 70%; }
.hero-bar:nth-child(2)::after { height: 70%; animation-delay: 0.2s; }
.hero-bar:nth-child(3) { height: 55%; }
.hero-bar:nth-child(3)::after { height: 55%; animation-delay: 0.3s; }
.hero-bar:nth-child(4) { height: 85%; }
.hero-bar:nth-child(4)::after { height: 85%; animation-delay: 0.4s; }
.hero-bar:nth-child(5) { height: 65%; }
.hero-bar:nth-child(5)::after { height: 65%; animation-delay: 0.5s; }
.hero-bar:nth-child(6) { height: 90%; }
.hero-bar:nth-child(6)::after { height: 90%; animation-delay: 0.6s; }
.hero-bar:nth-child(7) { height: 75%; }
.hero-bar:nth-child(7)::after { height: 75%; animation-delay: 0.7s; }

@keyframes barGrow {
  from { height: 0; }
}

.hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-metric-label {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.hero-metric-val {
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
}

.hero-metric-badge {
  background: rgba(100,220,100,0.15);
  color: #6ce07e;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 10px 40px rgba(0,0,30,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card.card-1 {
  bottom: -20px;
  left: -40px;
  animation: floatUp 3s ease-in-out infinite;
}

.hero-floating-card.card-2 {
  top: 30px;
  right: -30px;
  animation: floatUp 3s ease-in-out infinite reverse;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fc-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.fc-text .fc-num {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.fc-text .fc-label {
  font-size: 11px;
  color: var(--text-secondary);
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
  background: var(--white);
  padding: 90px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.service-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--light-bg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.service-tab:hover,
.service-tab.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,92,246,0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon,
.service-card:hover .service-name,
.service-card:hover .service-desc,
.service-card:hover .service-link {
  color: white;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255,255,255,0.2);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(139,92,246,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 24px;
  color: var(--primary-purple);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-link {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-link i {
  font-size: 11px;
  transition: var(--transition);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-section {
  background: var(--light-bg);
  padding: 90px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-image-wrapper {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 3px;
}

.why-image-inner {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  padding: 30px;
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-metric-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.why-metric-card:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.why-metric-card:hover .wm-num,
.why-metric-card:hover .wm-label {
  color: white;
  -webkit-text-fill-color: white;
}

.wm-num {
  display: block;
  font-family: var(--font-primary);
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  transition: var(--transition);
}

.wm-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.why-features {
  margin-top: 30px;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.why-feature-item:last-child { border-bottom: none; }

.wf-icon {
  width: 46px;
  height: 46px;
  background: rgba(139,92,246,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-purple);
  flex-shrink: 0;
  transition: var(--transition);
}

.why-feature-item:hover .wf-icon {
  background: var(--gradient);
  color: white;
}

.wf-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.wf-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industries-section {
  background: var(--white);
  padding: 90px 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.industry-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
  background: var(--white);
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  margin-bottom: 18px;
}

.industry-name {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.industry-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.industry-link {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 6px;
}

.industry-link:hover {
  gap: 10px;
}

/* =============================================
   PORTFOLIO SECTION
   ============================================= */
.portfolio-section {
  background: var(--primary-dark);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(139,92,246,0.12) 0%, transparent 60%);
}

.portfolio-section .section-title { color: white; }
.portfolio-section .section-desc { color: rgba(255,255,255,0.6); }

.portfolio-tabs {
  display: flex;
  gap: 12px;
  margin: 36px 0 40px;
  flex-wrap: wrap;
}

.portfolio-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-tab.active,
.portfolio-tab:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.portfolio-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(139,92,246,0.2);
}

.portfolio-img {
  height: 200px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img-placeholder {
  font-size: 60px;
  color: rgba(255,255,255,0.3);
}

.portfolio-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-img-overlay {
  opacity: 1;
}

.portfolio-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.portfolio-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 18px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  transition: var(--transition);
}

.portfolio-link:hover { gap: 10px; }

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--light-bg);
  transform: translateY(-4px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(139,92,246,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-purple);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  background: var(--gradient);
  color: white;
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 44px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* =============================================
   CLIENTS LOGO SECTION
   ============================================= */
.clients-section {
  background: var(--light-bg);
  padding: 60px 0;
  overflow: hidden;
}

.clients-section .section-desc {
  color: var(--text-secondary);
  margin: 0 auto 40px;
  text-align: center;
}

.clients-track-wrapper {
  position: relative;
  overflow: hidden;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.clients-track {
  display: flex;
  gap: 30px;
  animation: scrollTrack 30s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTrack {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  transition: var(--transition);
}

.client-logo-item:hover {
  border-color: var(--primary-purple);
  box-shadow: var(--card-shadow);
}

.client-logo-item span {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.client-logo-item:hover span {
  color: var(--primary-purple);
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
  background: var(--white);
  padding: 90px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(139,92,246,0.3);
}

.testimonial-card::before {
  content: '\201C';
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary-purple);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: #FFC107;
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
}

.author-role {
  font-size: 13px;
  color: var(--text-secondary);
}

/* =============================================
   CTA BANNER SECTION
   ============================================= */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  font-size: 44px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary-dark);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(139,92,246,0.3);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--purple-light);
  gap: 12px;
}

.footer-links a i {
  font-size: 11px;
  color: var(--primary-purple);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--primary-purple);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--purple-light);
}

/* =============================================
   PAGE HEADER (inner pages)
   ============================================= */
.page-header {
  background: var(--primary-dark);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,135,250,0.1) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}

.page-header h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a, .breadcrumb span {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-primary);
}

.breadcrumb a:hover { color: var(--purple-light); }

.breadcrumb i {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
  color: var(--purple-light);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  padding: 90px 0;
  background: var(--white);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-story-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient);
  padding: 3px;
}

.about-img-placeholder {
  background: var(--light-bg);
  border-radius: 18px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary-purple);
  opacity: 0.4;
}

.about-badge-float {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0,0,30,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-float .icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.about-badge-float .text .num {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.about-badge-float .text .label {
  font-size: 12px;
  color: var(--text-secondary);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 24px;
  color: var(--primary-purple);
  margin-bottom: 10px;
}

.value-name {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.value-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  background: var(--light-bg);
  padding: 90px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.team-avatar {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 56px;
  font-weight: 700;
  color: white;
}

.team-info {
  padding: 20px;
}

.team-name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--primary-purple);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--gradient);
  color: white;
}

/* =============================================
   SERVICES DETAIL PAGE
   ============================================= */
.services-detail {
  background: var(--white);
  padding: 90px 0;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-detail-card:hover {
  border-color: var(--primary-purple);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-detail-card:hover::before {
  transform: scaleX(1);
}

.sdc-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  margin-bottom: 22px;
}

.sdc-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.sdc-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sdc-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sdc-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.sdc-feature i {
  color: var(--primary-purple);
  font-size: 12px;
}

/* =============================================
   INDUSTRIES DETAIL PAGE
   ============================================= */
.industries-detail {
  background: var(--white);
  padding: 90px 0;
}

.industries-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-detail-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.industry-detail-card:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  background: white;
}

.idc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.idc-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.idc-title {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.idc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.idc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.idc-tag {
  background: rgba(139,92,246,0.1);
  color: var(--primary-purple);
  font-size: 12px;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

/* =============================================
   PORTFOLIO DETAIL PAGE
   ============================================= */
.portfolio-detail {
  background: var(--white);
  padding: 90px 0;
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-detail-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.pdc-img {
  height: 220px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: rgba(255,255,255,0.3);
  position: relative;
}

.pdc-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 11px;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.pdc-body {
  padding: 24px;
}

.pdc-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.pdc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.pdc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pdc-tech span {
  background: var(--light-bg);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.pdc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-purple);
}

.pdc-link:hover { gap: 10px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  background: var(--white);
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cdi-icon {
  width: 50px;
  height: 50px;
  background: rgba(139,92,246,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-purple);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail-item:hover .cdi-icon {
  background: var(--gradient);
  color: white;
}

.cdi-text h5 {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.cdi-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
}

.contact-form-wrap h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-form-wrap .sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit {
  width: 100%;
  justify-content: center;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 6px 20px rgba(139,92,246,0.4);
  bottom: 90px;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .section-title { font-size: 32px; }
  .hero-title { font-size: 48px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 26px; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 20px;
    gap: 4px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(139,92,246,0.05);
    border: none;
    border-radius: 8px;
    padding: 5px;
    display: none;
  }

  .dropdown-menu.open { display: block; }

  .dropdown-grid {
    grid-template-columns: 1fr;
    min-width: unset;
  }

  .dropdown-menu a { color: rgba(255,255,255,0.7); }
  .dropdown-menu a:hover { color: white; }

  .hero .container {
    padding-top: 40px;
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .hero-title { font-size: 36px; }
  .hero-content { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .industries-detail-grid { grid-template-columns: 1fr; }
  .portfolio-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 32px; }
  .cta-section h2 { font-size: 30px; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .why-metrics { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   DARK THEME OVERRIDES
   ============================================= */

/* Section backgrounds — semi-transparent so global wave canvas shows through */
.services-section { background: rgba(12, 11, 34, 0.88); position: relative; z-index: 1; }
.why-section { background: rgba(15, 13, 42, 0.86); position: relative; z-index: 1; }
.industries-section { background: rgba(7, 8, 26, 0.88); position: relative; z-index: 1; }
.stats-section { background: rgba(12, 11, 34, 0.86); border-color: rgba(139,92,246,0.1); position: relative; z-index: 1; }
.clients-section { background: rgba(15, 13, 42, 0.84); position: relative; z-index: 1; }
.testimonials-section { background: rgba(7, 8, 26, 0.88); position: relative; z-index: 1; }
.about-story { background: rgba(7, 8, 26, 0.88); position: relative; z-index: 1; }
.portfolio-section { background: rgba(7, 8, 26, 0.90) !important; position: relative; z-index: 1; }
.cta-section { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }
.page-header { position: relative; z-index: 1; }

/* Section text overrides */
.section-title { color: #eef0ff; }
.section-desc { color: rgba(220,230,245,0.65); }
.wf-text h4 { color: #eef0ff; }

/* Service cards dark */
.service-card {
  background: #0f0d2a;
  border-color: rgba(139,92,246,0.12);
}
.service-name { color: #eef0ff; }
.service-icon-wrap { background: rgba(139,92,246,0.1); }
.service-icon { color: var(--primary-purple); }
.service-link { color: var(--primary-purple); }

/* Why section dark */
.why-image-inner { background: #07081a; }
.wf-icon { background: rgba(139,92,246,0.1); color: var(--primary-purple); }

/* Industry cards dark */
.industry-card { background: #0f0d2a; }
.industry-card:hover { background: #14123a; }
.industry-name { color: #eef0ff; }
.industry-link { color: var(--primary-purple); }

/* Stats dark */
.stat-item { }
.stat-icon { background: rgba(139,92,246,0.1); color: var(--primary-purple); }
.stat-label { color: rgba(220,230,245,0.6); }

/* Clients dark */
.client-logo-item { background: #14123a; }
.client-logo-item span { color: rgba(220,230,245,0.55); }
.client-logo-item:hover { border-color: var(--primary-purple); }
.client-logo-item:hover span { color: var(--primary-purple); }

/* Testimonials dark */
.testimonial-card { background: #0f0d2a; border-color: rgba(139,92,246,0.12); }
.testimonial-card::before { color: var(--primary-purple); }
.testimonial-card:hover { border-color: rgba(139,92,246,0.3); }
.testimonial-text { color: rgba(220,230,245,0.7); }
.author-name { color: #eef0ff; }

/* Footer col dark */
.footer-col h4 { border-bottom-color: rgba(139,92,246,0.3); }
.footer-links a:hover { color: var(--purple-light); }
.footer-links a i { color: var(--primary-purple); }
.footer-contact-item i { color: var(--primary-purple); }
.breadcrumb a:hover { color: var(--purple-light); }
.breadcrumb .current { color: var(--purple-light); }

/* About + other pages dark */
.about-story .section-title { color: #eef0ff; }
.value-name { color: #eef0ff; }
.value-card { background: #0f0d2a; }
.team-card { background: #0f0d2a; }
.team-name { color: #eef0ff; }
.sdc-title { color: #eef0ff; }
.idc-title { color: #eef0ff; }
.pdc-title { color: #eef0ff; }
.contact-info h3 { color: #eef0ff; }
.cdi-icon { background: rgba(139,92,246,0.1); }
.cdi-text h5 { color: #eef0ff; }

/* Contact + services + industries + portfolio + about pages */
.contact-section { background: #07081a; }
.services-detail { background: #07081a; }
.industries-detail { background: #07081a; }
.portfolio-detail { background: #07081a; }
.about-story { background: #07081a; }

/* Detail cards dark */
.service-detail-card { background: #0f0d2a; }
.industry-detail-card { background: #0f0d2a; }
.industry-detail-card:hover { background: #14123a; }
.portfolio-detail-card { background: #0f0d2a; border-color: rgba(139,92,246,0.12); }
.pdc-tech span { background: #14123a; }

/* Page header glow */
.page-header::before {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(219,39,119,0.10) 0%, transparent 50%);
}

/* Portfolio card dark */
.portfolio-card:hover { border-color: rgba(139,92,246,0.45); box-shadow: 0 20px 60px rgba(124,58,237,0.20); }
.portfolio-link { color: var(--purple-light); }
.portfolio-section::before { background: radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.10) 0%, transparent 60%); }


/* =============================================
   LIGHT PAGE THEME (Services, Industries, Portfolio, About, Contact)
   ============================================= */

/* Hide wave canvas on light pages */
.light-page #global-wave-canvas {
  display: none;
}

/* Body background */
.light-page {
  background: #ffffff;
  color: #1a1a2e;
}

/* Page header - keep dark for visual contrast */
.light-page .page-header {
  background: var(--primary-dark);
  position: relative;
  z-index: 1;
}

/* Main content sections - white background */
.light-page .services-detail,
.light-page .industries-detail,
.light-page .portfolio-detail,
.light-page .about-story,
.light-page .contact-section,
.light-page .stats-section,
.light-page .clients-section {
  background: #ffffff !important;
  position: relative;
  z-index: 1;
}

.light-page .team-section {
  background: #f5f4ff;
  position: relative;
  z-index: 1;
}

/* Section headings & text */
.light-page .section-title { color: #07081a; }
.light-page .section-desc { color: #555577; }
.light-page .about-story .section-title { color: #07081a; }

/* Service detail cards */
.light-page .service-detail-card {
  background: #f5f4ff;
  border-color: rgba(139,92,246,0.15);
}
.light-page .sdc-title { color: #07081a; }
.light-page .sdc-desc { color: #555577; }
.light-page .sdc-feature { color: #333355; }

/* Service tabs */
.light-page .service-tab {
  background: #f0eeff;
  color: #555577;
  border-color: rgba(139,92,246,0.15);
}

/* Industry detail cards */
.light-page .industry-detail-card {
  background: #f5f4ff;
  border-color: rgba(139,92,246,0.15);
}
.light-page .industry-detail-card:hover {
  background: #ffffff;
}
.light-page .idc-title { color: #07081a; }
.light-page .idc-desc { color: #555577; }

/* Portfolio detail */
.light-page .portfolio-detail-card {
  background: #ffffff;
  border-color: rgba(139,92,246,0.15);
}
.light-page .pdc-title { color: #07081a; }
.light-page .pdc-desc { color: #555577; }
.light-page .pdc-tech span {
  background: #ede9ff;
  color: #555577;
  border-color: rgba(139,92,246,0.15);
}

/* Portfolio tabs */
.light-page .portfolio-tab {
  color: #555577;
  background: #f0eeff;
  border-color: rgba(139,92,246,0.15);
}

/* About page - values */
.light-page .value-card {
  background: #f5f4ff;
  border-color: rgba(139,92,246,0.15);
}
.light-page .value-name { color: #07081a; }
.light-page .value-text { color: #555577; }

/* About img inner */
.light-page .why-image-inner { background: #f5f4ff; }
.light-page .about-img-placeholder { background: #f5f4ff; }

/* Team section */
.light-page .team-card {
  background: #ffffff;
  border-color: rgba(139,92,246,0.15);
}
.light-page .team-name { color: #07081a; }
.light-page .team-social a {
  background: #f0eeff;
  color: #555577;
}

/* Stats section on light pages */
.light-page .stat-label { color: #555577; }
.light-page .stat-item:hover { background: #f0eeff; }
.light-page .stats-section {
  border-color: rgba(139,92,246,0.15);
}

/* Clients section on light pages */
.light-page .clients-section .section-desc { color: #555577; }
.light-page .clients-track-wrapper::before {
  background: linear-gradient(to right, #ffffff, transparent);
}
.light-page .clients-track-wrapper::after {
  background: linear-gradient(to left, #ffffff, transparent);
}
.light-page .client-logo-item {
  background: #f5f4ff;
}
.light-page .client-logo-item span { color: #555577; }

/* Contact page */
.light-page .contact-info h3 { color: #07081a; }
.light-page .contact-info p { color: #555577; }
.light-page .cdi-text h5 { color: #07081a; }
.light-page .cdi-text p { color: #555577; }
.light-page .contact-form-wrap {
  background: #f5f4ff;
}
.light-page .contact-form-wrap h3 { color: #07081a; }
.light-page .contact-form-wrap .sub { color: #555577; }
.light-page .form-group label { color: #07081a; }
.light-page .form-group input,
.light-page .form-group select,
.light-page .form-group textarea {
  background: #ffffff;
  color: #1a1a2e;
  border-color: rgba(139,92,246,0.2);
}

/* Footer stays dark on all pages */
.light-page .footer {
  background: var(--primary-dark);
  position: relative;
  z-index: 1;
}

/* =============================================
   FLOATING CHAT BUTTON
   ============================================= */
.chat-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.chat-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(124,58,237,0.45), 0 0 20px rgba(219,39,119,0.2);
  transition: var(--transition);
  user-select: none;
}

.chat-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.55);
}

.chat-float-btn i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .chat-float-btn span { display: none; }
  .chat-float-btn { padding: 16px; border-radius: 50%; }
  .hero-btns .btn-outline-teal,
  .hero-btns .btn-primary { width: 100%; justify-content: center; }
}










