/* =====================================================
   CodeinBrain - Modern IT Company Website
   Dark + Blue Theme with Smooth Animations
   ===================================================== */

:root {
  --primary-color: #00d4ff;
  --secondary-color: #0066ff;
  --accent-color: #ff006e;
  --dark-bg: #0a0e27;
  --darker-bg: #050812;
  --light-text: #e0e0e0;
  --text-gray: #a0a0a0;
  --card-bg: #1a1f3a;
  --border-color: #2a3f5f;
  --success-color: #00d084;
  --warning-color: #ffa500;
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff006e 0%, #00d4ff 100%);
  
  /* Fluid Typography */
  --font-size-base: clamp(0.9rem, 2vw, 1rem);
  --font-size-h1: clamp(2rem, 5vw, 3.5rem);
  --font-size-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --font-size-h3: clamp(1.2rem, 2.5vw, 1.8rem);
  
  /* Responsive Spacing */
  --section-padding: clamp(40px, 8vw, 80px);
  --card-padding: clamp(20px, 3vw, 35px);
  --gap-size: clamp(15px, 2vw, 30px);
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 212, 255, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 212, 255, 0.2);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== GENERAL STYLES ==================== */

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

button {
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
  width: 100%;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: var(--font-size-h2);
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 60px);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ==================== HEADER & NAVIGATION ==================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  padding: clamp(12px, 2.5vw, 18px) 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header.scrolled {
  padding: clamp(10px, 1.8vw, 14px) 0;
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2), 0 0 60px rgba(0, 102, 255, 0.08);
  background: rgba(10, 14, 39, 0.98);
  border-bottom-color: rgba(0, 212, 255, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.logo {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(18px, 3vw, 35px);
  align-items: center;
  flex: 1;
  margin: 0 20px;
  justify-content: center;
}

.nav-links a {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 600;
  color: var(--light-text);
  position: relative;
  padding: 8px 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--dark-bg);
  padding: clamp(10px, 1.8vw, 13px) clamp(22px, 3.5vw, 32px);
  border-radius: 10px;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.6), 0 0 25px rgba(0, 212, 255, 0.4);
}

/* ==================== NAV SOCIAL ICONS ==================== */

.nav-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 10px;
}

.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--primary-color);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  background: rgba(0, 212, 255, 0.08);
}

.nav-social-link:hover {
  color: var(--dark-bg);
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.5);
}

