/* ========================================
   FOREVERMO GROUP - Light Theme
   Inspired by koul.io, galadrim.fr, noiise.com
   ======================================== */

/* Google Fonts - Loaded via HTML for better performance */
/* Fonts: Montserrat & Poppins */

/* CSS Variables - Light Theme */
:root {
  /* Primary Colors */
  --primary: #1d63ef;
  --primary-dark: #0e3278;
  --primary-light: #4d8aff;

  /* Accent Colors */
  --accent-yellow: #fec302;
  --accent-green: #02bf75;
  --accent-pink: #c90c5a;
  --accent-red: #ff2362;

  /* Neutrals - LIGHT THEME */
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-cream: #f8f8f7;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --dark: #0f172a;

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1d63ef 0%, #4d8aff 100%);
  --gradient-accent: linear-gradient(135deg, #fec302 0%, #ffdb4d 100%);
  --gradient-pink: linear-gradient(135deg, #fe1178 0%, #ff5a9d 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 10px 40px -10px rgba(29, 99, 239, 0.3);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Scrollbar - Light */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* Selection */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

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

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

/* ========================================
   Navigation - Galadrim Style
   ======================================== */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 50000;
  background: var(--white);
  transition: all 0.2s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img,
.nav-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
  border-radius: 12px;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  height: 100%;
}

.nav-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--primary-dark);
  padding: 0 1rem;
  font-size: 0.95rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Dropdown Arrow */
.nav-link .nav-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.nav-menu > li:hover .nav-link .nav-arrow {
  transform: rotate(180deg);
}

/* ========================================
   Dropdown Menu Panel - Galadrim Style
   ======================================== */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  display: none;
  min-width: 600px;
  z-index: 50001;
}

.nav-menu > li:hover .nav-dropdown {
  display: flex;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
  width: 100%;
}

.nav-dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-left: 3px solid var(--primary);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-dropdown-item:hover {
  background: rgba(29, 99, 239, 0.08);
  color: var(--primary);
}

.nav-dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-dropdown-item span {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-item .item-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-dropdown-item .item-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Simple dropdown items */
.nav-dropdown-simple {
  min-width: 280px;
}

.nav-dropdown-simple .nav-dropdown-item {
  padding: 0.75rem 1rem;
}

/* CTA Button */
.nav-cta {
  padding: 0.75rem 1.25rem;
  background: var(--accent-pink);
  border-radius: 4px;
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
  margin-left: 1rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-red);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(254, 17, 120, 0.3);
}

/* Recruitment Link - Special Style */
.nav-recruit {
  color: var(--accent-pink) !important;
  font-weight: 600 !important;
  border-bottom-color: transparent !important;
}

.nav-recruit:hover {
  color: var(--accent-red) !important;
  border-bottom-color: var(--accent-pink) !important;
}

.nav-recruit svg {
  stroke: var(--accent-pink);
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 50001;
  position: relative;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 49999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
}

/* ========================================
   Buttons - Clean Style
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px rgba(29, 99, 239, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--text-primary);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -10px rgba(254, 195, 2, 0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* ========================================
   Hero Section - Light & Airy
   ======================================== */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-light) 100%);
  overflow: hidden;
}

/* Decorative Elements */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

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

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-yellow);
  top: -100px;
  right: -100px;
  filter: blur(80px);
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--primary-light);
  bottom: -50px;
  left: -50px;
  filter: blur(80px);
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-pink);
  top: 50%;
  right: 20%;
  filter: blur(60px);
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--accent-yellow);
  opacity: 0.3;
  z-index: -1;
}

.hero-text {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Floating Cards */
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-float-card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.hero-float-card-2 {
  bottom: 30px;
  left: -40px;
  animation-delay: -3s;
}

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

.float-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.float-stat-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.float-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.float-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ========================================
   Hero Tech Visual - Animated CSS
   ======================================== */
.hero-tech-visual {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gradient Orbs */
.tech-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 99, 239, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 4s ease-in-out infinite;
}

.tech-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(254, 17, 120, 0.1) 0%, transparent 70%);
  animation-delay: -2s;
}

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

/* Laptop Device */
.device-laptop {
  position: relative;
  z-index: 10;
  animation: floatLaptop 6s ease-in-out infinite;
}

