/* ========================================
   TRIUMPH EQUINE PEMF - CUSTOM ENHANCEMENTS
   Premium $20k Website Styling
   ======================================== */

/* ========== INSTANT SCROLLING ========== */
html {
  scroll-behavior: auto;
}

/* ========== NAVIGATION ENHANCEMENTS ========== */
.navbar2_container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.navbar2_link {
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

@media (max-width: 991px) {
  .navbar2_container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* ========== TYPOGRAPHY REFINEMENTS ========== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.02em;
}

.heading-style-h1 {
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.heading-style-h2 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p, .text-size-medium {
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ========== BUTTON ENHANCEMENTS ========== */
.button {
  display: inline-block;
  padding: 0.875rem 2rem !important;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%) !important;
  color: white !important;
  text-decoration: none;
  border-radius: 8px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 166, 76, 0.5) !important;
}

.button:active {
  transform: translateY(0);
}

/* Secondary button variant */
.button.is-secondary {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%) !important;
  color: white !important;
}

/* ========== LINK ENHANCEMENTS ========== */
a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========== FORM ENHANCEMENTS ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  transition: all 0.3s ease;
  border: 1px solid var(--_primitives---opacity--neutral-darkest-15);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid #C5A64C;
  outline-offset: 2px;
  border-color: #C5A64C;
  box-shadow: 0 0 0 3px rgba(197, 166, 76, 0.1);
}

/* ========== SECTION ANIMATIONS ========== */
section {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== IMAGE OPTIMIZATIONS ========== */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Lazy load fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([loading]) {
  opacity: 1;
}

/* ========== CARD ENHANCEMENTS ========== */
/* Premium card styling to match button aesthetic */
.layout365_card-small,
.layout365_card-large {
  border-radius: 12px !important;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layout365_card-small:hover,
.layout365_card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(197, 166, 76, 0.3);
}

/* Add subtle gold accent border */
.layout365_card-small::before,
.layout365_card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%);
  z-index: 1;
}

.layout365_card-small-content,
.layout365_card-large-content {
  position: relative;
  z-index: 2;
}

/* Premium tag styling */
.tag {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%) !important;
  color: white !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  display: inline-block;
}

/* ========== GOLD ACCENT ENHANCEMENTS ========== */
.text-color-roti,
[class*="roti"] {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */
/* Enhanced focus states for keyboard navigation */
*:focus-visible {
  outline: 3px solid #C5A64C;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: #C5A64C;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.skip-to-main:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 1em;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 767px) {
  /* Larger tap targets */
  .button,
  a[href^="tel"],
  a[href^="mailto"],
  button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Better mobile spacing */
  .padding-section-large {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Mobile typography adjustments */
  .heading-style-h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  .heading-style-h2 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
}

/* ========== SMOOTH SCROLL OFFSET FOR ANCHOR LINKS ========== */
html {
  scroll-padding-top: 100px;
}

/* ========== LOADING PERFORMANCE ========== */
/* Prevent layout shift */
img,
video {
  height: auto;
  max-width: 100%;
}

/* ========== CONTRAST IMPROVEMENTS ========== */
/* Ensure text meets WCAG AA standards */
.text-color-white {
  color: #ffffff !important;
}

/* Add subtle shadow to white text on images for readability */
.text-color-white:not(.no-shadow) {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========== LUXURY DIVIDERS ========== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    #C5A64C 50%,
    transparent 100%);
  opacity: 0.3;
}

/* ========== SAFETY SECTION TABS ========== */
/* Style tabs to match premium button aesthetic */
.layout505_tab-link {
  background: white;
  border: none !important;
  outline: none !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 1rem 1.5rem !important;
}

.layout505_tab-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 166, 76, 0.2);
}

.layout505_tab-link.w--current {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%) !important;
  box-shadow: 0 4px 16px rgba(197, 166, 76, 0.3);
}

.layout505_tab-link.w--current h3 {
  color: white !important;
}

