html, body {
  max-width: 100vw;        /* Prevent body width exceeding viewport */
  overflow-x: hidden !important; /* Hide horizontal scroll globally */
  box-sizing: border-box;  
}
* {
  cursor: none !important;
}

/* Import Landour Regular Trial */
@font-face {
  font-family: "Landour";
  src: url("assets/fonts/Delight-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Relationship of Mélodrame";
  src: url("assets/fonts/Griffiths.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Landour", serif;  /* Use only Landour everywhere */
  color: #000;
  background: #fff;
  overflow-x: hidden;
}
/* Universal clickable padding fix */
a, button, .btn, .project-card, .service-header, .faq-question, .testi-leave-btn {
  display: inline-block;
  padding: 6px 8px; /* increase clickable zone */
  cursor: pointer;
}
/* Custom Cursor */
.cursor-sphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.15));
  pointer-events: none;
  mix-blend-mode: difference;
  box-shadow: 0 0 15px rgba(255,255,255,0.2), inset 0 0 25px rgba(255,255,255,0.1);
  opacity: 0;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-sphere {
  transform: translate(-50%, -50%) translateY(-5px);
}

/* ✨ Highlight effect when hovering on clickable */
.cursor-sphere.cursor-active {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* black background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* Centered video */
#splash-screen video {
  max-width: 500px;   /* adjust size */
  width: 60%;         /* responsive scaling */
  height: auto;
  border-radius: 12px; /* optional: rounded edges */
  box-shadow: 0 0 40px rgba(0,0,0,0.6); /* gives it a glowing 3D feel */
}

/* Navbar with Glass Effect */
/* Smooth navbar morph without sliding */
.navbar {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* 🔮 Liquid Glass Effect */
  background: rgba(0, 0, 0, 0.259);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
  
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.086);
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.3),  /* inner light */
    inset 0 -1px 6px rgba(255, 255, 255, 0.4),      /* inner dark */
    0 4px 25px rgba(0, 0, 0, 0.4);            /* outer soft shadow */

  overflow: hidden;
  z-index: 9999;
  transition: all 0.4s ease;
}


