::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff6b00;
}
* {
  font-family: "Vazirmatn", sans-serif;
}
html {
  scroll-behavior: smooth;
}

.text-glow {
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}
@font-face {
  font-family: "Gagalin";
  src: url("../fonts//Gagalin-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
/* .glass {
        background: linear-gradient(
          135deg,
          rgba(255, 80, 0, 0.12),
          rgba(255, 0, 0, 0.08)
        );
        backdrop-filter: blur(12px);
      } */

.active-tab {
  background: #ff6b00;
  color: white;
}

header .nav-link {
  position: relative;
}

.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 32px;
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d90a14 35.4%, #f21b26 100%);
}

/* Fullscreen hero section fix */
.hero-fullscreen {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
/* Owl Carousel custom overrides for fullscreen and smooth transitions */
.hero-carousel .owl-stage-outer,
.hero-carousel .owl-stage,
.hero-carousel .owl-item {
  height: 100vh;
}
.hero-carousel .owl-item {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease-out;
}
/* Dark overlay + gradient (professional gym style) */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.7) 100%
  ); */
  background: #00000070;
  z-index: 2;
}
/* Additional dark overlay for premium feel (deep black-red tint) */
.slide-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(217, 10, 20, 0.12) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}
/* Content container stays above carousel and centered left */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  display: flex;
  align-items: center;
  pointer-events: none; /* Allows clicks to buttons? But buttons need pointer-events auto */
}
.hero-content .container-custom {
  pointer-events: auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
/* Typography with text shadows */
.main-heading {
  /* font-family: "Montserrat", "Inter", sans-serif; */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.subheading {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}
/* Primary button red accent */
.btn-primary {
  background: linear-gradient(95deg, #d90a14 0%, #e33a1c 100%);
  box-shadow: 0 8px 18px rgba(217, 10, 20, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(95deg, #b50810 0%, #c72d12 100%);
  box-shadow: 0 15px 25px -8px rgba(217, 10, 20, 0.5);
}
/* Glassmorphism secondary button */
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: all 0.3s ease;
  color: white;
  font-weight: 600;
}
.btn-glass:hover {
  background: rgba(217, 10, 20, 0.75);
  border-color: #d90a14;
  backdrop-filter: blur(12px);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.4);
}
/* Custom navigation arrows (vertical style, left/right center) */
.custom-owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 20;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}
.custom-owl-nav .owl-nav-btn {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 28px;
  font-weight: 300;
}
.custom-owl-nav .owl-nav-btn:hover {
  background: #d90a14;
  border-color: #d90a14;
  transform: scale(1.08);
}
/* bottom center dots customization */
.custom-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.custom-dots .dot {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.custom-dots .dot.active {
  background: #d90a14;
  transform: scale(1.3);
  width: 28px;
  border-radius: 20px;
  background: linear-gradient(90deg, #d90a14, #e35f1a);
}
/* Subtle zoom effect on active slide image (owl-item active) */
.hero-carousel .owl-item.active .slide-bg-zoom {
  transform: scale(1.08);
  transition: transform 7s ease-out;
}
.slide-bg-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  will-change: transform;
}
/* Ensure content fade animation on slide change (text subtle animation) */
.animated-text {
  transition:
    opacity 0.4s ease,
    transform 0.5s ease;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .main-heading {
    font-size: 2.75rem !important;
    line-height: 1.2 !important;
  }
  .hero-content .container-custom {
    padding: 0 1.5rem;
  }
  .custom-owl-nav .owl-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .btn-primary,
  .btn-glass {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .main-heading {
    font-size: 2rem !important;
  }
  .subheading-text {
    font-size: 0.85rem;
  }
  .custom-owl-nav {
    padding: 0 8px;
  }
}

/* tools section */

.tools-section {
  background: radial-gradient(
    circle at top left,
    rgba(255, 0, 0, 0.15),
    rgba(255, 80, 0, 0.08),
    #111
  );
}

.tool-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(0, 0, 0, 0.95)
  );

  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.tool-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: #ff6b00;
  filter: blur(70px);
  top: -40px;
  left: -40px;
  opacity: 0.35;
  transition: 0.4s;
}

.tool-card:hover {
  transform: translateY(-8px);
}

.tool-card:hover::before {
  opacity: 0.6;
}

.title-font {
  font-family: "Bangers", cursive;
  letter-spacing: 1px;
}

.custom-nav button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid white;
  color: white;
  transition: 0.3s;
}

.custom-nav button:hover {
  background: #ff6b00;
  border-color: #ff6b00;
}

.owl-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 20px !important;
}

