/* ------------------------------------------------------
   SCROLL REVEAL ANIMATION
------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ------------------------------------------------------
   HOME PAGE STYLES — BenCode Studio
   ------------------------------------------------------ */

/* General Section Spacing */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #2c1840;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #6a5c7c;
  font-size: 18px;
}

/* ------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------ */

.hero-section {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), #f4f1ff)
              , radial-gradient(circle at bottom right, #6a1b9a, #4a148c);
  color: #111;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: #7c7c7c;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #1f1028;
}

.hero-title span {
  color: #6a1b9a;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  color: #4a4a4a;
}

.hero-cta {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Floating gradient orbs */
.hero-bg-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.7;
  mix-blend-mode: screen;
  z-index: 1;
  animation: float-orbit 10s ease-in-out infinite;
}

.hero-bg-orbit--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #ffdf37, transparent 60%);
  top: -80px;
  right: 10%;
}

.hero-bg-orbit--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #6a1b9a, transparent 60%);
  bottom: -60px;
  left: 5%;
}

.hero-bg-orbit--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #4a148c, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Premium subtle motion on hero orbs */
@keyframes float-orbit {
  0%   { transform: translate(-50%, -50%) translateY(0); }
  50%  { transform: translate(-50%, -50%) translateY(-10px); }
  100% { transform: translate(-50%, -50%) translateY(0); }
}

.hero-bg-orbit--3 {
  animation: float-orbit 10s ease-in-out infinite;
}

/* ------------------------------------------------------
   SELECTED WORK (New Showcase)
------------------------------------------------------ */

.selected-work-section {
  background: #fff;
  padding: 100px 0;
}

.home-summary-section {
  background: linear-gradient(180deg, rgba(232, 222, 255, 0.6), #fff);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 120px 0 80px;
}

.home-summary-section .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.home-summary-headline {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.home-summary-headline .eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #7a6c9a;
  margin-bottom: 10px;
}

.home-summary-headline h2 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #1f1028;
}

.home-summary-subtitle {
  margin-top: 12px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ------------------------------------------------------
   HOME SUMMARY TEXT
------------------------------------------------------ */

.home-summary-section {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 120px 0 80px;
}

.home-summary-section .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.home-summary-headline {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.home-summary-headline .eyebrow {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #7a6c9a;
  margin-bottom: 10px;
}

.home-summary-headline h2 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #1f1028;
}

.home-summary-subtitle {
  margin-top: 12px;
  color: #4a4a4a;
  line-height: 1.6;
}

.home-summary-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  margin: 30px auto 50px;
  max-width: 1100px;
}

.home-summary-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-summary-note {
  font-size: 1rem;
  color: #4d4d4d;
  line-height: 1.7;
}

.home-summary-process {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow: 0 8px 28px rgba(106, 27, 154, 0.08);
}

.process-index {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #7a6c9a;
  font-weight: 700;
  padding-top: 4px;
}

.process-step h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #1f1028;
}

.process-step p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
}

.home-summary-right {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 20px 45px rgba(106, 27, 154, 0.12);
}

.home-summary-services {
  display: grid;
  gap: 18px;
}

.home-summary-services article {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.home-summary-services article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-summary-services h5 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #4a148c;
}

.home-summary-services p {
  margin: 0;
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .home-summary-body {
    grid-template-columns: 1fr;
  }

  .home-summary-right {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .home-summary-section {
    padding: 90px 0 60px;
  }

  .home-summary-body {
    gap: 20px;
  }

  .home-summary-note,
  .process-step p,
  .home-summary-services p {
    font-size: 0.95rem;
  }

  .home-summary-right {
    display: none;
  }

  .process-step {
    padding: 12px;
  }
}

.projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 20px;
}

.project-card {
  border: 1px solid rgba(106, 27, 154, 0.18);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(106, 27, 154, 0.18);
}

.project-card .project-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 24px;
}

.project-meta {
  font-weight: 600;
  color: #6a1b9a;
  margin-bottom: 10px;
}

.project-info h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.project-highlights-preview {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #444;
}

.project-highlights-preview li {
  margin-bottom: 6px;
}

.project-card-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-view-project {
  display: inline-flex;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #4a148c);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-view-project:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.btn-visit-site {
  display: inline-flex;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  background: #b388ff;
  color: #1f1028;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-visit-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 143, 0, 0.35);
}

