/* ======== Theme Variables ======== */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-bg: rgba(37, 99, 235, 0.08);
  --secondary: #0f172a;
  
  /* Light Theme (Default) */
  --bg-color: #f8fafc;
  --bg-color-alt: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --card-bg: #ffffff;
  --card-border: rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ======== Reset & Base Typography ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 700; color: var(--secondary); line-height: 1.2; transition: color 0.3s ease; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1.5px; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--text-muted); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.highlight { color: var(--primary); }

/* ======== Buttons ======== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ======== Navbar ======== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.nav-hidden { transform: translateY(-100%); }
.navbar.scrolled { padding: 0.4rem 0; box-shadow: var(--shadow-md); }

.nav-content { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  height: 80px; 
  max-width: 1200px; 
  margin: 0 auto; 
  width: 90%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  z-index: 2001;
}

.logo-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.05);
  transition: all 0.3s ease;
}

.logo-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.1));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .logo-svg {
  transform: rotate(8deg) scale(1.15);
}

.logo-text-anim {
  display: flex;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1e293b;
  line-height: 1;
}

.l-tech.highlight {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a { 
  font-weight: 600; 
  color: var(--text-muted); 
  transition: color 0.3s; 
  position: relative; 
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0%; height: 2px; background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2100;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: left center;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 300px; height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2050;
  }
  
  .nav-links.open { right: 0; }
  .logo-text-anim { font-size: 1.2rem; }
  .logo-wrapper { width: 34px; height: 34px; }
  
  .hamburger.open span:nth-child(1) { transform: rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg); }
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(2px, -2px); background-color: var(--primary); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(2px, 2px); background-color: var(--primary); }

/* Visibility fix for open hamburger */
.hamburger.open span {
  background-color: var(--secondary) !important;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98); /* More opaque to hide background clutter */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 60px 0; /* Balanced padding */
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1999;
    overflow: hidden;
  }
  .nav-links.open { transform: translateX(0); }
  
  .nav-links li { 
    width: 100%;
    max-width: 300px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    justify-content: center;
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }
  /* Staggered link animation */
  .nav-links.open li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.26s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.34s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.42s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.5s; }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    margin: 0.25rem 0;
    width: 90%;
    color: var(--secondary);
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08); /* Stronger shadow for depth */
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
  }
  .nav-links a:hover {
    color: var(--primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
  }
  .nav-links a::after { display: none; }
  
  .hamburger { display: flex; z-index: 2001; }
  .nav-btn { display: none; }
  
  .mobile-only-nav { 
    display: flex !important;
    justify-content: center;
    width: 100%;
    padding: 1.5rem 0 !important;
  }
  .mobile-only-nav .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    color: white !important;
    background: var(--primary) !important; /* Fallback */
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-radius: 16px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .menu-close-btn {
    width: 100%;
    background: none;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s;
  }
  .menu-close-btn-top {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-align: left; /* Aligned left for more natural feel */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s;
  }
  .menu-close-btn-top:hover {
    color: var(--secondary);
    background: rgba(0,0,0,0.02);
  }
  .menu-close-btn:active, .menu-close-btn-top:active {
    background: rgba(0,0,0,0.05);
    transform: scale(0.98);
  }
}

