/* ========================================
   PORTFOLIO — Professional Revamp
   ======================================== */
/* --- FIXED GRID SLIDER STYLES --- */
/* --- PROFESSIONAL GRID SLIDER --- */
.slider {
  overflow: hidden;
  /* Prevents cards from spilling out */
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.slider-track {
  display: flex !important;
  /* Arranges cards in a single row */
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Force all cards to show so there is no empty space */
.slider-slide {
  display: block !important;
  opacity: 1 !important;
  flex: 0 0 380px;
  /* Fixed professional width for cards */
  height: auto;
}

@media (max-width: 768px) {
  .slider-slide {
    flex: 0 0 88vw;
    /* Responsive width for mobile swiping */
  }
}

@media (max-width: 768px) {
  .slider-slide {
    flex: 0 0 85vw;
    /* Make cards wider on mobile */
  }
}

/* --- MOBILE MENU FIX --- */
@media (max-width: 768px) {
  .nav-links-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-elevated);
    transform: translateX(100%);
    /* Start hidden */
    transition: transform 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
  }

  body.nav-open .nav-links-wrapper {
    transform: translateX(0);
    /* Slide in when body has .nav-open */
  }
}

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --surface: #1a1a24;
  --surface-alt: #1e1e2a;
  --text: #f4f4f6;
  --text-muted: #8b8b9e;
  --text-subtle: #6b6b7b;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --accent-2: #22d3ee;
  --accent-3: #a78bfa;
  --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --gradient-alt: linear-gradient(135deg, #a78bfa 0%, #6366f1 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(at 80% 0%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    radial-gradient(at 0% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
section[id] {
  scroll-margin-top: 30px;
}

body {
  margin: 0;
  font-family: "Outfit", "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- Animated Background Mesh ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
  background-image: var(--gradient-mesh);
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-drift 60s linear infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(80px, 80px);
  }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient);
  z-index: 100;
  transition: width 0.1s linear;
}

/* START PROJECT BUTTON */

.start-project-btn {
  margin-left: 20px;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  color: #fff;
  background: linear-gradient(135deg, #6366f1, #22d3ee);

  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.start-project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}


/* mobile fix */

@media(max-width:768px) {

  .start-project-btn {
    display: block;
    width: 80%;
    margin: 20px auto;
    text-align: center;
  }

}



/* ---- Header & Navigation ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.primary-nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
}

.primary-nav .logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text);
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition-fast);
}

.logos img {
  width: 300px;
  height: auto;

  border-radius: 45px;
}

@media screen and (max-width: 768px) {
  .logos img {
    width: 200px;
    height: auto;

  }

  html {
    overflow-x: hidden;
  }
}

.primary-nav .logo:hover {
  opacity: 0.9;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-smooth);
  /* overflow: hidden; */
}

/* .primary-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(34, 211, 238, 0.05));
  opacity: 0;
  border-radius: inherit;
  transition: opacity var(--transition-fast);
} */

.primary-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.primary-nav a:hover::before {
  opacity: 1;
}

/* .primary-nav a.active {
  color: var(--accent-light);
  background: rgba(99, 102, 241, 0.12);
} */

.primary-nav a.active::before {
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  bottom: -0.65rem;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 12px var(--accent-glow);
  transition: transform var(--transition-smooth), width var(--transition-smooth), opacity var(--transition-fast);
  opacity: 0;
}

.nav-indicator.visible {
  opacity: 1;
}

/* ---- Main Container ---- */
main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 7.5rem 2rem 6rem;
}
/* ---- Section Panel ---- */
.panel {
  position: relative;
  padding: 4.8rem 0;
  border-bottom: 1px solid var(--border);
}

.panel:last-of-type {
  border-bottom: none;
}

/* ---- Shopify Section (Dedicated Hub) ---- */
.shopify-section {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-xl);
  margin: 2rem 0;
  padding: 4rem 2rem;
}

.shopify-pill {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.shopify-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.shopify-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.shopify-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.shopify-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.shopify-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.shopify-card {
  border-color: rgba(99, 102, 241, 0.15);
}

.shopify-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.1);
}

