#wpadminbar{
    display: none;
}

html{
    margin: 0 !important;
    overflow-x: hidden;
}

/* ======================
   BRAND FONTS
====================== */

@font-face {
  font-family: 'Lemon Milk';
  src: url('https://kathakahaani.in//wp-content/themes/kathakahani/assets/fonts/lemon-milk/LEMONMILK-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('https://kathakahaani.in//wp-content/themes/kathakahani/assets/fonts/gotham/Gotham-Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('https://kathakahaani.in//wp-content/themes/kathakahani/assets/fonts/gotham/Gotham-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kohinoor Devanagari';
  src: url('https://kathakahaani.in//wp-content/themes/kathakahani/assets/fonts/kohinoor-devanagari/KohinoorDevanagari-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}



@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/lemon-milk/LEMONMILK-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham/Gotham-Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/gotham/Gotham-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kohinoor Devanagari';
  src: url('../fonts/kohinoor-devanagari/KohinoorDevanagari-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Lemon Milk', sans-serif;
  --font-body: 'Gotham', system-ui, sans-serif;
  --font-devanagari: 'Kohinoor Devanagari', serif;
  --brand-pink: #E6128A;
  --brand-yellow: #FEC20E;
  --heading-font-size: 80px;
}

body {
  font-family: var(--font-body);
  background: #f2f2f2;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, .display-text {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.dev-text {
  font-family: var(--font-devanagari);
}


body {
  
}

/* intro loader */

#loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-inner {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.loader-text {
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 24px;
  color: #111;
}

.loader-text span {
  font-weight: 700;
}

.loader-bar {
  position: relative;
  height: 42px;
  background: #f2f2f2; /* light track */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-fill {
  position: absolute;
  inset: 0;
  background: var(--brand-pink);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.loader-progress {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 1px;
  pointer-events: none;
}

.loader-progress--pink {
  color: var(--brand-pink);
  z-index: 2;
}

.loader-progress--white {
  color: #ffffff;
  z-index: 3;
  clip-path: inset(0 100% 0 0); /* hidden initially */
}


/* =====================
   GLOBAL HEADER starts
===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 100;
  pointer-events: none; /* important */
}

.header-inner {
  height: 100%;
  padding: 0px 0px 0px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.logo {
  font-family: var(--font-display);
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
}

.logo img{
    width: 75px;
}

/* =====================
   GLOBAL HEADER ends
===================== */


/* =====================
   INTRO SCENE
===================== */

.scene--intro {
  animation-play-state: paused;
}

.scene--intro {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #FEF3D0; /* base background */
}

.scene--intro::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: url("https://kathakahaani.in/wp-content/uploads/2026/02/hero-background-1-2-2-scaled.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1400px auto;

  transform: scale(0.2);
  transform-origin: center;
  opacity: 0;   
  z-index: 0;
}


.scene--intro.animate-hero::before {
  animation: heroBgIntro 1.4s ease-out forwards;
}

@keyframes heroBgIntro {
  /* Hidden + small */
  0% {
    transform: scale(0.2) rotate(0deg);
    opacity: 0;
  }

  /* Fade in */
  25% {
    opacity: 1;
  }

  /* Finish scale a bit earlier */
  45% {
    transform: scale(1.5) rotate(0deg);
    opacity: 1;
  }

  /* HOLD — let the eye settle */
  60% {
    transform: scale(1.5) rotate(0deg);
    opacity: 1;
  }

  /* Long, calm rotation */
  100% {
    transform: scale(1.5) rotate(-180deg);
    opacity: 1;
  }
}





.scene--intro > * {
  position: relative;
  z-index: 1;
}


.hero-content {
  position: absolute;
  left: 8vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 420px;
  z-index: 2;
}



.hero-title .highlight-text{
    background: var(--brand-yellow);
    padding-inline: 10px;
    color: #000000;
}

.hero-desc, .hero-content p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  opacity: 0.9;
}

.hero-title, .hero-title p {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-bg-text {
  position: absolute;
  bottom: -5vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 12vw, 280px);
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 10;
}


.hero-bg-text {
  perspective: 1200px;
}

.hero-word {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) rotateX(90deg);
  transform-origin: center bottom;
  opacity: 0;
  backface-visibility: hidden;
  will-change: transform, opacity;
  text-transform: uppercase;
}

.hero-word.is-active {
  transform: translateX(-50%) rotateX(0deg);
  opacity: 1;
}

.card-title {
  display: none;
}


.hero-content {
  opacity: 0;
  transform: translateY(20px);
}

.scene--intro.animate-hero .hero-content {
  animation: heroTextIn 0.6s ease-out forwards;
  animation-delay: 1.45s; /* 👈 matches bg animation timing */
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(-40%);
  }
}





