/* ============================================================
   home.css  –  Homepage specific styles for NutriconBio Life
   ============================================================ */

/* ── PAGE BACKGROUND ─────────────────────────────────────── */
body { background: #C8E8E0; }

/* ── HERO WRAPPER ────────────────────────────────────────── */
.hero-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

/* ── SLIDER ──────────────────────────────────────────────── */
.slider-wrapper {
  background: #fff;
  border: 3px solid #0D2B55;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 48px rgba(14,43,85,0.22);
}

.slide {
  display: none;
  position: relative;
}
.slide.active { display: block; }

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,43,85,0.75) 0%,
    rgba(13,43,85,0.30) 55%,
    transparent 100%
  );
}

/* Slide text content */
.slide-content {
  position: absolute;
  bottom: 56px;
  left: 56px;
  max-width: 520px;
}

.slide-tag {
  display: inline-block;
  background: rgba(46,95,163,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.25);
}

.slide-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 3px 16px rgba(0,0,0,0.4);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.slide-sub {
  font-size: 15px;
  color: #cce0f5;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.65;
}

.slide-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 6px 20px rgba(46,95,163,0.45);
}
.slide-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46,95,163,0.55);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.25s, transform 0.22s;
}
.slider-arrow:hover {
  background: rgba(46,95,163,0.75);
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

/* Slider Dots */
.slider-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 16px 0 10px;
  background: #fff;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #b0cde0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  border: none;
}
.dot.active {
  background: #2E5FA3;
  transform: scale(1.3);
  width: 28px;
  border-radius: 5px;
}

/* Slide content entrance animation */
@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide.active .slide-content {
  animation: slideContentIn 0.7s cubic-bezier(0.22,0.61,0.36,1) forwards;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2E5FA3, #1E7A5A);
  width: 0%;
  transition: width linear;
  z-index: 5;
}

/* ── QUICK NAV SECTION ───────────────────────────────────── */
.quick-nav-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.quick-nav-bar {
  background: linear-gradient(135deg, #0D2B55 0%, #1a3f75 100%);
  border-radius: 18px;
  padding: 28px 28px;
  margin-top: 20px;
  box-shadow: 0 8px 32px rgba(13,43,85,0.25);
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.nav-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 10px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.28s, box-shadow 0.28s;
  /* stagger set via inline style */
}
.nav-card:hover {
  border-color: #2E5FA3;
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(46,95,163,0.22);
}

.nav-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0fc, #d4ede6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 0.28s, transform 0.28s;
}
.nav-card:hover .nav-card-icon {
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  transform: rotate(6deg) scale(1.12);
}
.nav-card:hover .nav-card-icon span {
  filter: brightness(0) invert(1);
}
.nav-card-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #0D2B55;
  text-align: center;
  letter-spacing: 0.2px;
  font-family: 'Inter', sans-serif;
}

/* ── ABOUT HOME SECTION ──────────────────────────────────── */
.about-home-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 32px;
}

.about-home-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #dce8f5;
  box-shadow: 0 4px 28px rgba(14,43,85,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-home-text {
  padding: 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-home-text .section-label { margin-bottom: 8px; }
.about-home-text .section-title { margin-bottom: 20px; font-size: clamp(22px,3vw,32px); }
.about-home-text p {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.85;
  margin-bottom: 12px;
}
.about-home-text p:last-of-type { margin-bottom: 0; }

.about-home-cta {
  display: inline-block;
  margin-top: 28px;
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 50px;
  transition: transform 0.22s, box-shadow 0.22s;
  box-shadow: 0 4px 16px rgba(46,95,163,0.3);
  align-self: flex-start;
}
.about-home-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,95,163,0.42);
}

.about-home-visual {
  background: linear-gradient(135deg, #2E5FA3 0%, #1E7A5A 100%);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-home-visual::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.about-home-visual::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.about-home-visual-icon {
  font-size: 54px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.about-home-visual h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.about-home-visual p {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 52px;
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dce8f5;
  box-shadow: 0 4px 28px rgba(14,43,85,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-info {
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  padding: 52px 44px;
  color: #fff;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-info ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.contact-info li span { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.contact-form-wrap { padding: 52px 44px; }
.contact-form-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0D2B55;
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}
.form-control {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: #2E5FA3;
  box-shadow: 0 0 0 3px rgba(46,95,163,0.12);
}
textarea.form-control { resize: none; }
.btn-submit {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2E5FA3, #1E7A5A);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(46,95,163,0.3);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,95,163,0.42);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quick-nav-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .about-home-card,
  .contact-card { grid-template-columns: 1fr; }
  .about-home-text,
  .contact-form-wrap,
  .contact-info { padding: 36px 28px; }
  .slide-content { left: 24px; bottom: 32px; }
  .slide-title   { font-size: 26px; }
  .form-row      { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-section,
  .quick-nav-section,
  .about-home-section,
  .contact-section { padding-left: 14px; padding-right: 14px; }
  .quick-nav-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .quick-nav-bar  { padding: 20px 14px; }
}