/* When scrolling down */
.navbar.shrink {
  width: fit-content;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  top: 20px;
  transform: translateX(-50%) scale(0.97);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Adjust logo + links smoothly */
.navbar .logo img {
  height: 32px;
  transition: height 0.4s ease, transform 0.4s ease;
}

.navbar.shrink .logo img {
  height: 26px;
  transform: translateY(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  transition: all 0.4s ease;
}

.nav-links li a {
  padding: 10px 15px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, font-size 0.4s ease;
}

.navbar.shrink .nav-links li a {
  font-size: 0.95rem;
}

.navbar.shrink .nav-links li a:hover {
  color: #ccc;
}

/* Optional: subtle fade-in/out effect */
.navbar,
.navbar.shrink {
  transition: all 0.6s ease-in-out, opacity 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 32px;
}

.logo span {
  font-family: "Landour", serif;
  font-size: 1.4rem;
}
/* ✨ Shrink Navbar on Scroll — morphs in place */
.navbar.shrink {
  background: rgba(0, 0, 0, 0.358);
  border-radius: 50px;
  width: fit-content;
  padding: 0.6rem 2rem;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) scale(0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  justify-content: center;
  gap: 1.2rem;
  top: 16px; /* stays locked slightly below top */
  transition: all 0.5s ease;
}

/* Logo + Text scaling */
.navbar .logo img {
  height: 32px;
  transition: all 0.4s ease;
}

.navbar.shrink .logo img {
  height: 26px;
}

.navbar.shrink .nav-links {
  gap: 1.5rem;
}

.navbar.shrink .nav-links li a {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar.shrink .nav-links li a:hover {
  color: #e2e2e2;
}
/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center; /* <--- makes sure li stay centered */
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  display: flex;              /* <--- helps alignment */
  align-items: center;        /* <--- vertical centering */
  height: 100%;               /* ensures even baseline */
}

.nav-links li a:hover {
  color: #06060697;
}
html {
  scroll-behavior: smooth;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn.black {
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;  /* balanced padding */
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;   /* vertically center text */
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn.black:hover {
  background: #dcdcdc15;
  color: black;
}

.btn.white {
  background: #fff;
  color: #000;

}

.btn.white:hover {
  background: #00000045;
  color: #fff;
}

/* Get Started Button (special style) */
.btn.get-started {
  background: #000;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-family: "Landour", serif;
  transition: all 0.3s ease;
}

.btn.get-started:hover {
  background: #222;
  transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(83, 83, 83, 0.508);
    position: absolute;
    top: 70px;
    right: 5%;
    width: 200px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  .btn.get-started {
    display: none;
  }
}
/* Hide contact button on small screens */
@media (max-width: 768px) {
  .get-started {
    display: none;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: #000;
  padding: 0 1rem;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15); /* Transparent white */
  backdrop-filter: blur(12px) saturate(180%); /* Glass effect */
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Soft shadow */
  text-align: center;
}

/* Availability Pill inside Hero */
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,20,20,0.7);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Green Dot */
.status-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e; /* green */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  animation: pulse 1.5s infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero h1 {
  font-family: "Griffith", serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-weight: normal;
  font-style: italic; /* change to italic if you want slanted */
  color: white;
}
.subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ffffff;
  font-family: "Landour", serif;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Carousel Heading & Subtitle */
.carousel-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #171717b8;
  font-family: "Landour", serif;
}

.carousel-subtitle {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: rgba(0, 0, 0, 0.617);
}

/* Logo Carousel */
.logo-carousel {
  padding: 2rem 1rem;
  background: #f3f3f3a8;
  /* subtle glassy effect */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}


.logoloop {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logoloop__track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.logoloop__list {
  display: flex;
  align-items: center;
  gap: 60px;                /* increase spacing */
  padding: 0 20px;          /* add side breathing space */
}

.logoloop__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;       /* consistent box for all logos */
  height: 80px;
  padding: 0px;     /* space so logo can grow on hover */
  flex-shrink: 0;    /* prevents squishing */
}

.logoloop__item img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logoloop__item img:hover {
  transform: scale(1.2);
}

.logoloop__list img {
  height: 50px;
  width: auto;              /* keep natural proportions */
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  margin: 0 10px;           /* small margin to balance spacing visually */
}


.logoloop__list img:hover {
  transform: scale(1.2);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.projects {
  padding: 80px 10%;
  background: #f3f3f3a8;
}

/* Header layout */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.projects-left h2 {
  font-size: 70px;
  font-weight: 700;
  margin: 0;
  color: #000000e8;
}

.projects-year {
  display: block;
  font-size: 20px;
  margin-top: 8px;
  color: #444;
}

.projects-right {
  max-width: 400px;
  font-size: 16px;
  color: #666;
  line-height: 1.4;
}

/* Grid layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card {
  display: block;               /* makes the <a> behave like a block */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;        /* removes underline */
  color: inherit;               /* keeps text color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.1);
  filter: blur(5px);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 20px;
  font-weight: 600;
}

.project-info h3 span {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}

/* Responsive */
@media (max-width: 900px) {
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .projects-right {
    margin-top: 20px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Section base */
.flowing-menu-section {
  background: #0b0b0b;
  color: #fff;
  padding: 60px 0 100px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

/* Title */
.services-title {
  font-size: 3rem;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: left; /* ← aligned left now */
  padding-left: 10vw; /* optional soft spacing to match old layout */
}

.services-title span {
  color: #888;
  font-size: 1.5rem;
  font-weight: 400;
}


/* Menu layout */
.menu-wrap {
  width: 100%;
  overflow: hidden;
}
.menu {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.menu__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.menu__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  transition: color 0.4s ease;
  z-index: 3;
  position: relative;
}
.menu__item-link:hover {
  color: #060010;
}

/* Marquee (flow bar) */
.marquee {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw; /* ✅ full width */
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(101%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.menu__item:hover .marquee {
  transform: translateY(0%);
  pointer-events: auto;
  z-index: 3;
}

/* Marquee inner loop */
.marquee__inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content; /* allows continuous flow */
  animation: marqueeScroll 18s linear infinite; /* ✅ slower continuous motion */
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Quotation button style */
.quote-btn {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 30px;
  margin: 0 40px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  cursor: pointer;
}
.quote-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .menu__item-link {
    font-size: 1.2rem;
    height: 90px;
  }
  .quote-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 20px;
  }
}
/* ✨ Glass shapes between buttons */
.glass-shape {
  width: 180px;
  height: 70px;
  margin: 0 40px;
  border-radius: 50px;
  background: rgb(0, 0, 0);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, background 0.4s ease;
}

/* subtle floating motion when marquee moves */
.marquee__inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
}
/* ✅ ReactBits-style image shape */
.marquee__img {
  width: 220px;
  height: 7vh;
  min-height: 60px;
  border-radius: 50px;
  margin: 0 40px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  filter: brightness(0.9);
  transition: transform 0.3s ease, filter 0.3s ease;
}
/* optional glowing effect for dark mode */
.glass-shape::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgb(0, 0, 0), transparent 0%);
  pointer-events: none;
}

/* 📽 video inside marquee glass */
.marquee__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.testimonials {
  padding: 90px 10% 70px 10%;
  background: #f3f3f3a8;
}

.testimonials-header {
  text-align: left;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.testimonials-header h2 {
  font-size: 4rem;
  font-family: "Landour", serif;
  font-weight: bold;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testi-year {
  font-size: 1.3rem;
  color: #00000079;
}

.testi-note {
  color: #888;
  font-size: 1.1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testi-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 280px;
}

.large-card {
  grid-row: span 2;
  justify-content: flex-start;
  min-height: 340px;
  border: 2px solid #111;
  background: #fafafa;
}

.testi-big-rating {
  font-size: 2.7rem;
  font-weight: bold;
  color: #000;
}

.testi-summary {
  font-size: 1.12rem;
  color: #222;
}

.testi-review-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ededed;
  color: #222;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12px; /* overlap */
  border: 2px solid #818181;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: z-index 0.2s;
  position: relative;
  z-index: 1;
}

.testi-review-avatars {
  display: flex;
}
.testi-avatar.extra-avatar {
  background: #222;
  color: #fff;
  font-size: 1.1rem;
}
.testi-project-count {
  font-size: 1rem;
  color: #222;
  margin-left: 8px;
}

.testi-leave-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 38px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 18px;
  width: fit-content;
  transition: background 0.2s;
}
.testi-leave-btn:hover {
  background: #333;
}

.testi-profile {
  display: flex;
  align-items: center;
  gap: 13px;
}

.testi-name {
  font-weight: bold;
  font-size: 1.13rem;
  color: #111;
}

.testi-company {
  color: #888;
  font-size: 0.98rem;
}

.testi-stars {
  color: #fbbf24;
  font-size: 1.18rem;
  font-family: "Landour", serif;
  letter-spacing: 2px;
}

.testi-feedback {
  font-size: 1.09rem;
  color: #171717;
  line-height: 1.4;
  margin-bottom: -6px;
}

.testi-project {
  color: #666;
  font-size: 0.96rem;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 2vw 50px 2vw;
  }
  .testimonials-header h2 {
    font-size: 2.1rem;
  }
  .testimonials-grid {
    gap: 15px;
  }
  .testi-card, .large-card {
    padding: 18px 10px;
    min-height: 180px;
  }
}

/* New Testimonial Layout */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  margin-top: 50px;
}

.testimonial-left {
  position: relative;
  background: url('assets/Parrotai/brand_logo_ident/front.png') center/cover no-repeat;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.299);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
  gap: 40px;
}