/* hero carousel */


.hero-carousel {
  position: absolute;
  left: 70%;
  top: 50%;
  transform: translate(-30%, -50%) !important;
  width: 400px;
  height: 570px;
  z-index: 3;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1600px;
}

.carousel-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 18px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  height: 100%;

  border-radius: 20px;
  overflow: hidden;

  padding: 10px 10px 24px;
  box-sizing: border-box;
}


.card-image {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.card-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  display: block;
}

.card-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.card-green {
  background: #23733a;
}

.card-pink {
  background: #e5178a;
}

.card-red {
  background: #e22526;
}


.hero-carousel {
  opacity: 0;
  pointer-events: none;
}


.scene--intro.animate-hero .hero-carousel {
  animation: heroCarouselIn 0.6s ease-out forwards;
  animation-delay: 2.1s; /* 👈 AFTER bg + text */
}

@keyframes heroCarouselIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
    pointer-events: auto;
  }
}




/* menu code below */


.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-yellow);
  border: var(--brand-yellow);
  cursor: pointer;
  padding: 20px;
  height: 100%;
}

.menu-label {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #000;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-icon i {
  display: block;
  width: 18px;
  height: 2px;
  background: #000;
}

.menu-icon i:last-child {
  display: block;
  width: 12px;
  height: 2px;
  background: #000;
}


/* =====================
   MENU OVERLAY
===================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.15); /* subtle darkening only */
  opacity: 0;
  pointer-events: none;
  z-index: 200;
}

.menu-panel {
  position: absolute;
  inset: 0;
  background: var(--brand-yellow);
  clip-path: polygon(30% 0, 85% 0, 70% 100%, 10% 100%);
  transform: translateX(100%);
  padding: 80px;
}

/* Close button */
.menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Navigation */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #000;
}

.menu-nav li {
  list-style: none;
}



/* about section */

.scene--about-reveal {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* About content */
.about-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 0 8vw;
}

/* LEFT TEXT */
.about-left {
  max-width: 550px;
}

.about-left p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 24px;
  font-weight: 600;
}

/* RIGHT TITLE */
.about-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.about-right h2 {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 72px);
  letter-spacing: 0.12em;
  color: var(--brand-pink);
  margin: 0;
  white-space: nowrap;
}


/* Beige layer that reveals content */
.about-reveal-layer {
  position: absolute;
  inset: 0;
  background: #F5E6D3;
  z-index: 2;

  /* START: thin diagonal slit */
  clip-path: polygon(
    0px 0px,
    100% 0px,
    100% 50%,
    100% 100%,
    0% 100%,
    30% 50%
  );
}