.nav-social-link i {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(12px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

/* ==================== HERO SECTION ==================== */

.hero {
  background: linear-gradient(135deg, rgba(10, 14, 39, 1) 0%, rgba(5, 8, 18, 1) 100%);
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: clamp(60px, 10vw, 80px);
  padding: clamp(40px, 8vw, 80px) 0;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  animation: float 25s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 clamp(15px, 3vw, 20px);
  animation: slideInUp 1s ease-out;
}

.hero h1 {
  font-size: var(--font-size-h1);
  margin-bottom: clamp(15px, 3vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-gray);
  margin-bottom: clamp(25px, 4vw, 40px);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(25px, 4vw, 40px);
}

.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: clamp(12px, 2vw, 15px) clamp(30px, 5vw, 40px);
  border-radius: 10px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: clamp(10px, 2vw, 13px) clamp(28px, 5vw, 38px);
  border-radius: 10px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 300%;
  height: 300%;
}

.btn-secondary:hover {
  color: var(--dark-bg);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.floating-icons {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 15px);
  margin-top: clamp(25px, 4vw, 40px);
  flex-wrap: wrap;
}

.floating-icon {
  width: clamp(45px, 7vw, 55px);
  height: clamp(45px, 7vw, 55px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.floating-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.floating-icon:hover {
  background: var(--primary-color);
  transform: scale(1.15) translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.consultation-hero {
  min-height: 60vh;
  margin-top: 60px;
}

.consultation-main {
  position: relative;
}

.consultation-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.consultation-expect h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: clamp(20px, 3vw, 30px);
  color: var(--light-text);
}

.expect-step {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.expect-step h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  background: var(--primary-color);
  color: var(--dark-bg);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.expect-step p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-left: 40px;
  margin: 0 0 0 40px;
}

.consultation-summary {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
  border-left: 4px solid var(--primary-color);
  padding: clamp(16px, 3vw, 20px);
  border-radius: 8px;
  margin-top: clamp(26px, 4vw, 36px);
}

.consultation-summary p {
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

.consultation-summary strong {
  color: var(--primary-color);
}

.consultation-form-wrapper h2 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin-bottom: clamp(20px, 3vw, 30px);
  color: var(--light-text);
}

.form-footnote {
  color: var(--text-gray);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 20px;
}

.benefits-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefits-section .service-card {
  text-align: center;
}

.benefits-section .service-icon {
  margin: 0 auto clamp(10px, 2vw, 16px);
}

.team-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-intro {
  text-align: center;
  color: var(--text-gray);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 600px;
  margin: 20px auto 40px;
  line-height: 1.7;
}

.team-experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.expert-avatar {
  font-size: clamp(3.2rem, 5vw, 4rem);
}

.cta-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
}

.cta-title {
  color: var(--dark-bg);
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.cta-copy {
  color: rgba(10, 14, 39, 0.8);
  margin-bottom: 30px;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.btn-inverted {
  background: var(--dark-bg);
  color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-inverted:hover {
  background: var(--card-bg);
  transform: translateY(-3px) scale(1.02);
}

/* ==================== SERVICES SECTION ==================== */

.services-section {
  position: relative;
  overflow: hidden;
}

.services-hero {
  min-height: 60vh;
  margin-top: 60px;
}

.services-detailed {
  position: relative;
}

.services-detail-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

.service-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-feature__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature__visual {
  border-radius: 16px;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-feature__visual h3 {
  color: white;
  margin: 0;
}

.service-feature__content h2 {
  margin: 0;
}

.service-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
}

.service-copy {
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

.service-feature h4 {
  margin: 6px 0 4px;
  color: var(--light-text);
}

.service-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--text-gray);
  line-height: 1.7;
}

.service-bullets li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  position: absolute;
  left: 0;
  top: 8px;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.service-icon-xl {
  font-size: clamp(3rem, 6vw, 4.5rem);
}

.service-feature.is-reversed .service-feature__content {
  order: 2;
}

.service-feature.is-reversed .service-feature__visual {
  order: 1;
}

.gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-pink {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-sunset {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.gradient-mint {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.gradient-orange {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.pricing {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-intro {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 20px auto 40px;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 30px);
  margin-top: 30px;
}

.pricing-card {
  background: var(--dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-card h3 {
  color: var(--primary-color);
  margin: 0;
}

.pricing-value {
  font-size: 2.4rem;
  color: var(--primary-color);
  font-weight: 800;
}

.pricing-caption {
  color: var(--text-gray);
  margin: 0 0 6px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text-gray);
  line-height: 1.7;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.08), transparent 35%), radial-gradient(circle at 80% 10%, rgba(0, 102, 255, 0.08), transparent 32%);
  pointer-events: none;
  z-index: 0;
}

.services-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
}

.services-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.services-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.service-sla {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-gray);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.95rem;
}

.services-subtitle {
  color: var(--text-gray);
  max-width: 780px;
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.service-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 102, 255, 0.08);
  color: var(--light-text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.services-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.65fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.services-intro-card {
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.08), rgba(0, 212, 255, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: clamp(22px, 4vw, 28px);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.services-intro-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.services-intro-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
}

.services-intro-copy {
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--light-text);
  font-weight: 600;
  line-height: 1.6;
}

.service-checklist li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
  margin-top: 6px;
}

.services-intro-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: auto;
}

.services-intro-footer p {
  margin: 0;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.services-layout .services-grid {
  margin-top: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap-size);
  margin-top: clamp(25px, 4vw, 40px);
  align-items: stretch;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: var(--card-padding);
  border-radius: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.3s ease;
  z-index: -1;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.25), 0 0 30px rgba(0, 212, 255, 0.1);
  background: rgba(26, 31, 58, 0.9);
}

.service-icon {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: var(--font-size-h3);
  margin-bottom: 8px;
  color: var(--light-text);
  font-weight: 700;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {

  .service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 102, 255, 0.1));
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: clamp(8px, 2vw, 12px);
  }

  .service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 102, 255, 0.2));
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
  }

  .service-link {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
  }

  .service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .service-link:hover {
    color: var(--accent-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(4px);
  }

  .service-link:hover::after {
    width: 100%;
  }
  color: var(--text-gray);
  line-height: 1.8;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  margin: 0;
}

