/* ==========================================================================
   YUVA ACADEMY - PREMIUM BEAUTY DESIGN SYSTEM
   Modern, Clean, and High-End Ed-Tech Aesthetics
   ========================================================================== */

:root {
  --primary-deep: #6D28D9;
  --primary-end: #DB2777;
  --primary-glow: rgba(109, 40, 217, 0.15);
  --accent-muted: #6D28D9;
  --accent-soft: #DB2777;
  --accent-sage: #6D28D9;
  --bg-purity: #ffffff;
  --bg-soft-neutral: #F9FAFB;
  --bg-warm-foundation: #F9FAFB;
  --text-main: #111827;
  --text-muted: #6B7280;
  --grad-primary: linear-gradient(135deg, #6D28D9 0%, #DB2777 100%);
  --grad-cta: linear-gradient(135deg, #F97316 0%, #F43F5E 100%);
  --shadow-sm: 0 4px 6px -1px rgba(109, 40, 217, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(109, 40, 217, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(109, 40, 217, 0.12);
  --shadow-premium: 0 25px 50px -12px rgba(109, 40, 217, 0.18);
}


/* ================= UTILITIES ================= */

.section-premium-light { background-color: var(--bg-purity); }
.section-premium-soft  { background-color: var(--bg-soft-neutral); }
.section-premium-ultra { background-color: var(--bg-warm-foundation); }

.premium-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.premium-section-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center; /* Standardized to center for consistent section intros */
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ================= PREMIUM CARDS ================= */

.beauty-card,
.beauty-card-center {
  background: var(--bg-purity);
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.beauty-card.ready-to-reveal,
.beauty-card-center.ready-to-reveal {
  opacity: 0;
  transform: translateY(30px);
}

.beauty-card.show,
.beauty-card-center.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.beauty-icon-box {
  width: 64px;
  height: 64px;
  background: rgba(30, 77, 140, 0.05);
  color: var(--primary-deep);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(30, 77, 140, 0.08);
  transition: transform 0.3s ease;
}

.beauty-icon-box i {
  font-size: 28px;
  line-height: 1;
  display: block;
}

.beauty-card:hover .beauty-icon-box {
  transform: rotate(-5deg) scale(1.1);
}

.bg-icon-purple { background: rgba(100, 116, 139, 0.08) !important; color: var(--accent-muted) !important; border-color: rgba(100, 116, 139, 0.1) !important; }
.bg-icon-teal   { background: rgba(148, 163, 184, 0.08) !important; color: var(--accent-soft) !important; border-color: rgba(148, 163, 184, 0.1) !important; }
.bg-icon-orange { background: rgba(51, 65, 85, 0.08) !important; color: var(--primary-deep) !important; border-color: rgba(51, 65, 85, 0.1) !important; }

/* ================= PREMIUM LISTS ================= */

.beauty-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}

.beauty-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.beauty-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-muted);
  font-size: 1.1rem;
}

/* ================= UNIQUE PREMIUM FAQ ================= */

.beauty-faq .accordion-item {
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 18px;
  border-radius: 20px !important;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.beauty-faq .accordion-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-md);
}

.beauty-faq .accordion-button {
  background: #ffffff !important;
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 22px 28px;
  box-shadow: none !important;
  border: none !important;
}

.beauty-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%) !important;
  color: var(--primary-deep) !important;
  position: relative;
}

.beauty-faq .accordion-button:not(.collapsed)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--primary-deep);
}

.beauty-faq .accordion-button::after {
  background-image: none !important;
  content: "\f067";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  color: #94a3b8;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.beauty-faq .accordion-button:not(.collapsed)::after {
  content: "\f068";
  transform: rotate(180deg);
  color: var(--primary-deep);
}

.beauty-faq .accordion-body {
  padding: 0 28px 28px;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ================= PREMIUM BENEFITS ================= */

.beauty-benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.6);
  height: 100%;
  transition: all 0.3s ease;
  text-align: left; /* Explicitly left-aligned */
}

.beauty-benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-glow);
}

