/* ============================================
   NewTechIT — Main Stylesheet
   ============================================ */

:root {
  --red: #E30613;
  --red-dark: #b8040f;
  --red-light: rgba(227, 6, 19, 0.12);
  --white: #ffffff;
  --bg-dark: #07090e;
  --bg-dark-2: #0d1117;
  --bg-dark-3: #111824;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-bg-hover: rgba(255, 255, 255, 0.07);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red: 0 4px 30px rgba(227, 6, 19, 0.25);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid rgba(227, 6, 19, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section-header.light .section-title,
.section-header.light .section-desc { color: inherit; }
.section-header.light .section-desc { color: var(--text-secondary); }

.accent { color: var(--red); }

.gradient-text {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b6b 50%, #ff4757 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(227, 6, 19, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--card-bg-hover);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-new { color: var(--text-muted); }
.logo-tech { color: var(--red); }
.logo-it { color: var(--white); }

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  font-weight: 500;
}

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

.btn-nav {
  background: var(--red) !important;
  color: white !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem !important;
}

.btn-nav:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(227, 6, 19, 0.15);
  top: -100px;
  right: -100px;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(227, 6, 19, 0.08);
  bottom: 0;
  left: -50px;
  animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 60px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

/* === CLOUD ANIMATION === */
.hero-animation {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  animation: fadeInUp 1s ease 0.4s both;
}

.cloud-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.connect-line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 2;
  stroke-dasharray: 8 4;
  animation: dashFlow 3s linear infinite;
}

.connect-line.line-1 { animation-delay: 0s; }
.connect-line.line-2 { animation-delay: 0.2s; }
.connect-line.line-3 { animation-delay: 0.4s; }
.connect-line.line-4 { animation-delay: 0.6s; }
.connect-line.line-5 { animation-delay: 0.8s; }

/* Central Cloud */
.cloud-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  color: var(--white);
  z-index: 3;
  animation: pulse 3s ease-in-out infinite;
}

.cloud-center svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 16px rgba(227, 6, 19, 0.3));
}

/* Orbiting Icons */
.orbit-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  color: var(--text-muted);
  z-index: 2;
  transition: var(--transition);
  cursor: pointer;
}

.orbit-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.orbit-icon:hover {
  color: var(--red);
  transform: scale(1.15);
}

/* Icon Positions & Orbital Animation */
.icon-server { animation: orbit1 12s linear infinite; }
.icon-globe { animation: orbit2 15s linear infinite; }
.icon-firewall { animation: orbit3 13s linear infinite; }
.icon-building { animation: orbit4 14s linear infinite; }
.icon-user { animation: orbit5 16s linear infinite; }

/* === CLOUD ANIMATION KEYFRAMES === */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); filter: drop-shadow(0 0 20px var(--red)); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}

@keyframes orbit1 {
  0%, 100% { top: 30px; left: 50%; transform: translateX(-50%); }
  25% { top: 50%; right: 30px; left: auto; transform: translateY(-50%); }
  50% { bottom: 30px; top: auto; left: 50%; right: auto; transform: translateX(-50%); }
  75% { top: 50%; bottom: auto; left: 30px; transform: translateY(-50%); }
}

@keyframes orbit2 {
  0%, 100% { top: 50%; right: 30px; transform: translateY(-50%); }
  25% { bottom: 30px; top: auto; left: 50%; right: auto; transform: translateX(-50%); }
  50% { top: 50%; bottom: auto; left: 30px; transform: translateY(-50%); }
  75% { top: 30px; left: 50%; transform: translateX(-50%); }
}

@keyframes orbit3 {
  0%, 100% { bottom: 30px; left: 50%; transform: translateX(-50%); }
  25% { top: 50%; bottom: auto; left: 30px; transform: translateY(-50%); }
  50% { top: 30px; left: 50%; transform: translateX(-50%); }
  75% { top: 50%; right: 30px; left: auto; transform: translateY(-50%); }
}

