/* luxury-premium.css - Luxury UI/UX enhancements */

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #111115;
}
::-webkit-scrollbar-thumb {
  background: #F4A261; /* Brand color */
  border-radius: 4px;
  border: 2px solid #111115;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #E76F51;
}

/* Custom Cursor Elements (Desktops only) */
@media (pointer: fine) {
  .custom-cursor {
    width: 8px;
    height: 8px;
    background-color: #F4A261;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  }
  
  .custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 2px solid #F4A261;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  }

  /* Interactive States */
  .custom-cursor.hovering {
    width: 16px;
    height: 16px;
    background-color: #fff;
  }

  .custom-cursor-follower.hovering {
    width: 48px;
    height: 48px;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* Hidden elements on touchscreens */
@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* Premium Glassmorphism Preloader */
#premium-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0e12;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  font-family: Tenon, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(244, 162, 97, 0.2);
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F4A261, #E76F51);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(244, 162, 97, 0.5);
}

/* GSAP Reveal Base Classes */
.gsap-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.gsap-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.gsap-reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.gsap-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

/* Premium Dynamic Page Transition Overlay */
#premium-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0d0e12;
  z-index: 999999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* Glowing Thin Scroll Progress Indicator */
#premium-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F4A261, #E76F51);
  z-index: 1000000;
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 8px rgba(244, 162, 97, 0.6);
  pointer-events: none;
}

/* 3D Perspective Card Layouts */
.pricing-wrapper, .walsh-main-grid, .team-grid {
  perspective: 1000px !important;
}

.pricing-card, .walsh-rounded-card, .team-card-2 {
  transform-style: preserve-3d !important;
  will-change: transform;
}

/* Character split mask animation wrapper styles */
.reveal-char-word-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.reveal-char {
  display: inline-block;
  transform: translateY(100%);
  will-change: transform;
}

/* About Us New Sections Custom Styling */
.about-section {
  padding: 5rem 0;
  position: relative;
}

.about-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-split-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-vision-card {
  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.04);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.about-vision-card:hover {
  border-color: rgba(244, 162, 97, 0.4);
  box-shadow: 0 15px 35px rgba(244, 162, 97, 0.08);
}

.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(34, 34, 34, 0.1);
  aspect-ratio: 16/10;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Stats Showcase */
.stats-showcase-container {
  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(34, 34, 34, 0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.stat-card {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card-number {
  font-family: Oswald, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, #F4A261, #E76F51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.stat-card-suffix {
  font-family: Oswald, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #E76F51;
  display: inline-block;
  vertical-align: top;
  margin-left: 2px;
}

.stat-card-label {
  font-size: 1.1rem;
  color: #55555d;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Services Grid */
.about-services-section {
  padding: 6rem 0;
  background: #fbfbfd;
}

.services-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (max-width: 991px) {
  .services-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.premium-service-card {
  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.premium-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F4A261, #E76F51);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.premium-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 162, 97, 0.4);
  box-shadow: 0 15px 35px rgba(34, 34, 34, 0.06);
}

.premium-service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(244, 162, 97, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  border: 1px solid rgba(244, 162, 97, 0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.premium-service-card:hover .service-icon-box {
  background: rgba(244, 162, 97, 0.15);
  border-color: rgba(244, 162, 97, 0.4);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  fill: #F4A261;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

.service-card-desc {
  color: #55555d;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Office Banner */
.office-banner-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 8rem 3rem;
  margin: 4rem 0;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(34, 34, 34, 0.15);
}

.office-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.5) 0%, rgba(13, 14, 18, 0.75) 100%);
  z-index: 1;
}

.office-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.office-banner-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.office-banner-desc {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
  .office-banner-section {
    padding: 5rem 1.5rem;
  }
  .office-banner-title {
    font-size: 2.2rem;
  }
  .office-banner-desc {
    font-size: 1.1rem;
  }
}

/* Reusable Logo Slider */
.logo-slider-container {
  overflow: hidden;
  padding: 3.5rem 0;
  background: #0d0e12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  width: 100%;
  margin: 0;
}
.logo-slider-track {
  display: flex;
  width: calc(250px * 8);
  animation: logo-marquee 25s linear infinite;
}
.logo-slider-slide {
  width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
}
.logo-slider-slide img {
  max-height: 40px;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}
.logo-slider-slide:hover img {
  opacity: 1;
}
@keyframes logo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .logo-slider-track {
    animation-duration: 15s;
  }
  .logo-slider-slide img {
    max-height: 30px;
    max-width: 140px;
  }
}

