/* CloudSentix Website CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Sora:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Updated corporate palette: dark blue, greys, white */
  --primary-color: #002b6f; /* deep navy */
  --secondary-color: #0f1724; /* near-black slate */
  --accent-color: #2563eb; /* bright blue accent */
  --vibrant-purple: #7c3aed;
  --vibrant-pink: #ec4899;
  --vibrant-cyan: #06b6d4;
  --vibrant-orange: #f97316;
  --danger-color: #ef4444;
  --light-bg: #f3f4f6;
  --border-color: #e5e7eb;
  --text-color: #0b1220;
  --text-light: #6b7280;
  --white: #ffffff;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 82, 204, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 82, 204, 0.6);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.8);
  }
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx, 100px), var(--ty, -100px)) scale(0);
    opacity: 0;
  }
}

@keyframes blob-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes orb-pulse {
  0%, 100% {
    transform: scale(1);
    filter: blur(40px);
  }
  50% {
    transform: scale(1.2);
    filter: blur(60px);
  }
}

@keyframes data-flow {
  0% {
    transform: translateY(0px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes grid-flow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(100px);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Sora', 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(120deg, #f8fafc 0%, #eef2ff 25%, #f8fafc 50%, #eef6ff 75%, #f8fafc 100%);
  background-size: 400% 400%;
  animation: gradient-shift 18s ease-in-out infinite;
  font-weight: 400;
}

h2, h3, h4, h5, h6 {
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0b1320 100%);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hamburger button (animated) */
.nav-toggle {
  width: 48px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255,255,255,0.06);
}
.nav-toggle .burger {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
  position: relative;
  transition: transform 0.25s ease;
}
.nav-toggle .burger::before,
.nav-toggle .burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle .burger::before { top: -8px; }
.nav-toggle .burger::after { top: 8px; }
.nav-open .nav-toggle .burger { transform: rotate(45deg); }
.nav-open .nav-toggle .burger::before { top: 0; transform: rotate(90deg); }
.nav-open .nav-toggle .burger::after { top: 0; opacity: 0; }
/* Hero Section */
.hero {
  background: linear-gradient(120deg, var(--primary-color) 0%, #0b3a9b 30%, var(--secondary-color) 70%);
  background-size: 400% 400%;
  animation: gradient-shift 18s ease infinite;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated Background Elements */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
/* Mobile behavior */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 16px;
    background: linear-gradient(180deg, rgba(11,19,32,0.98), rgba(2,6,23,0.96));
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.4);
  }
  .nav-toggle { display: inline-flex; }
}

  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(2, 6, 23, 0.12) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: 
    linear-gradient(90deg, transparent, rgba(255,255,255,.1) 50%, transparent),
/* Icon helper */
.icon-sm {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}
    linear-gradient(0deg, rgba(0,0,0,.1) 0%, transparent 50%);
  background-size: 200% 100%, 100% 200%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

/* Particle Container */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: particle-float var(--duration, 3s) ease-out forwards;
}

.particle::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
  top: 0;
  left: -30px;
  opacity: 0.6;
}

/* Hero Content */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.premium-hero {
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

/* Cloud-like animated banner to simulate a GIF background */
.hero-clouds {
  position: absolute;
  inset: 0;
  background-repeat: repeat-x;
  background-size: 1600px 600px;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: cloud-move 30s linear infinite;
}

/* layers to create depth */
.hero-clouds::before,
.hero-clouds::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 20%), radial-gradient(ellipse at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 25%), radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 30%);
  opacity: 0.95;
}

@keyframes cloud-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-40%); }
}

.hero-gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  animation: fadeInUp 1s ease-out 0.2s both;
  color: var(--white);
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s both;
  line-height: 1.8;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 0.6rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #1e40af 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, var(--accent-color) 100%);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.28);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: white;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* CTA contact pill for high contrast on dark banners */
.cta-contact {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(2,6,23,0.12);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: none;
  color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 50%, var(--light-bg) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent);
  border-radius: 50%;
  animation: blob-rotate 20s linear infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 82, 204, 0.1), transparent);
  animation: slideInRight 0.6s ease-out;
  transition: left 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.05), rgba(16, 185, 129, 0.05));
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 82, 204, 0.2);
  border-left-color: var(--primary-color);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 82, 204, 0.15));
  animation: float 4s ease-in-out infinite;
  display: inline-block;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--text-light);
  position: relative;
  z-index: 2;
  line-height: 1.7;
}