.scene--manifesto {
  background: var(--brand-pink);
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-inner {
  max-width: 100%;
  padding-inline: 48px;
  
}

.manifesto-inner p, .manifesto-inner div {
  font-family: var(--font-body);
  font-size: clamp(22px, 3vw, 48px);
  line-height: 1.5;
  margin: 0;
  color: #ffffff;
}

/* SCENE */
.scene--manifesto-to-work {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

/* MANIFESTO */
.manifesto-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.manifesto-inner {
  font-size: clamp(22px, 3vw, 48px);
  line-height: 1.5;
  color: #000;
}

/* SERVICES */
.services-layer {
  position: absolute;
  inset: 0;
  background: #F8E197;
  z-index: 1;
}

.services-bg {
  position: absolute;
  inset: -10%;
  background-image: url('https://kathakahaani.in/wp-content/uploads/2026/01/services-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
  pointer-events: none;
}

@media (max-width: 768px){
    .services-bg{
        background: none;   
    }
}


.services-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 3.8vw;
}

/* LEFT */
.services-left h2 {
  font-size: clamp(48px, 6vw, 72px);
  color: var(--brand-pink);
  margin-block: 0px;
}

.services-left p {
  font-size: 20px;
  margin-bottom: 30px;
  margin-top: 0px;
  font-weight: 500;
}

.services-cta {
  border: 1px solid #ffffff;
  padding: 18px 36px;
  text-decoration: none;
  background: #ffffff;
  color: #000000;
  font-size: 20px;
}

.services-cta:hover{
  border: 1px solid #000000;
}


/* CAROUSEL WRAPPER */
.kk-carousel {
  position: relative;
  width: 520px;
  height: 360px;
}

/* BASE CARD */
.kk-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  background: transparent;
  border-radius: 20px;
  padding: 0px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: auto;
}

/* ACTIVE CARD (CENTER) */
.kk-card.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

/* NEXT CARD (RIGHT PREVIEW) */
.kk-card.is-next {
  transform: translate(calc(-50% + 200px), -50%) scale(0.9);
  opacity: 0.6;
  z-index: 2;
}

/* HIDDEN CARD (WAITING) */
.kk-card.is-hidden {
  transform: translate(calc(-50% + 400px), -50%) scale(0.85);
  opacity: 0;
  z-index: 1;
}

/* IMAGE */
.kk-card img {
  width: 90%;
  display: block;
  border-radius: 20px;
}

/* LABEL */
.service-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}



.kk-carousel {
  position: relative;
  width: 720px;
  height: 420px;
}

.kk-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  background: transparent;
  border-radius: 24px;
  padding: 0px;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: auto;
}

.kk-card.pos-active {
  transform: translate(-55%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}

.kk-card.pos-next {
  transform: translate(calc(-50% + 340px), -50%) scale(0.9);
  opacity: 0.6;
  z-index: 2;
}

/* REMOVE visual presence of previous card */
.kk-card.pos-prev {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate(calc(-50% - 340px), -50%) scale(0.9);
}


.kk-card.pos-hidden {
  opacity: 0;
  z-index: 0;
}


.services-prev,
.services-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.services-prev img,
.services-next img {
  width: 40px;
  height: auto;
  display: block;
}

/* PREV — LEFT SIDE */
.services-prev {
  left: 4vw;
}

.services-prev img {
  transform: rotate(180deg);
}

/* NEXT — NEAR RIGHT CARD */
.services-next {
  right: -10vw;
}

.services-center{
  position: relative;
}


.kk-card {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.kk-card:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.14);
}

@media (max-width: 1200px){
	.services-next {
    right: -2vw;
  }

  .services-prev {
    left: 10vw;
  }
}


@media (max-width: 991px){
	.services-next {
    right: 10vw;
  }

  .services-prev {
    left: 15vw;
  }
}


@media (max-width: 768px) {

  .kk-carousel {
    width: 100%;
    height: 360px;
  }

  .kk-card {
    width: 80%;
  }

  .kk-card.pos-next,
  .kk-card.pos-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .kk-card.pos-active {
    transform: translate(-50%, -50%) scale(1);
  }

  .services-next {
    right: 5vw;
  }

  .services-prev {
    left: 5vw;
  }
  
  .services-prev img, .services-next img {
  width: 24px;
}
}



/* our work section */

/* OUR WORK COVER LAYER */

/* OUR WORK COVER (FIXED TAKEOVER) */
.work-cover {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  z-index: 999;

  transform: translateY(100%);
  pointer-events: none;
}

.work-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.scene--cinematic {
  position: relative;
  height: 100vh;
  overflow: hidden;
}



/* our work */


