/* ==========================================================================
   CAMBRIDGE CLOUD SOLUTION - CENTERED HERO LAYOUT & 1-ROW TEAM CAROUSEL
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  /* Logo-Inspired Colors (Red #E63946 & Blue #0066FF) */
  --logo-red: #e63946;
  --logo-red-hover: #d62839;
  --logo-blue: #0066ff;
  --logo-blue-hover: #0052cc;
  --accent-orange: #fd6637;

  /* Dark Theme Default */
  --bg-primary: #070a14;
  --bg-secondary: #0f1629;
  --bg-card: rgba(15, 22, 41, 0.88);
  --bg-card-hover: rgba(22, 33, 61, 0.96);
  --bg-accent: rgba(0, 102, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(230, 57, 70, 0.5);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a14;

  /* Dual Red-to-Blue Logo Gradients */
  --gradient-logo: linear-gradient(135deg, #e63946 0%, #0066ff 100%);
  --gradient-dark: linear-gradient(180deg, #070a14 0%, #0f1629 100%);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-red: 0 10px 30px -5px rgba(230, 57, 70, 0.35);
  --shadow-blue: 0 10px 30px -5px rgba(0, 102, 255, 0.35);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'Fira Code', monospace;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-accent: rgba(0, 102, 255, 0.08);
  --border-color: #e2e8f0;
  --border-hover: rgba(0, 102, 255, 0.5);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);

  --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; position: relative; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-full);
  color: var(--logo-red);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.section-title { font-size: 2.75rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-secondary); font-size: 1.125rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-logo);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px -5px rgba(230, 57, 70, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--logo-blue);
  color: var(--logo-blue);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
}

/* Top Announcement Bar */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

[data-theme="light"] .top-bar {
  background: #f1f5f9;
  border-bottom-color: #cbd5e1;
  color: #334155;
}

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

.top-info { display: flex; gap: 1.5rem; }
.top-info span { display: flex; align-items: center; gap: 0.4rem; }
.top-rating { display: flex; align-items: center; gap: 0.5rem; color: #fbbf24; font-weight: 600; }

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 20, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-logo);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
}

.logo-link img {
  height: 75px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-link:hover img { transform: scale(1.05); }

.logo-dark-mode { display: block; }
.logo-light-mode { display: none; }

[data-theme="light"] .logo-dark-mode { display: none; }
[data-theme="light"] .logo-light-mode { display: block; }

.nav-menu { display: flex; align-items: center; gap: 1.75rem; }

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  font-size: 1rem;
}

[data-theme="light"] .nav-link { color: #334155; }
.nav-link:hover, .nav-link.active { color: var(--logo-red); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-logo);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* SLEEK PULSING "WE'RE HIRING!" HEADER PILL */
.hiring-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--logo-red);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}

.hiring-header-pill:hover {
  background: var(--logo-red);
  color: #ffffff;
  border-color: var(--logo-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(39, 201, 63, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.theme-toggle-btn:hover {
  border-color: var(--logo-blue);
  color: var(--logo-blue);
  transform: rotate(15deg) scale(1.1);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 0 8rem 0;
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero-centered-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  color: var(--logo-red);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 auto 1.5rem auto;
  animation: pulse-glow-logo 3s infinite alternate;
}

@keyframes pulse-glow-logo {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.2); }
  100% { box-shadow: 0 0 20px 5px rgba(0, 102, 255, 0.3); }
}

.hero-title {
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-align: center;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 auto 2rem auto;
  max-width: 820px;
  text-align: center;
}

.hero-search-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  margin: 0 auto 2.5rem auto;
  width: 100%;
  max-width: 680px;
  transition: var(--transition);
}

.hero-search-box:focus-within {
  border-color: var(--logo-red);
  box-shadow: var(--shadow-red);
}

.hero-search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  outline: none;
}

.hero-search-box input::placeholder { color: var(--text-muted); }

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.trust-item { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.trust-item i { color: var(--logo-red); font-size: 1.25rem; }

/* HERO CAROUSEL */
.hero-carousel-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-carousel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  overflow: hidden;
  text-align: center;
}

.hero-carousel-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, rgba(0, 102, 255, 0.05) 50%, transparent 80%);
  animation: rotate-glow 15s linear infinite;
  pointer-events: none;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-slide {
  display: none;
  animation: slide-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 2;
}

.hero-slide.active { display: block; }

@keyframes slide-fade-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-accent);
  color: var(--logo-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin: 0 auto 1.25rem auto;
}

.slide-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.slide-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 auto 1.5rem auto;
  max-width: 720px;
}

.slide-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.slide-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.slide-meter-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto;
}

.meter-title { font-weight: 700; color: var(--logo-red); font-size: 1.15rem; }
.meter-lbl { font-size: 0.8rem; color: var(--text-muted); }

/* CAROUSEL CONTROLS & DOTS */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  z-index: 5;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.carousel-dots { display: flex; gap: 0.5rem; }

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-logo);
  box-shadow: var(--shadow-red);
}