/* ======== Modern Sticky Sidebar ======== */
.sticky-social-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sticky-social-bar.hide {
  transform: translateY(-50%) translateX(-60px);
}
.social-btn {
  background: var(--secondary);
  color: white;
  width: 50px;
  height: 50px;
  display: flex; align-items: center; justify-content: flex-start;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  padding-left: 14px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
}
.social-btn .hover-text {
  position: absolute; left: 52px;
  font-weight: 600; white-space: nowrap; font-size: 0.95rem;
  color: white; letter-spacing: 0.5px;
}
.social-btn:hover {
  width: 155px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.social-btn.facebook:hover { background: #1877F2; }
.social-btn.linkedin:hover { background: #0A66C2; }
.social-btn.instagram:hover { background: #E4405F; }
.social-btn.youtube:hover { background: #FF0000; }

@media (max-width: 768px) {
  .sticky-social-bar {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .sticky-social-bar.hide {
    transform: translateX(-50%) translateY(100px);
  }
  .social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding-left: 0;
    justify-content: center;
  }
  .social-btn .hover-text { display: none; }
  .social-btn:hover { width: 45px; transform: translateY(-5px); }
}

/* ======== Hero Section (Centered Mass Content) ======== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  background: var(--bg-color-alt);
  overflow: hidden;
  z-index: 1;
}

.hero-bg-layer {
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, var(--primary-bg) 0%, rgba(248,250,252,0) 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, #f97316, #a855f7, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.typewriter {
  position: relative;
  min-height: 1.2em;
  display: inline-block;
}

.typewriter::after {
  content: '|';
  margin-left: 5px;
  color: var(--primary);
  animation: blink 0.8s infinite;
}

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

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.2rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
}

.sp-avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid white;
  background-size: cover;
  margin-left: -12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avatar:first-child { margin-left: 0; }

.sp-text {
  text-align: left;
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.sp-text span {
  font-size: 0.9rem;
  color: #64748b;
}

.hero-cta-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}
.btn-orange:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.5);
  color: white;
}

.trust-cluster {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.avatars {
  display: flex;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -12px;
  background-size: cover;
  background-color: var(--primary-bg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.avatar:first-child { margin-left: 0; }
.photo-1 { background: linear-gradient(135deg, #f97316, #a855f7); }
.photo-2 { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.photo-3 { background: linear-gradient(135deg, #10b981, #059669); }

.trust-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  line-height: 1;
}
.reviews-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

/* 3D Falling Shapes */
.shape-3d {
  position: absolute;
  z-index: 2;
  border-radius: 12px;
  animation: floatDeep 12s ease-in-out infinite alternate;
}

.s-triangle {
  width: 0; height: 0; 
  border-left: 30px solid transparent; border-right: 30px solid transparent; 
  border-bottom: 50px solid linear-gradient(135deg, #f97316, #fb923c);
  border-bottom-color: #f97316;
  top: 25%; left: 15%;
  animation-duration: 9s;
  border-radius: 0;
  filter: drop-shadow(0 15px 15px rgba(249, 115, 22, 0.3));
}

.s-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  top: 15%; right: 20%;
  animation-duration: 14s;
  box-shadow: 0 15px 25px rgba(168, 85, 247, 0.3), inset -10px -10px 20px rgba(0,0,0,0.2);
}

.s-pill {
  width: 120px; height: 35px;
  border-radius: 50px;
  background: linear-gradient(135deg, #38bdf8, #1d4ed8);
  bottom: 25%; left: 25%;
  animation-duration: 11s;
  box-shadow: 0 15px 25px rgba(56, 189, 248, 0.3), inset -5px -5px 15px rgba(0,0,0,0.2);
}

.s-sphere2 {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  bottom: 30%; right: 20%;
  animation-duration: 8s;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3), inset -5px -5px 10px rgba(0,0,0,0.2);
}

@keyframes floatDeep {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-40px) rotate(30deg) scale(1.1); }
}

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

/* Animated 3-Step Hero Background Slider */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #f8fafc; /* Base fallback */
}
.bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: bgFade 9s infinite;
}
.bg-slide.slide-1 { 
  background: radial-gradient(circle at top left, rgba(37,99,235,0.08) 0%, transparent 60%), linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  animation-delay: 0s;
}
.bg-slide.slide-2 { 
  background: radial-gradient(circle at top right, rgba(243,112,33,0.08) 0%, transparent 60%), linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
  animation-delay: 3s; 
}
.bg-slide.slide-3 { 
  background: radial-gradient(circle at bottom center, rgba(168,85,247,0.08) 0%, transparent 60%), linear-gradient(135deg, #f8fafc 0%, #faf5ff 100%);
  animation-delay: 6s; 
}

@keyframes bgFade {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}

/* Mesh grid background */
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Animated blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: blobFloat 12s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: rgba(37,99,235,0.08); top: -150px; left: -100px; animation-duration: 14s; }
.blob-2 { width: 400px; height: 400px; background: rgba(249,115,22,0.07); top: 50%; right: -80px; animation-duration: 10s; }
.blob-3 { width: 300px; height: 300px; background: rgba(168,85,247,0.08); bottom: -80px; left: 40%; animation-duration: 16s; }
@keyframes blobFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-40px) scale(1.1); }
}

