/* ============================================================
   style.css – Aporsiyine Custom Styles
   ============================================================ */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --brand-yellow: #ffc107;
  --brand-dark:   #0f0f1a;
  --brand-navy:   #1a1a2e;
  --radius-card:  16px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #f5f5f7;
}

/* ============================================================
   Hero Carousel – Full Redesign
   ============================================================ */

.hero-carousel-wrap {
  position: relative;
  /* allow side-nav and arrows that are children of .hero-carousel-wrap to show */
  overflow: visible;
}

/* Bootstrap .carousel and .carousel-inner clip to their bounds — keep that */
.hero-carousel-wrap > #heroCarousel {
  overflow: hidden;
}
.hero-carousel-wrap > #heroCarousel > .carousel-inner {
  overflow: hidden;
}

/* Bootstrap .carousel-item is display:block — we need the INNER wrapper to be flex */
.hc-slide {
  position: relative;
  min-height: 92vh;
}

/* Stretch bg image to fill the slide */
.hc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
  z-index: 0;
}
.carousel-item.active .hc-bg {
  transform: scale(1);
}

/* Overlay sits on top of bg */
.hc-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
}

/* Content is the flex container, sits above overlay */
.hc-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hc-row {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 100px 0 120px;
}

/* Left text column */
.hc-text {
  color: #fff;
  align-self: center;
}

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffc107;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: hcFadeUp 0.7s ease both;
}
.hc-eyebrow-fire { color: #ff6b6b; border-color: rgba(255,100,100,0.35); }

.hc-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  animation: hcFadeUp 0.75s 0.1s ease both;
}
.hc-accent {
  color: #ffc107;
  position: relative;
}
.hc-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: #ffc107;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 0.5s 0.6s ease forwards;
}
@keyframes underlineGrow { to { transform: scaleX(1); } }

.hc-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 32px;
  animation: hcFadeUp 0.75s 0.18s ease both;
}

.hc-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: hcFadeUp 0.75s 0.26s ease both;
}
.hc-btn-primary {
  box-shadow: 0 8px 24px rgba(255,193,7,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,193,7,0.55);
}
.hc-btn-ghost {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}
.hc-btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
}

/* Stats row */
.hc-stat-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  animation: hcFadeUp 0.75s 0.34s ease both;
}
.hc-stat {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.hc-stat strong { font-size: 1.4rem; font-weight: 800; color: #ffc107; line-height: 1; }
.hc-stat span   { font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; margin-top: 2px; }
.hc-stat-div    { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* Right visual column */
.hc-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.hc-img-frame {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hcImageIn 0.9s 0.15s ease both;
}
.hc-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--glow, rgba(255,193,7,0.35)) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}
.hc-product-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  animation: hcBob 4s 1s ease-in-out infinite;
}
@keyframes hcBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Floating price / category badges */
.hc-float-badge {
  position: absolute;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
  animation: hcFadeUp 0.8s 0.5s ease both;
}
.hc-badge-tl { top: 10%; left: -10px; }
.hc-badge-br { bottom: 10%; right: -10px; background: rgba(255,193,7,0.25); border-color: rgba(255,193,7,0.5); }