/* Tab content styling - remove borders */
.layout505_tab-content {
  background: white;
  border: none !important;
  outline: none !important;
  border-radius: 12px;
  padding: 2.5rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

/* Tab content top section */
.layout505_tab-content-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tab panes - remove borders */
.layout505_tab-pane {
  border: none !important;
  outline: none !important;
}

/* Tab menu spacing */
.layout505_tabs-menu {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Icon wrapper in tabs */
.layout505_icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.layout505_icon-wrapper .icon-1x1-medium {
  color: white;
}

/* List styling within tabs */
.layout505_tab-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.layout505_tab-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Paragraph spacing within tabs */
.layout505_tab-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ========== PROFESSIONAL CONTACT BUTTONS ========== */
a[href^="mailto"],
a[href^="tel"] {
  position: relative;
  transition: all 0.3s ease;
}

a[href^="mailto"]:hover,
a[href^="tel"]:hover {
  color: #C5A64C;
  transform: scale(1.05);
}

/* ========== CONTACT CTA GRID ========== */
.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-cta-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #C5A64C;
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(197, 166, 76, 0.3);
}

.contact-icon {
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.contact-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.contact-cta-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  word-break: break-word;
}

@media (max-width: 991px) {
  .contact-cta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .contact-cta-card {
    padding: 1.5rem 1rem;
  }

  .contact-icon svg {
    width: 32px;
    height: 32px;
  }

  .contact-cta-title {
    font-size: 1.1rem;
  }

  .contact-cta-text {
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .contact-cta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
  }

  .contact-cta-card {
    padding: 1.75rem 1.5rem;
  }
}

/* ========== STICKY CTA BUTTON WITH HOVER POPUP ========== */
.sticky-cta-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.sticky-cta-container.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.sticky-cta {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(197, 166, 76, 0.4);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  width: 100%;
  font-family: inherit;
}

.sticky-cta:hover {
  box-shadow: 0 6px 30px rgba(197, 166, 76, 0.6);
  transform: translateY(-4px);
}

/* Popup Container */
.sticky-cta-popup {
  position: absolute;
  bottom: calc(100% - 5px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 20px;
}

.sticky-cta-container.popup-active .sticky-cta-popup {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Individual Contact Options */
.sticky-cta-option {
  background: white;
  color: #1A1A1A;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
}

.sticky-cta-container.popup-active .sticky-cta-option {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sticky-cta-option svg {
  color: #D4AF37;
  flex-shrink: 0;
}

.sticky-cta-option:hover {
  background: #D4AF37;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(197, 166, 76, 0.4);
}

.sticky-cta-option:hover svg {
  color: white;
}

@media (max-width: 767px) {
  .sticky-cta-container {
    bottom: 15px;
    right: 15px;
  }

  .sticky-cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .sticky-cta-option {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .sticky-cta-option svg {
    width: 18px;
    height: 18px;
  }
}

/* ========== RESEARCH STUDIES SECTION ========== */
.research-studies {
  margin-top: 1.5rem;
}

.research-studies-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C5A64C;
  margin-bottom: 1.5rem;
}

.research-study-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(197, 166, 76, 0.05);
  border-left: 3px solid #C5A64C;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-study-card:hover {
  background: rgba(197, 166, 76, 0.08);
  border-left-width: 4px;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(197, 166, 76, 0.1);
}

.research-study-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #C5A64C;
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.25rem;
  min-width: 2rem;
}

.research-study-content {
  flex: 1;
  min-width: 0;
}

.research-study-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.research-study-title a {
  color: #1A1A1A;
  text-decoration: none;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.research-study-title a:hover {
  color: #C5A64C;
}

.research-study-snippet {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(26, 26, 26, 0.8);
  margin: 0 0 0.75rem 0;
}

.research-study-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #C5A64C;
  text-decoration: none;
  transition: all 0.3s ease;
}

.research-study-link:hover {
  color: #D4AF37;
  transform: translateX(4px);
}

/* Additional Resource */
.research-additional {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 166, 76, 0.2);
}

.research-additional-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(26, 26, 26, 0.6);
  margin: 0 0 0.5rem 0;
}

.research-additional-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #C5A64C;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  word-wrap: break-word;
}

.research-additional-link:hover {
  color: #D4AF37;
  transform: translateX(4px);
}

