/* =========================================================
   Afnan Global Imports LLC — Site Stylesheet
   Brand colors below are PLACEHOLDERS. Replace with final
   hex codes from the brand kit when available.
   ========================================================= */
:root {
  --primary: #0A2540;       /* deep navy — placeholder, replace with brand kit hex */
  --primary-dark: #061830;  /* darker navy — placeholder, replace with brand kit hex */
  --accent: #C9A227;        /* gold — placeholder, replace with brand kit hex */
  --accent-light: #E8CF7A;  /* light gold — placeholder, replace with brand kit hex */
  --bg-light: #F7F8FA;
  --text: #1F2937;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --wechat: #07C160;

  --font-heading: 'Poppins', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;

  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 30px rgba(10, 37, 64, 0.12);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* honeypot field must stay invisible to humans but present in DOM */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ============ Buttons ============ */
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
  transition: var(--transition);
}
.btn-accent:hover, .btn-accent:focus {
  background-color: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
  transition: var(--transition);
}
.btn-whatsapp:hover, .btn-whatsapp:focus { filter: brightness(0.92); color: var(--white); transform: translateY(-2px); }

.btn-wechat {
  background-color: var(--wechat);
  border-color: var(--wechat);
  color: var(--white);
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
  transition: var(--transition);
}
.btn-wechat:hover, .btn-wechat:focus { filter: brightness(0.92); color: var(--white); transform: translateY(-2px); }

/* ============ Navbar ============ */
.navbar {
  background-color: transparent;
  padding: 1.1rem 0;
  transition: var(--transition);
}
.navbar.navbar-scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}
.navbar-brand img { height: 42px; width: auto; }
.nav-logo-white { border-radius: 8px; box-shadow: 0 4px 14px rgba(6,24,48,0.35); }
.nav-logo-dark { display: none; }
.navbar-scrolled .nav-logo-white { display: none; }
.navbar-scrolled .nav-logo-dark { display: block; }
.brand-text-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  font-size: 1.25rem;
}
.navbar-scrolled .brand-text-fallback { color: var(--primary); }
.navbar .nav-link {
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  position: relative;
}
.navbar:not(.navbar-scrolled) .nav-link { color: var(--white); }
.navbar .nav-link.active { color: var(--accent); font-weight: 600; }
.navbar:not(.navbar-scrolled) .nav-link.active { color: var(--accent-light); }
.navbar-toggler { border: none; }
.navbar:not(.navbar-scrolled) .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(200%);
}
.navbar-scrolled .navbar-toggler-icon { filter: none; }

.lang-switcher { display: flex; align-items: center; gap: 0.3rem; }
.lang-btn {
  background: none;
  border: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: var(--transition);
}
.navbar:not(.navbar-scrolled) .lang-btn { color: var(--white); }
.lang-btn.active { color: var(--accent); }
.lang-btn:hover { color: var(--accent); }
.lang-sep { opacity: 0.5; font-size: 0.8rem; }
.navbar:not(.navbar-scrolled) .lang-sep { color: var(--white); }

/* ============ Hero ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 8s ease-out;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(10,37,64,0.88), rgba(6,24,48,0.82)),
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: cover, 26px 26px;
}
.hero-content { position: relative; z-index: 3; padding-top: 5rem; }
.hero-headline {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero-subline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 2.25rem;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.hero-slider-dots {
  position: absolute;
  bottom: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot:hover { background: rgba(255,255,255,0.4); }
.hero-dot.active { background: var(--accent); border-color: var(--accent); width: 26px; border-radius: 6px; }

/* ============ Sections (shared) ============ */
.section { padding: 6rem 0; }
.section-alt { background-color: var(--bg-light); }
.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-heading h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.9rem; }
.section-subtitle { color: #5B6572; font-size: 1.05rem; }
.section-subtitle-dark { color: rgba(255,255,255,0.78); font-size: 1.05rem; }

/* ============ About cards ============ */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(10,37,64,0.06);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-card:hover .feature-media img { transform: scale(1.08); }
.feature-icon {
  position: absolute;
  left: 1.75rem;
  bottom: -28px;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--accent-light);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}