.owl-dot span {
  width: 10px !important;
  height: 10px !important;
  background: #333 !important;
  transition: 0.3s;
}

.owl-dot.active span {
  width: 26px !important;
  border-radius: 20px !important;
  background: #ff6b00 !important;
}

.trainers .owl-dots {
  position: absolute !important;
  top: -140px;
  right: 0px;
}
@media screen and (max-width: 595px) {
  .trainers .owl-dots {
    position: absolute !important;
    top: -160px;
    right: 0px;
  }
}

@keyframes softPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 107, 0, 0.3),
      0 0 0 0 rgba(255, 107, 0, 0.1);
  }
  70% {
    box-shadow:
      0 0 0 8px rgba(255, 107, 0, 0.15),
      0 0 0 18px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(255, 107, 0, 0),
      0 0 0 0 rgba(255, 107, 0, 0);
  }
}
.glow-pulse {
  animation: softPulse 2.5s infinite ease-out;
}

.bg-lines-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 107, 0, 0.03) 0px,
    rgba(255, 107, 0, 0.03) 2px,
    transparent 2px,
    transparent 8px
  );
}

.hover-fade-img {
  transition:
    opacity 0.4s ease,
    transform 0.3s ease;
}
.group:hover .hover-fade-img {
  opacity: 0.92;
  transform: scale(1.02);
}

.gradient-heading {
  background: linear-gradient(135deg, #d90a14 0%, #ff8c33 50%, #d90a14 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.radial-glow-bg {
  background: radial-gradient(
    circle at 70% 45%,
    rgba(255, 107, 0, 0.6) 0%,
    rgba(255, 107, 0, 0.25) 35%,
    rgba(0, 0, 0, 0) 75%
  );
}

.card-glow-border {
  transition:
    box-shadow 0.3s ease,
    border-color 0.2s;
  border: 1px solid rgba(255, 107, 0, 0.4);
}
.group:hover .card-glow-border {
  border-color: rgba(255, 107, 0, 0.85);
  box-shadow:
    0 20px 35px -12px rgba(255, 107, 0, 0.35),
    0 0 0 2px rgba(255, 107, 0, 0.2);
}

.card-hover {
  transition: all 0.3s ease;
}
.btn-hover {
  transition: all 0.25s ease;
}

@keyframes glowPulse {
  0% {
    opacity: 0.3;
    filter: blur(12px);
  }
  100% {
    opacity: 0.7;
    filter: blur(20px);
  }
}
.glow-animate {
  animation: glowPulse 3s infinite alternate;
}
.hover-glow:hover {
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.4);
  transition: all 0.3s ease;
}
input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition:
    background-color 600000s 0s,
    color 600000s 0s;
}

@keyframes glowPulse {
  0% {
    opacity: 0.2;
    filter: blur(20px);
    transform: scale(0.95);
  }
  100% {
    opacity: 0.5;
    filter: blur(35px);
    transform: scale(1.1);
  }
}
@keyframes softRadialPulse {
  0% {
    opacity: 0.15;
    transform: scale(0.9);
  }
  100% {
    opacity: 0.35;
    transform: scale(1.15);
  }
}
.glow-animate {
  animation: glowPulse 4s infinite alternate;
}
.radial-pulse {
  animation: softRadialPulse 5s infinite alternate ease-in-out;
}
.blog-card {
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -12px rgba(255, 107, 0, 0.25);
}
.overlay-gradient {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.85) 85%,
    rgba(0, 0, 0, 0.95) 100%
  );
}
.btn-hover {
  transition: all 0.3s ease;
}

@keyframes modalFadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes modalFadeOutScale {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
}
@keyframes overlayFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}
@keyframes overlayFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
}
.modal-enter {
  animation: modalFadeInScale 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}
.modal-exit {
  animation: modalFadeOutScale 0.25s ease-in forwards;
}
.overlay-enter {
  animation: overlayFadeIn 0.3s ease forwards;
}
.overlay-exit {
  animation: overlayFadeOut 0.25s ease forwards;
}
.input-focus-ring:focus {
  outline: none;
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
}