.carousel-arrow {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: var(--logo-red);
  color: #fff;
  border-color: var(--logo-red);
}

.floating-badge-clean {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(15, 22, 41, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

[data-theme="light"] .floating-badge-clean {
  background: rgba(255, 255, 255, 0.96);
  border-color: #e2e8f0;
}

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

.floating-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-logo);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-badge-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.floating-badge-sub { font-size: 0.8rem; color: var(--text-muted); }

/* Stats Counter Section */
.stats-section {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat-card { text-align: center; padding: 1rem; position: relative; }
.stat-card:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: var(--border-color);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--gradient-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
}

.stat-label { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; margin-top: 0.25rem; }

/* ==========================================================================
   1-ROW HORIZONTAL TEAM SLIDER - FIXED
   ========================================================================== */
.team-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0 1.5rem 0;
}

.team-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: grab;
}

.team-slider-track:active {
  cursor: grabbing;
}

.team-card {
  flex: 0 0 270px;
  width: 270px;
  min-width: 270px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--logo-blue);
  box-shadow: var(--shadow-lg);
}

.team-avatar-wrapper {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  margin: 0 auto 1.25rem auto;
  background: var(--gradient-logo);
  padding: 3px;
  box-shadow: var(--shadow-md);
}

.team-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
}

.team-name { font-size: 1.15rem; margin-bottom: 0.25rem; }
.team-role { color: var(--logo-red); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.team-bio { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.5; }

.team-socials { display: flex; justify-content: center; gap: 1rem; color: var(--text-muted); font-size: 1.1rem; }
.team-socials a:hover { color: var(--logo-blue); }

/* TEAM SLIDER ARROW CONTROLS */
.team-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.team-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.team-filter-btn:hover, .team-filter-btn.active {
  background: var(--gradient-logo);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.team-nav-btns {
  display: flex;
  gap: 0.75rem;
}

.team-arrow {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.team-arrow:hover {
  background: var(--gradient-logo);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-red);
}

/* CAREERS & HIRING SECTION (#hiring) */
.hiring-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hiring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.hiring-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.hiring-card:hover {
  transform: translateY(-6px);
  border-color: var(--logo-red);
  box-shadow: var(--shadow-red);
}

.hiring-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.hiring-tag {
  background: var(--bg-accent);
  color: var(--logo-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.hiring-title { font-size: 1.35rem; margin-bottom: 0.5rem; }
.hiring-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-logo);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-blue);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-logo);
  color: #ffffff;
}

.service-title { font-size: 1.5rem; margin-bottom: 1rem; }
.service-desc { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.95rem; }

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-logo);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.portfolio-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img img { transform: scale(1.08); }
.portfolio-body { padding: 2rem; }
.portfolio-cat { color: var(--logo-red); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.portfolio-title { font-size: 1.35rem; margin: 0.5rem 0 1rem 0; }

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--logo-red);
}

.process-number {
  width: 52px;
  height: 52px;
  background: var(--gradient-logo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-red);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.stars { color: #fbbf24; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-secondary); margin-bottom: 1.5rem; }

.client-info { display: flex; align-items: center; gap: 1rem; }
.client-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
}

.faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-secondary);
  display: none;
}

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

.faq-item.active .faq-answer { display: block; }
.faq-item.active i { transform: rotate(180deg); color: var(--logo-red); }

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--logo-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

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

/* Sticky Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}

@keyframes pulse-wa {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.whatsapp-float:hover { transform: scale(1.15) rotate(10deg); }

/* LIVE ENGAGEMENT TOAST NOTIFICATION */
.engagement-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-hover);
  border-left: 4px solid var(--logo-blue);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.engagement-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.toast-text { font-size: 0.875rem; }

/* HIGH CONTRAST ALWAYS VISIBLE WHITE FOOTER */
.footer {
  background: #04060c !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5rem 0 2rem 0;
  color: #e2e8f0 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 80px !important;
  width: auto !important;
  margin-bottom: 1.5rem;
  filter: brightness(1.2) contrast(1.1);
  display: block !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .team-card { flex: 0 0 calc(33.33% - 1rem); }
  .contact-grid, .roi-card, .comparison-container, .offerings-grid, .hiring-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 2.75rem; }
  .logo-link img { height: 60px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .nav-menu {
    position: fixed;
    top: 95px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 95px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 3rem;
    transition: var(--transition);
  }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  .team-card { flex: 0 0 calc(50% - 0.75rem); }
  .team-controls-bar { flex-direction: column; align-items: center; }
}

@media (max-width: 576px) {
  .team-card { flex: 0 0 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card::after { display: none !important; }
  .hero-title { font-size: 2.25rem; }
  .logo-link img { height: 50px; }
  .hiring-header-pill { display: none; }
  .engagement-toast { display: none; }
  .floating-badge-clean { display: none; }
}