.beauty-benefit-item i {
  color: var(--accent-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.beauty-benefit-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  text-align: left;
}

/* ================= PREMIUM BUTTONS ================= */

.btn-primary {
  position: relative;
  background: var(--grad-primary) !important;
  border: none !important;
  padding: 12px 18px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Flicker Protection for all lifted buttons */
.btn-primary::before,
.btn-outline-primary::before,
.btn-light::before,
.btn-outline-light::before,
.btn-purple::before,
.btn-outline-purple::before,
.contact-social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.btn-primary:hover::before,
.btn-outline-primary:hover::before,
.btn-light:hover::before,
.btn-outline-light:hover::before,
.btn-purple:hover::before,
.btn-outline-purple:hover::before,
.contact-social-btn:hover::before {
  bottom: -15px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.2) !important;
  background: var(--grad-primary) !important;
  filter: brightness(1.12);
  color: #ffffff !important;
}

.beauty-card-center-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline-primary {
  position: relative;
  border: 1.5px solid var(--primary-deep) !important;
  color: var(--primary-deep) !important;
  background: transparent !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  padding: 11px 18px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.2);
  filter: brightness(1.1);
}

.btn-light {
  position: relative;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  padding: 12px 34px !important;
  color: var(--primary-deep) !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
}

.btn-light:hover {
  transform: translateY(-3px) scale(1.02);
  background: #ffffff !important;
  filter: brightness(0.98);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.btn-outline-light {
  position: relative;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  padding: 11px 33px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--primary-deep) !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255,255,255,0.2) !important;
}

/* ================= CONTACT PAGE LAYOUT ================= */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-details-side {
    padding: 30px 25px !important;
  }
  .contact-method-item {
    align-items: flex-start;
    text-align: left;
  }
}

.contact-details-side {
  background: #1e1b4b;
  padding: 40px;
  border-radius: 32px;
  color: #ffffff;
  height: 100%;
}

