:root {
  --bg: #0c1128;
  --white: #ffffff;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --neon-blue: #00f0ff;
  --neon-purple: #b026ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: rgba(59, 130, 246, 0.3);
}

.tracking-tighter1 {
  letter-spacing: -0.04em;
  font-size: 30px;

}

.tracking-tighter2 {
  letter-spacing: -0.04em;
  font-size: 22px;
  background-color: white;
  color: black;
  border-radius: 50%;
  padding: 10px 12px;
}

.tracking-widest {
  letter-spacing: 0.25em;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ---------- Reveal on scroll (mimics framer-motion whileInView) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 56rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-radius 0.3s ease;
  padding: 10px 12px 10px 24px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.nav-link {
  position: relative;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 2px;
}

.nav-link span {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--white);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover span {
  width: 100%;
}

.btn-cta {
  background: var(--white);
  color: #0c1128;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-cta:active {
  transform: scale(0.95);
}

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  height: 300vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.1s linear;
}

.hero-top {
  clip-path: circle(0% at 50% 50%);
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  pointer-events: none;
  margin-bottom: 50px;
}

.hero-text h1 {
  font-size: clamp(40px, 8vw, 80px);
  background: linear-gradient(90deg, #ffffff, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

}

.hero-chevron {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/* ---------- Clients ticker ---------- */
.ticker-mask {
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ticker 40s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-400);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

/* ---------- Services ---------- */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.service-icon-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  border-bottom-left-radius: 100%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(176, 38, 255, 0.15));
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
}

/* ---------- Work gallery ---------- */
.gallery {
  display: flex;
  flex-direction: column;
  height: auto;
  gap: 8px;
}

@media(min-width:768px) {
  .gallery {
    flex-direction: row;
    height: 400px;
    gap: 8px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  flex: 0.8;
  min-height: 80px;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media(min-width:768px) {
  .gallery-item {
    min-height: auto;
  }
 
 
}

@media(min-width:768px){
      .my-header {
       width: 350px;
      }
}


.gallery-item.active {
  flex: 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 40%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item .label {
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.gallery-item.active .label {
  opacity: 1;
}

/* ---------- About ---------- */
.about-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(168, 85, 247, 0.05);
  filter: blur(120px);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.my-header {
  width: 400px;
}



/* Base Layout Container */
.dev-intro-section {
  background-color: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 4%;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.dev-container {
  width: 100%;
  max-width: 1300px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

/* Left Content Styles */
.dev-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.dev-main-heading {
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 30px;
}

.dev-italic-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

/* Feature/Bullet Lists */
.dev-feature-list {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.dev-feature-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dev-check-icon {
  color: var(--accent-green);
  font-weight: bold;
}

/* Social Proof Grid */
.dev-trust-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dev-avatar-group {
  display: flex;
  align-items: center;
}

.dev-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--bg-color);
  background-size: cover;
  background-position: center;
  margin-right: -12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.dev-rating-box {
  display: flex;
  flex-direction: column;
}

.dev-stars {
  color: #f39c12;
  letter-spacing: 2px;
  font-size: 14px;
}

.dev-rating-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Right Side: Portrait and Giant "8" Graphics */
.dev-graphic-block {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 500px;
}

.dev-number-backdrop {
  position: absolute;
  bottom: 0px;
  right: -20px;
  font-size: clamp(250px, 30vw, 480px);
  font-weight: 800;
  line-height: 0.75;
  color: #ffffff;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}

.dev-portrait-img {
  width: 85%;
  max-height: 600px;
  object-fit: cover;
  z-index: 2;
  position: relative;
  mix-blend-mode: multiply;
  /* Helps blend standard backgrounds smoothly */
}

.dev-experience-label {
  position: absolute;
  bottom: 25px;
  right: 20px;
  z-index: 3;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: lowercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* --- BRAND NEW INTERACTIVE SCROLL EFFECTS --- */

/* Initial hidden states */
.core-reveal-lazy .dev-content-block {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.core-reveal-lazy .dev-number-backdrop {
  opacity: 0;
  transform: scale(0.8) translateX(50px);
  transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.core-reveal-lazy .dev-portrait-img {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Active Class trigger via JS */
.core-reveal-lazy.is-visible .dev-content-block,
.core-reveal-lazy.is-visible .dev-number-backdrop,
.core-reveal-lazy.is-visible .dev-portrait-img {
  opacity: 1;
  transform: none;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .dev-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .dev-feature-list {
    justify-content: center;
  }

  .dev-trust-wrapper {
    justify-content: center;
  }

  .dev-graphic-block {
    min-height: 400px;
  }

  .dev-number-backdrop {
    right: 15%;
  }
    .my-header {
  width: 350px;
}
}

@media (max-width: 576px) {
  .dev-intro-section {
    padding: 50px 20px;
  }

  .dev-feature-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .dev-experience-label {
    font-size: 16px;
    right: 10px;
  }
  .my-header {
  width: 320px;
}
}


.about-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 700px at -5% 108%, var(--about-blob) 0%, rgba(202, 169, 240, .55) 30%, rgba(202, 169, 240, 0) 62%),
    radial-gradient(700px 500px at 8% 118%, var(--about-blob-2) 0%, rgba(240, 184, 214, 0) 55%),
    linear-gradient(160deg, var(--about-bg-grey) 0%, var(--about-bg-grey-2) 100%);
  padding: 70px 5vw;
}

.about-grid {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}

/* ---------------- LEFT TEXT COLUMN ---------------- */
.about-copy {
  max-width: 560px;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--about-muted);
  margin: 0 0 20px;
}

.about-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--about-muted);
}

.about-heading {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--about-ink);
}

.about-heading em {
  font-style: italic;
  font-weight: 500;
}

.about-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--about-muted);
  max-width: 480px;
  margin: 0 0 28px;
}

.about-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 30px;
}

.about-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--about-accent);
  transition: transform .35s cubic-bezier(.19, 1, .22, 1), color .35s ease;
}