/* ---- Side Nav Thumbnails ---- */
.hc-sidenav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-nav-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  width: 64px;
}
.hc-nav-thumb:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.06);
}
.hc-nav-thumb.active {
  background: rgba(255,193,7,0.25);
  border-color: #ffc107;
}
.hc-thumb-emoji { font-size: 1.3rem; line-height: 1; }
.hc-thumb-label { font-size: 0.58rem; color: rgba(255,255,255,0.75); letter-spacing: 0.5px; text-transform: uppercase; }
.hc-thumb-bar {
  width: 24px; height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin-top: 4px;
  transition: background 0.25s, width 0.3s;
}
.hc-nav-thumb.active .hc-thumb-bar { background: #ffc107; width: 32px; }

/* ---- Prev / Next Arrows ---- */
.hc-arrow {
  position: absolute;
  bottom: 36px;
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.hc-arrow:hover { background: rgba(255,193,7,0.75); color: #000; transform: scale(1.1); }
.hc-arrow-prev { left: calc(50% - 56px); }
.hc-arrow-next { left: calc(50% + 8px); }

/* ---- Slide counter ---- */
.hc-counter {
  position: absolute;
  bottom: 48px;
  left: 32px;
  z-index: 10;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
}
.hc-counter span:first-child { color: #ffc107; font-size: 1.1rem; }

/* ---- Animations ---- */
@keyframes hcFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hcImageIn {
  from { opacity: 0; transform: translateX(50px) scale(0.92); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@media (max-width: 991px) {
  .hc-sidenav { display: none; }
  .hc-row { padding: 60px 0 120px; min-height: unset; }
  .hc-slide { min-height: 75vh; }
  .hc-title { font-size: 2.2rem; }
}
@media (max-width: 576px) {
  .hc-slide { min-height: 65vh; }
  .hc-title { font-size: 1.85rem; letter-spacing: -0.5px; }
  .hc-desc  { font-size: 0.95rem; }
  .hc-actions { flex-direction: column; }
  .hc-stat-row { gap: 12px; }
  .hc-arrow-prev { left: calc(50% - 52px); }
  .hc-arrow-next { left: calc(50% + 4px); }
}

/* ---- Countdown (Slide 4) ---- */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: hcFadeUp 0.8s 0.4s ease both;
}
.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 18px;
  min-width: 72px;
}
.countdown-box span {
  font-size: 2rem;
  font-weight: 800;
  color: #ffc107;
  line-height: 1;
}
.countdown-box small {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc107;
  padding-bottom: 14px;
}

/* Category emoji icons */
.cat-emoji {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
}

/* ---- Section Headings ---- */
.section-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 48px; height: 4px;
  background: var(--brand-yellow);
  border-radius: 2px;
}
.section-header {
  margin-bottom: 40px;
}

/* ---- Trust / Features Strip ---- */
.features-strip {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,193,7,0.35);
}
.feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f0f1a;
  margin-bottom: 1px;
}
.feature-text span {
  font-size: 0.78rem;
  color: #888;
}
@media (max-width: 767px) {
  .feature-item { padding: 14px 0; }
}

/* ---- Category Cards ---- */
.category-card {
  border-radius: var(--radius-card) !important;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
  z-index: 1;
  border-radius: inherit;
}
.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0,0,0,0.25);
}
.category-card:hover::before { background: rgba(255,255,255,0.08); }
.category-card .cat-emoji {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
  transition: transform var(--transition);
}
.category-card:hover .cat-emoji { transform: scale(1.2) translateY(-4px); }
.category-card .btn-light {
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 20px;
  position: relative; z-index: 2;
}

/* ---- Product Card ---- */
.product-card {
  border-radius: var(--radius-card) !important;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06) !important;
  background: #fff;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.13) !important;
}

.product-img {
  height: 220px;
  object-fit: contain;
  background: #f8f9fa;
  padding: 12px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Hover overlay with action buttons */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
  opacity: 1;
}

/* ---- Promo Banner ---- */
.promo-banner {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,193,7,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(13,202,240,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.promo-banner > * { position: relative; z-index: 1; }

/* ---- Stat Boxes ---- */
.stat-box {
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius-card) !important;
}
.stat-box:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-md);
}

/* ---- Navbar ---- */
.navbar-brand {
  letter-spacing: -0.5px;
}

/* Glassmorphism navbar on scroll */\n.navbar {\n  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);\n}\n.navbar.navbar-glass {\n  background: rgba(10,10,20,0.82) !important;\n  backdrop-filter: blur(18px) saturate(160%);\n  -webkit-backdrop-filter: blur(18px) saturate(160%);\n  box-shadow: 0 1px 0 rgba(255,255,255,0.07);\n}\n\n/* Pill nav links */\n.nav-pill {\n  border-radius: 8px !important;\n  padding: 7px 14px !important;\n  font-size: 0.88rem;\n  font-weight: 600;\n  color: rgba(255,255,255,0.7) !important;\n  transition: background var(--transition), color var(--transition) !important;\n  display: flex;\n  align-items: center;\n}\n.nav-pill:hover {\n  background: rgba(255,255,255,0.1) !important;\n  color: #fff !important;\n}\n.nav-pill.active {\n  background: rgba(255,193,7,0.18) !important;\n  color: #ffc107 !important;\n}\n/* Remove old underline on pill nav */\n.navbar .nav-link.nav-pill::after { display: none; }\n\n/* Search input in navbar */\n.nav-search-input {\n  background: rgba(255,255,255,0.08);\n  border: 1.5px solid rgba(255,255,255,0.12);\n  border-right: none;\n  color: #fff;\n  border-radius: 8px 0 0 8px !important;\n  min-width: 160px;\n}\n.nav-search-input::placeholder { color: rgba(255,255,255,0.4); }\n.nav-search-input:focus {\n  background: rgba(255,255,255,0.14);\n  border-color: var(--brand-yellow);\n  box-shadow: none;\n  color: #fff;\n}\n.nav-search-wrap .btn-warning {\n  border-radius: 0 8px 8px 0 !important;\n  border-left: none;\n}\n\n/* Contact info cards */\n.contact-info-card {\n  transition: transform var(--transition), box-shadow var(--transition);\n}\n.contact-info-card:hover {\n  transform: translateY(-4px);\n  box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important;\n}\n.contact-info-icon {\n  width: 46px; height: 46px;\n  border-radius: 13px;\n  background: rgba(255,193,7,0.15);\n  color: #ffc107;\n  display: flex; align-items: center; justify-content: center;\n  font-size: 1.2rem;\n  flex-shrink: 0;\n}

/* ---- Cart Table ---- */
.table img {
  border-radius: 8px;
  object-fit: cover;
}

/* ---- Buttons ---- */
.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
  font-weight: 600;
}
.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: #000;
}

