/* =========================================
   AURA RESOURCES: PREMIUM CORPORATE THEME
   Industry: Oil, Gas & Mining
   Palette: Midnight Navy, Gold & Crisp Slate
========================================= */

/* 1. IMPORTS & VARIABLES */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800;900&display=swap");

:root {
  /* PALETTE: Corporate Industrial Authority */
  --color-bg: #ffffff; /* Pure White */
  --color-light-gray: #f4f5f7; /* Soft Industrial Ash */
  --color-dark: #0a1128; /* Midnight Navy (Trust, Depth, Corporate) */
  --color-dark-light: #182240; /* Lighter Navy for depth */
  --color-accent: #D9B51E;
  --color-accent-hover: #B89A1A;
  --color-text: #47516b; /* Slate / Readability */

  /* FONTS */
  --font-serif: "Montserrat", sans-serif; /* Authority, Established */
  --font-sans: "Montserrat", sans-serif; /* Technical, Clean, Modern */

  /* SPACING */
  --spacing-section: 120px;
}

/* 2. GLOBAL RESET */
html,
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}
.font-serif {
  font-family: var(--font-serif);
}


h1,
h2,
h3,
h4,
h5,
.display-1,
.display-2,
.display-title {
  font-family: var(--font-serif);
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.display-1 {
  font-size: 4.5rem;
  font-style: italic;
}
.display-2 {
  font-size: 3.5rem;
  font-style: italic;
}
.display-title {
  font-size: 3rem;
  color: var(--color-dark);
  font-style: italic;
}

.subheading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1rem;
}

/* UTILITIES */
.text-accent {
  color: var(--color-accent) !important;
}
.bg-accent {
  background-color: var(--color-accent) !important;
}
.bg-dark {
  background-color: #181818 !important;
}
.bg-light-gray {
  background-color: var(--color-light-gray) !important;
}
.fst-italic {
  font-style: italic;
  /* Removed forced font-family and font-weight to maintain typography hierarchy */
}
.section-padding {
  padding: var(--spacing-section) 0;
}
.link-accent {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
}
@media (hover: hover) {
  .link-accent:hover {
    color: var(--color-dark);
  }
}
.link-accent:active {
  color: var(--color-dark);
}

/* 3. BUTTONS */
.btn-luxe {
  background-color: var(--color-accent);
  color: #fff;
  padding: 18px 40px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  border-radius: 50px; /* Radius Design Pill */
  transition: all 0.4s ease;
  display: inline-block;
}

.btn-luxe-outline {
  background-color: transparent;
  color: var(--color-dark);
  padding: 18px 40px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--color-dark);
  border-radius: 50px;
  transition: all 0.4s ease;
  display: inline-block;
}

@media (max-width: 1199px) {
  .btn-luxe, .btn-luxe-outline {
    padding: 14px 24px;
    font-size: 0.75rem;
  }
  .navbar-brand img {
    max-width: 160px !important;
  }
}

@media (hover: hover) {
  .btn-luxe:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
  }
}
.btn-luxe:active {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
}

.btn-luxe-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 18px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.4s;
  display: inline-block;
  border-radius: 50px;
}

@media (hover: hover) {
  .btn-luxe-outline:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
  }
}
.btn-luxe-outline:active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #fff;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  transition: all 0.4s ease;
  display: inline-block;
  text-align: center;
}

@media (hover: hover) {
  .btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
  }
}
.btn-accent:active {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
}

.btn-learn-more {
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: none;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

@media (hover: hover) {
  .btn-learn-more:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
  }
}
.btn-learn-more:active {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
}

/* 4. NAVBAR */
.navbar {
  padding: 15px 0;
  transition: 0.4s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-dark);
}
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-dark) !important;
  margin: 0 8px; /* Reduced to fit on smaller screens */
  font-weight: 600;
}
@media (hover: hover) {
  .nav-link:hover {
    color: var(--color-accent) !important;
  }
}
.nav-link:active {
  color: var(--color-accent) !important;
}

