/* ===================================================
   HOME PAGE STYLES (public/css/pages/home.css)
   =================================================== */

/* ===================================================
   HERO - 2-COLUMN MODERN SHOWCASE
   =================================================== */

.hero--modern {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 68px 0 82px;
  background: 
    radial-gradient(ellipse at 18% 30%, rgba(251, 191, 36, 0.40) 0%, rgba(245, 158, 11, 0.25) 35%, transparent 62%),
    radial-gradient(ellipse at 82% 65%, rgba(249, 115, 22, 0.35) 0%, rgba(234, 88, 12, 0.18) 42%, transparent 68%),
    radial-gradient(circle at 50% 12%, rgba(253, 224, 71, 0.26) 0%, transparent 55%),
    linear-gradient(155deg, #381907 0%, #220e03 42%, #130601 100%);
}

/* Warm, radiant ambient glows */
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(75px);
  z-index: 1;
}
.hero-glow--top {
  top: -80px;
  left: 6%;
  width: 620px;
  height: 480px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.50) 0%, rgba(245, 158, 11, 0.32) 46%, transparent 75%);
}
.hero-glow--bottom {
  bottom: -60px;
  right: 8%;
  width: 680px;
  height: 520px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.44) 0%, rgba(234, 88, 12, 0.26) 50%, transparent 75%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 44px;
}

/* LEFT COLUMN: Content */
.hero-content-col {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(245,158,11,.24) 0%, rgba(234,88,12,.16) 100%);
  border: 1px solid rgba(245,158,11,.5);
  color: #FCD34D;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(245,158,11,.15);
}
/* Ensure exactly one dot in badge */
.hero-badge::before {
  display: none !important;
  content: none !important;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #FBBF24;
  border-radius: 50%;
  box-shadow: 0 0 10px #FBBF24;
  animation: pulseGlow 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

.hero-title,
.hero .hero-title,
.hero h1.hero-title,
h1.hero-title {
  color: #FFFFFF !important;
  font-size: clamp(1.75rem, 2.65vw, 2.85rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: block !important;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 45%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.12em;
  filter: drop-shadow(0 2px 14px rgba(245,158,11,0.3));
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-subtitle strong {
  color: #FFFFFF;
  font-weight: 700;
}
.hero-subtitle strong[style*="amber-light"] {
  color: #FCD34D !important;
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-hero-quote {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 10px 25px -5px rgba(245,158,11,.45) !important;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-hero-quote:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 30px -4px rgba(245,158,11,.6) !important;
}
.btn-hero-wa {
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 10px 25px -5px rgba(34,197,94,.4) !important;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-hero-wa:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 14px 30px -4px rgba(34,197,94,.55) !important;
}

/* CERTIFICATES LAYOUT */
.hero-certs {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
  gap: 14px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 158, 11, 0.24);
}
.hero-certs-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FCD34D;
  font-weight: 700;
  opacity: 0.92;
  display: flex;
  align-items: center;
}
.hero-certs-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.hero-certs-subrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-cert-badge {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
  opacity: 0;
  animation: certFadeIn .6s ease forwards;
  flex-shrink: 0;
}
.hero-certs-row .hero-cert-badge:nth-child(1) { animation-delay: .1s; }
.hero-certs-row .hero-cert-badge:nth-child(2) { animation-delay: .2s; }
.hero-certs-row .hero-cert-badge:nth-child(3) { animation-delay: .3s; }
.hero-certs-row .hero-cert-badge:nth-child(4) { animation-delay: .4s; }
.hero-cert-badge:hover {
  transform: translateY(-4px) scale(1.06);
}
.hero-cert-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}
.hero-cert-badge--fssc {
  width: auto;
  min-width: 160px;
  max-width: 220px;
  height: 42px;
  animation-delay: .5s;
  justify-content: center;
}
.hero-cert-badge--fssc img {
  height: 38px;
  width: auto;
  max-width: 100%;
}

/* RIGHT COLUMN: Video Showcase Card */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-showcase {
  position: relative;
  width: 100%;
  max-width: 650px;
}

.hero-video-glass-frame {
  position: relative;
  background: rgba(30, 14, 4, 0.94);
  border: 1.5px solid rgba(245, 158, 11, 0.54);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 25px 60px -10px rgba(0,0,0,0.85),
    0 0 52px rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(16px);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  z-index: 2;
}
.hero-video-glass-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow:
    0 32px 75px -10px rgba(0,0,0,0.92),
    0 0 60px rgba(245, 158, 11, 0.42);
}