@media (max-width: 768px) {
  .shopify-section {
    margin: 1rem 0;
    padding: 2.5rem 1rem;
  }

  .shopify-highlights {
    grid-template-columns: 1fr;
  }
}

.section-heading {
  max-width: 100%;
  margin-bottom: 3.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease forwards;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Hero Section ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  min-height: 90vh;
  padding: 3rem 0 6rem;
}

.hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.eyebrow {
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.1s forwards;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-badges span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.hero-badges span:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.hero-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-list h4 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.hero-list ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn {
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ---- Hero Showcase (Right Column) ---- */
 
.profile-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 180deg, #6366f1, #22d3ee, #a78bfa, #6366f1);
  opacity: 0.7;
  filter: blur(1px);
}

.profile-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 0 0 6px rgba(255,255,255,0.04);
  z-index: 2;
}
.profile-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:-10px 0 16px;
}
.badge-pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.03);
  font-size:12px;
  font-weight:600;
  color:var(--text-muted);
}
.deliver-list{
  margin:14px 0 0;
  padding-left:1.2rem;
}
.deliver-list li{
  margin-bottom:10px;
}
.tech-stack{
  line-height:1.75;
}
/* ---- Hero Showcase (Right Column) ---- */
 
/* ===== PROFILE CARD LAYOUT (PREMIUM) ===== */
.profile-card{
  /* display: grid; */
  grid-template-columns: 200px 1fr;
  gap: 25px;
  align-items: start;
  margin-top: 5px;
  padding: 16px !important;
}

.profile-card__left{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card__right h3{
  margin-top: 6px;
}

.deliver-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.deliver-list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.deliver-list li strong{
  color: var(--text);
}

.deliver-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 800;
}

/* make profile image a bit tighter */
.profile-wrapper{
  width: 190px;
  height: 190px;
  margin: 0 auto 14px;
}

/* responsive */
@media (max-width: 900px){
  .profile-card{
    grid-template-columns: 1fr;
  }
  .profile-card__right{
    text-align: left;
  }
}

@media (max-width: 560px){
  .profile-card__left{
    align-items: center;
  }
  .profile-card__right{
    text-align: left;
  }
}



/* Lights should sit behind cards, not behind the whole page */
/* ===== HERO GLOW LIGHTS (FIXED + VISIBLE) ===== */
.hero-showcase{
  position: relative;
  isolation: isolate;
  z-index: 1;
}

/* make glow actually visible */
.floating-light{
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.85;
  z-index: 0;               /* behind cards, inside hero-showcase */
  pointer-events: none;
  mix-blend-mode: screen;   /* makes glow pop on dark bg */
  animation: glowFloat 7s ease-in-out infinite;
}

.light-one{
  top: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(99,102,241,0.95), transparent 65%);
}

.light-two{
  bottom: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(34,211,238,0.90), transparent 65%);
  animation-delay: 1.2s;
}

@keyframes glowFloat{
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(18px,-18px) scale(1.06); }
}