/* ---- Smooth scroll ---- */
html { scroll-behavior: smooth; }

/* ============================================================
   Wishlist Heart Button
   ============================================================ */
.wish-float-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s, background 0.2s;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.wish-float-btn:hover { color: #dc3545; transform: scale(1.15); }
.wish-float-btn.wishlisted { color: #dc3545; background: #fff0f0; }
.wish-float-btn.wishlisted i::before { content: "\f415"; } /* bi-heart-fill */

/* ============================================================
   Payment Method Tabs
   ============================================================ */
.payment-tabs {
  display: flex;
  gap: 10px;
}
.payment-tab {
  flex: 1;
  padding: 12px 10px;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-tab:hover { border-color: #ffc107; }
.payment-tab.active {
  border-color: #ffc107;
  background: #fff9e6;
  color: #1a1a2e;
}
.card-panel-wrap, .momo-panel-wrap {
  background: #fafafa;
  border-radius: 12px;
}
.momo-logo-wrap {
  background: #ffcc00;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.85rem;
}

/* ============================================================
   Price Tier Strip (Retail vs Wholesale on product cards)
   ============================================================ */
.price-tier-strip {
  background: #f1f3f5;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.78rem;
}
.tier-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  transition: background 0.2s;
  opacity: 0.55;
}
.tier-row.tier-active {
  background: #fff;
  opacity: 1;
  font-weight: 600;
  border-left: 3px solid;
}
.retail-tier.tier-active  { border-color: #ffc107; }
.wholesale-tier.tier-active { border-color: #0dcaf0; }

.tier-label  { flex: 0 0 auto; color: #555; }
.tier-price  { margin-left: auto; }
.tier-min    { font-size: 0.7rem; }

/* Qty stepper on product cards */
.card-qty-group { width: 100px; }
.card-qty-input { font-size: 0.85rem; }

/* ============================================================
   Buyer Type legacy styles (keep wholesale bar just in case)
   ============================================================ */
.wholesale-bar {
  background: linear-gradient(90deg, #0d6efd 0%, #0dcaf0 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---- Badge hidden when 0 ---- */
#cartBadge[style*="none"] { display: none; }

/* ---- Form focus ---- */
.form-control:focus, .form-select:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255,193,7,0.25);
}

/* ---- Footer ---- */
footer {
  border-top: 3px solid var(--brand-yellow);
}
footer a { transition: color var(--transition); }
footer a:hover { color: #ffc107 !important; }

/* Ensure all footer text is visible on dark background */
footer p,
footer span,
footer li,
footer small {
  color: rgba(255,255,255,0.65) !important;
}
footer .text-muted {
  color: rgba(255,255,255,0.65) !important;
}
footer h5, footer h6 {
  color: #fff;
}
footer .text-white-50 {
  color: rgba(255,255,255,0.55) !important;
}
footer ul a {
  color: rgba(255,255,255,0.65) !important;
}
footer ul a:hover {
  color: #ffc107 !important;
}

.footer-contact-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65) !important;
  transition: color var(--transition), transform var(--transition);
}
.footer-contact-link:hover {
  color: #ffc107 !important;
  transform: translateX(4px);
}
.footer-contact-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: rgba(255,193,7,0.15);
  color: #ffc107;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ---- Scroll to top ---- */
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #000;
  border: none;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(255,193,7,0.45);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
#scrollTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,193,7,0.55);
}

/* ---- Responsive hero text ---- */
@media (max-width: 576px) {
  .hero-heading { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .hero-countdown { flex-wrap: wrap; }
}

/* ---- Auth Modal ---- */
#authModal .modal-content { border-radius: 20px !important; }
#authTabSignin, #authTabSignup {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: none;
}
#authTabSignin.active, #authTabSignup.active {
  background: #fff !important;
  color: #0f0f1a !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1) !important;
}
#authTabSignin:not(.active), #authTabSignup:not(.active) {
  background: transparent !important;
  color: #888 !important;
  box-shadow: none !important;
}

/* ---- Page transitions ---- */
body { animation: fadein 0.4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Scroll-reveal utility ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Contact form modern ---- */
#contact .form-control,
#contact .form-select {
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  padding: 12px 16px;
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#contact .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 6px;
}
#contact .btn[type=submit] {
  border-radius: 10px;
  padding: 12px 40px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: var(--brand-navy);
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
#contact .btn[type=submit]:hover {
  background: #0f0f1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
