/* css/index.css */
.index-hero-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: calc(100vh + 100px);
  margin-top: -100px; padding-top: 325px; /* Explicit gap between navbar and hero */
  padding-bottom: 20px; /* Minimal gap below visual/CTAs */
  position: relative;
  background-color: var(--nv-white);
  /* Subtle 60px grid pattern */
  background-image: 
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  overflow: hidden;
}

.index-hero-grid {
  position: relative;
  z-index: 1; /* ensures content sits above the background texture and glows */
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  
  gap: var(--space-32);
  align-items: center;
}
.hero-title {
  grid-column: 1;
  grid-row: 1;
}
.hero-ctas {
  grid-column: 1;
  grid-row: 3;
}
.index-hero-title {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 1;
}
.typewriter-cursor {
  font-weight: 300;
  color: var(--nv-ink);
  animation: blink 1s step-end infinite;
  display: inline-block;
  margin-left: 2px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.service-badge {
  position: absolute;
  background: var(--nv-white);
  padding: 10px 18px;
  border-radius: 100px;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-badge:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
}
.badge-brand {
  top: 8%;
  left: -8%;
  animation: float-badge 6s ease-in-out infinite;
}
.badge-digital {
  top: 45%;
  right: -8%;
  animation: float-badge 7s ease-in-out infinite 1s;
}
.badge-growth {
  bottom: 10%;
  left: -6%;
  animation: float-badge 8s ease-in-out infinite reverse;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-blue { background-color: var(--nv-blue); }
.dot-green { background-color: #34C759; }
.dot-beige { background-color: #E8DDCC; border: 1px solid rgba(17, 17, 17, 0.1); }
.badge-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--nv-ink);
}
@keyframes float-badge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.index-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-20);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  display: block;
}

.hero-img-card {
  width: 100%;
  border-radius: var(--radius-20);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  line-height: 0; /* removes bottom gap */
}

.hero-img-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

/* Draggable Stickers */
.draggable-sticker {
  position: absolute;
  padding: 8px 16px;
  background-color: var(--nv-blue);
  color: var(--nv-white);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0px var(--nv-ink);
  border: 2px solid var(--nv-ink);
  cursor: grab;
  user-select: none;
  z-index: 20;
  transition: box-shadow 0.2s ease;
}

.draggable-sticker:active {
  cursor: grabbing;
  box-shadow: 8px 8px 0px var(--nv-ink);
}

.sticker-1 { top: 260px; left: 4%; transform: rotate(-8deg); background-color: var(--nv-blue); }
.sticker-2 { top: 250px; right: 8%; transform: rotate(12deg); background-color: #f24e1e; color: white; }
.sticker-3 { top: 565px; left: 46%; transform: rotate(-5deg); background-color: var(--nv-ink); }

/* Mobile optimization for stickers to prevent text overlap */
@media (max-width: 767px) {
  .draggable-sticker {
    font-size: 0.8rem;
    padding: 6px 14px;
    box-shadow: 3px 3px 0px var(--nv-ink);
  }
  .sticker-1 {
    top: 293px;
    left: 8px;
    right: auto;
    transform: rotate(-8deg);
  }
  .sticker-2 {
    top: 470px; 
    right: -5px;
    left: auto;
    bottom: auto;
    transform: rotate(12deg);
  }
  .sticker-3 {
    top: 70%;
    left: 10px;
    right: auto;
    bottom: auto;
    transform: rotate(-10deg);
  }
}

/* Tablet: 768px–1024px — keep 2 columns, image stays right */
@media (max-width: 1024px) {
  .index-hero-section {
    display: block !important;
    min-height: auto !important;
    padding-top: 240px;
    padding-bottom: 40px;
    align-items: flex-start;
  }
.index-hero-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: var(--space-24);
    align-items: center;
  }
  .hero-title {
    
    
  }
  .hero-ctas {
    
    
  }
  .service-badge {
    display: none !important;
  }
  .index-hero-section .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
  }
}