.stat h3 {
  font-size: 3rem;
  color: #fff;
  margin: 0;
  line-height: 1;
  font-weight: 700;
}

.stat p {
  color: #eaeaea;
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.testimonial-right {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  min-height: 420px;
}

.testimonial-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.621);
}

.testimonial-slide {
  position: relative;
  color: #ffffff;
  z-index: 2;
}

.testimonial-quote {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 1rem;
  color: #ffffff8e;
}

.review-btn {
  background-color: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.review-btn:hover {
  background-color: #000;
  color: #fff;
}


/* Responsive */
@media (max-width: 768px) {
  .testimonial-layout {
    grid-template-columns: 1fr;
  }
  .testimonial-left,
  .testimonial-right {
    min-height: 300px;
  }
  .stats-overlay {
    padding-left: 25px;
    gap: 25px;
  }
  .stat h3 {
    font-size: 2.2rem;
  }
  .testimonial-quote {
    font-size: 1.2rem;
  }
}
/* BASE */
.testimonials {
  padding: 90px 10%;
  background: #f7f7f7;
  text-align: left;
}

.testimonials-header h2 {
  font-size: 3.8rem;
  font-family: "Landour", serif;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-year {
  font-size: 1.2rem;
  color: #999;
}

.testi-note {
  font-size: 1.1rem;
  color: #666;
}

/* LAYOUT */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
}

/* LEFT IMAGE BOX */
.testimonial-left {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: url('assets/Parrotai/brand_logo_ident/front.png') center/cover no-repeat;
  min-height: 420px;
  transition: background-image 0.6s ease-in-out;
}

/* RIGHT TEXT BOX */
.testimonial-right {
  background: #0d0d0d;
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 60px;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.testimonial-quote {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 600;
}

.testimonial-author {
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ARROWS BELOW BOTH BOXES */
.testimonial-arrows {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.arrow-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.arrow-btn:hover {
  background: #000;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimonial-layout {
    grid-template-columns: 1fr;
  }
  .testimonial-left,
  .testimonial-right {
    min-height: 320px;
  }
  .testimonial-right {
    padding: 40px;
  }
  .testimonial-quote {
    font-size: 1.3rem;
  }
  .arrow-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}
.testimonials {
  padding: 90px 10%;
  background: #f7f7f7;
}

/* Header */
.testimonials-header h2 {
  font-size: 3.8rem;
  font-family: "Landour", serif;
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-year {
  font-size: 1.2rem;
  color: #999;
}
.testi-note {
  font-size: 1.1rem;
  color: #666;
}

/* Layout */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
  transition: all 0.6s ease;
}

/* LEFT BOX */
.testimonial-left {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: url('assets/Parrotai/brand_logo_ident/front.png') center/cover no-repeat;
  min-height: 420px;
  transition: all 0.6s ease;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
  gap: 35px;
}

.stat h3 {
  font-size: 3rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.stat p {
  color: #eaeaea;
  font-size: 1rem;
  margin-top: 4px;
}

/* RIGHT BOX */
.testimonial-right {
  background: #0d0d0d;
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.6s ease;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 60px;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.testimonial-quote {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 600;
}

.testimonial-author {
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* REVIEW BUTTON */
.review-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  padding: 12px 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
}
.review-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #000;
  transform: translateY(-2px);
}

/* JOIN EFFECT */
.testimonial-layout:hover .testimonial-left {
  transform: translateX(20px);
}
.testimonial-layout:hover .testimonial-right {
  transform: translateX(-20px);
}
.testimonial-layout:hover {
  gap: 0;
}

/* ARROWS INSIDE RIGHT BOX */
.testimonial-arrows {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.arrow-btn:hover {
  background: rgba(255,255,255,0.35);
  border-color: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-left,
  .testimonial-right {
    min-height: 320px;
  }

  .testimonial-right {
    padding: 40px;
  }

  .testimonial-quote {
    font-size: 1.3rem;
  }

  .testimonial-arrows {
    bottom: 20px;
    right: 20px;
  }

  .arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}




.faq {
  padding: 80px 10%;
  background: #f3f3f3a8;
}

.faq-header {
  text-align: left;
  margin-bottom: 38px;
}

.faq-header h2 {
  font-size: 3.7rem;
  font-family: "Landour", serif;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.faq-subtitle {
  color: #888888;
  font-size: 1.18rem;
  max-width: 600px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.18rem;
  color: #222;
  font-family: "Landour", serif;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.17rem;
  font-weight: bold;
  color: #333;
  transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 18px 28px;
  font-size: 1.07rem;
  color: #444;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .faq {
    padding: 38px 5vw;
  }
  .faq-header h2 {
    font-size: 2.1rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 18px 14px;
  }
  .faq-answer {
    font-size: 0.99rem;
    padding: 0 14px 14px 14px;
  }
}

.footer {
  background: #111;
  color: #fff;
  padding: 60px 0 30px 0;
  margin-top: 0;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 4vw;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 180px;
}

.footer-contact {
  font-size: 1.65rem;
  font-family: "Landour", serif;
  font-weight: 700;
  justify-content: center;
}

.footer-email-dot {
  color: #fff;
  font-size: 1.15rem;
  margin-right: 7px;
  position: relative;
  top: -2px;
}

.footer-email {
  text-decoration: underline;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-email {
  font-size: 1.09rem;
  word-break: break-all;
}
.footer-nav-title {
  font-size: 1rem;
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 6px;
}

.footer-nav a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  margin-bottom: 2px;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-social a:hover {
  color: #e7e7e7;
  text-decoration: underline;
}
.footer-contact,
.footer-nav,
.footer-social {
  word-break: break-word;
  font-size: 1.03rem;
}
.footer-brand {
  margin: 60px 0 22px 0;
  text-align: center;
}

.footer-logo {
  font-family: "Landour", serif;
  font-weight: 700;
  font-size: 3.3rem;
  color: #cccccc;
}

.footer-r {
  font-size: 1.6rem;
  vertical-align: super;
  color: #cccccc;
}

.footer-studio {
  display: block;
  font-family: "Landour", serif;
  font-size: 2rem;
  font-weight: 400;
  margin-top: -14px;
  color: #cccccc;
}

.footer-bottom {
  text-align: center;
  color: #cccccc;
  margin-top: 4px;
  font-size: 0.93rem;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center; /* Center the columns horizontally */
    padding: 0 5vw;
    gap: 30px;
    text-align: center; /* Center footer text */
  }
  .footer-col {
    align-items: center; /* Center content in each column */
    width: 100%;         /* Take full available width if needed */
    min-width: unset;
  }
}
/* Mobile Menu Overlay */
#mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.4s ease;
}

#mobile-menu.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-content {
  background: rgba(20,20,20,0.85);
  border-radius: 20px;
  padding: 2rem;
  width: 80%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 0;
}

#mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
}

#mobile-menu a:hover {
  color: #c7c7c7;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 25px;
  right: 30px;
  cursor: pointer;
}
.mobile-menu-content {
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Small phones (iPhone SE, Galaxy S5) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .btn.get-started {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  /* Adjust logo carousel item sizes */
  .logoloop__item {
    width: 60px;
    height: 60px;
  }
}

/* Medium phones (iPhone 12/13/14, Galaxy S20/S21) */
@media (max-width: 414px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.7rem;
  }
}

/* Large phones and small tablets (iPhone 14 Pro Max, Galaxy S24 Ultra, iPad Mini) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.6rem 4%;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .logoloop__item {
    width: 70px;
    height: 70px;
  }
  .nav-links {
    font-size: 0.95rem;
  }
}

/* Tablets (iPad Air, Galaxy Tab) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .logoloop__item {
    width: 75px;
    height: 75px;
  }
}
/* 🚫 Hide custom cursor on responsive (mobile/tablet) */
@media (max-width: 1024px) {
  .cursor-sphere {
    display: none !important;
  }

  * {
    cursor: auto !important; /* restore normal touch behavior */
  }
}
/* Contact Button - Dark Apple Style */
.btn.get-started {
  position: relative;
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #eaeaea;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: none;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Elegant Animated Gradient Border */
.btn.get-started::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* Border thickness */
  border-radius: 30px;
   background: linear-gradient(
    90deg,
    #ffb6a3,
    #fcb045,
    #ff3cac,
    #2b86c5,
    #845ec2,
    #ffb6a3
  );
  background-size: 300% 100%;
  animation: appleBorder 5s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: -1;
}

/* Smooth Gradient Flow */
@keyframes appleBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

/* Hover Effect */
.btn.get-started:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}