.about-perk:hover {
  transform: translateY(-2px);
  color: var(--about-ink);
}

.about-perk-tick {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--about-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background .35s ease, border-color .35s ease;
}

.about-perk:hover .about-perk-tick {
  background: var(--about-ink);
  border-color: var(--about-ink);
}

.about-perk:hover .about-perk-tick svg {
  stroke: #fff;
}

.about-perk-tick svg {
  width: 9px;
  height: 9px;
  transition: stroke .35s ease;
}

.about-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-trust-avatars {
  display: flex;
}

.about-trust-avatars .about-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--about-bg-grey);
  margin-left: -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  transition: transform .35s cubic-bezier(.19, 1, .22, 1);
}

.about-trust-avatars .about-avatar:hover {
  transform: translateY(-4px);
}

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

.about-c1 {
  background: #3a3d44;
}

.about-c2 {
  background: #6c6f78;
}

.about-c3 {
  background: #8f93a0;
}

.about-c4 {
  background: #b3b6c0;
}

.about-trust-line {
  width: 38px;
  height: 1.5px;
  background: var(--about-muted);
}

.about-trust-stars {
  display: flex;
  gap: 2px;
}

.about-trust-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--about-ink);
}

.about-trust-caption {
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--about-muted);
  font-weight: 600;
}

/* ---------------- RIGHT VISUAL COLUMN ---------------- */
.about-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-yearmark {
  position: absolute;
  left: 68%;
  top: 75%;
  transform: translate(-50%, -50%);
  font-size: min(34vw, 230px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .92);
  letter-spacing: -.05em;
  line-height: 1;
  z-index: 1;
  user-select: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.089);
}

.about-portrait {
  position: relative;
  z-index: 2;
  height: 94%;
  max-height: 540px;
  max-width: 64%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(14%) contrast(1.03);
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

.about-yearcaption {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 14px;
  letter-spacing: .34em;
  text-transform: lowercase;
  font-weight: 600;
  color: var(--about-ink);
  white-space: nowrap;
}

.about-ground-shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 58%;
  height: 22px;
  background: radial-gradient(closest-side, rgba(22, 24, 28, .28), transparent 75%);
  z-index: 0;
  filter: blur(2px);
}

/* ---------------- scroll reveal ---------------- */
.about-inview {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px) scale(.985);
  transition: opacity 1.1s cubic-bezier(.19, 1, .22, 1),
    transform 1.1s cubic-bezier(.19, 1, .22, 1),
    filter 1.1s cubic-bezier(.19, 1, .22, 1);
}

.about-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.about-seq-1 {
  transition-delay: .06s;
}

.about-seq-2 {
  transition-delay: .20s;
}

.about-seq-3 {
  transition-delay: .34s;
}

.about-seq-4 {
  transition-delay: .48s;
}

.about-portrait-wrap {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(46px) scale(.94);
  transition: opacity 1.3s cubic-bezier(.19, 1, .22, 1),
    transform 1.3s cubic-bezier(.19, 1, .22, 1),
    filter 1.3s cubic-bezier(.19, 1, .22, 1);
  will-change: transform;
}

.about-portrait-wrap.about-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@keyframes aboutDrift {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -53%);
  }
}

.about-yearmark.about-drift {
  animation: aboutDrift 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

  .about-inview,
  .about-portrait-wrap {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .about-yearmark.about-drift {
    animation: none;
  }
}

/* ---------------- responsive ---------------- */
@media (max-width:980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    order: -1;
    height: 420px;
  }

  .about-yearmark {
    font-size: 52vw;
  }

  .about-copy {
    max-width: 100%;
  }
}

@media (max-width:560px) {
  .about-section {
    padding: 56px 6vw 60px;
  }

  .about-visual {
    height: 360px;
  }

  .about-heading {
    font-size: 8vw;
  }

  .about-perks {
    gap: 8px 18px;
  }

  .about-yearcaption {
    font-size: 11px;
    letter-spacing: .26em;
  }
}