.contact-method-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.contact-method-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-method-text h5 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-method-text p,
.contact-method-text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-social-links {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.contact-social-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-btn:hover {
  background: #ffffff;
  transform: translateY(-3px);
  color: var(--primary-deep);
}

/* ================= HOME HERO BUTTONS FIX ================= */

.hero-ctas {
  margin-top: 35px;
  display: flex !important;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-ctas .btn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 18px !important;
  font-size: 0.95rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hero-ctas .btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
}

.hero-section .btn-lg,
.inner-hero-section .btn-lg {
  padding: 14px 22px !important;
  font-size: 1.1rem !important;
}

/* ================= PURPLE THEME BUTTONS ================= */

.btn-purple {
  position: relative;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 34px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-purple:hover,
.btn-primary-purple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
  filter: brightness(1.12);
  color: #fff !important;
}

.btn-outline-purple {
  position: relative;
  background: transparent !important;
  color: #7c3aed !important;
  border: 1.5px solid #7c3aed !important;
  padding: 11px 33px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.btn-outline-purple:hover {
  background: #7c3aed !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.badge-premium-purple {
  background: rgba(100, 116, 139, 0.08) !important;
  color: var(--accent-muted) !important;
  border: 1px solid rgba(100, 116, 139, 0.2) !important;
  padding: 5px 12px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px;
}

/* ================= LOGO & UTILITIES ================= */

.navbar-logo {
  height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo--crop {
  max-width: 180px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
}

input[type=number] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

/* ================= SAFETY OVERRIDES ================= */

.hero-img,
img.hero-img {
  max-height: 480px !important;
  width: auto !important;
  object-fit: cover !important;
  border-radius: 40px !important;
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.15) !important;
  border: 4px solid #ffffff !important;
  outline: 1px solid rgba(109, 40, 217, 0.1) !important;
}

.partner-logo-img { height: 70px !important; width: auto !important; object-fit: contain !important; }
.gallery-img-front { height: 450px !important; width: auto !important; object-fit: contain !important; }

/* ================= LIGHTBOX MODAL ================= */

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  line-height: 0;
  padding-bottom: 5px;
  text-align: center;
}

.lightbox-close:hover {
  color: #fff;
  background: var(--grad-primary);
  transform: rotate(90deg);
}

.gallery-img-front {
  cursor: zoom-in;
  transition: transform 0.3s ease !important;
}

.gallery-img-front:hover {
  transform: scale(1.02) !important;
}

/* ================= ICON BOX ALIGNMENT ================= */
/* Left-align icon on non-centered cards */
.beauty-card .beauty-icon-box {
  margin-left: 0;
  margin-right: auto;
}

/* FIX: Centre icon on beauty-card-center — overrides the rule above */
.beauty-card-center .beauty-icon-box {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ================= CARD TEXT ALIGNMENT ================= */

/* Default beauty-card is now left-aligned */
.beauty-card p,
.beauty-card h4,
.beauty-card h6 {
  text-align: left;
}

.beauty-card .beauty-list li {
  text-align: left;
}

/* Centred cards keep their centre alignment */
.beauty-card-center,
.beauty-card-center p,
.beauty-card-center h4,
.beauty-card-center h6 {
  text-align: center;
}

/* Section intro and hero subtitle always centred */
.premium-section-intro,
.inner-hero-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ================= MOBILE RESPONSIVENESS ================= */

@media (max-width: 768px) {
  .gallery-img-front { height: 300px !important; }

  .beauty-card,
  .beauty-card-center {
    padding: 1.25rem !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .beauty-benefit-item {
    justify-content: start;
    padding: 20px !important;
  }

  .btn {
    white-space: normal !important;
    word-wrap: break-word !important;
    height: auto !important;
    min-height: 44px;
    padding: 10px 15px !important;
  }

  .btn-lg {
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 0.95rem !important;
  }

  .contact-details-side {
      margin:auto 20px;
    padding: 24px 15px !important;
    border-radius: 20px;
  }

  .contact-method-item {
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
    text-align: left;
  }

  .contact-method-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 12px;
  }

  .contact-method-text h5 {
    font-size: 1rem;
  }

  .contact-method-text p,
  .contact-method-text a {
    font-size: 0.875rem;
    word-break: break-word;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-icon-grid {
    margin: 0 auto;
  }
}

/* Ultra-small screens < 400px */
@media (max-width: 400px) {
  .beauty-card,
  .beauty-card-center {
    padding: 1rem !important;
  }

  .beauty-icon-box {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
  }

  h1.inner-hero-title {
    font-size: 1.7rem !important;
  }

  .premium-section-title {
    font-size: 1.5rem !important;
  }

  .premium-section-title-sm {
    font-size: 1.25rem !important;
  }

  .btn.btn-primary,
  .btn.btn-outline-primary,
  .btn-purple,
  .btn-outline-purple {
    width: auto !important; /* Changed from 100% to auto for better visual flow on buttons */
    min-width: 160px;
    margin-bottom: 10px !important;
  }

  .hero-ctas {
    flex-direction: row !important;
    flex-wrap: wrap;
    width: 100% !important;
    justify-content: center !important;
    gap: 10px;
  }

  .contact-method-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }

  .contact-method-text h5 {
    font-size: 1rem !important;
  }

  .contact-method-text p {
    font-size: 0.85rem !important;
  }

  .beauty-list li {
    font-size: 0.85rem !important;
    padding-left: 24px !important;
    margin-bottom: 8px !important;
  }

  /* Ensure containers don't overflow */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .inner-hero-section {
    padding: 100px 0 60px !important;
  }

  .inner-hero-title {
    font-size: 1.8rem !important;
  }
}

/* Very small screens support */
@media (max-width: 330px) {
  .contact-details-side {
    padding: 20px 10px !important;
  }
  .contact-method-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .contact-method-text p, 
  .contact-method-text a {
    font-size: 0.8rem !important;
  }
}

  .beauty-list li::before {
    font-size: 0.95rem !important;
  }

  .max-w-850-center,
  .beauty-grid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