/* ==========================
   Minimal Chatbot Design
========================== */
.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 8888;
}
.chatbot-toggle:hover {
  background: rgba(95, 95, 95, 0.306);
  transform: scale(1.05);
}

.chatbot-widget {
  position: fixed;
  bottom: 95px;
  right: 35px;
  width: 320px;
  height: 420px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: 0.35s ease;
  z-index: 8888;
}
.chatbot-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-weight: 500;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chatbot-header button {
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.2s;
}
.chatbot-header button:hover {
  opacity: 0.7;
}

.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
  font-size: 0.9rem;
}
.message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.4;
  word-break: break-word;
}
.message.user {
  align-self: flex-end;
  background: rgba(0, 0, 0, 0.25);
}
.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.236);
}

.chatbot-input-area {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.chatbot-input-area input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
}
.chatbot-input-area button {
  background: none;
  border: none;
  color: #000000;
  font-size: 1.3rem;
  padding: 0 12px;
  cursor: pointer;
  transition: 0.2s;
}
.chatbot-input-area button:hover {
  color: #000000;
}
.chatbot-toggle img {
  width: 26px;
  height: 26px;
}
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chat-suggestion {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-suggestion:hover {
  background: rgba(255, 255, 255, 0.25);
}
/* Fix any hidden overlay blocking touches */
#mobile-menu,
.chatbot-widget {
  pointer-events: none;
}
#mobile-menu.active,
.chatbot-widget.active {
  pointer-events: auto;
}

button, a, .btn {
  touch-action: manipulation;
}/* === Mobile Button & Link Tap Fix === */
@media (max-width: 768px) {
  a, button, .btn, .chat-suggestion, .chatbot-toggle {
    position: relative;
    z-index: 10; /* ensure above overlays */
    pointer-events: auto;
    touch-action: manipulation;

    /* make sure tap target is large enough */
    min-height: 44px;
    min-width: 44px;
    padding: 10px 16px;

    /* prevent text selection issues */
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    user-select: none;
  }

  /* Ensure chatbot toggle and menu buttons are always clickable */
  #chatbot-toggle, #menu-toggle, #close-menu {
    pointer-events: auto !important;
    z-index: 9999 !important;
  }

  /* Avoid any hidden overlays blocking touch */
  #mobile-menu:not(.active),
  .chatbot-widget:not(.active) {
    pointer-events: none !important;
  }
}
/* Chatbot teaser bubble — Glassmorphism style */
.chatbot-teaser {
  position: fixed;
  bottom: 20px;
  right: 120px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.534);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 14px 18px;
  font-family: "Landour", serif;
  max-width: 260px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 9998;
}