/* Mobile: up to 767px — stack to single column, center text, image above CTAs */
@media (max-width: 767px) {
  .index-hero-section {
    display: block !important;
    min-height: auto !important;
    padding-top: 200px;
    padding-bottom: 32px;
  }
.index-hero-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: var(--space-24) !important;
    text-align: center;
  }
  .hero-title {
    
    
    text-align: center;
    font-size: clamp(3.0rem, 12vw, 3.8rem) !important; /* Increased size for mobile screens */
  }
  .hero-ctas {
    
     /* CTAs go to Row 4 (below Image) */
    justify-content: center !important;
  }
  .index-hero-section .btn {
    padding: 0.65rem 1.1rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }
}

/* ==========================================================================
   SECTION 02 — POSITIONING (Creative Block)
   ========================================================================== */
.positioning-section {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.pos-bg-star {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  color: var(--nv-blue);
  opacity: 0.15;
  z-index: 0;
  animation: rotate-star 60s linear infinite;
  pointer-events: none;
}

@keyframes rotate-star {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pos-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

.pos-line {
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.pos-title:hover .pos-line:nth-child(1) { transform: translateX(10px); }
.pos-title:hover .pos-line:nth-child(3) { transform: translateX(15px); }
.pos-title:hover .pos-line:nth-child(5) { transform: translateX(20px); }

.pos-highlight {
  position: relative;
  display: inline-block;
  text-shadow: 4px 4px 0px rgba(24, 63, 228, 0.4);
}

.pos-divider {
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--nv-blue);
  border-radius: 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.positioning-section:hover .pos-divider {
  transform: scaleY(1);
}

.pos-text {
  padding-left: 12px;
  color: #E8DDCC; /* Brand beige */
}

@media (max-width: 1024px) {
  .pos-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-32) !important;
  }
  .pos-divider {
    left: 0;
    top: -16px;
    bottom: auto;
    width: 60px;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }
  .positioning-section:hover .pos-divider {
    transform: scaleX(1);
  }
  .pos-text {
    padding-left: 0;
    padding-top: 12px;
  }
  .pos-bg-star {
    width: 250px;
    height: 250px;
    top: auto;
    bottom: -5%;
    right: -10%;
  }
}

/* Section 03 — Services Cards Lists */
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-32) 0;
}

.service-card-list li {
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  padding-bottom: 12px;
}
.service-card-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-card-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700; /* Bolder */
  font-size: var(--fs-body); /* Larger */
  color: var(--nv-ink);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
  text-decoration: none;
  padding: 8px 0;
}

.service-card-list a .arrow-right {
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6; /* subtle arrow */
}

.service-card-list a:hover {
  color: var(--nv-blue);
  transform: translateX(12px);
}

.service-card-list a:hover .arrow-right {
  transform: translateX(4px);
  opacity: 1;
}

/* ==========================================================================
   NEW HOME SECTIONS: WHY WORK WITH US, TESTIMONIALS, & FAQS
   ========================================================================== */

/* Section 05 — Approach Styling */
.approach-section {
  position: relative;
  background-color: #FAF8F5; /* Brand Warm Beige background */
  background-image: radial-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: clamp(70px, 7vw, 110px) 0; /* Reduced responsive heights */
  overflow: hidden;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}
.strategy-grid-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  color: var(--nv-blue);
}

