/* ===== AKAYO LIFE SCIENCE - WEBSITE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --purple: #3B2A9E;
  --purple-dark: #2a1e7a;
  --purple-light: #5b47cc;
  --gold: #f5a623;
  --blue-accent: #00b4d8;
  --white: #ffffff;
  --light-bg: #f5f7ff;
  --text-dark: #1a1a2e;
  --text-gray: #555577;
  --border: #e0e4f7;
  --gradient: linear-gradient(135deg, #3B2A9E 0%, #5b47cc 60%, #00b4d8 100%);
  --gradient-gold: linear-gradient(135deg, #3B2A9E 0%, #7c3aed 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  padding: 7px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.topbar a { color: #a8d8f0; text-decoration: none; }
.topbar-right { display: flex; gap: 18px; align-items: center; }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(59,42,158,0.1);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 54px; width: auto; object-fit: contain; }

.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.88rem;
  padding: 8px 16px; border-radius: 10px; transition: all 0.22s; letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { background: var(--purple); color: white; }

.nav-cta {
  background: var(--gradient) !important; color: white !important;
  padding: 9px 22px !important; border-radius: 25px !important; font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(59,42,158,0.3) !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--purple); border-radius: 2px; transition: all 0.3s; }

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9998;
  background: #25D366;
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: all 0.3s;
  animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,0.7); }

@keyframes pulse-green {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ===== PAGE SECTIONS ===== */
.page-section { display: none; }
.page-section.active { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0820;
}

.hero-bg-slider {
  position: absolute; inset: 0;
  display: flex;
}

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,8,32,0.82) 0%, rgba(13,8,32,0.5) 55%, rgba(13,8,32,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 80px 6%;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.18);
  border: 1px solid rgba(245,166,35,0.4);
  color: #f5c842;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: white;
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #a8d8f0, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 500px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  background: var(--gradient);
  color: white; padding: 14px 32px; border-radius: 30px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s; display: inline-block;
  box-shadow: 0 8px 25px rgba(59,42,158,0.45);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(59,42,158,0.55); }

.btn-hero-wa {
  background: #25D366;
  color: white; padding: 14px 28px; border-radius: 30px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  transition: all 0.25s;
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}
.btn-hero-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(37,211,102,0.5); }

.hero-dots {
  position: absolute; bottom: 30px; left: 6%;
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s;
}
.hero-dot.active { width: 28px; border-radius: 4px; background: white; }

/* ===== STATS ===== */
.stats-bar {
  background: white;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 8px 40px rgba(59,42,158,0.1);
  position: relative; z-index: 5;
}
.stat-item {
  padding: 28px 20px; text-align: center; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--light-bg); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--purple); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 0.78rem; color: var(--text-gray); margin-top: 4px; font-weight: 500; }

/* ===== SECTIONS ===== */
.section { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 54px; }
.eyebrow {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-accent); margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem); color: var(--text-dark); margin-bottom: 14px;
}
.section-header p { color: var(--text-gray); font-size: 1rem; max-width: 580px; margin: 0 auto; line-height: 1.75; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.card {
  background: white; border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 26px; transition: all 0.3s; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 55px rgba(59,42,158,0.13); border-color: #c4b8ff; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 58px; height: 58px; background: var(--light-bg); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 20px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.card p { font-size: 0.87rem; color: var(--text-gray); line-height: 1.7; }

/* ===== FEATURE STRIP ===== */
.feature-strip {
  background: var(--gradient);
  padding: 60px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.feature-strip-item { color: white; }
.feature-strip-item .icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-strip-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.feature-strip-item p { font-size: 0.83rem; opacity: 0.88; line-height: 1.6; }

/* ===== ABOUT ===== */
.about-hero { background: var(--light-bg); padding: 80px 5%; display: flex; gap: 70px; align-items: center; }
.about-content { flex: 1; }
.about-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 2.9rem); margin-bottom: 20px; }
.about-content h1 span { color: var(--purple); }
.about-content p { color: var(--text-gray); line-height: 1.8; margin-bottom: 16px; font-size: 0.97rem; }
.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 22px; box-shadow: 0 24px 70px rgba(59,42,158,0.18); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 44px; }
.value-card {
  background: var(--gradient); color: white; padding: 30px 24px; border-radius: 18px; text-align: center;
}
.value-card .icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.83rem; opacity: 0.9; line-height: 1.6; }