.work-layer {
  position: absolute;
  inset: 0;
  background: #FEF3D0;
  color: #000000;
  z-index: 10;
  transform: translateY(100%);
  will-change: transform;
}


/* OUR WORK LAYOUT */
.work-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  padding: 8vh 6vw;
}

/* LEFT SIDE — STICKY */
.work-left {
  position: sticky;
  top: 12vh;
  align-self: start;
  text-align: left;
}

.work-left h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
  color: var(--brand-pink);
}

.work-left p {
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #000;
  font-weight: 500;
  font-size: 20px;
}

/* RIGHT SIDE — SCROLLABLE CONTENT */
.work-right {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* LOGO ITEMS */
.work-logo img {
  width: auto;
  height: 150px;
}




/* OUR WORK WRAPPER */
.work-layer {
  position: absolute;
  inset: 0;
  background: #fdf1cf; /* your beige */
  z-index: 10;
}

/* GRID LAYOUT */
.work-inner {
  height: 100vh;              /* IMPORTANT */
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6vw;
  padding: 8vh 6vw;
  box-sizing: border-box;
}

/* LEFT — STICKY */
.work-left {
  position: sticky;
  top: 8vh;
  align-self: flex-start;
}

/* RIGHT — SCROLLABLE COLUMN */
.work-right {
  height: calc(100vh - 16vh); /* viewport minus padding */
  overflow-y: auto;           /* 👈 THIS ENABLES SCROLL */
  padding-right: 12px;        /* space for scrollbar */
}

/* OPTIONAL: hide ugly scrollbar (webkit) */
.work-right::-webkit-scrollbar {
  width: 6px;
}

/* Hide scrollbar but keep scroll */
.work-right {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge legacy */
}

.work-right::-webkit-scrollbar {
  display: none;                /* Chrome, Safari */
}


.work-right::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .work-inner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .work-left {
    position: relative;
    top: auto;
    margin-bottom: 40px;
  }

  .work-right {
    height: auto;
    overflow: visible;
  }
}


/* our work section ends */



/* contact SECTION */
.contact-cover-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  transform: translateY(100%);
  background: #000; /* adjust as needed */
  color: #fff;
}


/* CONTACT / NEXT COVER */
.contact-cover-layer {
  background: #FFA1D8; /* pink */
  color: #111;
}

/* layout */
.contact-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  padding: 10vh 20vh;
  box-sizing: border-box;
  align-items: center;
}

/* LEFT */
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 48px);
  margin-bottom: 24px;
  margin-top: 0px;
}

.contact-left p {
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 20px;
}



.contact-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 400;
  text-decoration: none;
  color: #000;
  font-size: 20px;
}

.contact-link span{
    font-weight: 700;
}

/* RIGHT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
  background: #FFB9E2;
  border: none;
  padding: 12px;
  font-size: 18px;
  outline: none;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 1px solid var(--brand-pink);
  width: 100%;
  box-sizing: border-box;
}

::placeholder {
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
}

.contact-form textarea {
  resize: none;
  min-height: 80px;
  max-height: 100px;
}

.contact-form button,
.contact-form input[type=submit] {
  margin-top: 16px;
  align-self: flex-start;
  padding: 16px 48px;
  font-size: 20px;
  border: 1px solid #ffffff;
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.contact-form button:hover{
  border: 1px solid #000000;
}


/* CONTACT BACKGROUND TEXT */
.contact-bg-text {
  position: absolute;

  left: -15vw;               /* push it OUT of content */
  top: 55%;
  transform: translateY(-50%) rotate(-90deg);

  font-family: var(--font-display);
  font-size: clamp(70px, 6vw, 260px);
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #FFB9E2;           /* darker pink */
  opacity: 1;            /* MUCH subtler */

  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.wpcf7 form .wpcf7-response-output{
  margin: -1em 0.5em 1em;
  background: #23733a;
  border: none !important;
  color: #ffffff;
}

.wpcf7 form.invalid .wpcf7-response-output{
  background: #cc0000;
}

/* Ensure content stays above */
.contact-inner {
  position: relative;
  z-index: 1;
}


/* contact SECTION */



/* Footer section */

.site-footer {
  min-height: 100vh;
  background: #ffc61a;
  position: relative;
  overflow: hidden;
  z-index: 999;
}

.footer-inner {
  min-height: 90vh;
  padding: 6vh 6vw 4vh;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  row-gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-brand {
  grid-column: 1 / 2;
  grid-row: 1;
}

.footer-nav {
  grid-column: 2 / 3;
  grid-row: 1;
}

.footer-nav ul{
  padding-left: 0px;
}
.footer-nav li{
  list-style: none !important;
}

.footer-social {
  grid-column: 3 / 4;
  grid-row: 1;
}

.footer-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
}


/* BRAND */
.footer-brand img {
  max-width: 160px;
  height: auto;
  display: block;
}


/* NAV + SOCIAL */
.footer-title {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
}

.footer-nav a {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
}

.social-icons{
    display: flex;
    align-items: center;
}

.social-icons img {
  margin-right: 12px;
  width: 40px;
}

/* BOTTOM */
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  font-size: 14px;
  margin-top: auto;
  z-index: 1;
}