/* slightly transparent hero cards so glow can “read” around edges */
.hero-showcase .floating-card{
  position: relative;
  z-index: 1;
  background: rgba(22,22,31,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Cards must be above the lights */
.floating-card{
  position: relative;
  z-index: 1;

  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  transition: all var(--transition-smooth);
  animation: floatCard 6s ease-in-out infinite;
  overflow: hidden;
}

/* Keep your existing card hover line */
.floating-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.floating-card:hover{
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.floating-card:hover::before{
  opacity: 1;
}

.floating-card.primary {
  animation-delay: 0s;
}

.floating-card.secondary {
  animation-delay: 1s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.floating-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.stats-ribbon strong {
  display: block;
  font-size: 1.75rem;
  color: var(--accent-light);
  font-weight: 600;
}

.stats-ribbon span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Info Cards / Service Cards / Case Cards ---- */
.three-up,
.services-grid,
.grid,
.case-grid,
.skills-grid,
.testimonial-grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.three-up,
.grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-layout,
.experience-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.experience-layout {
  align-items: flex-start;
}

.info-card,
.service-card,
.case-card,
.impact-card,
.timeline-card,
.testimonial-card,
.contact-card {
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.info-card:hover,
.service-card:hover,
.case-card:hover,
.impact-card:hover,
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card>*,
.service-card>*,
.case-card>*,
.impact-card>*,
.timeline-card>*,
.testimonial-card>*,
.contact-card>* {
  position: relative;
  z-index: 1;
}

.info-card h3,
.service-card h3,
.case-card h3,
.impact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.info-card ul,
.service-card ul,
.case-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Timeline ---- */
.timeline {
  position: relative;
}

.timeline-row {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 5rem;
  align-items: start;
}

.timeline-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  font-size: 0.85rem;
}

.timeline-card {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-left: 0.5rem;
}

/* ---- Case Study Cards ---- */
.case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.case-meta span {
  font-size: 0.75rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.case-meta strong {
  font-size: 1.15rem;
  color: var(--text);
}

/* ---- Generic slider (testimonials, case studies) ---- */
.slider {
  position: relative;
}

.slider-track {
  position: relative;
}

.slider-slide {
  display: none;
}

.slider-slide.active {
  display: block;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  gap: 1rem;
}

.slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.slider-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
}

.slider-dot.active {
  width: 18px;
  background: var(--gradient);
}



@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 1.25rem 2rem !important;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Testimonials ---- */
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
}

.testimonial-card .author {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- Contact ---- */
.contact-highlights {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  color: var(--text-muted);
}

.contact-highlights li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.contact-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-light);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill-row span {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 20px;
}

/* Stagger children */
.three-up .reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.three-up .reveal:nth-child(2) {
  transition-delay: 0.2s;
}

.three-up .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.services-grid .reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.services-grid .reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.services-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.services-grid .reveal:nth-child(4) {
  transition-delay: 0.25s;
}

.case-grid .reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.case-grid .reveal:nth-child(2) {
  transition-delay: 0.2s;
}

.case-grid .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Footer ---- */
.site-footer {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text);
}

.footer-col p {
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--accent-light);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* ---- Mobile Nav Overlay ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

/* 
body.nav-open .nav-overlay {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
*/
@media (min-width: 769px) {
  .nav-overlay {
    display: none !important;
  }
}

/* ---- Nav Toggle (Mobile) ---- */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
  color: white;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 2px 17px;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* ---- Mobile Responsive ---- */
@media (max-width: 900px) {
  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }

  .primary-nav a {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 768px) {
  html.nav-open {
    overflow: hidden;
  }

  body.nav-open {
    overflow: hidden;
  }

  .primary-nav {
    padding: 1rem 1.25rem;
  }

  .primary-nav .logo {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 110;
  }

  .nav-links-wrapper {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88%, 340px);
    background: linear-gradient(180deg, var(--bg-elevated) 0%, #0d0d14 100%);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    height: 100vh;
    overflow-y: auto;
  }

  body.nav-open .nav-links-wrapper {
    transform: translateX(0);
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }

  .primary-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .primary-nav li:last-child {
    border-bottom: none;
  }

  .primary-nav a {
    font-size: 1.1rem;
    padding: 1rem 1rem;
    display: block;
    border-radius: var(--radius-sm);
  }

  .nav-indicator {
    display: none;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  main {
    padding: 6rem 1.25rem 4rem;
  }

  .panel {
    padding: 3rem 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2rem 0 4rem;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .stats-ribbon {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
  }

  .timeline-card {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-card {
    animation: none;
  }
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--gradient);
  /* Uses your existing theme gradient */
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 4px 15px var(--accent-glow);
  z-index: 1000;
  opacity: 0;
  /* Hidden by default */
  visibility: hidden;
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* --- ICON-BASED FIXED SOCIALS (UPGRADED) --- */
.fixed-socials {
  position: fixed;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;

  /* little glass feel */
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

/* each icon button */
.fixed-socials a {
  width: 46px;
  height: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  font-size: 1.25rem;
  position: relative;
  cursor: pointer;

  /* entrance */
  opacity: 0;
  transform: translateX(-28px) scale(0.95);
  animation: socialEnter 0.7s ease forwards;

  /* smooth hover */
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;

  /* subtle floating */
  animation-name: socialEnter, socialFloat;
  animation-duration: 0.7s, 3.8s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards, both;
  animation-iteration-count: 1, infinite;
}

/* glow ring behind each icon */
.fixed-socials a::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transform: scale(0.9);
  filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* tooltip label */
.fixed-socials a::after {
  content: attr(aria-label);
  position: absolute;
  left: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  white-space: nowrap;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;

  padding: 8px 10px;
  border-radius: 12px;

  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* hover = more clickable */
.fixed-socials a:hover {
  transform: translateX(10px) scale(1.12);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.fixed-socials a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.fixed-socials a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* keyboard accessible */
.fixed-socials a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Original hover colors (KEEPING YOUR ORIGINAL IDEA) */
.fixed-socials a.social-wa:hover {
  background: #25D366;
  color: white;
}

.fixed-socials a[aria-label="GitHub"]:hover {
  background: #333;
  color: white;
}

.fixed-socials a[aria-label="LinkedIn"]:hover {
  background: #0077b5;
  color: white;
}

.fixed-socials a[aria-label="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: white;
}

.fixed-socials a[aria-label="Facebook"]:hover {
  background: #1877f2;
  color: white;
}

.fixed-socials a[aria-label="Glowkart"]:hover {
  background: var(--gradient);
  color: white;
}

/* entrance + float animations */
@keyframes socialEnter {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes socialFloat {

  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(0) translateY(-4px);
  }
}

/* stagger */
.fixed-socials a:nth-child(1) {
  animation-delay: 0.08s, 0s;
}

.fixed-socials a:nth-child(2) {
  animation-delay: 0.16s, 0.1s;
}

.fixed-socials a:nth-child(3) {
  animation-delay: 0.24s, 0.2s;
}

.fixed-socials a:nth-child(4) {
  animation-delay: 0.32s, 0.3s;
}

.fixed-socials a:nth-child(5) {
  animation-delay: 0.40s, 0.4s;
}

.fixed-socials a:nth-child(6) {
  animation-delay: 0.48s, 0.5s;
}

/* OPTIONAL: instead of hiding on mobile, show bottom bar */
@media (max-width: 1100px) {
  .fixed-socials {
    left: 50%;
    top: auto;
    bottom: 14px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px;
  }

  .fixed-socials a::after {
    display: none;
    /* tooltips off on mobile */
  }

  .fixed-socials a:hover {
    transform: scale(1.12);
  }.fixed-socials a {
    width: 30px;
    height: 20px;
  }
}

/* ===== GALLERY GRID ===== */

.gallery-section {
  padding: 120px 6% 80px;
  max-width: 1400px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===== MODAL ===== */

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease;
  z-index: 9999;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slider {
  position: relative;
  width: 85%;
  max-width: 1100px;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.gallery-slide {
  min-width: 100%;
  user-select: none;
}

.gallery-slide img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
}

.gallery-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 20px;
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

@media(max-width:768px) {
  .gallery-nav {
    font-size: 28px;
  }
}

.site-footer {
  /* background: #0e0e0e; */
  color: #ffffff;
  padding: 60px 3% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  color: #ccc;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #aaa;
}






.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 18px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-cta {
  margin-top: 20px;
  font-size: 14px;
  color: #ddd;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 13px;
  color: #aaa;
}

@media (min-width: 768px) {
  .experience-aside {
    display: inline-flex;
    width: 100%;
  }

  article.impact-card.reveal.revealed {
    width: 50%;
    margin-right: 90px;
  }
}


.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 40px;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.stat-icon svg {
  width: 36px;
  height: 36px;
  color: #38bdf8;
}

.stat-item strong {
  font-size: 28px;
  font-weight: 700;
}

.stat-item span {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .stats-ribbon {
    grid-template-columns: 1fr;
  }
}

.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: #38bdf8;
  margin-bottom: 15px;
}

.toolbox-section {
  margin-top: 60px;
  text-align: center;
}

.toolbox-section h3 {
  margin-bottom: 15px;
}

.toolbox-section p {
  color: #94a3b8;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .six-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .six-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TOOLBOX SECTION ===== */
.toolbox-section {
  margin-top: 80px;
  text-align: center;
}

.toolbox-section h3 {
  margin-bottom: 50px;
  font-size: 26px;
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 35px;
  text-align: left;
}

.toolbox-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toolbox-grid li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.toolbox-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #38bdf8;
  font-weight: bold;
}

/* Large tablets */
@media (max-width: 1200px) {
  .toolbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets */
@media (max-width: 992px) {
  .toolbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .toolbox-grid {
    grid-template-columns: 1fr;
  }
}

.service-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* CTA Container */
.services-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 16px;
}

/* CTA Text */
.services-cta p {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #111;
}

/* Primary Button */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  background: #000;
  color: #fff;
  transition: all 0.3s ease;
}

/* Hover Effect */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: #222;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .services-cta {
    padding: 30px 15px;
  }

  .btn-primary {
    width: 100%;
    max-width: 300px;
  }
}


/* === 3 Column Black Layout === */

.shopify-extended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
}

/* Cards */
.shopify-deep-dive,
.shopify-impact,
.shopify-engagements {
  background: #16161f;
  color: #bbb4b4;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid #1f1f1f;
  transition: all 0.3s ease;
}

/* Hover Effect */
.shopify-deep-dive:hover,
.shopify-impact:hover,
.shopify-engagements:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: #333;
}

/* Headings */
.shopify-deep-dive h3,
.shopify-impact h3,
.shopify-engagements h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* List Reset */
.shopify-deep-dive ul,
.shopify-impact ul,
.shopify-engagements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List Items */
.shopify-deep-dive li,
.shopify-impact li,
.shopify-engagements li {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

/* White Tick Icon */
.shopify-deep-dive li::before,
.shopify-impact li::before,
.shopify-engagements li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-size: 13px;
}

/* === Responsive === */

@media (max-width: 992px) {
  .shopify-extended-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .shopify-extended-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shopify-deep-dive,
  .shopify-impact,
  .shopify-engagements {
    padding: 28px;
  }
}



/* === Centered Shopify CTA === */

.shopify-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* horizontal center */
  justify-content: center;
  /* vertical center inside block */
  text-align: center;

  margin: 90px auto 0;
  padding: 70px 30px;
  max-width: 900px;
  /* keeps it centered and not full width */

  background: #000;
  color: #fff;
  border-radius: 24px;
}

/* CTA Text */
.shopify-cta p {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 500;
  max-width: 600px;
}

/* Button */
.shopify-cta .btn-primary {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover Effect */
.shopify-cta .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .shopify-cta {
    padding: 50px 20px;
    margin-top: 60px;
  }

  .shopify-cta p {
    font-size: 18px;
  }

  .shopify-cta .btn-primary {
    width: 100%;
    max-width: 300px;
  }
}


/* === Section Background Text System === */

.section-bg {
  position: relative;
  overflow: hidden;
}

/* Background Text */
.section-bg::before {
  content: attr(data-bg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);

  font-size: 140px;
  font-weight: 900;
  letter-spacing: 10px;
  white-space: nowrap;

  color: rgba(0, 0, 0, 0.04);

  pointer-events: none;
  user-select: none;

  opacity: 0;
  transition: all 0.8s ease;
  z-index: 0;
}

/* Active State */
.section-bg.active::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* Keep content above */
.section-bg>* {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
  .section-bg::before {
    font-size: 90px;
  }
}

@media (max-width: 768px) {
  .section-bg::before {
    font-size: 55px;
    letter-spacing: 5px;
  }
}

body::before {
  content: attr(data-bg-text);
  position: fixed;
  left: 75px;
  top: 100%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-size: 98px;
  font-weight: 800;
  letter-spacing: 10px;
  color: rgb(255 255 255 / 5%);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
  transition: content 0.4s ease, opacity 0.4s ease;
}

.panel {
  position: relative;
  z-index: 2;
}


/* --- Case Studies slider polish --- */
.case-slider {
  position: relative;
}

.case-card p {
  margin-top: 10px;
}

.case-tech {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.case-tech span {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
}

.case-card {
  min-height: 320px;
}

@media (max-width: 768px) {
  .case-card {
    min-height: auto;
  }
}


/* ===== Skills Section Upgrade ===== */
.skills-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.skills-highlights span {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.skills-highlights span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all var(--transition-smooth);
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.skill-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.skill-card__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 18px;
}

.skill-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.skill-card p {
  margin: 8px 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.skill-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.skill-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0.9;
}

.tech-cloud {
  margin: 26px 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-cloud span {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  transition: all 0.2s ease;
}

.tech-cloud span:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

/* Responsive */
@media (max-width: 1100px) {
  .skills-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .skills-cards {
    grid-template-columns: 1fr;
  }
}

/* ---- Skills Section ---- */
.skill-meters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.skill-meter {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition-smooth);
}

.skill-meter:hover {
  border-color: var(--border-hover);
}

.skill-meter__label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.skill-meter__label span:last-child {
  color: var(--accent-light);
}

.skill-meter__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.skill-meter__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gradient);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}


/* testimonial stars */

.testimonial-stars {
  color: #facc15;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* testimonial text */

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #d4d4d8;
  margin-bottom: 20px;
}

/* author */

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

/* avatar */

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
}