.chatbot-teaser.show {
  opacity: 1;
  transform: translateY(0);
}

.chatbot-teaser h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.3px;
}

.chatbot-teaser p {
  margin: 3px 0 0 0;
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.734);
  line-height: 1.35;
}

/* Small animated glow pulse */
.chatbot-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent);
  opacity: 0.8;
  pointer-events: none;
}

/* Responsive — mobile positioning */
@media (max-width: 700px) {
  .chatbot-teaser {
    right: 110px;
    bottom: 20px;
    max-width: 200px;
    padding: 12px 14px;
  }
}


/* === Fix Chatbot Alignment (Studio Page Only) === */
.chatbot-toggle {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 8888 !important;
  transform: none !important;
}

.chatbot-widget {
  position: fixed !important;
  bottom: 100px !important;
  right: 25px !important;
  z-index: 8888 !important;
  transform: none !important;
}

.logoloop__track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
  transition: animation-play-state 0.3s ease;

}

/* Pause animation on hover */
.logoloop:hover .logoloop__track {
  animation-play-state: paused;
}

.review-avatar,
.testimonial-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  flex-shrink: 0;
  border: 1px solid #ccc;
  overflow: hidden; /* ensures no text leaks */
}


.service-content .btn-cta {
  margin-top: 0.8rem;
  display: inline-block;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 0.4rem 1rem; /* smaller padding */
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem; /* slightly smaller font */
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.service-content .btn-cta:hover {
  background: #fff;
  color: #000;
  border-color: #000;
  transform: translateY(-1.5px);
}

.service-content {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* === Latest Work Popup Overlay === */
.latest-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(18px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 8888;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s ease, transform .45s ease;
}

.latest-popup.show {
  opacity: 1;
  transform: scale(1);
}

/* === Popup Card === */
/* === Improved Glassy Popup Card === */
.popup-card {
  position: relative;
  width: 90%;
  max-width: 860px;
  border-radius: 28px;
  padding: 1.6rem 1.8rem 2.4rem;
  background: rgba(255, 255, 255, 0.114); /* softer transparency */
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow:
    0 0 70px rgba(0, 0, 0, 0.184),      /* outer depth */
    inset 0 0 35px rgba(0, 0, 0, 0); /* soft inner glow */
  overflow: hidden;
}

/* === New Perfect Smooth Animated Border === */
.popup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px; /* border thickness */
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    #b54bff,
    #5d8cff,
    #ff71c6,
    #ffffff,
    #b54bff
  );
  background-size: 400% 400%;
  animation: borderFlow 10s ease-in-out infinite;
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Smooth seamless looping gradient */
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Title + Subtext */
.popup-title {
  text-align: center;
  margin-top: 0.6rem;
  font-family: 'Landour', serif;
  font-size: 2.3rem;
  color: #fff;
  letter-spacing: -1px;
}

.popup-subtitle {
  text-align: center;
  font-family: 'Landour', serif;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.4rem;
}

/* Video Wrapper with Aspect Ratio */
.video-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9; /* <-- Fixes the height issue */
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: .7;
  transition: .3s;
}
.popup-close:hover { opacity: 1; }