/* Static Logo Cards */
.static-logo-card {
  position: absolute;
  background: var(--nv-white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(17, 17, 17, 0.06);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.static-logo-card:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 15px 30px rgba(17, 17, 17, 0.1);
}

.static-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Positions of Logo Cards */
.logo-website {
  top: 15%;
  left: 12%;
  animation: float-logo 6s ease-in-out infinite;
}
.logo-linkedin {
  top: 40%;
  right: 12%;
  animation: float-logo 7s ease-in-out infinite 1.5s;
}
.logo-instagram {
  bottom: 15%;
  left: 20%;
  animation: float-logo 8s ease-in-out infinite 3s alternate;
}

/* Tooltip style */
.static-logo-tooltip {
  position: absolute;
  bottom: -32px;
  background: var(--nv-ink);
  color: var(--nv-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.static-logo-card:hover .static-logo-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-logo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.crosshair {
  position: absolute;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--nv-blue);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}
.crosshair-left {
  top: 25%;
  left: 10%;
}
.crosshair-right {
  bottom: 25%;
  right: 10%;
}

@media (max-width: 768px) {
  .approach-section {
    padding: var(--space-48) 0;
  }
  /* Keep background SVG, crosshairs, and logo cards visible on mobile, just scale down */
  .strategy-grid-bg svg {
    width: 240px;
    height: 240px;
  }
  .crosshair {
    display: inline-block !important;
    opacity: 0.1;
  }
  .crosshair-left {
    top: 15%;
    left: 4%;
  }
  .crosshair-right {
    bottom: 15%;
    right: 4%;
  }
  .static-logo-card {
    width: 38px !important;
    height: 38px !important;
    box-shadow: 0 6px 15px rgba(17, 17, 17, 0.05) !important;
  }
  .static-logo-card svg,
  .static-logo-img {
    width: 20px !important;
    height: 20px !important;
  }
  .logo-website {
    top: 8%;
    left: 4%;
  }
  .logo-linkedin {
    top: 38%;
    right: 4%;
  }
  .logo-instagram {
    bottom: 8%;
    left: 10%;
  }
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
  margin-top: var(--space-48);
}
.why-card {
  border: 4px solid var(--nv-ink);
  padding: var(--space-48) var(--space-32);
  border-radius: var(--radius-12);
  background-color: var(--nv-white);
  box-shadow: 12px 12px 0px rgba(17, 17, 17, 1);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--nv-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0px rgba(17, 17, 17, 1);
}
.why-card:hover::after {
  transform: scaleX(1);
}
.why-num {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--nv-blue);
  font-weight: 700;
  margin-bottom: var(--space-24);
  letter-spacing: 1.5px;
}
.why-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-16);
}

/* Section 08 — Final CTA Styling */
.final-cta-section {
  position: relative;
  background-color: var(--nv-blue);
  /* White grid overlay at 4% opacity */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  color: var(--nv-white);
  text-align: center;
  padding: clamp(80px, 8vw, 120px) 0; /* Reduced responsive heights */
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-crosshair {
  position: absolute;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--nv-white);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
}
.cta-crosshair-1 {
  top: 20%;
  left: 10%;
}
.cta-crosshair-2 {
  bottom: 20%;
  right: 10%;
}

@media (max-width: 768px) {
  .final-cta-section {
    padding: var(--space-64) 0;
  }
  .cta-crosshair {
    display: none;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: clamp(60px, 6vw, 90px) 0; /* Reduced heights */
  background-color: var(--nv-white);
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}
.testimonials-slider {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 50px !important; /* Space for pagination indicators */
}
.testimonial-card {
  background-color: var(--nv-soft-white);
  padding: var(--space-64) var(--space-48); /* Increased padding */
  min-height: 320px; /* Force increased vertical height */
  border-radius: var(--radius-20);
  border: 1px solid rgba(17, 17, 17, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.25rem); /* Smaller fluid font sizes */
  line-height: 1.5;
  margin-bottom: var(--space-24);
  color: var(--nv-ink);
  font-weight: 600;
  max-width: 700px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}
.author-meta h4 {
  font-weight: 700;
  font-size: var(--fs-body);
  margin-bottom: 4px;
}
.author-meta p {
  font-size: var(--fs-body-sm);
  opacity: 0.6;
}

/* Premium Swiper Bullet Indicators */
.testimonials-slider .swiper-pagination-bullet {
  background: var(--nv-ink) !important;
  opacity: 0.15;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}
.testimonials-slider .swiper-pagination-bullet-active {
  background: var(--nv-blue) !important;
  opacity: 1;
  width: 24px; /* Capsules active shape */
  border-radius: 4px;
}

/* FAQ Accordion Section */
.faq-list {
  max-width: 800px;
  margin: var(--space-48) auto 0;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  padding: 16px 0;
}
.faq-item:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: var(--space-8) 0;
}
.faq-question h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 700;
  transition: color 0.3s ease;
}
.faq-question:hover h3 {
  color: var(--nv-blue);
}
.faq-icon {
  font-size: 28px; /* Increased size of plus and cross sign */
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding-top 0.3s ease;
  padding-top: 0;
  color: rgba(17, 17, 17, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-top: var(--space-16);
  transition: max-height 0.4s cubic-bezier(0.95, 0.05, 0.795, 0.035), padding-top 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Responsive updates */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  .testimonials-slider {
    max-width: 100%;
    padding-bottom: 40px !important;
  }
  .testimonial-card {
    min-height: 250px; /* Reduced from 320px for tablets */
    padding: var(--space-48) var(--space-32);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: var(--space-48) 0; /* Tighten section height on mobile */
  }
  .testimonial-card {
    min-height: 280px; /* Increased height of review card on mobile */
    padding: var(--space-48) var(--space-32) !important; /* Maintained generous internal padding, did not reduce */
    width: 100%; /* Spans full swiper container width */
  }
  .testimonial-quote {
    font-size: 0.875rem !important; /* Reduced font size on mobile screens only */
    margin-bottom: var(--space-20);
    line-height: 1.6;
  margin-bottom: 40px;
  }
  .author-meta h4 {
    font-size: 0.9rem;
  }
  .author-meta p {
    font-size: 0.75rem;
  }
}

/* Specific override for 320px screen widths to prevent hero section horizontal overflow */
@media (max-width: 320px) {
.index-hero-grid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .hero-title {
    font-size: 2.15rem !important; /* Slightly smaller title for 320px fit */
  }
  .index-hero-section .hero-ctas {
    flex-direction: column !important; /* Stack buttons vertically to fit within 320px */
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .index-hero-section .btn {
    width: 100% !important;
    max-width: 260px !important;
    text-align: center;
  }
}



/* Sticky Stack Container */
.sticky-stack-container {
  display: flex;
  flex-direction: column;
  gap: 10vh;
  padding-bottom: 5vh;
  max-width: 1000px;
  margin: 0 auto;
}

.sticky-stack-container .sticky-card {
  position: sticky;
  /* Top offsets for layering effect */
}

.sticky-stack-container .sticky-card:nth-child(1) {
  top: 120px;
  z-index: 10;
}

.sticky-stack-container .sticky-card:nth-child(2) {
  top: 150px;
  z-index: 20;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.08);
}

.sticky-stack-container .sticky-card:nth-child(3) {
  top: 180px;
  z-index: 30;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.08);
}