/* ==================== TRUST SECTION ==================== */

.trust-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(25px, 4vw, 40px);
  text-align: center;
  margin-top: clamp(25px, 4vw, 40px);
}

.stat {
  animation: slideInUp 0.8s ease-out;
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: clamp(8px, 1.5vw, 10px);
  line-height: 1.2;
}

.stat-label {
  color: var(--text-gray);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

/* ==================== PORTFOLIO SECTION ==================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--gap-size);
  margin-top: clamp(25px, 4vw, 40px);
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.portfolio-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.25), 0 0 30px rgba(0, 102, 255, 0.1);
}

.portfolio-image {
  width: 100%;
  height: 300px;              /* Increased height for better screenshot visibility */
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220 0%, #1a1f3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* Fills container while maintaining aspect ratio */
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);     /* Subtle zoom on hover */
}

.portfolio-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
}

.portfolio-item:hover .portfolio-image::before {
  opacity: 1;
}

.portfolio-info {
  padding: var(--card-padding);
}

.portfolio-title {
  font-size: var(--font-size-h3);
  margin-bottom: clamp(8px, 1.5vw, 10px);
  color: var(--light-text);
  font-weight: 700;
}

.portfolio-category {
  color: var(--primary-color);
  font-size: clamp(0.75rem, 1.3vw, 0.85rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: clamp(12px, 2vw, 15px);
}

.portfolio-description {
  color: var(--text-gray);
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  margin-bottom: clamp(12px, 2vw, 15px);
  line-height: 1.6;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-link:hover {
  gap: 12px;
  color: var(--accent-color);
  transform: translateX(3px);
}

/* ==================== TEAM SECTION ==================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(30px, 4vw, 45px);
  margin-top: clamp(30px, 4vw, 60px);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.team-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 30px 60px rgba(0, 212, 255, 0.3), 0 0 30px rgba(0, 102, 255, 0.15);
}

.team-image-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 30px auto 15px;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220 0%, #1a1f3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.08);
}

.team-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.9), rgba(0, 212, 255, 0.9));
  backdrop-filter: blur(10px);
  color: var(--dark-bg);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  font-weight: 700;
  border: 2px solid var(--primary-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}


.team-info {
  padding: clamp(25px, 3.5vw, 35px);
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2.5vw, 20px);
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--light-text);
  margin: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.team-card:hover .team-name {
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
}

.team-role {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.team-bio {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.3px;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.skill-tag {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 102, 255, 0.15));
  border: 1.5px solid rgba(0, 212, 255, 0.4);
  color: var(--primary-color);
  padding: 7px 14px;
  border-radius: 25px;
  font-size: clamp(0.8rem, 1.4vw, 0.85rem);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.skill-tag:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 102, 255, 0.25));
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.team-social {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
  justify-content: center;
}

.team-social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.12);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-social-link:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  border-color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.5);
}

/* ==================== TESTIMONIALS SECTION ==================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--gap-size);
  margin-top: clamp(25px, 4vw, 40px);
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: var(--card-padding);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--primary-color);
  opacity: 0.2;
}

.stars {
  color: #ffc107;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: clamp(12px, 2vw, 15px);
}

.testimonial-text {
  color: var(--light-text);
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.8;
  margin-bottom: clamp(15px, 2.5vw, 20px);
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 15px);
  padding-top: clamp(15px, 2.5vw, 20px);
  border-top: 1px solid var(--border-color);
}

.client-avatar {
  width: clamp(45px, 7vw, 50px);
  height: clamp(45px, 7vw, 50px);
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--dark-bg);
  font-size: clamp(1rem, 2vw, 1.2rem);
  flex-shrink: 0;
}

.client-details h4 {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  margin-bottom: 3px;
  color: var(--light-text);
}

.client-details p {
  font-size: clamp(0.8rem, 1.4vw, 0.85rem);
  color: var(--text-gray);
}

/* ==================== FAQ SECTION ==================== */

.faq-container {
  max-width: 800px;
  margin: clamp(25px, 4vw, 40px) auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: clamp(12px, 2vw, 15px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.15);
  transform: translateX(5px);
}

.faq-question {
  padding: clamp(15px, 2.5vw, 20px);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--light-text);
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
  background: rgba(0, 212, 255, 0.05);
}

.faq-toggle {
  width: clamp(25px, 4vw, 30px);
  height: clamp(25px, 4vw, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-gray);
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 clamp(15px, 2.5vw, 20px) clamp(15px, 2.5vw, 20px) clamp(15px, 2.5vw, 20px);
}

/* ==================== CONTACT SECTION ==================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: clamp(30px, 5vw, 50px);
  align-items: start;
  margin-top: clamp(25px, 4vw, 40px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}

.contact-item {
  display: flex;
  gap: clamp(15px, 2.5vw, 20px);
  align-items: flex-start;
}

.contact-icon {
  width: clamp(45px, 7vw, 50px);
  height: clamp(45px, 7vw, 50px);
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  color: var(--dark-bg);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.contact-text h4 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 5px;
  color: var(--light-text);
  font-weight: 700;
}

.contact-text p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.contact-text a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--accent-color);
}

/* ==================== FORMS ==================== */

.form-group {
  margin-bottom: clamp(15px, 2.5vw, 20px);
}

.form-group label {
  display: block;
  margin-bottom: clamp(6px, 1.2vw, 8px);
  font-weight: 600;
  color: var(--light-text);
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: clamp(10px, 1.8vw, 12px) clamp(12px, 2vw, 15px);
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--light-text);
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 5px 15px rgba(0, 212, 255, 0.2);
  background: rgba(26, 31, 58, 0.9);
  transform: translateY(-2px);
}
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--light-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: clamp(100px, 15vw, 120px);
}

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

