/* ==========================================================================
   ACE HOSPITALITY SUITE - LUXURY EXPERIENTIAL AGENCY DESIGN SYSTEM
   Branding: Ace Hospitality by Param (Estb. 2009)
   Palette: Deep Velvet Wine #5A132B / #7A1F3D, Warm Ivory #FDFBF7, Amber Accent #FBAB07, Charcoal #1F191B
   Clean Modern Sans-Serif: Montserrat / Outfit (NO 1850s serif, NO black & gold cliches)
   ========================================================================== */

:root {
  --ace-ivory: #FDFBF7;
  --ace-ivory-warm: #F4EFE6;
  --ace-white: #FFFFFF;
  --ace-charcoal: #1A1315;
  --ace-body: #3B3335;
  --ace-wine: #7A1F3D;
  --ace-wine-dark: #4D0F24;
  --ace-wine-deep: #2D0814;
  --ace-accent-warm: #FBAB07;
  --ace-accent-crimson: #E03E15;
  --ace-border: rgba(62, 56, 53, 0.1);
  --ace-border-wine: rgba(122, 31, 61, 0.25);
  --ace-shadow-sm: 0 4px 15px rgba(26, 19, 21, 0.05);
  --ace-shadow-md: 0 12px 30px rgba(26, 19, 21, 0.08);
  --ace-shadow-lg: 0 24px 50px rgba(26, 19, 21, 0.16);
  --ace-radius: 12px;
  --ace-font: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   1. HERO SLIDER (CINEMATIC LUXURY SLIDES)
   ========================================================================== */
.ace-hero-slider-wrap {
  position: relative;
  width: 100%;
  min-height: 88vh;
  max-height: 920px;
  overflow: hidden;
  background: var(--ace-charcoal);
  font-family: var(--ace-font);
}

.ace-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
}

.ace-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.ace-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 8, 14, 0.92) 0%, rgba(20, 8, 14, 0.72) 55%, rgba(20, 8, 14, 0.35) 100%);
  z-index: 1;
}

.ace-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ace-hero-text-col {
  flex: 1 1 65%;
  max-width: 780px;
}