@keyframes floatLaptop {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

.laptop-screen {
  width: 280px;
  height: 180px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px 12px 0 0;
  border: 3px solid #334155;
  padding: 8px;
  box-shadow: 0 -5px 30px rgba(29, 99, 239, 0.2);
}

.screen-header {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #334155;
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-dot.red { background: #ef4444; }
.screen-dot.yellow { background: #eab308; }
.screen-dot.green { background: #22c55e; }

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.code-line {
  height: 10px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, transparent 100%);
  border-radius: 4px;
  animation: codeLine 3s ease-in-out infinite;
}

.code-line.short { width: 40%; animation-delay: 0.5s; }
.code-line.medium { width: 70%; animation-delay: 1s; }

@keyframes codeLine {
  0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

.laptop-base {
  width: 320px;
  height: 12px;
  background: linear-gradient(to bottom, #64748b, #475569);
  border-radius: 0 0 8px 8px;
  margin-left: -20px;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
}

/* Phone Device */
.device-phone {
  position: absolute;
  right: -20px;
  bottom: 40px;
  width: 90px;
  height: 160px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  border: 3px solid #334155;
  padding: 8px;
  z-index: 15;
  animation: floatPhone 5s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}

.phone-notch {
  width: 40px;
  height: 6px;
  background: #334155;
  border-radius: 4px;
  margin: 0 auto 8px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-header {
  height: 20px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 6px;
}

.app-card {
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  animation: appCardPulse 2s ease-in-out infinite;
}

.app-card.small {
  height: 25px;
  animation-delay: 0.5s;
}

@keyframes appCardPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Floating Icons */
.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

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

.floating-icon.icon-1 {
  top: 20px;
  left: 20px;
  animation: floatIcon1 7s ease-in-out infinite;
}

.floating-icon.icon-1 svg { stroke: #8b5cf6; }

.floating-icon.icon-2 {
  top: 60px;
  right: 40px;
  animation: floatIcon2 6s ease-in-out infinite;
}

.floating-icon.icon-2 svg { stroke: #3b82f6; }

.floating-icon.icon-3 {
  bottom: 100px;
  left: 0;
  animation: floatIcon3 8s ease-in-out infinite;
}

.floating-icon.icon-3 svg { stroke: #22c55e; }

.floating-icon.icon-4 {
  bottom: 20px;
  right: 80px;
  animation: floatIcon4 5s ease-in-out infinite;
}

.floating-icon.icon-4 svg { stroke: #f97316; }

@keyframes floatIcon1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -10px) rotate(5deg); }
  50% { transform: translate(5px, 10px) rotate(-5deg); }
  75% { transform: translate(-5px, 5px) rotate(3deg); }
}

@keyframes floatIcon2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-15px, 10px) rotate(-8deg); }
  66% { transform: translate(10px, -5px) rotate(5deg); }
}

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

@keyframes floatIcon4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -15px) scale(1.1); }
}

/* Hero Stat Cards */
.hero-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 25;
}

.hero-stat-card .stat-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat-card .stat-icon.green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.hero-stat-card .stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.hero-stat-card .stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-card .stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-stat-card.stat-1 {
  top: 0;
  right: 0;
  animation: floatStat1 6s ease-in-out infinite;
}

.hero-stat-card.stat-2 {
  bottom: 60px;
  left: -30px;
  animation: floatStat2 7s ease-in-out infinite;
}

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

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

/* Responsive Hero Tech Visual */
@media (max-width: 1024px) {
  .hero-tech-visual {
    height: 380px;
  }

  .laptop-screen {
    width: 240px;
    height: 150px;
  }

  .laptop-base {
    width: 280px;
  }

  .device-phone {
    width: 75px;
    height: 130px;
    right: -10px;
  }
}

@media (max-width: 768px) {
  .hero-tech-visual {
    height: 320px;
    margin-top: 2rem;
  }

  .laptop-screen {
    width: 200px;
    height: 130px;
  }

  .laptop-base {
    width: 240px;
    margin-left: -20px;
  }

  .device-phone {
    width: 65px;
    height: 110px;
    right: 10px;
    bottom: 20px;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
  }

  .floating-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-stat-card {
    padding: 10px 14px;
  }

  .hero-stat-card .stat-value {
    font-size: 1.1rem;
  }

  .hero-stat-card .stat-icon {
    width: 36px;
    height: 36px;
  }
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--bg-light);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(29, 99, 239, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  margin-bottom: 1rem;
}

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

.section-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  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: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: var(--white);
}

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

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

.service-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-text {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  gap: 1rem;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
  background: var(--gradient-primary);
  padding: 5rem 0;
}

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

.stat-card {
  text-align: center;
  color: var(--white);
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-category {
  color: var(--accent-yellow);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.portfolio-title {
  color: var(--white);
  font-size: 1.25rem;
}

/* Large Card */
.portfolio-card.large {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* ========================================
   Testimonials Slider Section
   ======================================== */
.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 3rem;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonials-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

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

.testimonial-card[dir="rtl"] {
  text-align: right;
}

.testimonial-card[dir="rtl"] .testimonial-author {
  flex-direction: row-reverse;
}

.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-style: italic;
}

/* Slider Navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

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

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: var(--primary-light);
}

/* Responsive Slider */
@media (max-width: 1024px) {
  .testimonials-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-slide {
    grid-template-columns: 1fr;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  background: var(--bg-light);
  padding: 6rem 0;
  text-align: center;
}

.cta-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-primary);
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-light);
  padding: 5rem 0 2rem;
  color: var(--text-primary);
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  margin-bottom: 0;
}