.form-submit {
  background: var(--gradient-primary);
  color: white;
  padding: clamp(12px, 2vw, 15px) clamp(30px, 5vw, 40px);
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5), 0 0 25px rgba(0, 212, 255, 0.3);
}

/* ==================== FOOTER ==================== */

footer {
  background: var(--darker-bg);
  border-top: 1px solid var(--border-color);
  padding: clamp(35px, 6vw, 50px) 0 clamp(15px, 2.5vw, 20px);
  margin-top: var(--section-padding);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(25px, 4vw, 40px);
  margin-bottom: clamp(25px, 4vw, 40px);
}

.footer-section {
  min-width: 0;
}

.footer-section h3 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: clamp(15px, 2.5vw, 20px);
  color: var(--primary-color);
  font-weight: 700;
}

.footer-section p {
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  word-break: break-word;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: clamp(10px, 1.8vw, 12px);
}

.footer-section ul li a {
  color: var(--text-gray);
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  transition: all 0.3s ease;
  display: inline-block;
  word-break: break-word;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: clamp(12px, 2vw, 15px);
  flex-wrap: wrap;
}

.social-link {
  width: clamp(42px, 6vw, 45px);
  height: clamp(42px, 6vw, 45px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--dark-bg);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  word-break: break-word;
}

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

.footer-bottom {
  text-align: center;
  padding-top: clamp(15px, 2.5vw, 20px);
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
}

.footer-bottom p {
  margin-bottom: 5px;
}

/* ==================== FLOATING ELEMENTS ==================== */

.whatsapp-btn {
  position: fixed;
  bottom: clamp(20px, 3vw, 30px);
  right: clamp(20px, 3vw, 30px);
  width: clamp(55px, 8vw, 60px);
  height: clamp(55px, 8vw, 60px);
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  color: white;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  text-decoration: none;
  animation: pulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  animation: none;
}

.call-btn {
  position: fixed;
  bottom: clamp(90px, 12vw, 100px);
  right: clamp(20px, 3vw, 30px);
  width: clamp(55px, 8vw, 60px);
  height: clamp(55px, 8vw, 60px);
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  color: white;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  text-decoration: none;
}

.call-btn:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.6);
}

.lead-popup {
  position: fixed;
  bottom: clamp(20px, 3vw, 30px);
  left: clamp(20px, 3vw, 30px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: clamp(15px, 2.5vw, 20px);
  max-width: min(90vw, 300px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.1);
  z-index: 999;
  animation: slideUp 0.5s ease-out;
  backdrop-filter: blur(10px);
}

.lead-popup.hidden {
  display: none;
}

.lead-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
}