/* Tablet Responsiveness */
@media (max-width: 991px) {
  .research-studies {
    margin-top: 1.25rem;
  }

  .research-studies-heading {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .research-study-card {
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .research-study-number {
    font-size: 1.35rem;
    min-width: 1.75rem;
  }

  .research-study-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .research-study-snippet {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
  }

  .research-study-link {
    font-size: 0.85rem;
  }

  .research-additional {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .research-additional-label {
    font-size: 0.8rem;
  }

  .research-additional-link {
    font-size: 0.9rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  .research-studies {
    margin-top: 1rem;
  }

  .research-studies-heading {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .research-study-card {
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.875rem;
    border-left-width: 2px;
  }

  .research-study-card:hover {
    transform: none;
    border-left-width: 3px;
  }

  .research-study-number {
    font-size: 1.15rem;
    min-width: 1.5rem;
    opacity: 0.5;
  }

  .research-study-title {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .research-study-snippet {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .research-study-link {
    font-size: 0.8rem;
  }

  .research-additional {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .research-additional-label {
    font-size: 0.75rem;
  }

  .research-additional-link {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* ========== GOLDEN RATIO SPACING ========== */
.golden-section {
  padding-top: 6.854rem;
  padding-bottom: 6.854rem;
}

@media (max-width: 767px) {
  .golden-section {
    padding-top: 4.236rem;
    padding-bottom: 4.236rem;
  }
}

/* ========== PREMIUM FOOTER ========== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(197, 166, 76, 0.2);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-cta-column {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Footer Column Styling */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand {
  gap: 1rem;
}

/* Footer Logo */
.footer3_logo {
  margin-bottom: 0.5rem;
}

/* Footer Typography */
.footer-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: #C5A64C;
  margin: 0;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A64C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
  max-width: 350px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact List */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
}

.footer-link {
  color: #C5A64C;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #D4AF37;
}

.footer-text {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Column */
.footer-cta-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.footer-cta-button {
  width: 100%;
  text-align: center;
}

/* Certification Badge */
.footer-certification {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(197, 166, 76, 0.08) 100%);
  border-radius: 8px;
  border: 1px solid rgba(197, 166, 76, 0.2);
  width: 100%;
  text-align: center;
}

.footer-pulse-logo {
  filter: brightness(0) saturate(100%) invert(66%) sepia(27%) saturate(767%) hue-rotate(7deg) brightness(94%) contrast(86%);
  transition: transform 0.3s ease;
}

.footer-cert-link {
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.footer-cert-link:hover {
  transform: translateY(-2px);
}

.footer-cert-link:hover .footer-pulse-logo {
  transform: scale(1.05);
}

.footer-cert-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: #C5A64C;
  margin: 0 0 0.25rem 0;
}

.footer-cert-text {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  transition: color 0.2s ease;
}

.footer-cert-link:hover .footer-cert-text {
  color: #C5A64C;
}

/* Certificate Modal */
.certificate-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.certificate-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.certificate-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.certificate-modal-close:hover {
  background: #f0f0f0;
  color: #C5A64C;
  transform: rotate(90deg);
}

.certificate-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-caption {
  text-align: center;
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 767px) {
  .certificate-modal {
    padding: 1rem;
  }

  .certificate-modal-content {
    padding: 1.5rem;
  }
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #999;
  margin: 0;
}

@media (max-width: 767px) {
  .footer-cta-column {
    align-items: stretch;
  }

  .footer-description {
    max-width: 100%;
  }
}

/* ========== FAQ & SAFETY TWO-COLUMN LAYOUT ========== */
.faq-safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

@media (max-width: 991px) {
  .faq-safety-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.faq-safety-column {
  display: flex;
  flex-direction: column;
}

/* Ensure all accordion pills are the same height */
.faq-safety-grid .faq5_question {
  min-height: 70px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 1.25rem 1.5rem !important;
}

.faq-safety-grid .faq5_question .text-size-medium {
  flex: 1;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.faq-safety-grid .faq5_icon-wrapper {
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Ensure consistent sizing on all viewports */
@media (max-width: 767px) {
  .faq-safety-grid .faq5_question {
    min-height: 65px !important;
    padding: 1rem 1.25rem !important;
  }
}

/* Safety Column Visual Distinction */
.safety-column {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(197, 166, 76, 0.03) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(197, 166, 76, 0.15);
}

.safety-list .faq5_question {
  background: rgba(197, 166, 76, 0.08) !important;
  border-left: 3px solid #C5A64C !important;
}

.safety-list .faq5_question:hover {
  background: rgba(197, 166, 76, 0.15) !important;
  border-left-color: #D4AF37 !important;
}

.safety-alert-box {
  box-shadow: 0 2px 8px rgba(197, 166, 76, 0.15);
}

@media (max-width: 991px) {
  .safety-column {
    margin-top: 2rem;
  }
}

/* ========== PERFORMANCE: REDUCE MOTION FOR ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