/* Split layout inner */
.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
  padding: 4rem 0;
  width: 90%;
  max-width: 1200px;
}

/* ── Left column ── */
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }

/* Animated live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: white;
  border: 1px solid rgba(37,99,235,0.15);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(37,99,235,0.1);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); }
}

/* Heading with type animation */
.hero-left h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -2px;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
}
.hero-type-wrap {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 3px solid rgba(37,99,235,0.25);
  padding-bottom: 2px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

/* Service pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hpill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s ease;
  cursor: default;
}
.hpill:hover { transform: translateY(-2px); }
.hpill-blue   { background:#eff6ff; color:#2563eb; border:1px solid rgba(37,99,235,0.15); }
.hpill-orange { background:#fff7ed; color:#ea580c; border:1px solid rgba(249,115,22,0.15); }
.hpill-green  { background:#f0fdf4; color:#16a34a; border:1px solid rgba(16,185,129,0.15); }
.hpill-purple { background:#faf5ff; color:#9333ea; border:1px solid rgba(168,85,247,0.15); }
.hpill-sky    { background:#f0f9ff; color:#0284c7; border:1px solid rgba(14,165,233,0.15); }

/* Action buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-cta {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37,99,235,0.45); color: white; }

/* Social proof strip */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem; /* Added bottom margin */
}
.sp-avatars { display: flex; }
.sp-avatars .avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid white; margin-left: -10px; background-size: cover; }
.sp-avatars .avatar:first-child { margin-left: 0; }
.sp-text { display: flex; flex-direction: column; gap: 2px; }
.sp-text .stars { color: #f59e0b; font-size: 0.9rem; line-height: 1; }
.sp-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ── Right column: Dashboard Card ── */
.hero-right { position: relative; }

.hero-dashboard {
  background: white;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15,23,42,0.12), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  animation: cardFloat 6s ease-in-out infinite alternate;
}
@keyframes cardFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

/* Dashboard top bar */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 1rem; /* Added top padding */
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 1.2rem;
}
.dash-logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}
.dash-logo-dot {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
.dash-header-dots { display: flex; gap: 5px; }
.dash-header-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }

