/* ==========================================
   JANISU SOFTWARE SOLUTIONS - Global Styles
   Color Palette from Logo:
   - Navy Dark:   #0B1D3A
   - Primary:     #1565C0
   - Medium Blue: #1E88E5
   - Light Blue:  #42A5F5
   - Cyan:        #00BCD4
   - Cyan Light:  #4DD0E1
   - White:       #FFFFFF
   ========================================== */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --navy-dark: #0B1D3A;
  --navy: #0D2B55;
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --blue-light: #42A5F5;
  --cyan: #00BCD4;
  --cyan-light: #4DD0E1;
  --cyan-pale: #B2EBF2;
  --white: #FFFFFF;
  --off-white: #F5F9FF;
  --gray-50: #F8FAFC;
  --gray-100: #EEF2F7;
  --gray-200: #D9E2EC;
  --gray-300: #BCCCDC;
  --gray-400: #9FB3C8;
  --gray-500: #627D98;
  --gray-600: #486581;
  --gray-700: #334E68;
  --gray-800: #243B53;
  --text-primary: #1A2B42;
  --text-secondary: #486581;
  --text-light: #9FB3C8;
  --text-white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #1565C0 0%, #00BCD4 100%);
  --gradient-dark: linear-gradient(135deg, #0B1D3A 0%, #1565C0 100%);
  --gradient-hero: linear-gradient(160deg, #0B1D3A 0%, #0D2B55 40%, #1565C0 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(245,249,255,0.9) 100%);
  --shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.08);
  --shadow-md: 0 4px 14px rgba(11, 29, 58, 0.1);
  --shadow-lg: 0 10px 40px rgba(11, 29, 58, 0.12);
  --shadow-xl: 0 20px 60px rgba(11, 29, 58, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 188, 212, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-primary);
}

input, textarea, select {
  font-family: var(--font-primary);
  outline: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { font-size: 1rem; color: var(--text-secondary); }

/* === UTILITY CLASSES === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header .section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 12px;
  position: relative;
}

.section-header .section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.45);
}

.btn-primary::before {
  background: linear-gradient(135deg, #1E88E5 0%, #4DD0E1 100%);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === HEADER / NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.logo-text .brand-tagline {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan-light);
  font-weight: 500;
}

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

.nav-links a {
  color: var(--navy-dark);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(11, 29, 58, 0.04);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 16px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,58,0.3) 0%, rgba(11,29,58,0.8) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
}

/* AI Visual Animation */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px;
}

.ai-core {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.core-center {
  width: 70px;
  height: 70px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 40px var(--cyan), 0 0 80px var(--primary);
  animation: pulseCore 3s infinite alternate;
  position: relative;
  z-index: 10;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 188, 212, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.core-ring-1 {
  width: 160px;
  height: 160px;
  border-top-color: var(--cyan);
  border-bottom-color: var(--primary);
  border-width: 2px;
  animation: spin 8s linear infinite;
}

.core-ring-2 {
  width: 240px;
  height: 240px;
  border-right-color: var(--primary-light);
  border-bottom-color: var(--cyan);
  border-width: 1px;
  animation: spinReverse 12s linear infinite;
}

.core-ring-3 {
  width: 320px;
  height: 320px;
  border-left-color: var(--cyan);
  border-style: dashed;
  animation: spin 20s linear infinite;
}

.floating-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--cyan), 0 0 30px var(--white);
}

.node-1 { top: 15%; left: 20%; animation: floatNode 4s ease-in-out infinite; }
.node-2 { bottom: 15%; right: 15%; animation: floatNode 5s ease-in-out infinite 1s; }
.node-3 { top: 35%; right: -5%; animation: floatNode 6s ease-in-out infinite 2s; }

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulseCore {
  0% { transform: scale(0.9); box-shadow: 0 0 30px var(--cyan), 0 0 60px var(--primary); }
  100% { transform: scale(1.1); box-shadow: 0 0 60px var(--cyan), 0 0 120px var(--primary); }
}