.footer-legal a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--accent-pink);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 55px;
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  display: none;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
  padding-left: 12px;
}

.footer-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--accent-pink);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-pink);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

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

/* ========================================
   Forms
   ======================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 99, 239, 0.1);
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  cursor: pointer;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.95rem;
  margin: 0;
}

.contact-info-card a {
  color: var(--primary);
}

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ========================================
   About Page
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-box {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-blue);
}

.about-badge-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}

.about-badge-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
}

.team-name {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-size: 0.9rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

/* ========================================
   Services Page
   ======================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-visual {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual svg {
  width: 120px;
  height: 120px;
  color: var(--primary);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ========================================
   Clients Logo Section
   ======================================== */
.clients {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.clients-title {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.clients-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.25s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.35s; }

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto 2.5rem;
  }

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

  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 1130px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 0 2rem;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    z-index: 50000;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(300px);
  }

  .nav-menu > li {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
    padding: 1rem 1.5rem;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    height: auto;
    border-bottom: none;
    justify-content: space-between;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary);
    border-bottom: none;
    background: rgba(29, 99, 239, 0.05);
  }

  /* Mobile Dropdown */
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 100%;
    padding: 0;
    display: none;
    background: var(--bg-light);
    border-top: 1px solid var(--gray-200);
  }

  .nav-menu > li.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-menu > li:hover .nav-dropdown {
    display: none;
  }

  .nav-menu > li.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .nav-dropdown-column {
    padding: 0.5rem 0;
  }

  .nav-dropdown-title {
    padding: 0.5rem 1.5rem;
    margin-bottom: 0;
  }

  .nav-dropdown-item {
    padding: 0.75rem 1.5rem 0.75rem 2rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.active {
    pointer-events: auto;
  }
}

@media (max-width: 992px) {
  .contact-grid,
  .about-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

  .portfolio-card.large {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-float-card {
    display: none;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

/* ========================================
   Technologies Section
   ======================================== */
.technologies {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.technologies-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

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

.tech-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tech-category-title::before,
.tech-category-title::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--gray-300);
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: default;
}

.tech-logo:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.tech-logo img {
  height: 50px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.tech-logo:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.tech-logo span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Partner Logos */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: default;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* Tech Grid for dropdown */
.nav-dropdown .tech-mini-logos {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.nav-dropdown .tech-mini-logo {
  height: 20px;
  width: 20px;
  opacity: 0.6;
}

/* Expertise Cards with Tech */
.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.expertise-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.expertise-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.expertise-card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.expertise-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.expertise-card p {
  margin-bottom: 1.5rem;
}

.expertise-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tech-badge:hover {
  background: var(--primary);
  color: var(--white);
}

.tech-badge img {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

/* ========================================
   Scrum Diagram Styles
   ======================================== */
.scrum-diagram {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

.scrum-cycle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 900px;
}

.scrum-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  min-width: 140px;
  transition: var(--transition);
}

.scrum-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.scrum-item h4 {
  font-size: 0.9rem;
  margin: 0.75rem 0 0.25rem;
  color: var(--text-primary);
}

.scrum-item p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

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

.scrum-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
  stroke: var(--white);
}

.scrum-backlog .scrum-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.scrum-planning .scrum-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.scrum-review .scrum-icon { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.scrum-retro .scrum-icon { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.scrum-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrum-arrow svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
  stroke: var(--primary);
}

/* Sprint Circle */
.scrum-sprint {
  background: transparent;
  padding: 0;
  position: relative;
}

.scrum-sprint-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 99, 239, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(29, 99, 239, 0); }
}

.sprint-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sprint-inner svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  stroke: var(--primary);
  margin-bottom: 0.5rem;
}

.sprint-inner span {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.sprint-inner small {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.daily-scrum {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.daily-scrum svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  stroke: var(--primary);
}

.daily-scrum span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Cycle Arrow */
.scrum-cycle-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.scrum-cycle-arrow svg {
  width: 200px;
  height: 50px;
}

.scrum-cycle-arrow span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .scrum-cycle {
    min-width: auto;
    flex-direction: column;
    gap: 1rem;
  }

  .scrum-arrow {
    transform: rotate(90deg);
  }

  .scrum-sprint-circle {
    width: 140px;
    height: 140px;
  }

  .sprint-inner {
    width: 110px;
    height: 110px;
  }

  .scrum-cycle-arrow {
    display: none;
  }
}

/* Print styles */
@media print {
  .nav, .hero-shapes, .hero-float-card {
    display: none !important;
  }
}
