@media (max-width: 767px) {
  .tc-design-line {
    left: 19px !important;
    top: 45px !important;
    height: 35px !important; 
    right: auto !important;
    transform: none !important;
  }
}


/* ============================================
   RESPONSIVE RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-height: 80px;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --primary-color: #00338d;
  --orange-accent: #f97316;
}

/* Fluid Typography - Scales automatically with screen size */
html {
  font-family: 'Google Sans Text', 'Google Sans', var(--font-sans);
  font-size: clamp(13px, 1vw + 0.5rem, 16px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
}

/* ============================================
   HERO SECTION COMPLETE FIX
   ============================================ */

/* Force "But Better." on same line */
h1 span.font-serif,
h1 span[class*="italic"] {
  display: inline !important;
}

/* Remove any br tags inside the span */
h1 span br {
  display: none !important;
}

/* Hero Grid Layout - Proper spacing */
@media (min-width: 1024px) {
  section.relative.min-h-\[95vh\] .grid.lg\:grid-cols-2 {
    gap: 6rem !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
  }
}

/* Left column content - more breathing room */
section.relative.min-h-\[95vh\] .reveal {
  max-width: 600px !important;
  padding-right: 2rem !important;
}

/* Heading size - make it BIGGER */
h1.text-7xl,
h1.text-9xl {
  font-size: clamp(3.5rem, 8vw, 6rem) !important;
  line-height: 0.9 !important;
  margin-bottom: 2rem !important;
}

@media (min-width: 1024px) {
  h1.text-7xl,
  h1.text-9xl {
    font-size: 6rem !important;
  }
}

/* Paragraph spacing */
p.text-xl.md\:text-2xl {
  font-size: clamp(1rem, 2vw, 1rem) !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
  max-width: 500px !important;
}

/* Button and avatars container */
.flex.flex-col.sm\:flex-row {
  gap: 1.5rem !important;
  margin-top: 1rem !important;
}

/* Avatar row */
.flex.-space-x-3 {
  align-items: center !important;
  gap: 0 !important;
}

.flex.-space-x-3 img {
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin-right: -0.75rem !important;
}

.flex.-space-x-3 span.ml-6 {
  margin-left: 1.5rem !important;
  font-size: 0.7rem !important;
  white-space: nowrap !important;
}

/* Right column - laptop image */
.relative.hidden.lg\:block {
  padding-left: 2rem !important;
}

/* ELITE WEB MODERNIZATION line */
.flex.items-center.gap-4.mb-8 {
  margin-bottom: 1.5rem !important;
}

.flex.items-center.gap-4.mb-8 span {
  font-size: 0.6rem !important;
  letter-spacing: 0.3em !important;
}

/* Mobile adjustments */

/* Make logo bigger on mobile */
@media (max-width: 768px) {
    .footer-col.info img.footer-logo {
        width: 180px;
        margin-bottom: 1rem;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col.connect {
        order: -1;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        text-align: center;
        font-size: 12px;
        margin-top: 1.5rem;
    }

    .footer-bottom a {
        display: inline-block;
        margin-left: 0.5rem;
        color: #555;
    }
}

/* General styling */
.footer-col {
    margin-bottom: 1.5rem;
}

.social-icons a {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #333;
}

@media (max-width: 1023px) {
  section.relative.min-h-\[95vh\] .reveal {
    max-width: 100% !important;
    padding-right: 0 !important;
    width: auto !important;
  }
  
  h1.text-7xl,
  h1.text-9xl {
    font-size: 3rem !important;
  }
  
  p.text-xl.md\:text-2xl {
    font-size: 1rem !important;
  }
  
  .group.relative.overflow-hidden.bg-black {
    align-self: flex-start !important;
    width: auto !important;
    padding: 15px 32px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .flex.-space-x-3 {
    justify-content: center !important;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  h1.text-7xl,
  h1.text-9xl {
    font-size: 4rem !important;
  }

  section.relative.min-h-\[95vh\] .grid.lg\:grid-cols-2 {
    gap: 4rem !important;
    align-items: center !important;
  }
}

#root {
  flex: 1;
  width: 100%;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-img {
  height: clamp(32px, 5vw, 45px);
  width: auto;
  transition: height 0.3s ease;
}

.reviews-badge {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #eee;
  padding-left: clamp(10px, 2vw, 15px);
}

.stars {
  color: #ff4d4d;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: 1px;
}

.reviews-count {
  font-size: clamp(9px, 1vw, 10px);
  font-weight: 800;
  color: #777;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 25px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  width: 30px;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* ============================================
   HERO SECTION - RESPONSIVE WITH LARGE HEADING
   ============================================ */
.hero-section {
  padding: clamp(40px, 8vw, 80px) 5% clamp(20px, 4vw, 40px);
  position: relative;
  overflow: hidden;
  min-height: auto;
  width: 100%;
}

/* FORCE "But Better." on same line */
section h1 span,
h1 > span,
.text-zinc-900 > span {
  display: inline !important;
  white-space: nowrap !important;
}

section h1 span br,
h1 > span > br {
  display: none !important;
}

/* Hero heading - LARGE SIZE */
section.relative.min-h-\[95vh\] h1,
.reveal h1,
h1.text-7xl,
h1.text-7xl {
  font-size: clamp(3rem, 10vw, 6rem) !important;
  font-weight: 900 !important;
  line-height: 0.85 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  margin-bottom: 2rem !important;
}

/* Hero section spacing fix */
section.relative.min-h-\[95vh\] {
  min-height: auto !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

section.relative.min-h-\[95vh\] .max-w-7xl {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* H1 size theek karo */
section.relative.min-h-\[95vh\] h1,
.reveal h1,
h1.text-7xl,
h1.text-9xl {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}

@media (min-width: 1024px) {
  section.relative.min-h-\[95vh\] h1,
  h1.text-7xl,
  h1.text-9xl {
    font-size: 1.75rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  section.relative.min-h-\[95vh\] h1,
  h1.text-7xl,
  h1.text-9xl {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  section.relative.min-h-\[95vh\] h1,
  h1.text-7xl,
  h1.text-9xl {
    font-size: 1.25rem !important;
  }
}

/* whatsapp btn */
.tu-whatsapp-btn>div {
    box-shadow: rgba(24, 177, 51, 0.5) 0px 2px 16px;
    bottom: 28px;
}

/* "But Better" italic part */
h1 span.font-serif,
h1 span[class*="italic"] {
  font-style: italic;
  font-weight: 600 !important;
}

/* ── HERO SECTION FIX ── */

/* Correct selector */
section.relative.flex.items-center.px-6.overflow-hidden {
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}

/* Inner container ka padding balance karo */
section.relative.flex.items-center .max-w-7xl {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Grid vertically center karo */
section.relative.flex.items-center .grid.lg\:grid-cols-2 {
  align-items: center !important;
  gap: 4rem !important;
}

/* H1 size fix */
section.relative.flex.items-center h1,
section.relative.flex.items-center h1.text-xl,
section.relative.flex.items-center h1.md\:text-2xl {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
}

/* Left column - text vertically center */
section.relative.flex.items-center .grid > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Force left alignment for all hero content */
section.relative.min-h-\[95vh\],
.reveal,
.reveal.active {
  text-align: left !important;
}

.reveal * {
  text-align: left !important;
}

.grid.lg\:grid-cols-2 {
  justify-items: start !important;
  text-align: left !important;
}

.flex.items-center.gap-4 {
  justify-content: flex-start !important;
  text-align: left !important;
}

.flex.flex-col.sm\:flex-row {
    align-items: center !important;
    justify-content: flex-start !important;
}

.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
}

/* Responsive Grid Columns */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Responsive Text Sizes */
.text-6xl, .text-8xl {
  font-size: clamp(1.75rem, 6vw, 4.5rem) !important;
}

.text-5xl {
  font-size: clamp(1.5rem, 5vw, 3rem) !important;
}

.text-4xl {
  font-size: clamp(1.25rem, 4vw, 2.25rem) !important;
}

.text-3xl {
  font-size: clamp(1.125rem, 3vw, 1.875rem) !important;
}

.text-2xl {
  font-size: clamp(1.05rem, 2.5vw, 1.5rem) !important;
}

.text-xl {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
}

.text-lg {
  font-size: clamp(0.85rem, 1.75vw, 1.125rem) !important;
}

/* Hero image container */
.hero-image-wrapper {
  padding-top: 80px !important;
  margin-top: 0 !important;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-image-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero-image-container {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero-image-container {
    max-width: 100%;
    margin-top: 3rem;
  }
}

.hero-preview-image {
  aspect-ratio: 3/4 !important;
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

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

.animate-gentle-bounce {
  animation: gentle-bounce 2s infinite ease-in-out;
}

/* Responsive Spacing */
.px-6 { 
  padding-left: clamp(1rem, 3vw, 1.5rem) !important; 
  padding-right: clamp(1rem, 3vw, 1.5rem) !important; 
}

.py-24 { 
  padding-top: clamp(3rem, 8vw, 6rem) !important; 
  padding-bottom: clamp(3rem, 8vw, 6rem) !important; 
}

.py-48 { 
  padding-top: clamp(4rem, 12vw, 12rem) !important; 
  padding-bottom: clamp(4rem, 12vw, 12rem) !important; 
}

.mb-8 { margin-bottom: clamp(1rem, 2vw, 2rem) !important; }
.mb-12 { margin-bottom: clamp(1.5rem, 3vw, 3rem) !important; }
.gap-16 { gap: clamp(2rem, 4vw, 4rem) !important; }
.gap-20 { gap: clamp(2.5rem, 5vw, 5rem) !important; }

/* Avatar spacing fix */
.flex.items-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flex.items-center.gap-4 {
  display: flex;
  align-items: center;
  gap: 1rem !important; 
  margin-left: 1.5rem !important;
}

.h-10 {
  height: 2.5rem !important;
  min-height: 2.5rem !important;
}

/* ============================================
   REVIEWS CAROUSEL - FULLY RESPONSIVE
   ============================================ */
.reviews-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(10px, 2vw, 20px);
  border-radius: clamp(20px, 4vw, 40px);
}

.carousel-track {
  position: relative;
  min-height: clamp(350px, 60vw, 450px);
  overflow: hidden;
  width: 100%;
}

.carousel-slide {
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.7s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
}

.review-card {
  background: linear-gradient(135deg, #b4e4b4 0%, #a8dda8 100%);
  border-radius: clamp(15px, 3vw, 30px);
  padding: clamp(20px, 4vw, 45px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
  min-height: auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  width: 100%;
}

@media (min-width: 768px) {
  .hide-on-desktop {
    display: none !important;
  }
  .review-card {
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
  }
}

.review-content {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
}

.review-title {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 600;
  margin-bottom: clamp(5px, 1vw, 10px);
  line-height: 1.2;
}

.stars-container {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  margin-bottom: clamp(10px, 2vw, 20px);
  flex-wrap: wrap;
}

.review-rating {
  color: #2d2d2d;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 2px;
}

.review-text-box {
  background: rgba(255, 255, 255, 0.4);
  padding: clamp(15px, 3vw, 30px);
  border-radius: clamp(10px, 2vw, 20px);
  backdrop-filter: blur(10px);
  width: 100%;
}

.review-text {
  font-size: clamp(14px, 1.75vw, 17px);
  line-height: 1.7;
  color: #2d2d2d;
  font-weight: 400;
}

.review-image {
  background: white;
  border-radius: clamp(10px, 2vw, 20px);
  padding: clamp(10px, 2vw, 20px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.review-image img {
  width: 100%;
  height: auto;
  border-radius: clamp(6px, 1.5vw, 12px);
  object-fit: cover;
  max-height: clamp(200px, 40vw, 350px);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.carousel-btn {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.carousel-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.carousel-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #000000 !important;
  stroke-width: 2.5 !important;
  fill: none !important;
  flex-shrink: 0;
}

.carousel-dots {
  display: flex;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: clamp(10px, 1.5vw, 12px);
  height: clamp(10px, 1.5vw, 12px);
  border-radius: 50%;
  border: none;
  background: rgba(100, 100, 100, 0.3);
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.carousel-dot:hover {
  opacity: 0.8;
  transform: scale(1.2);
}

.carousel-dot.active {
  opacity: 1;
  background: #000;
}

/* ============================================
   FOOTER - FULLY RESPONSIVE
   ============================================ */
.techup-footer {
  background-color: #f5f5f5;
  padding: clamp(30px, 6vw, 60px) 5% clamp(15px, 3vw, 30px);
  font-family: var(--font-sans);
  color: #333;
  margin-top: auto;
  width: 100%;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto clamp(20px, 4vw, 40px);
  width: 100%;
}

@media (min-width: 640px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col.info {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 20px);
}

@media (max-width: 639px) {
  .footer-col.info {
    text-align: center;
    align-items: center;
  }
}

.footer-col.info p {
  color: #333;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.8;
  margin: 0;
}

.footer-logo {
  width: clamp(110px, 15vw, 150px);
  max-width: 100%;
  height: auto;
  margin-bottom: clamp(10px, 2vw, 15px);
  display: block;
}

.footer-sub-logo {
  width: clamp(95px, 14vw, 140px);
  max-width: 100%;
  height: auto;
  margin-top: clamp(5px, 1vw, 10px);
  display: block;
}

.member-text {
  color: #000;
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.6;
  margin-bottom: clamp(10px, 2vw, 15px);
}

.member-text a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.3s ease;
}

.member-text a:hover {
  color: var(--orange-accent);
  text-decoration-thickness: 2px;
}

.footer-col h4 {
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 clamp(10px, 2vw, 20px) 0;
  color: #000;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

.footer-col ul li a {
  color: #333;
  text-decoration: none;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  gap: clamp(8px, 1.5vw, 12px);
  margin-top: clamp(10px, 2vw, 20px);
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .social-icons {
    justify-content: center;
  }
}

.social-icons a {
  width: clamp(34px, 5vw, 40px);
  height: clamp(34px, 5vw, 40px);
  border-radius: clamp(6px, 1vw, 8px);
  background-color: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-icons a:hover {
  background-color: var(--orange-accent);
  transform: translateY(-3px);
}

.social-icons img {
  width: clamp(16px, 2.5vw, 20px);
  height: clamp(16px, 2.5vw, 20px);
  filter: brightness(0) invert(1);
}

.footer-bottom {
  grid-column: 1 / -1; 
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(15px, 3vw, 30px);
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 16px);
}

@media (max-width: 639px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom p {
  color: #737373;
  font-size: clamp(11px, 1.5vw, 13px);
  margin: 0;
  font-weight: 500;
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: #007aff;
  color: #007aff;
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #333;
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px; /* Smaller height for mobile nav */
  }
  .menu-toggle {
    display: flex;
  }

  .main-header {
    flex-wrap: nowrap !important;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .reviews-badge {
    display: none !important;
  }
}

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

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

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

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
.container-fluid {
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

@media (max-width: 639px) {
  .sm\:hidden { display: none !important; }
}

@media (min-width: 640px) {
  .sm\:block { display: block !important; }
}

@media (max-width: 767px) {
  .md\:hidden { display: none !important; }
}

@media (min-width: 768px) {
  .md\:block { display: block !important; }
  .md\:flex { display: flex !important; }
}

@media (max-width: 1023px) {
  .lg\:hidden { display: none !important; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
}

.flex-responsive {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2rem);
}

/* ============================================
   ANIMATION & INTERACTION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: clamp(8px, 1vw, 10px);
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============================================
   OVERFLOW PROTECTION
   ============================================ */
body, html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

section, div {
  max-width: 100%;
}

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

@media (max-width: 768px) {
  button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px;
    width: fit-content !important;
    max-width: 90% !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    margin: 0 auto !important;
  }
}

/* ============================================
   UNIVERSAL BUTTON STYLE (CLEAN & CONSISTENT)
   ============================================ */
.btn-black:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-black:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .btn-black {
    padding: 16px 28px;
    font-size: 16px;
  }
}

.tc-design-line {
    top: 57px;
    left: 22px;
    height: 38px;
    right: auto !important;
    transform: none !important;
}

/* intl-tel-input form match */
.iti { width: 100%; }
.iti__flag-container { padding: 0; }
.iti__selected-flag { 
  background: transparent !important; 
  padding: 0 12px 0 0;
}
.iti__country-list {
  z-index: 999999 !important;
  border-radius: 1rem !important;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12) !important;
  border: 1px solid #e4e4e7 !important;
  max-height: 280px !important;
}
.iti__dial-code { 
  font-size: 1.3rem; 
  font-weight: 500; 
  color: #18181b; 
}

/* ── Design Style Table ── */
.design-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.design-table thead th {
  text-align: center;
  padding: 10px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.design-table thead th:first-child {
  text-align: left;
  width: 40%;
}

.design-table tbody tr {
  border-top: 1px solid #f4f4f5;
}

.design-table tbody tr:hover {
  background: #fafafa;
}

.design-table tbody td {
  padding: 18px 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #3f3f46;
}

.design-table tbody td:first-child {
  text-align: left;
  padding-left: 0;
}

.design-table input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #18181b;
}

/* ── Declaration Box ── */
.declaration-box {
  border: 1px solid #f4f4f5;
  border-radius: 1rem;
  padding: 24px;
}

.declaration-box p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #18181b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.declaration-box .required-star {
  color: #ef4444;
  margin-left: 4px;
}

.declaration-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.declaration-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #18181b;
  flex-shrink: 0;
}

.declaration-label span {
  font-size: 1rem;
  font-weight: 500;
  color: #3f3f46;
}

@media (max-width: 640px) {
  .design-table thead th {
    font-size: 0.6rem;
    padding: 8px 4px;
  }

  .design-table tbody td {
    padding: 14px 4px;
    font-size: 0.9rem;
  }

  .design-table input[type="radio"] {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   CUSTOM SELECT
   ============================================ */

.custom-select-wrapper {
  position: relative;
  width: 100%;
  overflow: visible !important;
}

.custom-select-trigger {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e4e4e7;
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #18181b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}

.custom-select-trigger .selected-display {
  flex: 1;
  text-align: left;
  margin-right: auto;
}

.select-chevron {
  margin-left: auto;
  flex-shrink: 0;
}

.custom-select-trigger:focus,
.custom-select-wrapper.open .custom-select-trigger {
  border-bottom-color: #18181b;
}

.custom-select-trigger .placeholder {
  color: #d4d4d8;
}

.custom-select-trigger .selected-display {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #a1a1aa;
}

.custom-select-wrapper.open .select-chevron {
  transform: rotate(180deg);
  color: #18181b;
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.12);
  z-index: 99999;
  overflow-y: auto;
  max-height: 390px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.custom-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f4f4f5;
  user-select: none;
}

.custom-option:last-child { border-bottom: none; }
.custom-option:hover { background: #fafafa; }

.option-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #d4d4d8;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.option-indicator.checkbox {
  border-radius: 6px;
}

.custom-option.selected .option-indicator {
  border-color: #18181b;
  background: #18181b;
}

.option-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}

.option-indicator.checkbox .option-indicator-dot {
  border-radius: 2px;
  background: transparent;
  width: 10px;
  height: 10px;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5L4 7.5L8.5 2.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}

.custom-option.selected .option-indicator-dot { opacity: 1; }
.custom-option.selected .option-indicator.checkbox .option-indicator-dot { display: block; }

.option-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #3f3f46;
  line-height: 1.4;
}

.custom-option.selected .option-label { color: #18181b; }

.other-input-row {
  display: none;
  padding: 0 20px 14px 54px;
}

.other-input-row.visible { display: block; }

.other-input-row input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #d4d4d8;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #18181b;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.other-input-row input::placeholder { color: #d4d4d8; }
.other-input-row input:focus { border-bottom-color: #18181b; }

.hidden-value { display: none; }

@media (max-width: 640px) {
  .custom-select-trigger {
    font-size: 1rem;
    padding: 14px 0;
  }

  .custom-select-dropdown {
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 1rem;
    z-index: 99999 !important;
    overflow-y: auto !important;
    max-height: 280px !important;
  }

  .custom-option {
    padding: 14px 16px;
    gap: 12px;
    min-height: 48px;
  }

  .option-label {
    font-size: 0.95rem;
  }

  .other-input-row {
    padding: 0 16px 14px 48px;
  }

  .option-indicator {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .custom-select-trigger .selected-display {
    max-width: calc(100vw - 100px);
  }
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 99px;
}

/* ============================================
   WhatsApp Button
   ============================================ */
.tu-whatsapp-btn>div {
   background: rgb(37, 211, 102);
   box-sizing: border-box;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   cursor: pointer;
   border-radius: 40px;
   position: fixed;
   box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 4px;
   right: 28px;
   bottom: 56px;
   z-index: 99999;
   height: 48px;
   padding: 0px 12px;
   overflow: hidden;
   transition: width 0.3s ease, padding 0.3s ease;
}

.tu-whatsapp-btn>div svg {
   width: 24px;
   height: 24px;
   flex-shrink: 0;
}

.tu-whatsapp-btn-text {
   margin-left: 10px;
   white-space: nowrap;
   transition: opacity 0.2s ease;
   font-size: 14px;
}

.tu-whatsapp-btn-text {
   margin-left: 8px;
   font-size: 14px;
   font-weight: 600;
   line-height: 20px;
}

@media (max-width: 576px) {
   .tu-whatsapp-btn>div {
     bottom: 20px;
     right: 16px;
     width: 56px;
     height: 56px;
     padding: 0;
   }

   .tu-whatsapp-btn-text {
     display: none;
   }
}

@media (max-width: 1250px) {
   .tu-whatsapp-btn-text {
     display: none;
   }
}

/* ═══════════════════════════════════════════
   case-study-cards.css — CLEAN VERSION
═══════════════════════════════════════════ */

.case-study-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.case-study-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: #d4d4d8;
}

.case-study-card.reverse .cs-image-wrap { order: 2; }
.case-study-card.reverse .cs-content    { order: 1; }

.cs-image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.cs-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.cs-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s ease;
  border-radius: 1rem;
}

.cs-image-wrap:hover::after { background: rgba(0,0,0,0.45); }
.cs-image-wrap:hover img    { transform: scale(1.06); filter: brightness(0.85); }

.cs-hover-btn {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cs-image-wrap:hover .cs-hover-btn { opacity: 1; }

.cs-hover-btn button {
  background: #ffffff;
  color: #09090b;
  border: none;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: translateY(8px);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.cs-image-wrap:hover .cs-hover-btn button { transform: translateY(0); }
.cs-hover-btn button:hover { background: #09090b; color: #ffffff; }
.cs-hover-btn button svg   { width: 14px; height: 14px; }

.cs-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.cs-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #71717a;
}

.cs-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #09090b;
  line-height: 1.1;
  margin: 0;
}

.cs-desc {
  font-size: 1rem;
  color: #52525b;
  line-height: 1.7;
  margin: 0;
  max-width: 920px;
}

.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid #09090b;
  background: transparent;
  color: #09090b;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

.cs-cta-btn:hover { background: #09090b; color: #ffffff; }
.cs-cta-btn svg   { width: 14px; height: 14px; }

/* ── MODAL OVERLAY ── */
.cs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9,9,11,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cs-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── MODAL BOX ── */
.cs-modal-large {
  position: relative;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 1rem;
  padding: 0;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.cs-modal-overlay.active .cs-modal-large {
  transform: translateY(0) scale(1);
}

/* ── CLOSE BUTTON ── */
.cs-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  width: 2rem;
  height: 2rem;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s ease;
}

.cs-modal-close:hover { background: #f4f4f5; }

/* ── SLIDER INSIDE MODAL ── */
#cs-modal .transformation-comparison {
  margin: 0;
  padding: 0;
}

#cs-modal .slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1425 / 1779;
  overflow: hidden;
  border-radius: 1rem;
  height: auto;
}

#cs-modal .before-image,
#cs-modal .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#cs-modal .before-image img,
#cs-modal .after-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  max-width: none;
  display: block;
}

#cs-modal .slider-handle,
#cs-modal .slider-line {
  z-index: 10;
}

#cs-modal .before-text,
#cs-modal .after-text {
  z-index: 15;
}

@media (max-width: 768px) {
  .cs-modal-large {
    width: 100%;
    max-height: 92vh;
    border-radius: 0.75rem;
  }
  .cs-modal-overlay { padding: 0.5rem; }
}

/* ── CARD HEADER ── */
.cs-card-header {
  grid-column: 1 / -1;
  text-align: center;
  padding-bottom: 1.5rem;
}

.cs-card-topline {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #c9920a 0%, #f0c040 50%, #c9920a 100%);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.cs-card-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cs-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: linear-gradient(to right, rgba(201,146,10,0.15), transparent);
  border: 1px solid rgba(201,146,10,0.3);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a87008;
}

.cs-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9920a;
  flex-shrink: 0;
}

.cs-card-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #09090b;
  margin: 0;
}

.cs-card-title-italic {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(to right, #c9920a, #f0c040);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cs-ba-compare {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.25rem;
}

.cs-ba-wrapper {
  width: 100%;
  max-width: 760px;
  display: flex;
  gap: 6px;
  cursor: pointer;
}

.cs-ba-side {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-ba-side img {
  width: 100%;
  display: block;
  border: 1px solid #e0e0e0;
}

.cs-ba-tag {
  font-family: "Inter", "DM Sans", Arial, sans-serif;
  font-size: 26px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 12px 0;
  background: #2c3e6b;
  color: #fff;
  font-weight: 700;
}

.cs-ba-tag-after {
  background: #d9f2f2;
  color: #160707;
}

.cs-ba-content {
  width: 100%;
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  margin: 0 auto 0.25rem;
}

.cs-ba-col {
  border: 1px solid #ececec;
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: #ffffff;
}

.cs-ba-heading {
  margin: 0 0 0.4rem 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111827;
}

.cs-ba-list {
  margin: 0;
  padding-left: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: circle;
}

.cs-ba-list li {
  color: #5f6368;
  line-height: 1.4;
  font-size: 0.86rem;
}

.cs-ba-arrow-wrap {
  width: 100%;
  max-width: 760px;
  position: relative;
  margin-top: 10px;
}

.cs-ba-arrow-wrap img {
    max-width: 80px;
    margin-left: auto;
    margin-right: auto;
}

.cs-ba-arrow-wrap svg {
  position: absolute;
  left: 75%;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  fill: none;
  stroke: #111111;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================
   HERO SECTION - DEFINITIVE SPACING FIX
   These rules are placed last to take priority
   ============================================ */

/* 1. Section: full viewport height, vertically centered */
section.relative.flex.items-center.px-6.overflow-hidden {
  min-height: 90vh !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* 2. Inner container: remove extra vertical padding that caused the gap */
section.relative.flex.items-center.px-6.overflow-hidden > .max-w-7xl {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* 3. Grid: vertically center both columns */
section.relative.flex.items-center.px-6.overflow-hidden .grid.lg\:grid-cols-2 {
  align-items: center !important;
  gap: 4rem !important;
}

/* 4. Left column: flex column, centered, no rogue top spacing */
section.relative.flex.items-center.px-6.overflow-hidden .grid > div:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* 5. Fix reveal animation causing layout displacement
      Before JS activates it, the element was invisible+offset,
      leaving a ghost gap above the visible content */
section.relative.flex.items-center.px-6.overflow-hidden .reveal,
section.relative.flex.items-center.px-6.overflow-hidden [class*="reveal"] {
  opacity: 1 !important;
  transform: none !important;
}

/* 6. H1: single authoritative rule, overrides all earlier conflicts */
section.relative.flex.items-center.px-6.overflow-hidden h1 {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 1.5rem !important;
  font-weight: 700 !important;
}

/* 7. Avatar row: prevent overflow into right column */
section.relative.flex.items-center.px-6.overflow-hidden .flex.-space-x-3 {
  flex-wrap: wrap !important;
  max-width: 100% !important;
}

section.relative.flex.items-center.px-6.overflow-hidden .flex.-space-x-3 span.ml-6 {
  white-space: normal !important;
  font-size: 0.65rem !important;
  max-width: 200px !important;
  line-height: 1.4 !important;
}

/* 8. Mobile: stack cleanly */
@media (max-width: 1023px) {
  section.relative.flex.items-center.px-6.overflow-hidden {
    min-height: auto !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  section.relative.flex.items-center.px-6.overflow-hidden h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    text-align: center !important;
  }

  section.relative.flex.items-center.px-6.overflow-hidden p {
    text-align: center !important;
    max-width: 100% !important;
  }

  section.relative.flex.items-center.px-6.overflow-hidden .flex.flex-col.lg\:flex-row {
    align-items: center !important;
    justify-content: center !important;
  }

  section.relative.flex.items-center.px-6.overflow-hidden .flex.-space-x-3 {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .case-study-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .case-study-card.reverse .cs-image-wrap,
  .case-study-card.reverse .cs-content { order: unset; }
  .cs-image-wrap { aspect-ratio: 16 / 9; }
  .cs-hover-btn  { opacity: 1; }
  .cs-hover-btn button { transform: translateY(0); }
  .cs-ba-tag {
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 8px 0;
  }
  .cs-ba-content {
    gap: 0.9rem;
  }
  .cs-ba-arrow-wrap svg {
    left: 70%;
  }
}
/* @media (max-width: 767px) {
  #expertise h2 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
} */