.testimonial-author span {
  font-size: 13px;
  color: #a1a1aa;
}

/* card hover */

.testimonial-card:hover {
  transform: translateY(-5px);
  transition: .3s;
}



.contact-engagement {
  margin-top: 20px;
}

.contact-engagement h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-engagement ul {
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-role {
  margin-top: 10px;
  color: #a1a1aa;
  font-size: 14px;
}

.contact-response {
  margin-top: 18px;
  font-size: 14px;
  color: #a1a1aa;
}

.contact-card {
  position: relative;
  overflow: hidden;
}

.contact-card {
  position: relative;
  overflow: hidden;
}

.card-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* GOLD STAR */

.gold-star {
  position: absolute;
  width: 16px;
  height: 16px;

  background: linear-gradient(45deg,
      #ffd700,
      #ffec8b,
      #ffc107);

  clip-path: polygon(50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%);

  box-shadow:
    0 0 6px #ffd700,
    0 0 14px rgba(255, 215, 0, 0.8);

  animation: starTwinkle 3s infinite ease-in-out;
}

/* random positions */

.gold-star:nth-child(1) {
  top: 20%;
  left: 25%;
  animation-delay: 0s;
}

.gold-star:nth-child(2) {
  top: 40%;
  left: 75%;
  animation-delay: 1s;
}

.gold-star:nth-child(3) {
  top: 70%;
  left: 30%;
  animation-delay: 2s;
}

.gold-star:nth-child(4) {
  top: 30%;
  left: 85%;
  animation-delay: 1.4s;
}

.gold-star:nth-child(5) {
  top: 60%;
  left: 55%;
  animation-delay: .7s;
}

@keyframes starTwinkle {
  0% {
    transform: scale(.8) rotate(0deg);
    opacity: .7;
  }

  50% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
  }

  100% {
    transform: scale(.8) rotate(0deg);
    opacity: .7;
  }
}

/* keep content above stars */

.contact-card>*:not(.card-stars) {
  position: relative;
  z-index: 2;
}


/**  Snow flex  ****/
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}


.deliver-intro{
  margin-top:10px;
  color:var(--text-muted);
  font-size:0.95rem;
  }

  @media (max-width: 768px) {
    html {
      scroll-padding-top: 90px;
    }
  
    section[id] {
      scroll-margin-top: 90px;
    }
  
    main {
      padding: 6.5rem 1.25rem 4rem;
    }
  }