/* 5. HERO SECTION */
.hero-section {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Replaced bubble with technical grid/gradient */
.hero-bg-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(244, 245, 247, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.hero-img-box {
  position: relative;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: -20px 20px 0px rgba(10, 17, 40, 0.05);
}

/* 6. MARQUEE (CORPORATE TICKER) */
.marquee-section {
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}
.marquee-content {
  display: flex;
  align-items: center;
  animation: scroll 35s linear infinite;
  padding-left: 0;
}
.marquee-item {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  padding: 0 40px;
}
.separator {
  color: var(--color-accent);
  font-size: 0.7rem;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (hover: hover) {
  .marquee-track:hover .marquee-content {
    animation-play-state: paused;
  }
}
.marquee-track:active .marquee-content {
  animation-play-state: paused;
}

/* 7. PHILOSOPHY / COMMITMENT OVERLAP */
.overlap-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(10, 17, 40, 0.1);
}
.overlap-content {
  background: #fff;
  padding: 60px 50px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  margin-top: -120px;
  position: relative;
  z-index: 2;
  border-top: 5px solid var(--color-accent);
  border-radius: 16px;
}

/* FILTER BUTTONS */
.filter-btn {
  background: #eef0f5;
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid transparent;
  padding: 8px 18px;
  transition: all 0.25s;
}
@media (hover: hover) {
  .filter-btn:hover {
    background: #e2e5ed;
    color: var(--color-dark);
  }
}
.filter-btn:active {
  background: #e2e5ed;
  color: var(--color-dark);
}
.filter-btn.active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

/* PRODUCT CARD FILTER ANIMATION */
[data-category] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 8. CARDS (OPERATIONS) */
.class-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 60px 40px;
  border: 1px solid rgba(10, 17, 40, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: 0.4s ease;
  height: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Decorative Background Shapes for Cards */
.class-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(217, 181, 30, 0.25) 0%, rgba(217, 181, 30, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.6s ease;
}

.class-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(10, 17, 40, 0.15) 0%, rgba(10, 17, 40, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (hover: hover) and (min-width: 992px) {
  .class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.08);
    border-color: var(--color-accent);
  }
}
.class-card:active {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 17, 40, 0.08);
  border-color: var(--color-accent);
}

/* Animate shapes on card hover */
@media (hover: hover) and (min-width: 992px) {
  .class-card:hover::before {
    transform: scale(1.4) translate(-10px, 10px);
    background: radial-gradient(circle, rgba(217, 181, 30, 0.35) 0%, rgba(217, 181, 30, 0) 70%);
  }
}
.class-card:active::before {
  transform: scale(1.4) translate(-10px, 10px);
  background: radial-gradient(circle, rgba(217, 181, 30, 0.35) 0%, rgba(217, 181, 30, 0) 70%);
}

@media (hover: hover) and (min-width: 992px) {
  .class-card:hover::after {
    transform: scale(1.4) translate(10px, -10px);
  }
}
.class-card:active::after {
  transform: scale(1.4) translate(10px, -10px);
}

.class-card > *:not(.card-bg-img) {
  position: relative;
  z-index: 2; /* Keep all text layered securely above the background image */
}

.card-bg-img {
  position: absolute;
  bottom: -40px;
  right: -40px;
  height: 280px;
  opacity: 0.35; /* Subtle structural watermark */
  z-index: 1; /* Drop behind the text */
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15)) grayscale(100%);
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none; /* Make sure users can still click links through it */
}

@media (hover: hover) and (min-width: 992px) {
  .class-card:hover .card-bg-img {
    opacity: 0.65;
    right: -10px;
    bottom: -10px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)) grayscale(0%);
    transform: scale(1.08) rotate(-2deg);
  }
}
.class-card:active .card-bg-img {
  opacity: 0.65;
  right: -10px;
  bottom: -10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)) grayscale(0%);
  transform: scale(1.08) rotate(-2deg);
}

.card-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700;
}

/* 9. PARALLAX */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.parallax-overlay {
  background: linear-gradient(
    to right,
    rgba(24, 24, 24, 0.9),
    rgba(24, 24, 24, 0.5)
  );
  position: absolute;
  inset: 0;
}