/* Disable right-click download */
video::-internal-media-controls-download-button { display: none; }
video::--webkit-media-controls-enclosure { overflow: hidden; }
video::-webkit-media-controls-fullscreen-button { display: block; }
video { pointer-events: auto; }

/* Mobile */
@media (max-width: 600px) {
  .popup-card { padding: 1rem; border-radius: 22px; }
  .popup-title { font-size: 1.7rem; }
  .popup-subtitle { font-size: .95rem; }
}
.video-wrapper video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.video-wrapper video.ready {
  opacity: 1;
}
/* === Latest Work Badge === */
.latest-badge {
  position: absolute;
  top: 14px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Landour', serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 14px 6px 12px;
  border-radius: 40px;
  
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  
  border: 1px solid rgba(255, 255, 255, 0.35);

  color: #ffffff;
  letter-spacing: 0.3px;
  z-index: 3;
}

/* Small pulsing accent dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00ff26;
  box-shadow: 0 0 10px #bdbdbd;
  animation: pulse 1.4s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}
/* === Responsive Popup === */
@media (max-width: 900px) {
  .popup-card {
    max-width: 92%;
    padding: 1.2rem 1.2rem 1.7rem;
    border-radius: 24px;
  }

  .popup-title {
    font-size: 1.9rem;
  }

  .popup-subtitle {
    font-size: 1rem;
  }

  .video-wrapper {
    border-radius: 18px;
  }

  .latest-badge {
    top: 10px;
    left: 14px;
    padding: 5px 12px;
    font-size: 0.85rem;
  }
}