/* BACKGROUND TEXT */
.footer-bg-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 300px);
  font-weight: 700;
  opacity: 0.15;
  white-space: nowrap;
  pointer-events: none;
}


.footer-bg-text {
  bottom: 10px;
  opacity: 0.08;
}


@media (max-width: 768px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;

    /* padding: 40px 20px 40px; */
    min-height: auto;
  }

  .footer-brand {
    order: 1;
    margin-bottom: 24px;
  }

  .footer-nav {
    order: 2;
    margin-bottom: 32px;
    text-align: left;
  }

  .footer-social {
    order: 3;
    margin-bottom: 40px;
  }

  .footer-bottom {
    order: 4;
    width: 100%;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
  }

  .footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 1;
    text-align: left;
  }

  .footer-nav a {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
  }

  .social-icons a {
    margin: 0;
    font-size: 18px;
  }

  .footer-bg-text{
    bottom: -40px;
  }

}


/* Footer section ends */



/* Mobile responsive  */


@media (max-width: 768px) {

  :root{
    --heading-font-size: 48px;
  }

  .header-inner{
    padding: 0px 0px 0px 12px;
  }

  .scene--intro {
    height: auto;
    padding-bottom: 80px;
  }

  .scene--intro::before {
    background-size: 900px auto;
    transform: scale(1);
  }

  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;

    padding: 110px 20px 16px; /* header-safe + breathing room */
    max-width: 100%;
    text-align: center;

    z-index: 3;
  }

 

  .hero-desc, .hero-content p {
    margin: 0 auto;
    color: #000000;
    max-width: 300px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
  }
  
   .hero-title, .hero-title p {
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #000000;
  }

  /* .hero-bg-text{
    display: none;
  } */

  .hero-bg-text{
    bottom: 0;
    font-size: clamp(45px, 12vw, 280px);
  }

  .hero-carousel {
    position: relative;
    left: auto;
    top: auto;
    transform: none !important;

    width: 100%;
    max-width: 320px;
    height: 340px;

    margin: 30px auto 0;
    z-index: 2;
  }

  .carousel-stage {
    height: 100%;
  }

  .carousel-card {
    height: 100%;
    border-radius: 16px;
    padding-bottom: 16px;
  }

  .card-image {
    align-items: center;
  }

  .card-image img {
    max-height: 260px;
    max-width: 90%;
    object-fit: contain;
  }

  .card-title{
    font-size: 36px;
    letter-spacing: 0.08em;
  }


  .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 0 20px;
    height: 100%;
    text-align: center;
  }

  .about-right {
    order: -1;              /* 👈 MOVE HEADING TO TOP */
    justify-content: center;
    margin-bottom: 32px;
  }

  .about-right h2 {
    font-size: 40px;
    white-space: normal;
    text-align: left;
  }

  .about-left {
    max-width: 360px;
  }

  .about-left p {
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 20px;
    text-align: left;
  }


  .manifesto-layer {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 20px 120px; /* header-safe + exit space */
    box-sizing: border-box;
  }

  .manifesto-inner {
    max-width: 100%;
    padding: 0px;
    margin: 0 auto;
  }

  .manifesto-inner p {
    font-size: 20px;
    line-height: 1.7;
    letter-spacing: 0.01em;
  }

  .manifesto-inner p::first-line {
    font-weight: 600;
  }


  .scene--manifesto-to-work {
    height: auto;
  }

  .manifesto-layer,
  .services-layer,
  .work-layer,
  .contact-cover-layer {
    position: relative;
    transform: none !important;
    height: auto;
  }

  .services-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    min-height: 100vh;
    padding: 100px 20px 80px;
    box-sizing: border-box;
    text-align: center;
  }

  .services-left {
    max-width: 340px;
    margin-bottom: 32px;
    text-align: left;
  }

  .services-left h2 {
    font-size: 40px;
    margin-bottom: 12px;
    text-align: left;
  }

  .services-left p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
  }

  .services-cta {
    display: inline-block;
  }
  
  .services-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
  }

  .kk-carousel {
    width: 100%;
    max-width: 320px;
    height: 360px;
  }

  .kk-card {
    width: 90%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  /* .services-prev,
  .services-next {
    top: auto;
    bottom: -48px;
  } */

  .services-prev {
    left: -2%;
  }

  .services-next {
    right: -2%;
  }


  .work-inner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .work-right {
    height: auto;
    overflow: visible;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    padding: 10vh 6vw;
  }

  .contact-bg-text {
    display: none;
  }

  .footer-nav a {
    font-size: 20px;
  }

  .menu-close{
    z-index: 999;
  }

  .menu-panel{
    clip-path: polygon(20% 0%, 99% 0%, 70% 100%, -5% 100%);
  }
  
  .menu-nav{
    top: 40%;
  }

  .menu-nav a{
    font-size: 26px;
  }

  .loader-inner{
    width: 90%;
  }

  .loader-text{
    font-size: 26px;
  }

}