.view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.view-all-wrapper .btn.btn-primary {
  padding: 12px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #4a148c);
  color: #fff;
  font-weight: 600;
}

.view-all-wrapper .btn.btn-primary:hover {
  opacity: 0.9;
}

/* ------------------------------------------------------
   SOCIAL PROOF
   ------------------------------------------------------ */

.social-proof {
  background: #fafafa;
  padding: 50px 0;
  text-align: center;
}

.trust-text {
  font-weight: 600;
  margin-bottom: 25px;
  color: #777;
}
/* -------------------------------
   SOCIAL PROOF LOGOS — FIX SIZE
--------------------------------*/

.social-proof .logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}

.social-proof .logo-row img {
    max-height: 100px;        /* Increase height */
    width: auto;             /* Keep proportions */
    opacity: 0.8;            /* Slight fade for premium look */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-proof .logo-row img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
  .social-proof .logo-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 1.2rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-right: 1rem;
  }

  .social-proof .logo-row::-webkit-scrollbar {
    height: 6px;
  }

  .social-proof .logo-row::-webkit-scrollbar-thumb {
    background: rgba(106, 27, 154, 0.4);
    border-radius: 999px;
  }

  .social-proof .logo-row > img {
    flex: 0 0 auto;
    max-height: 90px;
    scroll-snap-align: start;
  }
}

/* ------------------------------------------------------
   PROJECTS GRID (Home)
   ------------------------------------------------------ */

.selected-work-section .projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.selected-work-section .project-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eae2f7;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selected-work-section .project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(106, 27, 154, 0.15);
}

.selected-work-section .project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.selected-work-section .project-info {
  padding: 20px;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

.horizontal-scroll-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 27, 154, 0.5) transparent;
  scroll-padding-inline: 1rem;
}
.horizontal-scroll-grid::-webkit-scrollbar {
  height: 6px;
}
.horizontal-scroll-grid::-webkit-scrollbar-thumb {
  background: rgba(106, 27, 154, 0.5);
  border-radius: 999px;
}
.horizontal-scroll-grid > * {
  flex: 0 0 clamp(280px, 34vw, 340px);
  min-width: 260px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .selected-work-section .projects-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 18px 12px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .selected-work-section .projects-grid::-webkit-scrollbar {
    height: 6px;
  }

  .selected-work-section .projects-grid::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.45);
    border-radius: 999px;
  }

  .selected-work-section .projects-grid > .project-card {
    flex: 0 0 82%;
    min-width: 260px;
    scroll-snap-align: start;
  }

  .selected-work-section .project-card {
    margin-bottom: 0;
  }
}


/* ------------------------------------------------------
   HOW IT WORKS
   ------------------------------------------------------ */

.step-item {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.step-item:hover {
  transform: translateY(-6px);
}

/* ------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------ */

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-item {
  padding: 40px 30px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  border: 1px solid rgba(110, 44, 255, 0.25);
  box-shadow: 0 0 18px rgba(110, 44, 255, 0.18);
}

.testimonial-item.active {
  display: block;
  opacity: 1;
  box-shadow: 0 0 28px rgba(110, 44, 255, 0.28);
  border-color: rgba(110, 44, 255, 0.35);
}

.quote {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.client {
  font-weight: 700;
  color: #6a1b9a;
}

/* ------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------ */

.cta-section {
  background: #6a1b9a;
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 10px;
  font-size: 40px;
}

.cta-section p {
  margin-bottom: 25px;
  opacity: 0.9;
}

/* ------------------------------------------------------
   Responsive tweaks
------------------------------------------------------ */

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 100px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card.featured {
    transform: none;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
/* ------------------------------------------------------
   Section rhythm / spacing polish
------------------------------------------------------ */

section {
  padding: 110px 0;
  position: relative;
}

/* Soft alternating backgrounds */
section:nth-of-type(even) {
  background: #faf7ff; /* subtle light purple tint */
}

section:nth-of-type(even) {
  background: #faf7ff;
}

section:nth-of-type(odd) {
  background: #ffffff;
}

/* Tighter mobile spacing */
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}

.section-divider {
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(240,240,255,0.8));
  margin-top: -40px;
}

/* Global soft shadows */
.soft-shadow {
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
}

/* Universal smooth transitions */
* {
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.3s ease;
}
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: #6e2cff;
  z-index: 9999;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px rgba(110, 44, 255, 0.7);
}
@media (max-width: 768px) {
  #scroll-progress-bar { height: 3px; }
}