.ace-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 171, 7, 0.45);
  border-radius: 50px;
  color: var(--ace-accent-warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.ace-hero-title {
  color: #FFFFFF;
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 0 0 22px 0;
}

.ace-hero-title span {
  display: block;
}

.ace-hero-title .ace-highlight {
  background: linear-gradient(135deg, #FBAB07 0%, #F74C16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.ace-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 660px;
}

.ace-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.ace-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--ace-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ace-btn-primary {
  background: var(--ace-wine);
  color: #FFFFFF;
  border: 2px solid var(--ace-wine);
  box-shadow: 0 10px 25px rgba(122, 31, 61, 0.4);
}
.ace-btn-primary:hover {
  background: var(--ace-wine-dark);
  border-color: var(--ace-wine-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(122, 31, 61, 0.55);
}

.ace-btn-accent {
  background: linear-gradient(135deg, #F74C16 0%, #C93910 100%);
  color: #FFFFFF;
  border: 2px solid #F74C16;
  box-shadow: 0 10px 25px rgba(201, 57, 16, 0.4);
}
.ace-btn-accent:hover {
  background: #B3300C;
  border-color: #B3300C;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(201, 57, 16, 0.55);
}

.ace-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.ace-btn-outline:hover {
  background: #FFFFFF;
  color: var(--ace-charcoal);
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

.ace-btn-wa {
  background: #25D366;
  color: #FFFFFF;
  border: 2px solid #25D366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.ace-btn-wa:hover {
  background: #1EBE5D;
  border-color: #1EBE5D;
  transform: translateY(-3px);
}

/* 20% Video Card inside Slider */
.ace-hero-video-col {
  flex: 0 0 310px;
  max-width: 320px;
}

.ace-hero-video-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(251, 171, 7, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  background: rgba(20, 8, 14, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.ace-hero-video-card:hover {
  transform: scale(1.04) translateY(-4px);
  border-color: var(--ace-accent-warm);
  box-shadow: 0 25px 50px rgba(251, 171, 7, 0.3);
}
.ace-hero-video-thumb {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.ace-hero-video-play-btn {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}
.ace-play-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F74C16 0%, #C93910 100%);
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 25px rgba(247, 76, 22, 0.9);
  padding-left: 4px;
}
.ace-hero-video-info {
  padding: 14px 16px;
  background: rgba(26, 13, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ace-hero-video-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px 0;
}
.ace-hero-video-sub {
  font-size: 12px;
  color: var(--ace-accent-warm);
  font-weight: 600;
  margin: 0;
}

/* Slider Controls */
.ace-hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.ace-hero-dot {
  width: 14px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ace-hero-dot.is-active {
  width: 42px;
  background: var(--ace-accent-warm);
}

.ace-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}
.ace-hero-nav:hover {
  background: var(--ace-wine);
  border-color: var(--ace-wine);
  transform: translateY(-50%) scale(1.1);
}
.ace-hero-prev { left: 24px; }
.ace-hero-next { right: 24px; }


/* ==========================================================================
   2. STATS OF EMINENCE (VELVET WINE RIBBON)
   ========================================================================== */
.ace-stats-band {
  background: linear-gradient(135deg, #420A1C 0%, #7A1F3D 50%, #380716 100%);
  color: #FFFFFF;
  padding: 48px 20px;
  font-family: var(--ace-font);
  border-top: 1px solid rgba(251, 171, 7, 0.35);
  border-bottom: 1px solid rgba(251, 171, 7, 0.35);
  position: relative;
  overflow: hidden;
}
.ace-stats-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.ace-stat-item {
  position: relative;
}
.ace-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.ace-stat-number {
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBAB07 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ace-stat-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.92);
}


/* ==========================================================================
   3. "LATEST EVENTS DONE" (EDITORIAL LUXURY CARDS)
   ========================================================================== */
.ace-events-section {
  padding: 90px 20px;
  background: var(--ace-ivory);
  font-family: var(--ace-font);
}
.ace-section-header {
  max-width: 1240px;
  margin: 0 auto 48px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.ace-section-subtitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ace-accent-crimson);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ace-section-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--ace-charcoal);
  margin: 0;
  line-height: 1.18;
}
.ace-events-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.ace-event-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ace-shadow-md);
  border: 1px solid var(--ace-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.ace-event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ace-shadow-lg);
  border-color: rgba(122, 31, 61, 0.4);
}
.ace-event-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 68%;
  overflow: hidden;
  background: #E8E2D8;
}
.ace-event-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ace-event-card:hover .ace-event-thumb {
  transform: scale(1.08);
}
.ace-event-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 8, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--ace-accent-warm);
  border: 1px solid rgba(251, 171, 7, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.ace-event-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ace-event-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ace-charcoal);
  margin: 0 0 10px 0;
  line-height: 1.35;
}
.ace-event-meta {
  font-size: 13px;
  color: #6E6466;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #EFEAE2;
  padding-top: 12px;
}
.ace-event-view-link {
  color: var(--ace-wine);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* ==========================================================================
   4. CLIENT LOGOS CAROUSEL (ACTUAL FULL COLORS • MIN 100PX HEIGHT)
   ========================================================================== */
.ace-client-logos-section {
  padding: 60px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--ace-border);
  border-bottom: 1px solid var(--ace-border);
  overflow: hidden;
  font-family: var(--ace-font);
}
.ace-client-logos-header {
  text-align: center;
  margin-bottom: 36px;
}
.ace-client-logos-header p {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7A7274;
  margin: 0;
}
.ace-logos-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ace-logos-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: aceMarqueeScroll 38s linear infinite;
}
.ace-logos-track:hover {
  animation-play-state: paused;
}
.ace-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px; /* Minimum 100px height */
  padding: 12px 18px;
  /* NO GRAYSCALE - ACTUAL BRAND COLORS AS REQUESTED */
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.3s ease;
}
.ace-logo-item:hover {
  transform: scale(1.1);
}
.ace-logo-item img {
  max-height: 100px;
  min-height: 80px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}
@keyframes aceMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================================================================
   5. 5 PILLARS OF SUPERIORITY (1 LAPTOP SCREEN HEIGHT • INTERACTIVE)
   ========================================================================== */
.ace-pillars-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 60px);
  max-height: 860px;
  background: #460E23;
  color: #FFFFFF;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--ace-font);
}
.ace-pillars-bg-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 50%, rgba(122, 31, 61, 0.45) 0%, rgba(13, 8, 10, 0.95) 75%);
  pointer-events: none;
}
.ace-pillars-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.ace-pillars-graphic-col {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ace-pillars-main-img {
  max-height: calc(85vh - 70px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.85));
  border-radius: 12px;
}
.ace-pillars-interactive-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ace-pillar-badge {
  color: var(--ace-accent-warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.ace-pillars-heading {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 14px 0;
  color: #FFFFFF;
}
.ace-pillars-heading span {
  background: linear-gradient(135deg, #FBAB07 0%, #F74C16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ace-pillar-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 18px;
}
.ace-pillar-tile:hover, .ace-pillar-tile.is-active {
  background: rgba(122, 31, 61, 0.55);
  border-color: var(--ace-accent-warm);
  transform: translateX(8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.ace-pillar-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--ace-accent-warm);
  min-width: 40px;
}
.ace-pillar-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px 0;
  color: #FFFFFF;
}
.ace-pillar-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}


/* ==========================================================================
   6. WHAT WE CREATE: 4 FULL-WIDTH HIGH-ENERGY KINETIC CATEGORY SLIDERS
   ========================================================================== */
.ace-what-we-create-master {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--ace-font);
}