/* Stats row */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.dash-stat {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid rgba(0,0,0,0.04);
}
.ds-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -1px;
  line-height: 1;
}
.ds-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.ds-change { font-size: 0.72rem; font-weight: 700; }
.ds-change.positive { color: #10b981; }

/* CSS Bar Chart */
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0 4px;
  margin-bottom: 6px;
}
.dc-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, rgba(37,99,235,0.15), rgba(37,99,235,0.08));
  border-radius: 6px 6px 0 0;
  transition: height 0.8s ease;
}
.dc-bar-active {
  background: linear-gradient(to top, #2563eb, #4f46e5);
  box-shadow: 0 0 12px rgba(37,99,235,0.4);
}
.dc-label-row {
  display: flex;
  gap: 6px;
  padding: 0 4px;
  margin-bottom: 1rem;
}
.dc-label-row span {
  flex: 1;
  text-align: center;
  font-size: 0.58rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Service list */
.dash-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dsl-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.04);
}
.dsl-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dsl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dsl-info strong { font-size: 0.82rem; color: var(--secondary); line-height: 1; }
.dsl-info span { font-size: 0.72rem; color: var(--text-muted); }
.dsl-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  flex-shrink: 0;
}
.dsl-badge.live { background: rgba(16,185,129,0.1); color: #10b981; }
.dsl-badge.good { background: rgba(37,99,235,0.1); color: #2563eb; }

/* Floating toast notifications */
.dash-toast {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  font-size: 0.78rem;
  color: var(--secondary);
  z-index: 10;
  animation: toastBounce 4s ease-in-out infinite;
}
.toast-icon { font-size: 1.4rem; }
.toast-1 { top: -20px; right: -20px; animation-delay: 0s; }
.toast-2 { bottom: 30px; left: -24px; animation-delay: 1.5s; }
@keyframes toastBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Glow below card */
.hero-card-glow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 60px;
  background: rgba(37,99,235,0.2);
  filter: blur(30px);
  border-radius: 50%;
  z-index: 1;
}

/* Scroll down hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  animation: hintFloat 3s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--primary);
  border-radius: 3px;
  animation: scrollWheel 1.8s ease infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@keyframes hintFloat {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}

/* ── Responsive ── */
/* ── Responsive ── */
@media (max-width: 1200px) {
  .hero-split-inner { gap: 2rem; }
  .hero-left h1 { font-size: 3.2rem; }
}

@media (max-width: 991px) {
  .hero-split-inner { 
    grid-template-columns: 1fr; 
    text-align: center;
    padding: 2rem 0 4rem;
  }
  .hero-left { align-items: center; }
  .hero-sub { margin: 0 auto; }
  .hero-pills { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-right { 
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-dashboard { transform: scale(0.9); }
}

@media (max-width: 600px) {
  .hero-left h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-dashboard { transform: scale(0.85); margin-top: 1rem; } /* Removed negative margin, added positive space */
  .dash-stats { grid-template-columns: 1fr; }
  .toast-1, .toast-2 { display: none; }
}

/* --- About Section Extensions --- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visuals {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-carousel-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.team-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.05);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.carousel-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: white;
  width: 24px;
  border-radius: 10px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* --- Why Us Section --- */

/* ======== Sections Formatting ======== */

.section { padding: 6rem 0; position: relative; z-index: 2; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.bg-light-alt { background: var(--bg-color-alt); }

/* ======== About Stats Modern ======== */
.about-stats-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: rgba(37,99,235,0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.blue   { background: rgba(37,99,235,0.1); }
.stat-icon.orange { background: rgba(249,115,22,0.1); }
.stat-icon.green  { background: rgba(16,185,129,0.1); }

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

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .about-stats-modern { grid-template-columns: 1fr; gap: 1rem; }
  .stat-card { max-width: 400px; margin: 0 auto; width: 100%; }
}

@media (max-width: 991px) {
  .about-stats-modern { margin: 2rem 0; }
  .stat-card { text-align: left; }
}

/* ======== Vision/Mission Minimal ======== */
.about-vision-mission-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.minimal-vm-item {
  display: flex;
  gap: 1.2rem;
}
.vm-accent {
  width: 4px;
  height: 40px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 5px;
}
.vm-accent.blue { background: var(--primary); box-shadow: 0 0 15px rgba(37, 99, 235, 0.3); }
.vm-accent.orange { background: #f97316; box-shadow: 0 0 15px rgba(249, 115, 22, 0.3); }

.vm-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
.vm-text p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .about-wrapper { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .about-stats { justify-content: center; gap: 1.5rem; }
  .about-vision-mission-minimal { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 600px) {
  .about-stats { flex-direction: column; gap: 1.5rem; align-items: center; border: none; background: rgba(0,0,0,0.02); border-radius: 20px; padding: 2rem; }
  .stat-item { align-items: center; }
}

@media (max-width: 500px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* ======== Why Us Grid ======== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: white; border: 1px solid rgba(0,0,0,0.05); padding: 2rem; border-radius: var(--radius-md); transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.2); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.why-card p { margin: 0; font-size: 0.95rem; }

@media (max-width: 991px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

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

.service-bento-card {
  background: white;
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-bento-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
  border-color: rgba(37,99,235,0.15);
}

.sb-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

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

.sb-icon.blue   { background: rgba(37,99,235,0.1); color: #2563eb; }
.sb-icon.purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
.sb-icon.green  { background: rgba(16,185,129,0.1); color: #10b981; }
.sb-icon.orange { background: rgba(249,115,22,0.1); color: #f97316; }
.sb-icon.sky    { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.sb-icon.red    { background: rgba(239,68,68,0.1); color: #ef4444; }

.sb-number {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(0,0,0,0.05);
  letter-spacing: 1px;
}

.service-bento-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.service-bento-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sb-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sb-features li {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sb-features .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.4;
}

.sb-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.sb-action .arrow { transition: transform 0.3s; }
.service-bento-card:hover .sb-action .arrow { transform: translateX(5px); }

@media (max-width: 1024px) {
  .services-grid-modern { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .services-grid-modern { grid-template-columns: 1fr; }
  .service-bento-card { padding: 2rem; border-radius: 24px; }
}

/* ======== Services Grid ======== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.svc-card { 
  background: white; padding: 2.5rem 2rem; border-radius: var(--radius-md); 
  border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; 
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; 
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 5px;
  background: linear-gradient(90deg, var(--brand-orange), var(--primary)); transition: width 0.5s ease;
}
.svc-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08); 
  border-color: transparent; 
}
.svc-card:hover::after { width: 100%; }
.svc-icon-wrap { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(var(--accent-rgb), 0.1); color: var(--accent); margin-bottom: 1.5rem; transition: transform 0.4s ease; }
.svc-card:hover .svc-icon-wrap { transform: scale(1.1) rotate(5deg); }
.svc-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px;}
.svc-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.svc-card p { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.svc-tags span { background: var(--bg-color); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); border: 1px solid rgba(0,0,0,0.05); }
.svc-arrow { margin-top: auto; font-weight: bold; color: var(--text-muted); transition: var(--transition); }
.svc-card:hover .svc-arrow { color: var(--accent); transform: translateX(5px); }

/* Banner Service */
.svc-banner { grid-column: span 3; display: flex; flex-direction: row; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--bg-color) 0%, #eff6ff 100%); padding: 3rem; }
.svc-banner-left { max-width: 600px; }
.svc-banner-left h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.svc-banner-left p { font-size: 1.1rem; margin-bottom: 0; }
.svc-banner-right { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.svc-icon-wrap.large { width: 80px; height: 80px; font-size: 2.5rem; }

@media (max-width: 1100px) { 
  .services-grid { grid-template-columns: repeat(2, 1fr); } 
  .svc-banner { grid-column: span 2; }
}
@media (max-width: 768px) { 
  .svc-banner { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
}
@media (max-width: 600px) { 
  .services-grid { grid-template-columns: 1fr; } 
  .svc-banner { grid-column: span 1; } 
}

/* ======== Portfolio Section ======== */
.portfolio-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.filter-btn { background: white; border: 1px solid rgba(0,0,0,0.1); padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--text-muted); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.portfolio-card { background: white; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); display: block; position: relative;}
.portfolio-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08); }
.portfolio-card.hide { display: none; }
.browser-top { background: #f1f5f9; padding: 0.6rem 1rem; display: flex; gap: 0.4rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mac-dot { width: 10px; height: 10px; border-radius: 50%; }
.mac-dot.red { background: #ef4444; } .mac-dot.yellow { background: #f59e0b; } .mac-dot.green { background: #10b981; }
.portfolio-img-wrapper { width: 100%; height: 220px; overflow: hidden; position: relative; }
.portfolio-img-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s ease; }
.portfolio-card:hover .portfolio-img-wrapper img { transform: scale(1.05); }
.portfolio-info { padding: 1.5rem; }
.portfolio-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--secondary); }
.portfolio-info p { font-size: 0.9rem; margin-bottom: 0; }

@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ======== Marquee Section ======== */
.marquee-section { padding: 4rem 0; background: #eff6ff; color: var(--primary); overflow: hidden; border-top: 1px solid rgba(37,99,235,0.1); border-bottom: 1px solid rgba(37,99,235,0.1); }
.marquee-container { width: 100%; display: flex; align-items: center; }
.marquee-content { display: flex; white-space: nowrap; animation: scrollMarquee 40s linear infinite; }
.marquee-item { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-right: 4rem; display: flex; align-items: center; color: var(--secondary); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ======== Pricing Section ======== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; }
.pricing-card { background: white; padding: 3rem 2rem; border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.05); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); text-align: center; position: relative;}
.pricing-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08); }
.pricing-card.popular { border: 2px solid var(--primary); transform: scale(1.05); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); position: relative; }
.pricing-card.popular:hover { transform: scale(1.07) translateY(-5px); box-shadow: 0 30px 50px rgba(37, 99, 235, 0.25); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--secondary); margin-bottom: 1rem; display: flex; align-items: flex-start; justify-content: center; }
.price span { font-size: 1.5rem; margin-top: 0.5rem; margin-right: 0.2rem; }
.pricing-header p { font-size: 0.95rem; margin-bottom: 2rem; }
.pricing-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; text-align: left; }
.pricing-features li { padding-left: 1.5rem; position: relative; font-size: 0.95rem; color: var(--secondary); font-weight: 500; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.pricing-btn { width: 100%; border-radius: 8px; }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; gap: 3rem; } .pricing-card.popular { transform: scale(1); } .pricing-card.popular:hover { transform: translateY(-5px); } }

/* ======== Contact Section ======== */
.contact-wrapper { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: flex-start; position: relative; z-index: 10; }
.contact-info { position: relative; }
.contact-title { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -1.5px; }
.contact-desc { font-size: 1.15rem; margin-bottom: 3rem; color: var(--text-muted); line-height: 1.6; }

/* Contact Items Bento */
.contact-details-bento { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.contact-item-box { 
  display: flex; align-items: center; gap: 1.2rem; background: white; padding: 1.2rem 1.5rem; 
  border-radius: 20px; border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}
.contact-item-box:hover { transform: translateX(10px); border-color: rgba(37,99,235,0.1); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.ci-icon { 
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; 
  font-size: 1.3rem; flex-shrink: 0;
}
.ci-icon.blue { background: rgba(37,99,235,0.1); }
.ci-icon.orange { background: rgba(249,115,22,0.1); }
.ci-icon.green { background: rgba(16,185,129,0.1); }

.ci-content { display: flex; flex-direction: column; }
.ci-content span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ci-content strong { font-size: 1.1rem; color: var(--secondary); font-weight: 700; }

/* WhatsApp Card */
.whatsapp-card { 
  display: flex; align-items: center; gap: 1.5rem; background: #25d366; color: white; 
  padding: 1.5rem; border-radius: 24px; text-decoration: none; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 15px 35px rgba(37,211,102,0.3);
}
.whatsapp-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 25px 45px rgba(37,211,102,0.4); }
.wa-icon { font-size: 2.2rem; }
.wa-text { flex-grow: 1; }
.wa-status { font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.2rem; opacity: 0.9; }
.wa-text strong { font-size: 1.3rem; font-weight: 800; display: block; }
.pulse-dot { width: 8px; height: 8px; background: white; border-radius: 50%; animation: pulse 2s infinite; }
.wa-arrow { font-size: 1.5rem; font-weight: bold; }

@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } 100% { opacity: 1; transform: scale(1); } }

/* Modern Form Bento */
.contact-form-bento { background: white; padding: 3.5rem; border-radius: 32px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08); position: relative; }
.form-header { margin-bottom: 2.5rem; }
.form-header h3 { font-size: 1.8rem; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.form-header p { color: var(--text-muted); font-weight: 500; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group-modern { position: relative; margin-bottom: 1.5rem; }

.form-group-modern input, .form-group-modern select, .form-group-modern textarea {
  width: 100%; padding: 1.2rem 1.5rem; background: #f8fafc; border: 2px solid transparent; border-radius: 16px;
  font-size: 1rem; font-weight: 600; color: var(--secondary); transition: all 0.3s;
}
.form-group-modern label { position: absolute; left: 1.5rem; top: 1.2rem; color: var(--text-muted); pointer-events: none; transition: all 0.3s; font-weight: 500; }
.form-group-modern input:focus, .form-group-modern select:focus, .form-group-modern textarea:focus { 
  background: white; border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(37,99,235,0.1); 
}
.form-group-modern input:focus + label, .form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label, .form-group-modern textarea:not(:placeholder-shown) + label {
  transform: translateY(-2.8rem) scale(0.85); left: 0.5rem; color: var(--primary); font-weight: 700;
}

/* Background Blobs */
.contact-blob-1, .contact-blob-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(100px); opacity: 0.15; pointer-events: none; }
.contact-blob-1 { top: -10%; left: -10%; background: var(--primary); }
.contact-blob-2 { bottom: -10%; right: -10%; background: #f97316; }

@media (max-width: 1100px) { .contact-wrapper { grid-template-columns: 1fr; gap: 4rem; } .contact-info { text-align: center; } .contact-details-bento { align-items: center; } .contact-item-box { width: 100%; max-width: 400px; } .whatsapp-card { max-width: 400px; margin: 0 auto; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .contact-form-bento { padding: 2rem; border-radius: 24px; } .contact-title { font-size: 2.2rem; } }
.modern-form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; transition: var(--transition); background: var(--bg-color); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }
.form-group textarea { resize: vertical; }

@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; } .contact-info { padding-right: 0; } }

/* ======== Footer ======== */
/* ======== Footer Section ======== */
.footer {
  background: #0f172a; /* Deep Navy */
  color: #94a3b8;
  padding: 5rem 0 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-link:hover { transform: translateY(-5px); color: white; }
.social-link.fb:hover { background: #1877f2; box-shadow: 0 10px 20px rgba(24,119,242,0.3); }
.social-link.in:hover { background: #0077b5; box-shadow: 0 10px 20px rgba(0,119,181,0.3); }
.social-link.ig:hover { background: #e4405f; box-shadow: 0 10px 20px rgba(228,64,95,0.3); }
.social-link.wa:hover { background: #25d366; box-shadow: 0 10px 20px rgba(37,211,102,0.3); }

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.8rem; }
.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--primary); padding-left: 5px; }

.admin-link { opacity: 0.4; font-size: 0.85rem; }

.newsletter-text { font-size: 0.9rem; margin-bottom: 1.2rem; }

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter input {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  color: white;
  width: 100%;
  font-family: inherit;
}

.footer-newsletter input:focus { outline: none; }

.footer-newsletter button {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.footer-newsletter button:hover { background: var(--primary-light); transform: scale(1.05); }

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom strong { color: white; }

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom-links a:hover { color: white; }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ======== Testimonials Section ======== */
.testimonials { background: #f8fafc; position: relative; }
.testimonials::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.03), transparent); }

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

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.t-rating { color: #fbbf24; margin-bottom: 1.2rem; font-size: 0.9rem; }

.t-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--secondary);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.t-author { display: flex; align-items: center; gap: 1rem; }
.t-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e2e8f0;
  object-fit: cover;
}

.t-info h4 { font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--secondary); }
.t-info span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6); /* Darker backdrop for better focus */
  backdrop-filter: blur(12px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; /* Ensure gap around modal */
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  background: white;
  width: 100%;
  max-width: 500px; /* Slightly narrower for better 'popup' feel */
  max-height: 85vh; /* Keep it comfortably within view */
  overflow-y: auto;
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.98);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.1);
}