/* Modern Products Section */
.products-showcase {
  background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.products-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.05), transparent);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.products-showcase::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05), transparent);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.product-showcase-item {
  background: white;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(0, 82, 204, 0.1);
}

.product-showcase-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
  opacity: 0;
  transition: opacity 0.6s;
}

.product-showcase-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 82, 204, 0.2);
  border-color: var(--primary-color);
}

.product-showcase-item:hover::before {
  opacity: 1;
}

.product-visual {
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.05), rgba(16, 185, 129, 0.05));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 82, 204, 0.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1), transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.product-icon-large {
  font-size: 4rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 82, 204, 0.2));
  animation: float 3s ease-in-out infinite;
}

.product-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.product-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #0052cc);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-showcase-item h3 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.product-showcase-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-dot {
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Feature Cards with Icons */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-card-item {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.4s;
  border: 2px solid transparent;
}

.feature-card-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15);
  transform: translateY(-8px);
}

.feature-card-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.feature-card-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-card-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.product-card {
  background: white;
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1);
}

.product-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-list {
  list-style: none;
  margin-top: 1rem;
}

.product-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.product-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* About Section */
.about {
  background-color: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--vibrant-purple) 50%, var(--vibrant-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight {
  display: flex;
  gap: 1rem;
}

.highlight-icon {
  font-size: 2rem;
  min-width: 50px;
}

.highlight h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.highlight p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Team Section */
.team {
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background-color: var(--light-bg);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    padding: 2rem;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 1rem;
}

/* Case Studies Section */
.case-studies {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.case-study-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid var(--primary-color);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(0, 82, 204, 0.2);
  border-left-color: var(--accent-color);
}

.case-study-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.08);
}

.case-study-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0052cc 100%);
  color: white;
  padding: 2rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.case-study-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.case-study-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.case-study-industry {
  font-size: 0.85rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.case-study-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-study-problem {
  margin-bottom: 1.5rem;
}

.case-study-problem h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.case-study-problem p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-study-solution {
  margin-bottom: 1.5rem;
}

.case-study-solution h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.tag:hover {
  background: var(--primary-color);
  color: white;
}

.case-study-results {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.results-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.result-metric {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.case-study-results h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.result-item {
  text-align: center;
  padding: 0.75rem;
  background: var(--light-bg);
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.result-item:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.05);
}

.result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

/* New Premium Sections */

/* About Section */
.about-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.about-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 82, 204, 0.15);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 82, 204, 0.9), transparent);
  padding: 2rem;
  color: white;
}

.overlay-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.about-content-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 0.75rem;
  transition: all 0.4s;
}

.about-feature:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1);
}

.feature-icon {
  font-size: 2rem;
  min-width: 40px;
}

.about-feature h4 {
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.about-feature p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.capability-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}

.capability-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 82, 204, 0.15);
}

.capability-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.capability-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--primary-color);
}

.capability-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Technology Banner */
.technology-banner {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1f3a 100%);
  color: white;
  padding: 4rem 2rem;
  margin: 3rem 0;
}

.banner-content {
  text-align: center;
  margin-bottom: 3rem;
}

.banner-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.tech-stack-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.tech-stack-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s;
  backdrop-filter: blur(10px);
}

.tech-stack-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--vibrant-purple);
}

.tech-stack-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tech-stack-item h4 {
  padding: 1.5rem;
  color: white;
  font-size: 1.1rem;
  text-align: center;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.why-choose-item {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.4s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.why-choose-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.15);
}

.why-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.why-choose-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.why-choose-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .tech-stack-slider {
    grid-template-columns: 1fr;
  }
}

.result-item:hover .result-value {
  color: white;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.result-item:hover .result-label {
  color: rgba(255, 255, 255, 0.9);
}

/* Achievement Badges */
.achievement-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #111827 100%);
  padding: 4rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.achievement-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.achievement-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s;
}

.achievement-item:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: float 4s ease-in-out infinite;
}

.achievement-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.achievement-label {
  font-size: 0.9rem;
  opacity: 0.9;
}