.ace-cat-section {
  position: relative;
  width: 100%;
  padding: 85px 24px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Category Specific Theming & Radiant Ambient Glows */
.ace-cat-corporate {
  background: #380716;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ace-cat-corporate .ace-cat-ambient-glow {
  position: absolute;
  top: -20%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 31, 61, 0.35) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.ace-cat-weddings {
  background: #4A0C22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ace-cat-weddings .ace-cat-ambient-glow {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(90px);
}

.ace-cat-social {
  background: #420A1D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ace-cat-social .ace-cat-ambient-glow {
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 76, 22, 0.22) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.ace-cat-ip {
  background: #300612;
}
.ace-cat-ip .ace-cat-ambient-glow {
  position: absolute;
  top: 10%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(251, 171, 7, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(100px);
}

.ace-cat-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header Row */
.ace-cat-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ace-cat-header-info {
  flex: 1;
  min-width: 320px;
}

.ace-cat-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--ace-accent-warm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ace-cat-title {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.ace-cat-tagline {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
  max-width: 820px;
}

.ace-cat-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.ace-cat-cta-btn {
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Navigation Arrow Buttons */
.ace-cat-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ace-cat-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.ace-cat-arrow:hover {
  background: var(--ace-accent-warm);
  border-color: var(--ace-accent-warm);
  color: #14080E;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(251, 171, 7, 0.6);
}

/* Slider Track & Cards */
.ace-cat-slider-wrap {
  position: relative;
  width: 100%;
}

.ace-cat-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 4px 20px 4px;
  cursor: grab;
  user-select: none;
}

.ace-cat-slider-track::-webkit-scrollbar {
  display: none;
}

.ace-cat-slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* Kinetic Subcategory Card */
.ace-cat-card {
  flex: 0 0 360px;
  max-width: 360px;
  background: rgba(26, 15, 21, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.ace-cat-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--ace-accent-warm);
  box-shadow: 0 22px 50px rgba(251, 171, 7, 0.2), 0 0 20px rgba(247, 76, 22, 0.15);
  background: rgba(36, 20, 29, 0.9);
}

/* Media Wrap with 16:10 ratio */
.ace-cat-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
}

.ace-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ace-cat-card:hover .ace-cat-card-img {
  transform: scale(1.08);
}

/* Badge floating top left */
.ace-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 12px;
  background: rgba(13, 8, 10, 0.75);
  border: 1px solid rgba(251, 171, 7, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--ace-accent-warm);
  text-transform: uppercase;
}

/* Video Play Button floating in Media */
.ace-cat-video-play-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(247, 76, 22, 0.92) 0%, rgba(201, 57, 16, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  color: #FFFFFF;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(247, 76, 22, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ace-cat-video-play-btn:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, #FBAB07 0%, #F74C16 100%);
  box-shadow: 0 10px 25px rgba(251, 171, 7, 0.7);
}

.ace-cat-play-icon {
  font-size: 11px;
  display: inline-block;
  line-height: 1;
}

.ace-cat-play-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Card Body */
.ace-cat-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ace-cat-card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}

.ace-cat-card:hover .ace-cat-card-title {
  color: var(--ace-accent-warm);
}

.ace-cat-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 20px 0;
  flex: 1;
}

/* Card Footer */
.ace-cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.ace-cat-explore-link {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.ace-cat-explore-link:hover {
  color: var(--ace-accent-warm);
  transform: translateX(4px);
}

.ace-cat-film-link {
  background: transparent;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ace-accent-warm);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.ace-cat-film-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Custom Scroll Progress Bar */
.ace-cat-scroll-indicator {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.ace-cat-scroll-bar {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #F74C16 0%, #FBAB07 100%);
  border-radius: 4px;
  transition: transform 0.1s linear;
}



/* ==========================================================================
   7. LIGHTBOX MODAL & MOBILE ACTIONS
   ========================================================================== */
.ace-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 8, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ace-modal-backdrop.is-open { display: flex; }
.ace-modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.ace-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ace-charcoal);
  color: #FFFFFF;
  border: none;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}