.hero-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(18, 9, 2, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.video-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
}
.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: livePulse 1.8s infinite;
}

.hero-video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.hero-video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.hero-sound-btn:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #000;
  transform: scale(1.1);
}

.hero-video-ambient-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

@keyframes livePulse {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

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

/* ===================================================
   REELS SECTION STYLES
   =================================================== */
.section--reels {
  background: var(--dark-2);
  color: var(--white);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.reels-stories-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reels-stories-container::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .section--reels {
    padding: 16px 0;
  }
  .reels-stories-container {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
    gap: 16px;
  }
  .reel-story-ring {
    width: 64px !important;
    height: 64px !important;
    padding: 2px !important;
  }
  .reel-story-thumbnail {
    border-width: 2px !important;
  }
  .reel-story-play-icon {
    font-size: 0.8rem !important;
  }
  .reel-story-label {
    font-size: 0.7rem !important;
    max-width: 72px !important;
  }
}
.reel-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reel-story-item:hover {
  transform: scale(1.05);
}
.reel-story-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}
.reel-story-item:hover .reel-story-ring {
  box-shadow: 0 0 20px rgba(230, 104, 60, 0.6);
}
.reel-story-thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #000;
  border: 3px solid var(--dark-2);
}
.reel-story-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.reel-story-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  color: var(--white);
  font-size: 1.1rem;
  opacity: 0.85;
  transition: opacity 0.3s, background 0.3s;
}
.reel-story-item:hover .reel-story-play-icon {
  background: rgba(0,0,0,0.05);
  opacity: 1;
}
.reel-story-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.reel-story-item:hover .reel-story-label {
  color: var(--amber);
}

/* Modal Styles */
.reels-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.reels-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.reels-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
}
.reels-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 10;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (max-width: 480px) {
  .reels-modal-content {
    max-height: 100vh;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }
}
.reels-modal.active .reels-modal-content {
  transform: scale(1);
}
.reels-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 12;
}
.reels-modal-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}
.reels-modal-body {
  width: 100%;
  height: 100%;
  position: relative;
}
.reels-modal-body video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reels-modal-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 12;
}
.reels-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}
.reels-control-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.05);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1200px) {
  .hero-title,
  .hero .hero-title,
  .hero h1.hero-title,
  h1.hero-title {
    font-size: clamp(1.65rem, 2.35vw, 2.25rem) !important;
  }
}
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content-col {
    max-width: 100%;
  }
  .hero-title,
  .hero .hero-title,
  .hero h1.hero-title,
  h1.hero-title {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem) !important;
  }
  .hero-visual-col {
    justify-content: center;
  }
  .hero-video-showcase {
    max-width: 620px;
  }
}
@media (max-width: 768px) {
  .hero-title,
  .hero .hero-title,
  .hero h1.hero-title,
  h1.hero-title {
    font-size: clamp(1.35rem, 4.5vw, 1.85rem) !important;
  }
}
@media (max-width: 640px) {
  .hero--modern {
    padding: 36px 0 48px;
    min-height: auto;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  .hero-title,
  .hero .hero-title,
  .hero h1.hero-title,
  h1.hero-title {
    font-size: clamp(1.1rem, 5.2vw, 1.55rem) !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    word-break: keep-all !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-ctas .btn {
    flex: 1;
    min-width: 135px;
    justify-content: center;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
  }
  /* Mobile Certificates Layout: centered and balanced */
  .hero-certs {
    width: 100%;
    max-width: 360px;
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 158, 11, 0.22);
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .hero-certs-title {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    justify-content: center;
  }
  .hero-certs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-cert-badge {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }
  .hero-certs-subrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2px;
  }
  .hero-cert-badge--fssc {
    height: 36px;
    min-width: 140px;
    max-width: 180px;
  }
  .hero-cert-badge--fssc img {
    height: 32px;
    width: auto;
  }
}
@media (max-width: 380px) {
  .hero-title,
  .hero .hero-title,
  .hero h1.hero-title,
  h1.hero-title {
    font-size: clamp(0.95rem, 4.8vw, 1.15rem) !important;
  }
  .hero-cert-badge {
    width: 44px;
    height: 44px;
  }
  .hero-cert-badge--fssc {
    height: 30px;
  }
  .hero-cert-badge--fssc img {
    height: 26px;
  }
}

/* 6 Certificates 3-Column Layout */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px;
}
@media (max-width: 900px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 520px) {
  .certs-grid {
    grid-template-columns: 1fr !important;
  }
}