@keyframes orbit4 {
  0%, 100% { top: 50%; left: 30px; transform: translateY(-50%); }
  25% { top: 30px; left: 50%; transform: translateX(-50%); }
  50% { top: 50%; right: 30px; left: auto; transform: translateY(-50%); }
  75% { bottom: 30px; top: auto; left: 50%; right: auto; transform: translateX(-50%); }
}

@keyframes orbit5 {
  0%, 100% { top: 80px; right: 80px; }
  25% { bottom: 80px; top: auto; right: 80px; }
  50% { bottom: 80px; left: 80px; right: auto; }
  75% { top: 80px; bottom: auto; left: 80px; }
}


.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.scroll-wheel {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* ===== PARTICLES ===== */
.moving-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.7; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--card-bg-hover);
  border-color: rgba(227, 6, 19, 0.25);
  transform: translateY(-6px);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.12) 0%, rgba(227, 6, 19, 0.04) 100%);
  border-color: rgba(227, 6, 19, 0.3);
}

.service-card.featured::before { opacity: 1; }

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
  transition: var(--transition);
}

.service-card:hover .card-icon-wrap {
  background: var(--red);
  color: white;
  transform: scale(1.05);
}

.card-icon { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.card-link:hover { gap: 8px; }

/* ===== HOW IT WORKS ===== */
.dark-section {
  background: var(--bg-dark-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  border-color: rgba(227, 6, 19, 0.3);
  background: rgba(227, 6, 19, 0.05);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  font-family: var(--font-display);
  line-height: 1;
  pointer-events: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--red);
}

.step-icon svg { width: 28px; height: 28px; }

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--red);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.5;
}

/* ===== CLOUD SECTION ===== */
.cloud-section { background: var(--bg-dark-3); }

.cloud-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cloud-text .section-tag { margin-bottom: 20px; }
.cloud-text .section-title { margin-bottom: 20px; }
.cloud-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  font-size: 1.0625rem;
}

.cloud-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.cloud-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  color: var(--red);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.cloud-features li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cloud-features li strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.cloud-features li span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Cloud Diagram */
.cloud-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud-diagram {
  position: relative;
  width: 340px;
  height: 340px;
}

.cloud-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--red);
  z-index: 2;
}

.cloud-svg { width: 80px; height: 60px; }
.cloud-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
}

.cloud-nodes {
  position: absolute;
  inset: 0;
}

.cloud-node {
  position: absolute;
  width: 70px;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  transform-origin: 0 0;
  animation: orbitNode 20s linear infinite;
  --start-angle: var(--angle);
}

.cloud-node::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(227,6,19,0.4), transparent);
  top: 18px;
  left: -110px;
  transform-origin: right center;
  transform: rotate(calc(var(--angle) - 90deg));
  display: none;
}

.cloud-node {
  transform: 
    rotate(var(--angle)) 
    translateX(var(--dist)) 
    rotate(calc(-1 * var(--angle)));
}

.cloud-node svg {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 5px;
  transition: var(--transition);
}

.cloud-node:hover svg {
  background: var(--red-light);
  border-color: rgba(227,6,19,0.4);
  color: var(--red);
}

.cloud-node span {
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-muted);
}

/* Orbit ring */
.cloud-diagram::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(227, 6, 19, 0.15);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== WEB DEV SECTION ===== */
.webdev-section { background: var(--bg-dark-2); }

.webdev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.webdev-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.webdev-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: var(--transition);
}

.webdev-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(227,6,19,0.3);
  transform: translateY(-6px);
}

.webdev-card:hover::before { opacity: 1; }

.webdev-card.featured-card {
  background: linear-gradient(135deg, rgba(227,6,19,0.12) 0%, rgba(227,6,19,0.04) 100%);
  border-color: rgba(227,6,19,0.35);
}

.webdev-card.featured-card::before { opacity: 1; }

.webdev-icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
  transition: var(--transition);
}

