/* ==========================================================
   NIDAN DEZIN STUDIO - OFFICIAL STYLESHEET
   Brand Theme: Deep Pine Emerald Teal (#123332), Luxury Gold (#E5C158), Coral Accent (#E08262)
   High-Contrast, Crystal Clear Readability & Simple Layouts
========================================================== */

:root {
  --studio-bg: #123332;
  --studio-darkest: #091c1b;
  --studio-surface: #18423f;
  --studio-card: #1c4d4a;
  --studio-elevated: #235d59;
  
  /* High Visibility Gold */
  --studio-gold: #f0c961;
  --studio-gold-light: #fae08c;
  --studio-gold-dark: #b88f32;
  
  /* Vibrant Coral Badge */
  --studio-coral: #e08262;
  --studio-coral-soft: #ffd9be;
  
  /* High-Contrast Clear Text Colors - 100% Readable */
  --studio-light: #ffffff;
  --studio-body-text: #f4f9f8;
  --studio-subtext: #e2ecea;
  --studio-muted: #cfe0dd;
  
  --studio-border: rgba(255, 255, 255, 0.18);
  --studio-border-gold: rgba(240, 201, 97, 0.5);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: var(--studio-bg);
  color: var(--studio-body-text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* HIGH-CONTRAST TEXT UTILITIES */
.font-light {
  font-weight: 400 !important; /* Prevent spindly/thin unreadable text */
}

.text-gold {
  color: var(--studio-gold) !important;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #fff2be 0%, #f0c961 50%, #c99c36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.text-coral {
  color: var(--studio-coral) !important;
}

.text-light {
  color: #ffffff !important;
}

.text-subtext {
  color: var(--studio-subtext) !important;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Overriding Bootstrap .text-muted with bright readable silver */
.text-muted, p.text-muted, span.text-muted, small.text-muted {
  color: var(--studio-muted) !important;
  font-size: 0.92rem;
  line-height: 1.6;
}

p {
  color: var(--studio-body-text);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

strong, b {
  color: #ffffff;
}

/* Headings with crisp clarity & fluid responsive scaling */
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, .display-3 {
  font-size: clamp(2rem, 5vw + 1rem, 3.85rem) !important;
  font-weight: 600;
  line-height: 1.2 !important;
}

h2, .display-4 {
  font-size: clamp(1.65rem, 3.5vw + 0.8rem, 2.75rem) !important;
  font-weight: 600;
  line-height: 1.25 !important;
}

h3, .display-5 {
  font-size: clamp(1.3rem, 2.5vw + 0.6rem, 1.95rem) !important;
  line-height: 1.3 !important;
}

h4, .fs-2 {
  font-size: clamp(1.15rem, 2vw + 0.4rem, 1.45rem) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--studio-darkest);
}
::-webkit-scrollbar-thumb {
  background: #235d59;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--studio-gold);
}

::selection {
  background-color: var(--studio-gold);
  color: var(--studio-darkest);
}

/* Badges */
.badge-coral {
  background-color: var(--studio-coral);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  display: inline-block;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(224, 130, 98, 0.3);
}

.badge-gold-outline {
  border: 1px solid var(--studio-border-gold);
  background: rgba(14, 46, 44, 0.85);
  color: var(--studio-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1.15rem;
  border-radius: 50rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons with Luxury Sheen Hover Animation */
.btn-gold {
  background: linear-gradient(135deg, #fae08c 0%, #f0c961 50%, #c99c36 100%);
  color: #091c1b !important;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.85rem;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 18px rgba(240, 201, 97, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  transition: none;
  z-index: 2;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(240, 201, 97, 0.6);
  color: #000000 !important;
}

.btn-gold:hover::before {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.btn-outline-studio {
  background: rgba(24, 66, 63, 0.85);
  color: #ffffff !important;
  border: 1px solid var(--studio-border-gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.85rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.btn-outline-studio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(240, 201, 97, 0.35), transparent);
  transform: skewX(-25deg);
  transition: none;
  z-index: 2;
}

.btn-outline-studio:hover {
  background: var(--studio-card);
  border-color: var(--studio-gold);
  color: var(--studio-gold) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 201, 97, 0.25);
}

.btn-outline-studio:hover::before {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.btn-whatsapp-solid {
  background-color: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  border: none;
}
.btn-whatsapp-solid:hover {
  background-color: #20bd5a;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Glassmorphism Cards with Crisp Borders */
.studio-card {
  background: var(--studio-surface);
  border: 1px solid var(--studio-border);
  border-radius: 1rem;
  transition: all 0.35s ease;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}
.studio-card:hover {
  border-color: var(--studio-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(240, 201, 97, 0.2);
}

.studio-card-gold {
  background: linear-gradient(145deg, #18423f 0%, #1f5753 100%);
  border: 1px solid var(--studio-border-gold);
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

/* Sticky Navbar */
.navbar-custom {
  background: rgba(9, 28, 27, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 201, 97, 0.25);
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: all 0.3s ease;
}
.navbar-custom.scrolled {
  background: #081a19;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Compact Single-Line Navbar CTA Button */
.navbar-custom .btn-gold {
  padding: 0.52rem 1.15rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  line-height: 1.2 !important;
  border-radius: 4px !important;
  width: auto !important;
}

.navbar-custom .btn-gold span {
  white-space: nowrap !important;
  display: inline-block !important;
}

.navbar-custom .btn-gold i {
  font-size: 0.82rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.nav-link-custom {
  color: #e2ece9 !important;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem !important;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link-custom:hover {
  color: var(--studio-gold) !important;
}
.nav-link-custom.active {
  color: var(--studio-gold) !important;
  font-weight: 700;
}
.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2.5px;
  background: var(--studio-gold);
  border-radius: 2px;
}

/* Custom Luxury Dropdown Styling */
.navbar-custom .dropdown-menu {
  background: #0d2827;
  border: 1px solid var(--studio-border-gold);
  border-radius: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  padding: 0.65rem 0.5rem;
  min-width: 290px;
  margin-top: 0.35rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-custom .dropdown-item {
  color: #edf5f4 !important;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.navbar-custom .dropdown-item i {
  color: var(--studio-gold);
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
  background: var(--studio-surface);
  color: var(--studio-gold) !important;
  transform: translateX(4px);
}

.navbar-custom .dropdown-item.active {
  background: var(--studio-card);
  color: var(--studio-gold) !important;
  font-weight: 700;
}

.navbar-custom .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 0.45rem 0.65rem;
}

.navbar-custom .dropdown-header {
  color: var(--studio-gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  padding: 0.4rem 1rem 0.2rem;
}

@media (min-width: 992px) {
  .navbar-custom .dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeInDropdown 0.22s ease forwards;
  }
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Desktop & Laptop Navbar Optimization (992px to 1240px) */
@media (min-width: 992px) and (max-width: 1240px) {
  .nav-link-custom {
    padding: 0.5rem 0.55rem !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.02em !important;
  }
  .navbar-nav {
    gap: 0.12rem !important;
  }
  .navbar-custom .navbar-brand .brand-emblem img {
    height: 38px !important;
  }
  .navbar-custom .navbar-brand .font-serif {
    font-size: 1.15rem !important;
  }
  .navbar-custom .navbar-brand span.mt-1 {
    font-size: 0.62rem !important;
    letter-spacing: 0.22em !important;
  }
  .navbar-custom .btn-gold {
    padding: 0.46rem 0.95rem !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.05em !important;
  }
}

/* Specialized Solution Cards (Matching Reference Layout) */
.specialized-card {
  background: var(--studio-surface);
  border: 1px solid var(--studio-border);
  border-radius: 0.85rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}
.specialized-card:hover {
  background: var(--studio-card);
  border-color: var(--studio-gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}
.specialized-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 0.75rem;
  background: rgba(240, 201, 97, 0.12);
  border: 1px solid rgba(240, 201, 97, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--studio-gold);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.specialized-card:hover .specialized-icon-box,
.studio-card:hover .specialized-icon-box {
  background: var(--studio-gold);
  color: #091c1b;
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 20px rgba(240, 201, 97, 0.55);
}

/* Brand Emblem with Subtle Luxury Glow Pulse */
.brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(240, 201, 97, 0.45);
  animation: emblemAuraGlow 4s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}
.brand-emblem:hover {
  transform: scale(1.08);
}
.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@keyframes emblemAuraGlow {
  0% {
    box-shadow: 0 0 14px rgba(240, 201, 97, 0.35);
  }
  100% {
    box-shadow: 0 0 26px rgba(240, 201, 97, 0.75);
  }
}

/* ========================================================
   HERO CAROUSEL SLIDER (Smooth Fade, Luxury Gold Controls)
======================================================== */
.hero-carousel {
  position: relative;
  background-color: var(--studio-darkest);
  overflow: hidden;
}

.hero-carousel .carousel-item {
  min-height: 100vh;
  position: relative;
  background-color: var(--studio-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.hero-slide-content {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
  .hero-carousel .carousel-item {
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
  .hero-slide-content {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item {
    min-height: auto;
    padding-top: 6.75rem;
    padding-bottom: 3rem;
  }
  .hero-slide-content {
    padding-top: 0.25rem;
    padding-bottom: 1rem;
  }
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.15);
  transform: scale(1.02);
}

.carousel-item.active .hero-slide-bg {
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(18, 51, 50, 0.5) 0%, rgba(9, 28, 27, 0.94) 100%);
}

/* Hero Brand Logo above Badge */
.hero-brand-logo {
  display: block;
  margin: 0 auto 1.25rem auto;
  text-align: center;
}
.hero-brand-logo img {
  width: 155px;
  height: auto;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 24px rgba(240, 201, 97, 0.45));
  transition: transform 0.3s ease;
}
.hero-brand-logo:hover img {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .hero-brand-logo {
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
  }
  .hero-brand-logo img {
    width: 115px;
    max-height: 115px;
  }
}

@media (max-width: 575.98px) {
  .hero-brand-logo {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
  }
  .hero-brand-logo img {
    width: 100px;
    max-height: 100px;
  }
}

/* Hero Carousel Text Stagger Entrance Animations */
.carousel-item .hero-brand-logo,
.carousel-item .badge-gold-outline,
.carousel-item h1,
.carousel-item p.fs-4,
.carousel-item p.fs-6,
.carousel-item .d-flex.justify-content-center {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.carousel-item.active .hero-brand-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.carousel-item.active .badge-gold-outline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.carousel-item.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.carousel-item.active p.fs-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.carousel-item.active p.fs-6 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.carousel-item.active .d-flex.justify-content-center {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.hero-carousel .carousel-indicators {
  bottom: 4.5rem;
  margin-bottom: 0;
  z-index: 5;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  transition: all 0.3s ease;
  margin: 0 6px;
  opacity: 0.7;
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--studio-gold);
  width: 55px;
  opacity: 1;
  box-shadow: 0 0 12px rgba(240, 201, 97, 0.75);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 70px;
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 5;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: 1;
}

.hero-carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(9, 28, 27, 0.75);
  border: 1px solid var(--studio-border-gold);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--studio-gold);
  font-size: 1.3rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-carousel-arrow:hover {
  background: var(--studio-gold);
  color: #091c1b;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(240, 201, 97, 0.4);
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    display: none; /* Mobile uses swipe and indicators */
  }
  .hero-carousel .carousel-indicators {
    bottom: 2rem;
  }
}

/* Page Hero Section */
.page-hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5.5rem;
  background-color: var(--studio-darkest);
  overflow: hidden;
  text-align: center;
}
.page-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: brightness(0.8) contrast(1.15);
  animation: heroKenBurns 14s ease-out infinite alternate;
}
.page-hero-backdrop .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--studio-bg) 0%, rgba(18, 51, 50, 0.88) 55%, rgba(9, 28, 27, 0.96) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}

/* Page Hero Stagger Entrance Animations */
.page-hero-content .breadcrumb-custom {
  animation: fadeInDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.page-hero-content .badge-coral,
.page-hero-content .badge-gold-outline {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.page-hero-content h1 {
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}
.page-hero-content p {
  animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.page-hero-content .gold-divider {
  animation: scaleInX 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleInX {
  from {
    opacity: 0;
    transform: scaleX(0.2);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Breadcrumb */
.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.breadcrumb-custom a {
  color: var(--studio-subtext);
}
.breadcrumb-custom a:hover {
  color: var(--studio-gold);
}
.breadcrumb-custom span {
  color: #ffffff;
}

/* Gold Divider with Ambient Luminous Pulse */
.gold-divider {
  width: 100px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 201, 97, 0.2) 20%, #f0c961 50%, rgba(240, 201, 97, 0.2) 80%, transparent 100%);
  background-size: 200% 100%;
  margin: 1.75rem auto 0;
  border-radius: 2px;
  animation: goldLinePulse 3.5s ease-in-out infinite;
}

@keyframes goldLinePulse {
  0% {
    background-position: -150% 0;
    opacity: 0.7;
  }
  50% {
    background-position: 150% 0;
    opacity: 1;
  }
  100% {
    background-position: -150% 0;
    opacity: 0.7;
  }
}

/* Image Hover Zoom with Subtle Glass Shine Sweep */
.img-hover-zoom {
  overflow: hidden;
  position: relative;
  border-radius: inherit;
}

.img-hover-zoom::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.studio-card:hover .img-hover-zoom::after,
.img-hover-zoom:hover::after {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-hover-zoom img {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portfolio & Projects Showcase Spacing */
.space-y-5 {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (max-width: 991.98px) {
  .space-y-5 {
    gap: 3rem;
  }
}

@media (max-width: 767.98px) {
  .space-y-5 {
    gap: 2.25rem;
  }
}

.studio-card:hover .img-hover-zoom img,
.img-hover-zoom:hover img {
  transform: scale(1.06);
}

/* ========================================================
   MASTER SCROLL REVEAL ANIMATIONS (IntersectionObserver)
======================================================== */
.reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(35px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-fade {
  transform: none;
}

/* Active Revealed State */
.reveal.is-revealed,
.reveal-up.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal-scale.is-revealed,
.reveal-fade.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays for child cards in a grid */
.row > div:nth-child(1) > .reveal-up,
.row > div:nth-child(1) > .reveal-scale,
.row > div:nth-child(1) > .service-gallery-item {
  transition-delay: 0.05s;
}

.row > div:nth-child(2) > .reveal-up,
.row > div:nth-child(2) > .reveal-scale,
.row > div:nth-child(2) > .studio-card,
.row > div:nth-child(2) > .specialized-card,
.row > div:nth-child(2) > .service-gallery-item {
  transition-delay: 0.14s;
}

.row > div:nth-child(3) > .reveal-up,
.row > div:nth-child(3) > .reveal-scale,
.row > div:nth-child(3) > .studio-card,
.row > div:nth-child(3) > .specialized-card,
.row > div:nth-child(3) > .service-gallery-item {
  transition-delay: 0.24s;
}

.row > div:nth-child(4) > .reveal-up,
.row > div:nth-child(4) > .reveal-scale,
.row > div:nth-child(4) > .studio-card,
.row > div:nth-child(4) > .specialized-card,
.row > div:nth-child(4) > .service-gallery-item {
  transition-delay: 0.34s;
}

.row > div:nth-child(5) > .reveal-up,
.row > div:nth-child(5) > .reveal-scale,
.row > div:nth-child(5) > .service-gallery-item {
  transition-delay: 0.44s;
}

/* Delay Utility Classes */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Interactive Step Process Cards */
.step-process-card {
  background: var(--studio-surface);
  border: 1px solid var(--studio-border);
  border-left: 3.5px solid var(--studio-gold) !important;
  border-radius: 0.75rem;
  padding: 1.15rem 1.35rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.step-process-card:hover {
  transform: translateX(6px);
  background: rgba(24, 66, 63, 0.85);
  border-color: var(--studio-gold);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
}
.step-process-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--studio-gold);
  line-height: 1;
  min-width: 2rem;
  flex-shrink: 0;
}

/* Responsive Service Gallery Item */
.service-gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--studio-darkest);
}
.service-gallery-item:hover {
  border-color: var(--studio-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -5px rgba(240, 201, 97, 0.25);
}
.service-gallery-item-lg {
  height: 480px;
}
.service-gallery-item-sm {
  height: 380px;
}
.service-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(9, 28, 27, 0.96) 0%, rgba(9, 28, 27, 0.75) 60%, transparent 100%);
  transition: all 0.35s ease;
  z-index: 3;
}
.service-gallery-item:hover .service-gallery-overlay {
  background: linear-gradient(to top, rgba(9, 28, 27, 0.98) 0%, rgba(9, 28, 27, 0.85) 70%, transparent 100%);
}

/* Responsive Overview Feature Image */
.service-overview-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
}
.service-overview-img-wrap:hover {
  border-color: var(--studio-border-gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}
.service-overview-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-overview-img-wrap:hover .service-overview-img {
  transform: scale(1.05);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  font-size: 2rem;
  position: relative;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
}
.floating-whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.75;
  animation: pingAnimation 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes pingAnimation {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.floating-whatsapp-tooltip {
  background: #091c1b;
  border: 1px solid var(--studio-border-gold);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Lightbox Modal */
.studio-lightbox-modal .modal-content {
  background-color: rgba(9, 28, 27, 0.97);
  border: 1px solid var(--studio-border-gold);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
}

/* Form Controls with High Contrast */
.studio-input {
  background-color: #0b2221 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border-radius: 0.5rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
}
.studio-input:focus {
  background-color: #0e2928 !important;
  border-color: var(--studio-gold) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.25rem rgba(240, 201, 97, 0.3) !important;
}
.studio-input::placeholder {
  color: rgba(213, 229, 227, 0.55);
}

/* Footer */
.footer-custom {
  background-color: var(--studio-darkest);
  border-top: 1px solid var(--studio-border-gold);
  position: relative;
  overflow: hidden;
}
.footer-link {
  color: var(--studio-subtext);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 0.65rem;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--studio-gold);
  transform: translateX(4px);
}

/* ==========================================================
   MASTER RESPONSIVE SYSTEM (All Screen Views & Devices)
   Breakpoints:
   - Extra Large Screens (>= 1200px)
   - Laptops & Desktops (992px to 1199.98px)
   - Tablets & iPads (768px to 991.98px)
   - Mobile Landscape / Phablets (576px to 767.98px)
   - Mobile Portrait / Smartphones (320px to 575.98px)
========================================================== */

/* 1. Global Overflow & Container Safety */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, svg {
  max-width: 100%;
}

.container, .container-fluid, .container-xl, .container-lg, .container-md, .container-sm {
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

/* 2. Tablet & Mobile Navigation (< 992px) */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .navbar-collapse {
    background: #091c1b;
    border: 1px solid rgba(240, 201, 97, 0.35);
    border-radius: 0.85rem;
    padding: 1.25rem 1rem;
    margin-top: 0.85rem;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
  }

  /* In-flow responsive dropdown on mobile */
  .navbar-custom .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    background: #0c2625 !important;
    border: 1px solid rgba(240, 201, 97, 0.25) !important;
    border-radius: 0.65rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    box-shadow: none;
    transform: none !important;
  }

  .navbar-custom .dropdown-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .nav-link-custom {
    padding: 0.65rem 0.75rem !important;
    font-size: 0.95rem;
  }

  .nav-link-custom.active::after {
    display: none;
  }

  .nav-link-custom.active {
    background: rgba(240, 201, 97, 0.12);
    border-radius: 0.45rem;
  }

  .navbar-custom .btn-gold {
    width: 100% !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  /* Stats grid on tablet: 2x2 layout with clean dividers */
  .border-end.border-white-10 {
    border-right: none !important;
  }
  .row.g-4 > div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .row.g-4 > div:nth-child(1),
  .row.g-4 > div:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 1.5rem;
  }
  .row.g-4 > div:nth-child(3),
  .row.g-4 > div:nth-child(4) {
    padding-top: 1rem;
  }
}

/* 3. Hero & Page Hero Spacing on Tablets & Phones */
@media (max-width: 991.98px) {
  .page-hero-section {
    padding-top: 7.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .service-gallery-item-lg {
    height: 380px;
  }
  .service-gallery-item-sm {
    height: 320px;
  }
  .service-overview-img {
    height: 390px;
  }
}

@media (max-width: 767.98px) {
  .page-hero-section {
    padding-top: 6.5rem !important;
    padding-bottom: 2.75rem !important;
  }
  .page-hero-section h1 {
    font-size: clamp(1.85rem, 6vw, 2.75rem) !important;
  }
  .page-hero-section p {
    font-size: 1rem !important;
  }

  section.min-vh-100 {
    min-height: auto !important;
    padding-top: 5.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Responsive image scaling so fixed-heights don't dominate small viewports */
  img[style*="height: 480px"],
  img[style*="height: 360px"],
  div[style*="height: 480px"],
  div[style*="height: 460px"],
  div[style*="height: 420px"],
  div[style*="height: 380px"] {
    height: 270px !important;
  }

  .service-gallery-item-lg {
    height: 290px !important;
  }
  .service-gallery-item-sm {
    height: 260px !important;
  }
  .service-overview-img {
    height: 300px !important;
  }
  .service-gallery-overlay {
    padding: 1rem;
  }
  .service-gallery-overlay h3,
  .service-gallery-overlay h4 {
    font-size: 1.2rem !important;
  }
  .reveal-left {
    transform: translateX(-18px);
  }
  .reveal-right {
    transform: translateX(18px);
  }
  .step-process-card:hover {
    transform: none;
  }

  /* Hide WhatsApp tooltip on mobile to avoid obscuring content */
  .floating-whatsapp-tooltip {
    display: none !important;
  }
}

/* 4. Small Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
  /* Brand emblem & text adjustments */
  .navbar-brand {
    gap: 0.65rem !important;
  }
  .brand-emblem {
    width: 42px;
    height: 42px;
  }
  .navbar-brand .font-serif {
    font-size: 1.15rem !important;
  }
  .navbar-brand .text-gold {
    font-size: 0.58rem !important;
    letter-spacing: 0.12em !important;
  }

  /* Specialized cards */
  .specialized-card {
    padding: 1.1rem;
    gap: 0.85rem;
  }
  .specialized-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
  .specialized-card h3 {
    font-size: 1.15rem !important;
  }

  .service-gallery-item-lg {
    height: 250px !important;
  }
  .service-gallery-item-sm {
    height: 220px !important;
  }
  .service-overview-img {
    height: 240px !important;
  }
  .service-gallery-overlay {
    padding: 0.75rem 0.85rem;
  }
  .service-gallery-overlay .badge-coral {
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.25rem;
  }
  .service-gallery-overlay h3,
  .service-gallery-overlay h4 {
    font-size: 1rem !important;
    margin-bottom: 0.15rem !important;
  }
  .service-gallery-overlay p.gallery-subtext {
    display: none;
  }
  .step-process-card {
    padding: 0.95rem 1rem;
  }
  .step-process-num {
    font-size: 1.35rem;
    min-width: 1.5rem;
  }

  /* Button stacking & touch sizing */
  .d-flex.flex-column.flex-sm-row > .btn,
  .d-flex.flex-wrap.gap-3 > .btn {
    width: 100%;
  }
  .btn-gold, .btn-outline-studio, .btn-whatsapp-solid {
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
    justify-content: center;
    width: 100%;
  }

  /* Floating WhatsApp widget */
  .floating-whatsapp {
    bottom: 1.15rem;
    right: 1.15rem;
  }
  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  /* Form inputs touch ergonomic (16px prevents iOS Safari auto-zoom) */
  .studio-input {
    font-size: 16px !important;
    padding: 0.8rem 1rem;
    min-height: 46px;
  }

  /* Lightbox modal sizing */
  .studio-lightbox-modal .modal-dialog {
    margin: 0.5rem;
  }
  .studio-lightbox-modal .modal-body {
    padding: 1rem 0.75rem;
  }
  .studio-lightbox-modal img {
    max-height: 55vh !important;
    object-fit: contain;
  }
}

/* 5. Extra Small Smartphones (< 380px) */
@media (max-width: 379.98px) {
  .navbar-brand {
    gap: 0.45rem !important;
  }
  .brand-emblem {
    width: 36px;
    height: 36px;
  }
  .navbar-brand .font-serif {
    font-size: 1rem !important;
  }
  .navbar-brand .text-gold {
    font-size: 0.52rem !important;
    letter-spacing: 0.08em !important;
  }
  
  img[style*="height: 480px"],
  img[style*="height: 360px"],
  div[style*="height: 480px"],
  div[style*="height: 460px"],
  div[style*="height: 420px"],
  div[style*="height: 380px"] {
    height: 210px !important;
  }

  .service-gallery-item-lg {
    height: 210px !important;
  }
  .service-gallery-item-sm {
    height: 190px !important;
  }
  .service-overview-img {
    height: 200px !important;
  }
}

/* ========================================================
   ACADEMY & ACCORDION STYLES
======================================================== */
.accordion-custom .accordion-item {
  background-color: var(--studio-surface);
  border: 1px solid var(--studio-border);
  border-radius: 0.75rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-custom .accordion-item:hover {
  border-color: var(--studio-border-gold);
}

.accordion-custom .accordion-button {
  background-color: transparent;
  color: #ffffff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: rgba(24, 66, 63, 0.65);
  color: var(--studio-gold);
  border-bottom: 1px solid var(--studio-border);
}

.accordion-custom .accordion-button::after {
  filter: invert(1) brightness(200%);
  transition: transform 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  filter: invert(72%) sepia(53%) saturate(480%) hue-rotate(5deg) brightness(102%) contrast(92%);
}

.accordion-custom .accordion-body {
  padding: 1.35rem 1.5rem;
  color: var(--studio-subtext);
  font-size: 0.98rem;
  line-height: 1.7;
  background-color: rgba(9, 28, 27, 0.4);
}

.academy-software-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(14, 46, 44, 0.9);
  border: 1px solid var(--studio-border-gold);
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.25s ease;
}

.academy-software-pill:hover {
  background: var(--studio-gold);
  color: #091c1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(240, 201, 97, 0.3);
}

.academy-stat-card {
  background: var(--studio-surface);
  border: 1px solid var(--studio-border);
  border-top: 3.5px solid var(--studio-gold);
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.academy-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--studio-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}