.modal-card::-webkit-scrollbar { width: 0; }

.modal-overlay.open .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}
.modal-close:hover { background: #e2e8f0; color: var(--secondary); }

.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.modal-header h2 { font-size: 1.6rem; letter-spacing: -1px; margin-bottom: 0.4rem; }

.form-grid-modern { display: flex; flex-direction: column; gap: 1rem; }

/* --- Floating Labels & Improved Inputs --- */
.form-group-modern { position: relative; width: 100%; margin-top: 0.5rem; }

.form-group-modern input, .form-group-modern textarea {
  width: 100%;
  padding: 1.2rem 1rem 0.8rem 1rem;
  background: #f8fafc;
  border: 2px solid #f1f5f9;
  border-radius: 14px;
  font-size: 1rem;
  color: var(--secondary);
  transition: all 0.3s;
}

.form-group-modern label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Floating effect */
.form-group-modern input:focus ~ label,
.form-group-modern input:not(:placeholder-shown) ~ label,
.form-group-modern textarea:focus ~ label,
.form-group-modern textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem;
  left: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.form-group-modern input:focus, .form-group-modern textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.modal-btn { width: 100%; margin-top: 1.2rem; padding: 1.1rem; border-radius: 14px; font-weight: 700; }

/* Success Message State */
.modal-success-msg {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: modalPop 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.2));
}