.webdev-card:hover .webdev-icon {
  background: var(--red);
  color: white;
  transform: scale(1.05);
}

.webdev-icon svg { width: 26px; height: 26px; }

.webdev-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.webdev-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Team Section */
.team-section {
  margin-bottom: 60px;
}

.team-header {
  text-align: center;
  margin-bottom: 40px;
}

.team-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.team-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

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

.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(227,6,19,0.3);
  background: rgba(227,6,19,0.04);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: var(--red-light);
  border: 2px solid rgba(227,6,19,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.team-avatar svg { width: 40px; height: 40px; }

.team-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.team-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--red-light);
  border: 1px solid rgba(227,6,19,0.2);
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Web Dev CTA */
.webdev-cta {
  text-align: center;
  padding: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.webdev-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.webdev-cta strong { color: var(--white); }



/* ===== TRUST SECTION ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.trust-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: rgba(227,6,19,0.25);
  transform: translateY(-4px);
}

.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--red-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--red);
}

.trust-icon svg { width: 28px; height: 28px; }

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(227,6,19,0.2);
  transform: translateY(-4px);
}

.quote-icon {
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 16px;
  opacity: 0.7;
}

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

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

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #FBBC04; /* Google Star Color */
  font-size: 0.8125rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-icon svg { width: 24px; height: 24px; }

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.contact-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  transition: var(--transition);
}

.contact-link:hover { color: #ff4444; }

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9375rem;
  font-family: var(--font-main);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(227,6,19,0.05);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.1);
}

.form-group select option { background: var(--bg-dark-2); color: var(--white); }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: rgba(0,200,100,0.1);
  border: 1px solid rgba(0,200,100,0.2);
  border-radius: 10px;
  color: #00c864;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  padding: 64px 0 48px;
  align-items: start;
}

.footer-brand .logo { margin-bottom: 16px; display: block; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red-light);
  border-color: rgba(227,6,19,0.3);
  color: var(--red);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--red); }

.footer-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,165,0,0.08);
  border: 1px solid rgba(255,165,0,0.2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
}

.footer-badge span { color: var(--text-muted); }
.footer-badge strong { color: orange; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: waEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

.wa-icon {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Pulsation ring */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2.5s ease-out infinite;
  z-index: 1;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@keyframes waEntrance {
  from { opacity: 0; transform: scale(0) rotate(-30deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 12, 18, 0.92);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font-main);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(-50%) translateX(6px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(10, 12, 18, 0.92);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ===== SCROLL REVEAL ===== */
/* Cards are always visible - CSS provides entrance animation */
.trust-card,
.testimonial-card,
.company-card {
  opacity: 1;
  transform: translateY(0);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  animation: cardFadeIn 0.7s ease both;
}

/* Stagger delays for trust cards */
.trust-grid .trust-card:nth-child(1) { animation-delay: 0.05s; }
.trust-grid .trust-card:nth-child(2) { animation-delay: 0.15s; }
.trust-grid .trust-card:nth-child(3) { animation-delay: 0.25s; }
.trust-grid .trust-card:nth-child(4) { animation-delay: 0.35s; }

/* Stagger delays for testimonial cards */
.testimonials .testimonial-card:nth-child(1) { animation-delay: 0.05s; }
.testimonials .testimonial-card:nth-child(2) { animation-delay: 0.18s; }
.testimonials .testimonial-card:nth-child(3) { animation-delay: 0.31s; }

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

/* JS adds .reveal class - then cards start hidden until scrolled in (for service cards) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-content {
    align-items: center;
    text-align: center;
  }
  .hero-actions, .hero-stats {
    justify-content: center;
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-inner { grid-template-columns: 1fr; gap: 60px; }
  .cloud-visual { display: none; }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .step-connector { display: none; }
  .webdev-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .webdev-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 9, 14, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem !important; }
  .hamburger { display: flex; z-index: 1001; position: relative; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 24px; }
  .footer-links { grid-template-columns: 1fr; }
}