/* Services Grid Layout */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-32); }
.services-grid .next-frame { padding: var(--space-32); }
@media (max-width: 1024px) { .services-grid { grid-template-columns: 1fr; } }

/* === HERO LAYOUT FIXES === */
.hero-content-left { display: flex; flex-direction: column; justify-content: center; }
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.hero-subtitle { max-width: 600px; font-size: 1.2rem; line-height: 1.6; margin-bottom: 40px; }
.hero-title { font-size: clamp(3.2rem, 6vw, 5.5rem); }

@media (max-width: 767px) {
  .index-hero-grid { display: flex !important; flex-direction: column !important; }
  .hero-content-left { display: contents !important; }
  .hero-title { order: 1; font-size: clamp(3.0rem, 12vw, 3.8rem) !important; text-align: center; }
  .hero-subtitle { order: 2; font-size: 0.95rem !important; margin-bottom: 24px !important; text-align: center; max-width: 100% !important; }
  .hero-visual { order: 3; justify-content: center !important; margin-bottom: 0px !important; width: 100%; }
  .hero-ctas { order: 4; margin-top: -16px !important; display: flex !important; flex-direction: row !important; justify-content: center !important; width: 100% !important; gap: 12px !important; flex-wrap: nowrap !important; }
  .hero-ctas .btn { width: auto !important; flex: 1; padding: 0.75rem 0.5rem !important; font-size: 0.85rem !important; text-align: center; }
}

@media (max-width: 320px) {
  .hero-title { font-size: 2.15rem !important; }
  .hero-subtitle { font-size: 0.95rem !important; }
}



@media (max-width: 767px) {
  .services-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 20px; /* Space for shadow/scroll */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    margin-left: -16px; /* Bleed out of container */
    margin-right: -16px;
    padding-left: 16px; /* Initial padding */
    padding-right: 16px;
  }
  .services-grid::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .services-grid > .next-frame {
    flex: 0 0 85% !important; /* Cards take 85% width so next card peeks */
    scroll-snap-align: center;
  }
}


@media (min-width: 768px) {
  .index-hero-section {
    background-image: 
      linear-gradient(rgba(17, 17, 17, 0.075) 1px, transparent 1px),
      linear-gradient(90deg, rgba(17, 17, 17, 0.075) 1px, transparent 1px);
  }
  .final-cta-section {
    background-image: 
      linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  }
}