/* 10. LEADERSHIP */
.instructor-img-wrapper {
  overflow: hidden;
  margin-bottom: 25px;
  border-radius: 16px;
}
.instructor-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: 0.8s ease;
  filter: grayscale(100%) contrast(110%);
}
@media (hover: hover) {
  .instructor-card:hover .instructor-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
  }
}
.instructor-card:active .instructor-img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(100%);
}

/* 11. PARTNERSHIPS / PRICING */
.price-table {
  border: 1px solid rgba(10, 17, 40, 0.1);
  padding: 50px 40px;
  text-align: left;
  transition: 0.4s;
  background: #fff;
  border-radius: 16px;
}
.price-table.premium {
  background: #181818;
  color: #fff;
  border: none;
  transform: scale(1.06);
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(10, 17, 40, 0.2);
  border-radius: 16px;
}
.price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 3.5rem;
}

/* 12. LUXURY FORM (TARGETING USER'S EXACT HTML) */
.form-section {
  background-color: var(--color-bg);
}
.form-control-luxe {
  background: #ffffff;
  border: 1px solid rgba(10, 17, 40, 0.1);
  border-radius: 12px;
  padding: 18px 24px;
  font-family: var(--font-sans);
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.form-control-luxe:focus {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--color-accent);
  color: var(--color-dark);
  outline: none;
}
.form-control-luxe::placeholder {
  color: #a0a5b1;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}
.form-select-luxe {
  background-color: #ffffff;
  border: 1px solid rgba(10, 17, 40, 0.1);
  border-radius: 12px;
  padding: 18px 24px;
  color: #a0a5b1; /* Placeholder state color */
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.form-select-luxe:focus {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--color-accent);
  color: var(--color-dark);
  outline: none;
}
/* User's Original Validation Rules kept intact but color updated */
.form-control-luxe.is-invalid,
.form-select-luxe.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
}
.invalid-feedback {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #dc3545;
  text-align: left;
  margin-top: 5px;
}

/* 13. FOOTER */
footer {
  background-color: #181818;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 100px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}
footer h3 {
  margin-bottom: 20px !important;
  position: relative;
  display: block;
}
footer a {
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
}
@media (hover: hover) {
  footer a:hover {
    color: var(--color-accent);
  }
}
footer a:active {
  color: var(--color-accent);
}

/* 14. SPEC MODAL (SITE-MATCHED) */
#specModal .modal-dialog {
  max-width: min(1180px, calc(100vw - 2rem));
}

#specModal .spec-modal-content {
  background: linear-gradient(180deg, #0d1530 0%, #181818 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(10, 17, 40, 0.35);
}

#specModal .spec-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(217, 181, 30, 0.12),
    rgba(255, 255, 255, 0)
  );
}

#specModal .spec-modal-header .subheading {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
}

#specModal .modal-title {
  color: #fff;
  font-size: 1.6rem;
}

#specModal .spec-modal-close {
  opacity: 1;
  box-shadow: none;
  background-size: 0.8rem;
  filter: none;
  margin-top: 0.2rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 0.6rem;
}

#specModal .spec-modal-body {
  background: #f7f7f8;
}

#specModal .spec-modal-frame {
  display: block;
  width: 100%;
  height: min(60vh, 900px);
  border: 0;
  background: #fff;
  overflow: auto;
}

.catalog-pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #181818, #111d44);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(10, 17, 40, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  text-decoration-line: none;
}

@media (hover: hover) {
  .catalog-pdf-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(10, 17, 40, 0.24);
    background: linear-gradient(135deg, #111d44, #181818);
  }
}
.catalog-pdf-link:active {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 17, 40, 0.24);
  background: linear-gradient(135deg, #111d44, #181818);
}

.catalog-pdf-link:focus-visible {
  outline: 3px solid rgba(217, 181, 30, 0.35);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  #specModal .modal-dialog {
    width: 100%;
    margin: 0 auto;
    max-width: calc(100vw - 1rem);
    height: 70vh;
    max-height: 70vh;
  }

  #specModal .spec-modal-content {
    height: 70vh;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
  }

  #specModal .spec-modal-header {
    padding: 1rem 1rem 0.85rem;
    flex-shrink: 0;
  }

  #specModal .spec-modal-body {
    flex: 1;
    height: 100%;
    overflow: hidden;
  }

  #specModal .modal-title {
    font-size: 1.25rem;
  }

  #specModal .spec-modal-frame {
    height: 100%;
    overflow: auto;
  }
}