/* global progressive bar */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px; /* thin but visible */
  background: transparent;
  z-index: 10000; /* above everything */
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-pink);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}


/* Services Page CSS */

.services-page {
  background: #ffffff;
}

.service-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.service-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.service-title {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--brand-pink);
  margin-bottom: 24px;
}

.service-desc {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-points {
  margin-bottom: 32px;
  padding-left: 18px;
}

.service-points li {
  font-size: 18px;
  line-height: 1.6;
}

.service-cta {
  display: inline-block;
  font-weight: 600;
  text-decoration: underline;
}


/* SERVICE CARD SECTION */

.service-card {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8e9b5;
  position: relative;
}

.service-card.pink{
  background: var(--brand-pink);
}


.service-card.yellow{
  background: var(--brand-yellow);
}

.service-card-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* LEFT CONTENT */

.service-content {
  position: relative;
}

.service-index {
  font-size: 45px;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--brand-pink);
  display: inline-block;
  margin-bottom: 24px;
}

.service-heading {
  font-size: 72px;
  font-weight: 800;
  color: var(--brand-pink);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.service-tag {
  display: inline-block;
  background: var(--brand-yellow);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  padding: 10px 18px;
  margin-bottom: 28px;
  border: 1px dashed var(--brand-pink);
  position: relative;
}

.service-tag::before{
  content: "";
  position: absolute;
  background: url(https://kathakahaani.in/wp-content/uploads/2026/01/service-heading-before.png) no-repeat center center;
  width: 10px;
  height: 70px;
  background-size: cover;
  left: -6px;
  top: -5px;
}

.service-content-area{
  display: flex;
  align-items: flex-start;
}

.service-list {
  margin: 0 0 32px;
}


.service-list li {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* CTA */

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 42px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.service-cta span {
  display: inline-flex;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 20px 10px;
}

.service-cta:hover span {
  transform: translateX(4px);
}

/* RIGHT IMAGE */

.service-visual {
  display: flex;
  justify-content: center;
  padding: 80px;
}

.service-visual img {
  max-width: 100%;
  height: auto;
}

/* .service-card {
  transform-origin: center top;
  will-change: transform;
}

.service-card-inner {
  will-change: transform;
} */

.service-card {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8e9b5;
}

.pinned-card {
  position: relative;
  overflow: hidden;
}




.services-stack {
  position: relative;
  height: 100vh;
  perspective: 1200px;
  overflow: hidden;
}

.services-stack-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.scroll-lock {
  overflow: hidden;
  height: 100vh;
}


/* ============================
   SERVICE CARD — RESPONSIVE
============================ */

@media (max-width: 1024px) {
  .service-card {
    padding: 80px 40px;
  }

  .service-card-inner {
    gap: 60px;
  }
}

@media (max-width: 768px) {

  .service-card {
    padding: 60px 24px;
    min-height: auto;
  }

  .service-card-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* TEXT CENTERING (OPTIONAL BUT RECOMMENDED) */
  .service-content {
    text-align: left;
  }

  .service-heading {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .service-tag {
    font-size: 14px;
    padding: 8px 14px;
    margin-bottom: 8px;
  }

  .service-tag::before{
    height: 43px;
    background-size: contain;
  }

  .service-list li {
    font-size: 16px;
  }

  .service-cta {
    font-size: 16px;
  }

  .service-cta span {
  }

  /* IMAGE HANDLING */
  .service-visual {
    justify-content: flex-start;
    padding: 0px;
  }

  .service-visual img {
    max-width: 100%;
  }

  .service-list{
    margin-bottom: 0px;
  }
}

@media (max-width: 480px) {

  .service-card {
    padding: 48px 20px;
  }

  .service-heading {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .service-list li {
    font-size: 15px;
  }

  .service-visual img {
    max-width: 100%;
  }
}


.page-template-page-portfolio .work-layer,
.page-template-page-contact .contact-cover-layer{
  position: unset;
  transform: unset;
}

.page-template-page-contact .contact-cover-layer{
  height: 100vh;
}

@media (max-width: 768px){
  .page-template-page-contact .contact-cover-layer{
    height: auto;
  }
}





/* CLIENT LOGOS */

.logos-layer{
  position:absolute;
  inset:0;
  background:#ffffff;
  transform:translateY(100%);
  z-index:15;
}

.logos-inner{
  height:100%;
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:0 40px;
}

/* heading */

.logos-heading{
  font-size:clamp(40px,5vw,72px);
  color:var(--brand-pink);
  margin-bottom:20px;
  margin-top: 0px;
  text-align:center;
}

/* grid */

.logos-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:60px 80px;
  align-items:center;
}

.logo-item{
  display:flex;
  justify-content:center;
	box-shadow: 0px 0px 10px #d3d3d3;
}

.logo-item img{
  max-height:120px;
  width:auto;
  opacity:1;
	filter: grayscale(1);
	transition: 500ms ease;
}

.logo-item img:hover{
  max-height:120px;
  width:auto;
  opacity:1;
	filter: grayscale(0);
	scale: 1.2;
    transition: 500ms ease;
}


@media (max-width:768px){
    
    .logos-layer{
        position: static;
        transform: none !important;
    }

  .logos-inner{
    padding:10vh 6vw;
    height:auto;
  }

  .logos-heading{
    font-size:40px;
    margin-bottom:20px;
    margin-top: 0px;
  }

  .logos-grid{
    grid-template-columns:repeat(2,1fr);
    gap:40px;
  }

  .logo-item img{
    max-height:120px;
	  filter: grayscale(0);
  }

}

/* New Portfolio Page */

.portfolio-card {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* Single Portfolio Page */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px;
}

.portfolio-content img {
  width: 100%;
  height: auto;
}

.single-portfolio {
  padding-top: 100px; /* 60px header + breathing space */
  background: #f8e9b5;
}


.portfolio-gallery {
  padding: 0px 40px;
}

/* FORCE GRID */
.portfolio-gallery .wp-block-gallery {
  display: grid !important;

  /* THIS is your control */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

  gap: 10px; /* change to 0 if you want tight */
}

/* REMOVE WP default wrappers messing layout */
.portfolio-gallery .wp-block-image {
  margin: 0 !important;
}

/* IMAGE CLEAN */
.portfolio-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-hero {
  padding: 0px 40px 0px;
}

/* IMAGE WRAPPER CONTROL */
.portfolio-gallery .wp-block-image {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  cursor: pointer;
}

/* IMAGE BASE */
.portfolio-gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* DARK OVERLAY */
.portfolio-gallery .wp-block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0);
  transition: background 0.4s ease;
}

/* HOVER EFFECT */
.portfolio-gallery .wp-block-image:hover img {
  transform: scale(1.08);
}

.portfolio-gallery .wp-block-image:hover::after {
  background: rgba(0, 0, 0, 0.35);
}


@media (max-width: 768px) {

  .portfolio-gallery {
    padding: 20px 16px 60px;
  }

  .portfolio-gallery .wp-block-gallery {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

}

.portfolio-gallery .wp-block-image {
  will-change: transform;
}

/* spacing for header */
.single-portfolio {
  padding-top: 100px;
}


.portfolio-hero h1 {
  font-size: 36px;
  color: var(--brand-pink);
  margin: 0;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  padding: 40px 0px;
}

/* ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* OVERLAY */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: 0.4s ease;
}

/* HOVER */
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.35);
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0px;
  }
  
  .portfolio-hero{
      padding: 0px 10px 0px;
  }
}