.ace-modal-body { padding: 36px; }
.ace-modal-video-iframe-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 24px;
  background: #000;
}
.ace-modal-video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ace-modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.ace-modal-gal-item {
  border-radius: 8px;
  overflow: hidden;
  height: 150px;
}
.ace-modal-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ace-floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99999;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.ace-floating-wa:hover { transform: scale(1.1); }
.ace-floating-wa svg { width: 34px; height: 34px; fill: #FFFFFF; }

.ace-mobile-bar { display: none; }

@media (max-width: 768px) {
  .ace-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--ace-border);
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    z-index: 99998;
  }
  .ace-mobile-btn {
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .ace-mobile-call { background: #F4EBE2; color: var(--ace-charcoal); }
  .ace-mobile-wa { background: #E8F8EE; color: #128C7E; }
  .ace-mobile-quote { background: var(--ace-wine); color: #FFFFFF; }
  .ace-floating-wa { bottom: 74px; }
  .ace-hero-container { flex-direction: column; padding: 40px 16px; }
  .ace-hero-video-col { display: none; }
  .ace-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ace-stats-item:nth-child(2)::after { display: none; }
  .ace-events-grid, .ace-services-grid { grid-template-columns: 1fr; }
  .ace-pillars-container { grid-template-columns: 1fr; }
  .ace-pillars-section { max-height: none; min-height: auto; padding: 50px 16px; }

  /* Category Sliders Mobile */
  .ace-cat-section { padding: 55px 16px; }
  .ace-cat-header-row { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
  .ace-cat-header-actions { width: 100%; justify-content: space-between; }
  .ace-cat-card { flex: 0 0 290px; max-width: 290px; }
  .ace-cat-title { font-size: 24px; }
}

@media (max-width: 1024px) {
  .ace-cat-card { flex: 0 0 330px; max-width: 330px; }
}

/* ==========================================================================
   PERMANENT BRAND & NAVIGATION ENHANCEMENTS (From User Additional CSS)
   ========================================================================== */
/* 1. Headmast Logo & Footer Logo */
.ace-navbar__logo img,
.ace-navbar__logo-img {
    height: 95px !important;
    max-height: 110px !important;
    width: auto !important;
}
.ace-navbar {
    padding: 16px 24px !important;
}
.ace-footer__brand img,
.ace-footer__logo-img {
    height: 85px !important;
    max-height: 100px !important;
    width: auto !important;
}

/* 2. Mobile Hamburger Menu Visibility */
.ace-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
}
.ace-hamburger span {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background-color: #1A1315 !important;
    border-radius: 2px !important;
}
@media (min-width: 1025px) {
    .ace-hamburger {
        display: none !important;
    }
}

/* 3. Keep All Menu Items In A Single Elegant Row */
.ace-navbar__inner {
    max-width: 96% !important;
    gap: 16px !important;
}
.ace-nav-links {
    gap: 20px !important;
    flex-wrap: nowrap !important;
}
.ace-nav-links li a {
    white-space: nowrap !important;
    font-size: 12.5px !important;
    letter-spacing: 0.8px !important;
}



.ace-mobile-quote,
.ace-mobile-quote:hover,
.ace-mobile-quote:active,
.ace-mobile-quote:focus,
.ace-mobile-quote:visited {
  background: #7A1F3D !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}


/* ==========================================================================
   MOBILE RESPONSIVENESS & ARROWS VISIBILITY FIX
   ========================================================================== */
@media (max-width: 680px) {
  .ace-cat-section {
    padding: 40px 14px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  .ace-cat-header-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
  }
  .ace-cat-header-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .ace-cat-cta-btn {
    flex: 1 1 auto !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    padding: 10px 14px !important;
  }
  .ace-cat-nav-arrows {
    display: flex !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .ace-cat-slider-track {
    padding: 10px 0 20px 0 !important;
    gap: 16px !important;
  }
  .ace-cat-card {
    flex: 0 0 85vw !important;
    max-width: 85vw !important;
    box-sizing: border-box !important;
  }
  .ace-cat-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }
  .ace-cat-desc {
    font-size: 14px !important;
  }
}

/* Ensure stats band is strictly horizontal on desktop */
@media (min-width: 768px) {
  .ace-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
  }
  .elementor-container.ace-stats-horizontal,
  .ace-stats-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}