/* Mobile table scrolling inside modal */
@media (max-width: 767px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    min-width: 100%;
    margin-bottom: 0;
  }

  .catalog-pdf-link {
    width: 100%;
  }

  main.container {
    padding: 1rem;
  }
}

/* iPad (768px to 1024px) - Center modal */
@media (min-width: 768px) and (max-width: 1024px) {
  #specModal .modal-dialog {
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    max-height: 70vh;
  }

  #specModal .spec-modal-content {
    max-height: 70vh;
    display: flex;
    flex-direction: column;
  }

  #specModal .spec-modal-frame {
    height: 100%;
    max-height: calc(70vh - 140px);
    overflow: auto;
  }

  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main.container-fluid {
    padding: 1.25rem;
  }
}

/* Desktop (991px to 1023px) - Use default modal sizing */
@media (min-width: 991px) and (max-width: 1023px) {
  #specModal .modal-dialog {
    max-width: min(1180px, calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
  }

  #specModal .spec-modal-content {
    max-height: 70vh;
  }

  #specModal .spec-modal-frame {
    height: min(70vh, 900px);
    max-height: calc(70vh - 140px);
  }
}
/* =========================================
   PRODUCT DETAIL PAGE — PREMIUM SERIES CARDS
========================================= */

/* Card container — white card with copper top accent */
.series-card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
  padding: 28px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #eef0f5;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
@media (hover: hover) {
  .series-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
  }
}
.series-card:active {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* Copper accent top border */
.series-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  border-radius: 16px 16px 0 0;
}

/* Image container — rounded with subtle shadow */
.series-img-wrap {
  background: var(--color-light-gray);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 1px solid #eef0f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
@media (hover: hover) {
  .series-card:hover .series-img-wrap {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
}
.series-card:active .series-img-wrap {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.series-img {
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s ease;
}
@media (hover: hover) {
  .series-card:hover .series-img {
    transform: scale(1.04);
  }
}
.series-card:active .series-img {
  transform: scale(1.04);
}

.series-img-placeholder {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.series-img-placeholder i {
  font-size: 2rem;
  color: var(--color-accent);
}

/* Series name row — name + grade pill + accent dot */
.series-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.series-accent-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.series-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.1;
  margin: 0;
}

/* Grade count pill */
.series-grade-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-light-gray);
  color: var(--color-text);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid #eef0f5;
  margin-left: auto;
}

/* Badge — copper outline pill */
.series-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 14px;
}

/* Description */
.series-desc {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Spec preview — shows first 2 specs always visible */
.series-spec-preview {
  background: var(--color-light-gray);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #eef0f5;
}
.series-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.82rem;
}
.series-spec-row + .series-spec-row {
  border-top: 1px solid #eef0f5;
  margin-top: 4px;
  padding-top: 10px;
}
.series-spec-row .spec-label {
  font-weight: 600;
  color: var(--color-dark);
  flex-shrink: 0;
}
.series-spec-row .spec-values {
  color: var(--color-text);
  text-align: right;
}
.series-spec-row .spec-sep {
  color: #d0d5dd;
  margin: 0 6px;
}

/* Buttons — brand copper */
.series-btn-primary {
  border-radius: 999px;
  font-weight: 700;
  background-color: var(--color-accent);
  color: #fff;
  padding: 14px 24px;
  border: 1px solid var(--color-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .series-btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
  }
}
.series-btn-primary:active {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
}

.series-btn-pdf {
  border-radius: 999px;
  font-weight: 600;
  background: transparent;
  color: var(--color-accent);
  padding: 14px 24px;
  border: 1px solid var(--color-accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .series-btn-pdf:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
  }
}
.series-btn-pdf:active {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 181, 30, 0.3);
}