/* Portfolio Page CSS*/

/* =========================
   PORTFOLIO BASE
========================= */

.portfolio-page {
  padding-top: 60px;
  background: #f8e9b5;
}

/* =========================
   CARD LAYOUT
========================= */

.portfolio-card {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* INNER GRID */
.portfolio-card-inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 40px;
  padding: 0 40px;
  align-items: flex-start;
}

/* =========================
   LEFT CONTENT
========================= */

.portfolio-content {
  max-width: 500px;
}

.portfolio-title {
  font-size: 36px;
  color: var(--brand-pink);
  margin: 0 0 20px;
}

.portfolio-desc {
  font-size: 16px;
  line-height: 1.6;
}

.portfolio-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   RIGHT IMAGE
========================= */

.portfolio-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.portfolio-visual img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

/* overlay */
/*.portfolio-visual::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: rgba(0,0,0,0.1);*/
/*  transition: background 0.4s ease;*/
/*}*/

/* hover */
.portfolio-card:hover img {
  transform: scale(1.03);
}

.portfolio-card:hover .portfolio-visual::after {
  background: rgba(0,0,0,0.3);
}



.portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.portfolio-cta span {
  display: inline-flex;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 10px 5px;
}

.portfolio-cta span img{
    width: 20px
}

.portfolio-cta:hover span {
  transform: translateX(4px);
}

/* =========================
   PORTFOLIO PAGE HEADER
========================= */

.portfolio-page-header {
  padding-top: 0px; /* header offset + breathing */
  padding-bottom: 0px;
}

.portfolio-page-header-inner {
  margin: 0 auto;
  padding: 0 40px;
}

.portfolio-page-title {
  font-size: 48px;
  color: var(--brand-pink);
  margin: 0;
  text-align: center;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .portfolio-card {
    min-height: auto;
    padding: 60px 20px;
    align-items: flex-start;
    height: auto;
  }

  .portfolio-card-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .portfolio-visual img {
    max-height: none;
    height: auto;
  }
  
  .portfolio-title{
      font-size: 30px;
  }
  
  .portfolio-page-title{
       font-size: 30px;
       margin-top: 10px;
  }
  
  .portfolio-page-header-inner{
      padding: 0 10px;
  }
  
  .portfolio-page-header{
      display: none;
  }

}

/* Video Section */

.scene--video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-wrapper {
  position: absolute;
  inset: 0;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