.lead-popup h4 {
  color: var(--primary-color);
  margin-bottom: clamp(8px, 1.5vw, 10px);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  font-weight: 700;
}

.lead-popup p {
  color: var(--text-gray);
  font-size: clamp(0.8rem, 1.4vw, 0.85rem);
  margin-bottom: clamp(12px, 2vw, 15px);
  line-height: 1.6;
}

/* ==================== ANIMATIONS ==================== */

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ==================== DESKTOP OPTIMIZATIONS ==================== */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
  header {
    padding: 16px 0;
  }
  
  header.scrolled {
    padding: 14px 0;
  }
  
  nav {
    gap: 40px;
  }
  
  .nav-links {
    gap: 35px;
    margin: 0 30px;
  }
  
  .nav-links a {
    font-size: 1rem;
  }
  
  .cta-btn {
    padding: 13px 32px;
    font-size: 1rem;
  }
  
  .nav-social {
    gap: 16px;
    margin-left: 20px;
  }
  
  .nav-social-link {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet & Large Mobile (1024px and below) */
@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  }

  .service-feature {
    padding: clamp(16px, 3vw, 22px);
  }

  .service-feature__visual {
    min-height: 220px;
  }

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

  .consultation-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }

  .services-actions {
    justify-content: flex-start;
  }
  
  .portfolio-image {
    height: 280px;
  }
  
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  .nav-social {
    order: 2;
    margin-right: 10px;
    gap: 8px;
  }

  .nav-social-link {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 8, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    max-height: 500px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links a {
    padding: clamp(15px, 2.5vw, 18px) clamp(20px, 3vw, 25px);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
  }
  
  .nav-links a:hover {
    background: rgba(0, 212, 255, 0.1);
    padding-left: clamp(25px, 4vw, 30px);
  }

  .cta-btn {
    width: calc(100% - 40px);
    margin: 10px 20px;
    justify-content: center;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 25px);

    .service-icon-wrapper {
      width: 60px;
      height: 60px;
    }

    .service-link {
      font-size: 0.9rem;
    }
  }

  .services-grid {
    margin-top: clamp(18px, 4vw, 28px);
  }

  .service-feature {
    padding: clamp(16px, 4vw, 20px);
  }

  .service-feature.is-reversed .service-feature__content,
  .service-feature.is-reversed .service-feature__visual {
    order: unset;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-feature__visual {
    min-height: 200px;
  }

  .services-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-intro-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-intro-card {
    padding: clamp(18px, 4vw, 24px);
  }

  .expect-step p {
    margin-left: 0;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-section {
    padding: 0;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .footer-section p {
    font-size: 0.875rem;
  }
  
  .footer-section ul li a {
    font-size: 0.875rem;
  }
  
  .social-links {
    gap: 10px;
    margin-top: 15px;
  }
  
  .social-link {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .contact-item {
    margin-bottom: 12px !important;
    font-size: 0.875rem;
  }
  
  .contact-item span {
    font-size: 1.2rem;
    margin-right: 8px;
    flex-shrink: 0;
  }
  
  .contact-item a {
    font-size: 0.875rem;
    word-break: break-word;
  }
  
  .footer-bottom {
    padding: 15px 0;
    font-size: 0.8rem;
  }
  
  .footer-bottom p {
    margin-bottom: 8px;
    word-break: break-word;
  }
  
  /* Improve touch targets for mobile */
  .social-link,
  .footer-section ul li a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
  }
  }
  
  .faq-question {
    min-height: 60px;
  }
  
  .whatsapp-btn,
  .call-btn {
    width: 55px;
    height: 55px;
  }

  .call-btn {
    bottom: 90px;
  }

  .lead-popup {
    bottom: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
  }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .portfolio-image {
    height: 260px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  nav {
    gap: 10px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-social {
    margin-right: 5px;
    gap: 6px;
  }

  .nav-social-link {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    border-width: 1px;
  }

  .cta-btn {
    display: none;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .trust-stats {
    grid-template-columns: 1fr;
  }
  
  .floating-icon {
    width: clamp(40px, 9vw, 50px);
    height: clamp(40px, 9vw, 50px);
    font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  }
  
  .whatsapp-btn,
  .call-btn {
    width: 50px;
    height: 50px;
    right: 15px;
  }
  
  .whatsapp-btn {
    bottom: 15px;
  }

  .call-btn {
    bottom: 80px;
  }

  .lead-popup {
    bottom: 10px;
    left: 10px;
  }
  
  /* Extra small footer improvements for phones */
  footer {
    padding: 30px 0 15px;
    margin-top: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }
  
  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .footer-section p {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  
  .footer-section ul li {
    margin-bottom: 8px;
  }
  
  .footer-section ul li a {
    font-size: 0.8rem;
  }
  
  .social-links {
    gap: 8px;
  }
  
  .social-link {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .contact-item {
    font-size: 0.8rem;
    margin-bottom: 10px !important;
  }
  
  .contact-item span {
    font-size: 1rem;
  }
  
  .contact-item a {
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    padding-top: 12px;
    font-size: 0.75rem;
  }
  
  .footer-bottom p {
    margin-bottom: 6px;
  }
    right: 10px;
    max-width: none;
  }
  
  /* Optimize portfolio images for mobile screens */
  .portfolio-image {
    height: clamp(220px, 50vw, 280px);
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .hero::before,
  .hero::after {
    opacity: 0.5;
  }
  
  .floating-icons {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }

  .nav-social-link {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .logo {
    font-size: 1rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    min-height: 44px;
  }
}

/* ==================== RESPONSIVE IMPROVEMENTS ==================== */

/* Touch-friendly button and link sizes */
@media (hover: none) and (pointer: coarse) {
  .btn-primary,
  .btn-secondary,
  .form-submit,
  .social-link,
  .service-card,
  .portfolio-item,
  .testimonial-card,
  a {
    min-height: 44px;
    min-width: 44px;
  }
  
  .floating-icon,
  .whatsapp-btn,
  .call-btn {
    min-width: 56px;
    min-height: 56px;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    min-height: 48px;
  }
}

/* Tablet landscape */
@media (max-width: 1024px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
    padding: 20px 0;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Small phones - vertical */
@media (max-width: 480px) and (orientation: portrait) {
  .hero {
    margin-top: 50px;
    padding: 30px 0;
  }
  
  .nav-links {
    gap: 5px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .service-card,
  .portfolio-item,
  .testimonial-card {
    padding: clamp(15px, 3vw, 20px);
  }

  .service-sla {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .service-pill-row {
    gap: 8px;
  }
}

/* Improved spacing for different viewport widths */
@media (min-width: 320px) and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* Medium devices */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  
  .section {
    padding: 50px 0;
  }
}

/* Large devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 60px 0;
  }
}

/* Desktop - optimized */
@media (min-width: 1025px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .nav-links {
    gap: 25px;
  }
}

/* ==================== WHO WE ARE SECTION ==================== */

.who-we-are-section {
  padding: var(--section-padding) 0;
}

.who-we-are-container {
  display: block;
  margin-bottom: 80px;
}

.who-we-are-content h2 {
  font-size: var(--font-size-h2);
  color: var(--light-text);
  margin-bottom: 25px;
  font-weight: 600;
}

.who-we-are-content p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: var(--font-size-base);
}

.who-we-are-content .btn-primary {
  margin-top: 30px;
  display: inline-block;
  width: auto;
  min-width: 200px;
}

.who-we-are-image {
  display: none;
}

.who-we-are-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  opacity: 0.9;
  z-index: 0;
}

.who-we-are-image-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--primary-color);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
}

/* Responsive adjustments for Who We Are */
@media (max-width: 1024px) {
  .who-we-are-container {
    grid-template-columns: 1fr;
    gap: var(--gap-size);
    margin-bottom: 60px;
  }
  
  .who-we-are-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .who-we-are-content h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 20px;
  }
  
  .who-we-are-content p {
    margin-bottom: 15px;
  }
  
  .who-we-are-image {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .who-we-are-section {
    padding: 40px 0;
  }
  
  .who-we-are-container {
    margin-bottom: 40px;
  }
  
  .who-we-are-image {
    min-height: 200px;
  }
}

/* ==================== UTILITY CLASSES ==================== */

.hidden {
  display: none;
}

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

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

.gradient-border {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--card-bg), var(--card-bg)),
    var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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