/* ===============================
   ULTRA PREMIUM SERVICES
================================ */

.premium-services {
  padding: 120px 0;
  background: #1c1f5a;
  position: relative;
  overflow: hidden;
}

.container1 {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* Header */

.premium-header {
  text-align: center;
  margin-bottom: 80px;
}

.premium-header h5 {
  color: #fd5523;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 15px;
}

.premium-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.premium-header span {
  color: #fd5523;
}

/* ===============================
   HEADING
================================= */

.review-heading {
  text-align: center;
  margin-bottom: 70px;
}

.sec-title__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.sec-title__tagline .line {
  width: 40px;
  height: 2px;
  background: #ff5e14;
}

.sec-title__tagline h4 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff5e14;
}

.sec-title__title {
  font-size: 38px;
  font-weight: 700;
}

.sec-title__title span {
  color: #ff5e14;
}

/* ===============================
   GRID SYSTEM (FIXED 3 PER ROW)
================================ */

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* EXACTLY 3 */
  gap: 40px;
}

/* ===============================
   CARD
================================ */

.premium-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradient Border Effect */

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, #fd5523, transparent, #fd5523);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hover */

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ===============================
   IMAGE
================================ */

.premium-img {
  height: 220px;
  overflow: hidden;
}

.premium-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.premium-card:hover .premium-img img {
  transform: scale(1.1);
}

/* ===============================
   CONTENT
================================ */

.premium-content {
  padding: 30px;
  text-align: center;
}

.premium-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}

.premium-content p {
  font-size: 14px;
  color: #d6d6d6;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 992px) {
  .premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-header h2 {
    font-size: 34px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .premium-header h2 {
    font-size: 28px;
  }

  .premium-services {
    padding: 80px 0;
  }
}

/* Button Base */
.thm-btn {
  position: relative;
  padding: 14px 40px;
  background: #ff5a1f;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  overflow: hidden;
  transition: 0.3s ease;
}

/* Loader Circle */
.btn-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.7s linear infinite;
  display: none;
}

/* Spin Animation */
@keyframes spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Loading State */
.thm-btn.loading .btn-text {
  visibility: hidden;
}

.thm-btn.loading .btn-loader {
  display: block;
}

.thm-btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* =========================
   PREMIUM COUNTER SECTION
========================= */
/* =========================
   Stats Section
========================= */
.stats-section {
  background: #2e3192;
  padding: 60px 0;
}

/* Grid */
.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* Card */
.stat-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 35px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  border-radius: 15px;
  position: relative;
}

/* Remove last border */
.stat-box:last-child {
  border-right: none;
}

/* Icon */
.stat-icon {
  color: #fd5523;
  font-size: 36px;
  transition: 0.3s;
}

/* Content */
.stat-content {
  display: flex;
  flex-direction: column;
}

/* Number */
.stat-number {
  color: #6a1b9a;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  transition: 0.3s;
}

/* Text */
.stat-text {
  font-size: 14px;
  color: #ccc;
  margin: 0;
  transition: 0.3s;
}

/* =========================
   HOVER EFFECT 🔥
========================= */
.stat-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #fd5523;
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Icon hover */
.stat-box:hover .stat-icon {
  transform: scale(1.15);
}

/* Text color change */
.stat-box:hover .stat-number,
.stat-box:hover .stat-text {
  color: #fff;
}

/* =========================
   Responsive
========================= */

/* Tablet */
@media (max-width: 992px) {
  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .stats-wrapper {
    grid-template-columns: 1fr;
  }

  .stat-box {
    justify-content: flex-start;
  }
}

/* =========================
   TRACK BOX - FINAL UI
========================= */
.track-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;

  /* Glass Effect */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);

  /* Border Setup */
  border: 2px solid transparent;
  background-clip: padding-box;

  position: relative;
  transition: all 0.3s ease;
}

/* 🔥 Gradient Border Layer */
.track-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 2px;

  background: linear-gradient(135deg, #fd5523, #1c1f5a);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none; /* ✅ FIX CLICK ISSUE */
}

/* Hover Effect */
.track-box:hover {
  box-shadow: 0 0 20px rgba(253, 85, 35, 0.35);
}

/* Focus Effect */
.track-box:focus-within {
  box-shadow: 0 0 0 2px rgba(253, 85, 35, 0.3);
}

/* =========================
   ICON
========================= */
.track-icon {
  display: flex;
  align-items: center;
}

/* =========================
   INPUT
========================= */
.track-box input {
  border: none;
  outline: none;
  background: transparent;

  color: #ffffff;
  font-size: 15px;
  width: 180px;
}

/* Placeholder */
.track-box input::placeholder {
  color: white;
}

/* =========================
   BUTTON
========================= */
.track-box button {
  display: flex;
  align-items: center;
  gap: 6px;

  background: #fd5523;
  color: #ffffff;

  border: none;
  padding: 7px 16px;
  border-radius: 10px;

  cursor: pointer;
  font-size: 13px;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* Button Hover */
.track-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(188, 64, 64, 0.3);
}

/* Button Click */
.track-box button:active {
  transform: scale(0.95);
}

/* =========================
   SAFETY (CLICK FIX)
========================= */
.main-header-one__bottom-right {
  position: relative;
  z-index: 10;
}

.track-box {
  z-index: 10;
}

.track-box button {
  z-index: 11;
  pointer-events: auto;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 992px) {
  .track-box input {
    width: 140px;
  }
}

/* Mobile Hide */
@media (max-width: 768px) {
  .track-box {
    display: none;
  }
}