/* ===== PRODUCTS ===== */
.products-hero { background: var(--gradient); padding: 70px 5%; text-align: center; color: white; }
.products-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 14px; }
.products-hero p { opacity: 0.88; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.product-card {
  background: white; border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; transition: all 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(59,42,158,0.15); }
.product-card img { width: 100%; height: 280px; object-fit: contain; background: var(--light-bg); padding: 24px; }
.product-info { padding: 26px; }
.product-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.product-info p { font-size: 0.87rem; color: var(--text-gray); line-height: 1.65; margin-bottom: 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag { background: var(--light-bg); color: var(--purple); font-size: 0.74rem; font-weight: 600; padding: 4px 11px; border-radius: 20px; }

.btn-purple {
  background: var(--gradient); color: white; padding: 11px 24px; border-radius: 25px;
  font-weight: 700; font-size: 0.88rem; border: none; cursor: pointer; transition: all 0.25s;
  text-decoration: none; display: inline-block;
}
.btn-purple:hover { opacity: 0.9; transform: translateY(-2px); }

/* ===== GALLERY ===== */
.gallery-hero { background: var(--gradient); padding: 70px 5%; text-align: center; color: white; }
.gallery-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 50px 5%;
}
/* Masonry-like featured items */
.gallery-item { border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; background: var(--light-bg); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform 0.45s; display: block; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,42,158,0.7), rgba(0,180,216,0.5));
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; font-size: 2rem; color: white;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 14px; }
.lightbox-close { position: absolute; top: 22px; right: 30px; font-size: 2.6rem; color: white; cursor: pointer; background: none; border: none; line-height: 1; }

/* ===== CONTACT ===== */
.contact-hero { background: var(--gradient); padding: 70px 5%; text-align: center; color: white; }
.contact-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 14px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 54px; padding: 80px 5%; align-items: start; }

.contact-info h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; margin-bottom: 18px; color: var(--text-dark); }
.contact-info p { color: var(--text-gray); line-height: 1.75; margin-bottom: 32px; }

.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-icon {
  width: 48px; height: 48px; background: var(--gradient); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.info-text strong { display: block; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; font-size: 0.95rem; }
.info-text span, .info-text a { font-size: 0.88rem; color: var(--text-gray); text-decoration: none; }
.info-text a:hover { color: var(--purple); }

.wa-contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 13px 26px;
  border-radius: 30px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: all 0.25s; box-shadow: 0 6px 20px rgba(37,211,102,0.35);
  margin-top: 12px;
}
.wa-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.5); }

.contact-form {
  background: white; border: 1px solid var(--border); border-radius: 22px;
  padding: 44px; box-shadow: 0 14px 50px rgba(59,42,158,0.08);
}
.contact-form h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 30px; color: var(--text-dark); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: 'Poppins', sans-serif; font-size: 0.88rem; color: var(--text-dark);
  transition: border-color 0.2s; background: white; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple); }
.form-group textarea { height: 110px; resize: vertical; }

.form-submit {
  background: var(--gradient); color: white; padding: 15px 32px; border-radius: 30px;
  font-weight: 700; font-size: 0.97rem; border: none; cursor: pointer; width: 100%;
  transition: all 0.25s; box-shadow: 0 6px 20px rgba(59,42,158,0.3);
}
.form-submit:hover { opacity: 0.92; transform: translateY(-1px); }

.success-msg {
  display: none; background: #e8f5e9; color: #2e7d32; padding: 14px;
  border-radius: 11px; text-align: center; margin-top: 16px; font-weight: 500;
}

/* ===== BROCHURE CTA ===== */
.brochure-section { background: var(--light-bg); padding: 70px 5%; text-align: center; }
.brochure-section h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 12px; }
.brochure-section p { color: var(--text-gray); margin-bottom: 30px; font-size: 1rem; }

.btn-download {
  background: var(--gradient); color: white; padding: 16px 38px; border-radius: 30px;
  font-weight: 700; font-size: 1rem; text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px; transition: all 0.25s; box-shadow: 0 8px 28px rgba(59,42,158,0.32);
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(59,42,158,0.44); }

/* ===== FOOTER ===== */
footer { background: #0f0c1d; color: rgba(255,255,255,0.72); padding: 60px 5% 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.75; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 18px; font-size: 0.9rem; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: rgba(255,255,255,0.62); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #00b4d8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }

/* ===== UTILITY ===== */
.bg-light { background: var(--light-bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-content { padding: 60px 5%; max-width: 100%; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .about-hero { flex-direction: column; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: white; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .topbar { font-size: 0.72rem; }
  .topbar-right { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
}