/* Small Tablets + Large Phones */
@media (max-width: 600px) {
  .popup-card {
    max-width: 95%;
    padding: 1rem 1rem 1.4rem;
    border-radius: 20px;
  }

  .popup-title {
    font-size: 1.6rem;
    margin-top: 1.4rem;
  }

  .popup-subtitle {
    font-size: .9rem;
    margin-bottom: 1.1rem;
  }

  .latest-badge {
    font-size: 0.8rem;
    padding: 5px 11px;
    gap: 6px;
  }

  .pulse-dot {
    width: 7px;
    height: 7px;
  }

  .popup-close {
    top: 8px;
    right: 12px;
    font-size: 1.7rem;
  }
}

/* Very Small Phones (iPhone SE / Android Mini) */
@media (max-width: 420px) {

  .popup-title {
    font-size: 1.4rem;
  }

  .popup-subtitle {
    font-size: 0.85rem;
  }

  .latest-badge {
    top: 8px;
    left: 12px;
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .pulse-dot {
    width: 6px;
    height: 6px;
  }

  .popup-card {
    padding: 0.9rem;
    border-radius: 18px;
  }
}

/* Ensure the card forms the boundary */
.pop-card {
  position: relative;      /* makes the card the positioning context */
  overflow: hidden;        /* ensures button stays inside */
  z-index: 2;              /* above background video */
}

/* Center and slightly lower the Explore button */
.popup-explore-wrap {
  position: absolute;
  bottom: 2.4rem;          /* distance from the bottom of the card */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 3;
}

/* Explore Button Style */
.popup-explore-btn {
  padding: 0.75rem 2rem;
  font-family: 'Landour', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  transform: translateZ(0);
}

/* Smooth hover without card shifting */
.popup-explore-btn:hover {
  background: linear-gradient(135deg, #ffffff, #000000);
  color: #000;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  transform: translateY(-3px) translateZ(0);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .popup-explore-wrap {
    bottom: 1.4rem;
  }
  .popup-explore-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
}