/* Container Structure */
  .slider-container {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  /* Header Styles */
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 24px;
    font-weight: 700;
  }

  .brand-disney {
    font-style: italic;
    color: #1a1a1a;
  }

  .brand-sub {
    font-weight: 300;
    color: #666;
  }

  .search-bar {
    position: relative;
    width: 300px;
  }

  .search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
  }

  .search-bar input {
    width: 100%;
    padding: 10px 10px 10px 45px;
    border: none;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    outline: none;
  }

  .menu-btn {
    border: none;
    background: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Slider Track Layout */
  .slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    margin: 40px 0;
  }

  .cards-track {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: transform 0.5s ease-in-out;
  }

  /* 3D Character Cards */
  .character-card {
    position: relative;
    width: 260px;
    height: 380px;
    border-radius: 24px;
    overflow: visible;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px;
  }

  /* Card Themes Color Gradients matching your Portfolio accent */
  .red-theme .card-bg-gradient {
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
  }

  .blue-theme .card-bg-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  }

  .green-theme .card-bg-gradient {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  }

  .darkblue-theme .card-bg-gradient {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
  }

  .card-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    z-index: 1;
    opacity: 0.9;
  }

  /* Floating Character Image Effect */
  .char-img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 90%;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.3));
  }

  .character-card:hover .char-img,
  .character-card.active-card .char-img {
    transform: translateX(-50%) scale(1.08) translateY(-15px);
  }

  .card-info {
    position: relative;
    z-index: 3;
    color: #ffffff;
  }

  .card-info h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .card-info p {
    font-size: 13px;
    opacity: 0.8;
  }

  .card-info p span {
    font-weight: 600;
  }

  .read-more-btn {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
  }

.gallery-section {
    width: 100%;
    max-width: 1400px;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

/* --- Header Section --- */
.gallery-header {
    margin-bottom: 40px;
}

.sub-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6e7687;
    text-transform: uppercase;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    color: #0d1117;
    margin: 10px 0;
}

.description {
    font-size: 16px;
    color: #586069;
}

/* --- Filter Buttons --- */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #d0d7de;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #24292f;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background-color: #f6f8fa;
    border-color: #091e42;
}

.filter-btn.active {
    background-color: #030712;
    color: #ffffff;
    border-color: #030712;
    box-shadow: 0 4px 12px rgba(3, 7, 18, 0.2);
}

.view-more-btn {
    background: transparent;
    border: 1px solid #030712;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #030712;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.view-more-btn:hover {
    background-color: #030712;
    color: #fff;
}

/* --- Gallery Slider Content Section --- */
.gallery-slider-wrapper {
    position: relative;
    min-height: 520px;
    width: 100%;
    margin-bottom: 40px;
}

.gallery-content {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.6s;
    z-index: 1;
}

/* Active tab state animation like Photoshop */
.gallery-content.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    position: relative;
    z-index: 2;
}

.slider-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 520px;
}

/* --- Photo Styling & Perspective Shadows --- */
.card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Exact Card Sizes as per layout image */
.center-card {
    width: 420px;
    height: 500px;
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.side-card-left, .side-card-right {
    width: 300px;
    height: 400px;
    z-index: 4;
}

.side-card-left-2, .side-card-right-2 {
    width: 200px;
    height: 320px;
    z-index: 3;
    opacity: 0.8;
}

/* Play button for video type cards */
.play-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- Arrows Controls --- */
.navigation-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.nav-arrow {
    background: #ffffff;
    border: 1px solid #d0d7de;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #24292f;
}

.nav-arrow:hover {
    border-color: #030712;
    background-color: #f6f8fa;
    transform: scale(1.05);
}

.works-section{
    padding:70px 4%;
}

.heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.heading h1{
    color:#fff;
    font-size:55px;
}

.heading a{
    color:#fff;
    text-decoration:none;
}

.projects-container{
    display:flex;
    gap:15px;
    height:420px;
}

.card{
    position:relative;
    flex:1;
    border-radius:25px;
    overflow:hidden;
    cursor:pointer;
    transition:all .5s ease;
    text-decoration:none;
}

.card.active{
    flex:5;
}

.card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.card:hover img{
    transform:scale(1.05);
}

.overlay{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:30px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.9)
    );
    color:#fff;
}

.overlay span{
    font-size:13px;
    letter-spacing:2px;
    display:block;
    margin-bottom:10px;
}

.overlay h3{
    font-size:35px;
    line-height:1;
}

.card:not(.active) .overlay h3{
    font-size:18px;
}

@media(max-width:992px){

    .projects-container{
        flex-direction:column;
        height:auto;
    }

    .card{
        height:100px;
    }

    .card.active{
        height:350px;
    }

    .heading h1{
        font-size:40px;
    }
}

@media(max-width:576px){

    .heading{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

    .heading h1{
        font-size:32px;
    }

    .overlay h3{
        font-size:25px;
    }
    .my-header {
       width: 350px;
      }
}