.feature-body { padding: 2.75rem 1.75rem 2.25rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.feature-card p { color: #5B6572; margin: 0; }

/* ============ Product cards ============ */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(10,37,64,0.06);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}
.product-img-base, .product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.product-img-hover { opacity: 0; }
.product-card:hover .product-img-base { transform: scale(1.08); }
.product-card:hover .product-img-hover { opacity: 1; transform: scale(1.08); }
.product-icon {
  position: absolute;
  right: 1rem;
  bottom: -20px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
  z-index: 1;
}
.product-body { padding: 2rem 1.6rem 1.6rem; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.product-card p { color: #5B6572; margin-bottom: 1rem; }
.product-cta {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: var(--transition);
}
.product-cta:hover { color: var(--accent); }

/* ============ How it works ============ */
.how-steps { position: relative; }
.step-card { text-align: center; padding: 1rem; height: 100%; }
.step-number {
  width: 56px; height: 56px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { color: #5B6572; font-size: 0.95rem; margin: 0; }

/* ============ Why choose us ============ */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.02rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  height: 100%;
}
.why-item i { color: var(--accent-light); margin-top: 0.2rem; }

/* ============ Contact ============ */
.contact-map { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contact-detail i { color: var(--accent-light); font-size: 1.2rem; margin-top: 0.2rem; }
.contact-label { display: block; font-weight: 700; color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.15rem; }
.contact-detail p, .contact-detail a { color: rgba(255,255,255,0.85); margin: 0; }
.contact-detail p:not(:last-child) { margin-bottom: 0.2rem; }
.contact-detail a:hover { color: var(--accent-light); }

.contact-buttons { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.wechat-qr-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.wechat-qr-frame {
  margin-top: 0.75rem;
  width: 190px; height: 190px;
  margin-left: auto; margin-right: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wechat-qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.wechat-qr-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: #9AA5B1; font-size: 0.8rem; font-weight: 600;
}
.wechat-qr-placeholder i { font-size: 2rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.contact-form .form-label { font-weight: 600; color: var(--primary); margin-bottom: 0.35rem; }
.contact-form .form-control, .contact-form .form-select {
  border-radius: 8px;
  border: 1px solid #D8DDE4;
  padding: 0.65rem 0.9rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.18);
}
#submitBtn { position: relative; }

/* ============ Footer ============ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 1.75rem;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand-fallback { display: inline-block; margin-bottom: 1rem; color: var(--white); }
.footer-blurb { font-size: 0.92rem; line-height: 1.7; max-width: 340px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 0.7rem; font-size: 0.92rem; }
.footer-links a { color: rgba(255,255,255,0.72); transition: var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact i { color: var(--accent-light); margin-top: 0.2rem; }
.footer-contact a { color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: var(--accent-light); }
.footer-lang-switcher { margin-top: 1.25rem; color: rgba(255,255,255,0.72); }
.footer-divider { border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.5rem; }
.footer-copyright { font-size: 0.85rem; text-align: center; margin: 0; color: rgba(255,255,255,0.6); }

/* ============ Floating buttons ============ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 5.5rem;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary-dark); }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .navbar-collapse { background: var(--white); border-radius: 10px; margin-top: 0.75rem; padding: 1rem; box-shadow: var(--shadow-sm); }
  .navbar .nav-link, .navbar:not(.navbar-scrolled) .nav-link { color: var(--primary); }
  .navbar:not(.navbar-scrolled) .lang-btn { color: var(--primary); }
  .lang-switcher { margin-top: 0.75rem; }
}

@media (max-width: 767.98px) {
  .section { padding: 4rem 0; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
  .hero-section { padding-bottom: 6.5rem; }
  .back-to-top { right: 1.75rem; bottom: 5.75rem; }
}