@keyframes floatNode {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -15px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 188, 212, 0.12);
  border: 1px solid rgba(0, 188, 212, 0.25);
  border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan-light);
  letter-spacing: 1px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--white);
  font-weight: 800;
}

.hero-stat h3 .stat-accent {
  color: var(--cyan);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Floating shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--cyan);
  right: -100px;
  top: -100px;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  left: 10%;
  bottom: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--cyan-light);
  right: 20%;
  bottom: 30%;
  animation: float 18s ease-in-out infinite 2s;
}

/* === PAGE HERO (for inner pages) === */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--white));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--cyan-light);
}

.breadcrumb .separator {
  font-size: 0.7rem;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(21,101,192,0.08) 0%, rgba(0,188,212,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  transform: scale(1.05);
}

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

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

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-card .learn-more:hover {
  gap: 10px;
  color: var(--cyan);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(21,101,192,0.1) 0%, transparent 50%);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  background: rgba(21, 101, 192, 0.06);
  transform: translateX(4px);
}

.about-feature .check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature .check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* === STATS BANNER === */
.stats-banner {
  background: var(--gradient-dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::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.03'%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");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.stat-item .stat-number span {
  color: var(--cyan);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* === PORTFOLIO / WORK SECTION === */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,29,58,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--white);
  margin-bottom: 6px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.portfolio-overlay .portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(0, 188, 212, 0.3);
  border-radius: 20px;
  color: var(--cyan-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  width: fit-content;
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-card .testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author .author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-author .author-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: #FFC107;
  fill: #FFC107;
}

/* === TECHNOLOGIES === */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

.tech-item .tech-icon {
  font-size: 2.4rem;
}

.tech-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0, 188, 212, 0.08);
  animation: float 20s ease-in-out infinite;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

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

.contact-detail-item .detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(21,101,192,0.08) 0%, rgba(0,188,212,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-item .detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-detail-item .detail-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail-item .detail-text p {
  font-size: 0.9rem;
}

.contact-detail-item .detail-text a {
  color: var(--primary);
}

.contact-detail-item .detail-text a:hover {
  color: var(--cyan);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.social-link:hover svg {
  color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.contact-form-wrapper h3 {
  margin-bottom: 24px;
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--gray-50);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-col ul li a:hover {
  color: var(--cyan-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--cyan-light);
}

/* === PROCESS SECTION === */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.2;
}

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

.process-step .step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.3);
}

.process-step h4 {
  margin-bottom: 8px;
}

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

/* === TEAM SECTION === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-card .team-avatar {
  width: 100%;
  height: 240px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--white);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.team-card .team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11,29,58,0.2));
}

.team-card .team-info {
  padding: 24px;
  text-align: center;
}

.team-card .team-info h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-card .team-info p {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 500;
}

/* === FAQ SECTION === */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition);
  background: var(--white);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--gradient-primary);
  transform: rotate(45deg);
}

.faq-item.active .faq-question .faq-icon svg {
  color: var(--white);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* === CAREERS === */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.job-card .job-info h4 {
  margin-bottom: 8px;
}

.job-card .job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.job-card .job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.job-card .job-meta span svg {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

/* === PRICING SECTION (SERVICES PAGE) === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card .pricing-features {
  margin: 24px 0;
  text-align: left;
}

.pricing-card .pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card .pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  min-width: 18px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(21, 101, 192, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.5);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--white);
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    min-height: 300px;
    margin-top: 30px;
  }
  
  .ai-core {
    width: 250px;
    height: 250px;
  }

  .core-ring-3 { width: 250px; height: 250px; }
  .core-ring-2 { width: 190px; height: 190px; }
  .core-ring-1 { width: 130px; height: 130px; }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

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

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }


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

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  
  .hero-content { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-stat { text-align: center; }

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

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 16px; }
  .hero-stat h3 { font-size: 1.6rem; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { bottom: 20px; left: 20px; }
  .scroll-top { bottom: 20px; right: 20px; }
}

/* === LOADING ANIMATION === */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
