/* ================================================================
   VETTRI GROUPS — UI/UX Enhancements
   Add after all other stylesheets:
   <link href="vettri-uiux.css" rel="stylesheet">
   ================================================================ */

/* ── Custom Properties ── */
:root {
  --gold:        #b8860b;
  --gold-light:  #d4a017;
  --gold-dim:    rgba(184,134,11,0.15);
  --gold-glow:   rgba(184,134,11,0.30);
  --surface:     rgba(255,255,255,0.04);
  --surface-hov: rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.07);
  --border-gold: rgba(184,134,11,0.25);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --transition:  0.35s var(--ease-out);
}

/* ── Global: Smooth Scroll + Custom Scrollbar ── */
html { scroll-behavior: smooth; }

::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: #07070d; }
::-webkit-scrollbar-thumb        { background: var(--gold); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover  { background: var(--gold-light); }

/* ── Scroll Progress Bar (JS-driven) ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 99999;
  background: linear-gradient(90deg, var(--gold) 0%, #ffd700 50%, var(--gold) 100%);
  box-shadow: 0 0 10px var(--gold-glow), 0 0 20px rgba(184,134,11,0.20);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Sticky Header: glassmorphism on scroll ── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.main-header.scrolled .header-lower {
  background: rgba(8, 8, 14, 0.85) !important;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 rgba(184,134,11,0.15),
              0 4px 30px rgba(0,0,0,0.40);
}

/* ── Topbar: pill badge style ── */
.topbar {
  font-size: 13px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  overflow: hidden;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 24px;
  color: white;
  transition: color 0.25s ease;
}

.topbar-item:hover { color: var(--gold-light); }

.topbar-item i {
  color: white;
  font-size: 11px;
}

.topbar-right .soc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  border: 1px solid var(--border-gold);
  margin-left: 6px;
  font-size: 11px;
  transition: var(--transition);
}

.topbar-right .soc-btn:hover {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--gold-glow);
}

/* ── Navigation Links: animated underline ── */
.main-header .main-menu .navigation > li > a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.82) !important;
  transition: color 0.25s ease !important;
}

.main-header .main-menu .navigation > li > a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.35s var(--ease-spring);
}

.main-header .main-menu .navigation > li > a:hover,
.main-header .main-menu .navigation > li.current > a {
  color: #fff !important;
}

.main-header .main-menu .navigation > li > a:hover::after,
.main-header .main-menu .navigation > li.current > a::after {
  width: 100%;
}

/* ── Buttons: ripple + glow ── */
.template-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-spring),
              box-shadow 0.25s ease !important;
}

.template-btn:hover {
  transform: translateY(-3px);
}

.template-btn.btn-style-one:hover {
  box-shadow: 0 8px 28px var(--gold-glow);
}

/* ripple wave */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: btn-ripple-anim 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes btn-ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Hero Section: floating particles canvas ── */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.slider-one_content-inner,
.slider-one_image-outer {
  position: relative;
  z-index: 2;
}

/* ── Service Cards: 3D lift + gold border reveal ── */
.service-block_three-inner,
.service-block_one-inner {
  transition: transform 0.40s var(--ease-spring),
              box-shadow 0.40s ease,
              border-color 0.30s ease !important;
  will-change: transform;
}

.service-block_three-inner:hover,
.service-block_one-inner:hover {
  transform: translateY(-10px) scale(1.015) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45),
              0 0 0 1px var(--gold),
              0 0 30px var(--gold-dim) !important;
}

/* icon spin on hover */
.service-block_three-inner:hover .service-block_three-icon {
  animation: icon-spin 0.50s var(--ease-spring) forwards;
}

@keyframes icon-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(180deg); }
}

/* ── Counter Blocks: odometer glow ── */
.counter-block_one-inner {
  transition: transform 0.40s var(--ease-spring),
              box-shadow 0.40s ease !important;
}

.counter-block_one-inner:hover {
  transform: translateY(-10px) !important;
}

/* ── Stats Section: plain white so odometer numbers are visible ── */
.counter-block_one-count {
  color: #ffffff;
}

.counter-block_one-count i {
  color: rgba(255,255,255,0.70);
}

/* ── About Image: reveal on scroll ── */
.about-one_tab-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.50),
              0 0 0 1px var(--border-gold);
  transition: transform 0.6s var(--ease-out);
}

.about-one_tab-image:hover img {
  transform: scale(1.03);
}

/* ── Testimonial Cards: glow border ── */
.testimonial-block_one-inner {
  transition: transform 0.40s var(--ease-spring),
              box-shadow 0.40s ease !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
}

.testimonial-block_one-inner:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.40),
              0 0 20px var(--gold-dim) !important;
}