.modal-success-msg h3 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--secondary); }
.modal-success-msg p { color: var(--text-muted); margin-bottom: 2rem; }

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .modal-overlay { padding: 1rem; }
  .modal-card { padding: 2rem 1.5rem; border-radius: 24px; max-height: 90vh; }
  .modal-header h2 { font-size: 1.4rem; }
}
.scroll-anim[style*="--delay:1"] { transition-delay: 0.1s; }
.scroll-anim[style*="--delay:2"] { transition-delay: 0.2s; }
.scroll-anim[style*="--delay:3"] { transition-delay: 0.3s; }
.scroll-anim[style*="--delay:4"] { transition-delay: 0.4s; }
.scroll-anim[style*="--delay:5"] { transition-delay: 0.5s; }
.scroll-anim[style*="--delay:6"] { transition-delay: 0.6s; }
.scroll-anim[style*="--delay:7"] { transition-delay: 0.7s; }

/* Scroll progress indicator */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--primary), #a855f7); z-index: 1001; width: 0%; transition: width 0.1s; }

/* Custom Cursor */
.cursor-dot { width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: background-color 0.3s; }
.cursor-outline { width: 40px; height: 40px; border: 2px solid rgba(37, 99, 235, 0.5); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.cursor-outline.hover-active { width: 60px; height: 60px; background-color: rgba(37, 99, 235, 0.05); border-color: var(--primary); }

@media (max-width: 768px) { .cursor-dot, .cursor-outline { display: none; } }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
  .back-to-top { bottom: 85px; right: 20px; width: 45px; height: 45px; } /* Above social bar */
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/* Founder Section Mobile Optimization */
@media (max-width: 991px) {
  .founder-card {
    flex-direction: column;
    padding: 3rem 1.5rem !important; /* Reduced padding to fit small screens */
    gap: 2rem !important;
    text-align: center;
  }
  .founder-img-container {
    flex: 0 0 auto !important;
    width: 100% !important; /* Make it responsive */
    max-width: 300px;
    height: 380px !important;
    margin: 0 auto;
  }
  .founder-info h2 {
    font-size: 2.2rem !important;
  }
  .founder-socials-minimal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Final Polish for Ultra-Small Devices (320px - 400px) */
@media (max-width: 480px) {
  :root {
    --radius-md: 12px;
    --radius-lg: 18px;
  }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header h2 { font-size: 1.8rem; }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero-badge { padding: 6px 12px; font-size: 0.75rem; }
  
  .portfolio-filters { gap: 0.5rem; }
  .filter-btn { padding: 8px 16px; font-size: 0.85rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-logo span { font-size: 1.2rem !important; }
  
  .contact-form-bento { padding: 1.5rem; }
  
  /* Prevent any horizontal scroll */
  .container { padding: 0 1.2rem; }
}

/* Ensure Logo/Toggle/Hamburger alignment on mobile */
/* Ensure Logo & Name alignment on mobile */
@media (max-width: 991px) {
  .nav-content {
    padding: 0 1rem;
  }
  .logo-text-anim {
    display: flex !important; /* Restore brand name visibility */
    gap: 8px;
    font-size: 1.2rem;
  }
}