/* Collapsible area */
.series-collapse-inner {
  background: var(--color-light-gray);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  border: 1px solid #eef0f5;
}

/* =========================================
   PREMIUM HERO SECTION CUSTOM CSS
========================================= */

/* Typography */
.display-fluid {
  font-size: clamp(
    3.5rem,
    6vw,
    6rem
  ); /* Scales beautifully based on screen size */
}

/* Ambient Background Blurs */
.blur-effect {
  pointer-events: none; /* Ensures you can click links underneath the glow */
}

/* Image Wrapper & Hover Effects */
.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) {
  .hover-scale-img:hover {
    transform: scale(1.05);
  }
}
.hover-scale-img:active {
  transform: scale(1.05);
}

/* Gradient Overlay for the Image */
.bg-gradient-to-t {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  pointer-events: none;
}

/* Floating Glassmorphism Data Card */
.floating-data-card {
  bottom: -40px;
  left: -50px;
  width: 260px;
  background: rgba(15, 17, 26, 0.85); /* Deep luxury dark blue/black */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  animation: float-y 6s ease-in-out infinite; /* Continuous smooth float */
}

/* Pulsing Live Dot Animation */
.pulsing-dot {
  box-shadow: 0 0 0 0 rgba(217, 181, 30, 0.7); /* Match this to your text-accent color */
  animation: pulse-dot 2s infinite;
}

/* Link Hover */
@media (hover: hover) {
  .hover-text-accent:hover {
    color: var(--color-accent, #D9B51E) !important;
  }
}
.hover-text-accent:active {
  color: var(--color-accent, #D9B51E) !important;
}

/* Keyframes */
@keyframes float-y {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 181, 30, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(217, 181, 30, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 181, 30, 0);
  }
}

/* Responsive Fixes for the overlapping card on Mobile */
@media (max-width: 991px) {
  body.modal-open {
    padding-right: 0 !important;
  }

  #specModal {
    padding-right: 0 !important;
  }

  .floating-data-card {
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    max-width: 300px;
  }
}
/* RESPONSIVE FIXES */
@media (max-width: 991px) {
  .display-1 {
    font-size: 3rem;
  }
  .display-2 {
    font-size: 2.5rem;
  }
  .hero-img {
    height: 50vh;
    box-shadow: none;
    margin-top: 40px;
  }
  .overlap-content {
    margin-top: -60px;
    padding: 40px 30px;
  }
  .price-table.premium {
    transform: scale(1);
    margin: 20px 0;
    border: 1px solid var(--color-dark);
  }
  .hero-section {
    padding-top: 120px;
  }
  .section-padding {
    padding: 80px 0px;
  }
}

@media (min-width: 768px) {
  .border-end-md {
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
  }
}

section [class*="display-"] {
  font-family: var(--font-serif);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

section .section-content p,
section p.fs-5 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 300;
}

section .subheading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
}

section h2:not(.display-3):not(.display-2):not(.display-title),
section h3.section-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
}

section p:not(.fs-5):not(.small) {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
}

/* Inline hover effects converted to CSS hover/active for mobile support */
[data-hover="btn"] {
  transition: all 0.3s ease-in-out;
}
@media (hover: hover) {
  [data-hover="btn"]:hover {
    background-color: var(--color-accent-hover) !important;
    color: #fff !important;
    transform: translateY(-2px);
  }
}
[data-hover="btn"]:active {
  background-color: var(--color-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

[data-hover="lift"] {
  transition: all 0.3s ease;
}
@media (hover: hover) {
  [data-hover="lift"]:hover {
    transform: translateY(-5px);
  }
}
[data-hover="lift"]:active {
  transform: translateY(-5px);
}

[data-hover="lift-shadow"] {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media (hover: hover) {
  [data-hover="lift-shadow"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(217,181,30,0.4);
  }
}
[data-hover="lift-shadow"]:active {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(217,181,30,0.4);
}

[data-hover="zoom"] {
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media (hover: hover) {
  [data-hover="zoom"]:hover {
    transform: scale(1.06) translateY(-15px);
  }
}
[data-hover="zoom"]:active {
  transform: scale(1.06) translateY(-15px);
}