/* star rating shimmer */
.testimonial-block_one-rating {
  background: linear-gradient(90deg, #fcca18, #ffd700, #fcca18);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: star-shimmer 2.5s linear infinite;
}

@keyframes star-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── Step Cards: left accent line ── */
.step-block_one-inner {
  border-left: 4px solid rgba(255,255,255,0.20) !important;
  transition: border-left-color 0.3s ease,
              transform 0.40s var(--ease-spring),
              box-shadow 0.40s ease !important;
}

.step-block_one-inner:hover {
  transform: translateX(6px);
  border-left-color: rgba(255,255,255,0.70) !important;
  box-shadow: -4px 0 20px rgba(184,134,11,0.20),
               0 12px 30px rgba(0,0,0,0.30) !important;
}

/* step number badge */
.step-block_one-steps {
  font-size: 11px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700 !important;
  padding: 5px 14px !important;
  border: 1px solid rgba(255,255,255,0.20);
}

/* ── FAQ Accordion: smooth + highlighted ── */
.accordion-box_two .block {
  transition: border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}

.accordion-box_two .block.active-block {
  border-color: var(--border-gold) !important;
  box-shadow: 0 0 20px var(--gold-dim) !important;
}

.accordion-box_two .block .acc-btn {
  transition: color 0.25s ease, padding 0.25s ease !important;
}

.accordion-box_two .block.active-block .acc-btn {
  color: var(--gold-light) !important;
}

.accordion-box_two .block .acc-content {
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

/* ── CTA Section: text glow ── */
.cta-one_title {
  text-shadow: 0 2px 20px rgba(0,0,0,0.30);
}

/* ── Scroll-Reveal Utility (JS adds .sr-visible) ── */
.sr-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out),
              transform 0.65s var(--ease-out);
}

.sr-hidden.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.sr-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.sr-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.sr-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.sr-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.sr-stagger > *:nth-child(5) { transition-delay: 0.33s; }

/* ── Back-to-Top Button ── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-spring),
              box-shadow 0.25s ease;
  box-shadow: 0 4px 18px var(--gold-glow);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  box-shadow: 0 8px 28px var(--gold-glow);
  transform: translateY(-4px) scale(1.05);
}

/* ── Cursor Glow ── */
#cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,134,11,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  will-change: left, top;
}

/* ── Floating Badge on Hero ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,134,11,0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  animation: badge-pulse 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-dim); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── Section Title: decorative line ── */
.sec-title_title {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.sec-title_title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── Footer Links: arrow always visible ── */
.footer-pages_list li a {
  position: relative;
  padding-left: 20px !important;
  transition: color 0.25s ease !important;
}

.footer-pages_list li a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 1;
  color: var(--gold);
  font-size: 12px;
  transition: color 0.25s ease, left 0.25s var(--ease-spring);
}

.footer-pages_list li a:hover {
  color: var(--gold-light) !important;
}

.footer-pages_list li a:hover::before {
  color: var(--gold-light);
  left: 2px;
}

/* ── Newsletter Input ── */
.newsletter-box .form-group input[type="email"] {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-box .form-group input[type="email"]:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-dim), inset 0 2px 6px rgba(0,0,0,0.20) !important;
  outline: none;
}

/* ── Mobile Navigation: slide-in ── */
.mobile-menu {
  transition: opacity 0.35s ease !important;
}

.mobile-menu.mobile-menu-visible .menu-box {
  transition: transform 0.40s var(--ease-out) !important;
}

/* ── Page Loader: fade out ── */
.loader-wrap {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loaded .loader-wrap {
  opacity: 0;
  visibility: hidden;
}

/* ── Social Icons Row (Integrations) ── */
.social_icon-box {
  transition: transform 0.30s var(--ease-spring),
              filter 0.30s ease !important;
}

.social_icon-box:hover {
  transform: translateY(-6px) scale(1.12) !important;
  filter: drop-shadow(0 4px 8px var(--gold-glow));
}

/* ── Misc: focus rings for accessibility ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Smooth section transitions ── */
section {
  transition: background-color 0.4s ease;
}

/* ── Image hover zoom ── */
.about-one_tab-image,
.answer-one_image,
.step-block_one-content .images {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.about-one_tab-image img,
.answer-one_image img,
.step-block_one-content .images img {
  transition: transform 0.60s var(--ease-out) !important;
}

.about-one_tab-image:hover img,
.answer-one_image:hover img {
  transform: scale(1.04) !important;
}

/* ── Rating Box: floating animation ── */
.about-one_rating-box {
  animation: float-gentle 4s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Tooltip on social icons ── */
.soc-btn {
  position: relative;
}

/* ── Divider between footer sections ── */
.footer-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.35s var(--ease-spring);
}

.big-column:hover .footer-title::after,
.column:hover .footer-title::after {
  width: 50px;
}

/* ================================================================
   SLIDER GAP FIX
   Removes the large empty space between the hero slider
   and the next section caused by excessive padding/margin
   ================================================================ */

/* Reduce slide top/bottom padding */
.slider-one .swiper-slide {
  padding: 80px 0px 60px !important;
}

/* Remove the extra margin and padding on image outer wrapper */
.slider-one_image-outer {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Make graph sit naturally in flow instead of absolute positioning */
.slider-one_graph {
  position: relative !important;
  left: 0 !important;
  bottom: auto !important;
  margin-top: 20px !important;
}

/* Remove the angled gold divider bar that adds extra space */
.slider-one::before {
  display: none !important;
}