/* ===== SIPVERTISE — style.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #003A8C;
  --primary-dark: #002a66;
  --primary-light: #0050c0;
  --accent: #58B531;
  --accent-dark: #469027;
  --white: #ffffff;
  --bg: #f8faff;
  --text: #1a1a2e;
  --text-muted: #555;
  --border: #e0e8f0;
  --shadow: 0 4px 24px rgba(0,58,140,0.10);
  --shadow-lg: 0 8px 40px rgba(0,58,140,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--primary); margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.section-badge {
  display: inline-block; background: rgba(88,181,49,0.12); color: var(--accent-dark);
  font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px;
  border-radius: 50px; margin-bottom: 14px;
}

/* ---- Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,58,140,0.07);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo { flex-direction: row; align-items: flex-start; justify-content: flex-start; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; max-height: 100%; margin-right: -10px; }
.nav-logo span { display: none; }
.nav-logo span { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: var(--white);
  padding: 10px 22px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none; flex-direction: column; gap: 0; background: var(--white);
  border-top: 1px solid var(--border); padding: 16px 24px 20px;
}
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--text); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .nav-cta { margin-top: 10px; text-align: center; border-bottom: none; }

/* ---- Tagline Band ---- */
.tagline-band {
  background: var(--primary); color: var(--white);
  padding: 12px 0; overflow: hidden; white-space: nowrap;
}
.tagline-track {
  display: inline-flex; gap: 0; animation: scrollTag 30s linear infinite;
  will-change: transform;
}
.tagline-band:hover .tagline-track { animation-play-state: paused; }
.tagline-track span {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; padding: 0 32px;
}
.tagline-track span::after { content: " ✦"; color: var(--accent); }
@keyframes scrollTag { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; border: 2px solid transparent;
  transition: all var(--transition); font-family: var(--font-heading);
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-wa { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-wa:hover { background: #1ebe57; transform: translateY(-2px); }

/* ---- Cards ---- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---- Hero ---- */
.hero {
  padding: 80px 0 60px; background: linear-gradient(135deg, #f0f4ff 0%, #e8f4f0 100%);
  overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(88,181,49,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 560px; }
.hero-content h1 { color: var(--primary); margin-bottom: 16px; }
.hero-content h1 span { color: var(--accent); }
.hero-tagline { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; color: var(--text); margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.hero-image { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-bottle {
  width: 280px; height: auto; filter: drop-shadow(0 20px 60px rgba(0,58,140,0.25));
  animation: floatBottle 4s ease-in-out infinite;
}
@keyframes floatBottle { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }
.hero-ring {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 2px dashed rgba(0,58,140,0.15); animation: rotateSlow 20s linear infinite;
}
.hero-ring-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(88,181,49,0.2); animation: rotateSlow 30s linear infinite reverse;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* ---- Trust Strip ---- */
.trust-strip { background: var(--primary); padding: 20px 0; }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 0.9rem; }
.trust-item svg { color: var(--accent); }

/* ---- How It Works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 24px; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step-arrow {
  position: absolute; top: 50px; right: -18px;
  font-size: 1.4rem; color: var(--accent); font-weight: 700;
}
.steps-grid .step-card:last-child .step-arrow { display: none; }
.step-icon { font-size: 2.4rem; margin-bottom: 12px; }
.step-card h3 { margin-bottom: 8px; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card {
  border-radius: var(--radius-lg); padding: 36px 28px;
  border: 2px solid var(--border); background: var(--white);
  position: relative; transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--primary); background: var(--primary); color: var(--white);
  transform: scale(1.04);
}
.pricing-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.pricing-card.featured:hover { transform: translateY(-6px) scale(1.06); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
}
.plan-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.plan-price { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.plan-price span { font-size: 1rem; font-weight: 500; }
.plan-sub { font-size: 0.85rem; margin-bottom: 24px; opacity: 0.75; }
.plan-features { margin-bottom: 28px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,0.15); }
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .plan-features li::before { color: #a8e87a; }

/* ---- Why Cards ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 32px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.why-icon { font-size: 2.8rem; margin-bottom: 16px; }
.why-card h3 { color: var(--primary); margin-bottom: 10px; }

/* ---- Services Grid ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { padding: 32px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); transition: all var(--transition); }
.service-card:hover { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { width: 56px; height: 56px; background: rgba(0,58,140,0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; }
.service-card h3 { color: var(--primary); margin-bottom: 10px; }

/* ---- CTA Section ---- */
.cta-section { background: var(--primary); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: #011d4a; color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo span { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); }
.footer-col h4 { font-family: var(--font-heading); color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 12px; }
.footer-bottom p { font-size: 0.85rem; }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: waPulse 2.5s infinite; font-size: 1.6rem;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.1); animation: none; }
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); } }

/* ---- Page Header ---- */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 70px 0; text-align: center; color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--accent); }

/* ---- Accordion/FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; padding: 20px 24px; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--primary);
  cursor: pointer; transition: background var(--transition);
}
.faq-q:hover { background: var(--bg); }
.faq-q.active { background: var(--primary); color: var(--white); }
.faq-icon { font-size: 1.3rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-q.active .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding: 0 24px; }
.faq-a.open { max-height: 300px; padding: 16px 24px; }
.faq-a p { margin: 0; }

/* ---- Pricing Tabs ---- */
.pricing-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; background: var(--bg); border-radius: 50px; border: 1px solid var(--border); padding: 5px; width: fit-content; margin-left: auto; margin-right: auto; }
.pricing-tab { padding: 10px 28px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; border: none; background: none; color: var(--text-muted); transition: all var(--transition); cursor: pointer; }
.pricing-tab.active { background: var(--primary); color: var(--white); }

/* ---- Comparison Table ---- */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th { background: var(--primary); color: var(--white); padding: 16px 20px; font-family: var(--font-heading); font-size: 0.9rem; text-align: left; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg); }
.compare-table .check { color: var(--accent); font-weight: 700; }
.compare-table .cross { color: #ccc; }

/* ---- Contact Form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { color: var(--primary); margin-bottom: 16px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 46px; height: 46px; background: rgba(0,58,140,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-detail-text h4 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 4px; }
.contact-detail-text p, .contact-detail-text a { font-size: 0.9rem; color: var(--text-muted); }
.contact-detail-text a:hover { color: var(--primary); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 110px; resize: vertical; }

/* ---- About ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 32px; border-radius: var(--radius-lg); }
.mv-card.mission { background: var(--primary); color: var(--white); }
.mv-card.vision { background: var(--accent); color: var(--white); }
.mv-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.3rem; }
.mv-card p { color: rgba(255,255,255,0.9); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; text-align: center; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--border); }
.value-icon { font-size: 2.4rem; margin-bottom: 12px; }

/* ---- Admin ---- */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--primary); color: var(--white);
  padding: 0; position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; z-index: 100; flex-shrink: 0;
}
.sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 12px; }
.sidebar-brand img { height: 36px; }
.sidebar-brand span { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }
.sidebar-nav { padding: 12px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; color: rgba(255,255,255,0.75); font-size: 0.9rem;
  transition: all var(--transition); border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.08); color: var(--white); border-left-color: var(--accent);
}
.sidebar-nav a .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-main { margin-left: 260px; flex: 1; padding: 0; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 32px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar h1 { font-size: 1.2rem; color: var(--primary); }
.admin-content { padding: 32px; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.admin-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.admin-form-group { margin-bottom: 16px; }
.admin-form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.admin-form-group input, .admin-form-group textarea, .admin-form-group select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color var(--transition);
}
.admin-form-group input:focus, .admin-form-group textarea:focus, .admin-form-group select:focus {
  outline: none; border-color: var(--primary);
}
.admin-form-group textarea { min-height: 90px; resize: vertical; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.save-btn {
  background: var(--primary); color: var(--white); padding: 12px 28px;
  border-radius: 8px; border: none; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.95rem; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.save-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.save-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Progress bar */
.upload-progress { background: var(--border); border-radius: 50px; height: 8px; margin: 8px 0; overflow: hidden; display: none; }
.upload-progress-bar { height: 100%; background: var(--accent); border-radius: 50px; transition: width 0.3s; width: 0; }
.img-preview { width: 100%; max-height: 180px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); margin-top: 10px; display: none; }

/* Login Screen */
#login-screen {
  position: fixed; inset: 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.login-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 400px; text-align: center; box-shadow: var(--shadow-lg); }
.login-card img { height: 50px; margin: 0 auto 20px; }
.login-card h2 { color: var(--primary); margin-bottom: 6px; }
.login-card p { margin-bottom: 28px; }
.login-card .form-group { text-align: left; }
.login-error { color: #e53e3e; font-size: 0.85rem; margin-top: 8px; display: none; }
.login-countdown { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; display: none; }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  padding: 14px 28px; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-lg); z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.toast.show { opacity: 1; pointer-events: auto; }
.toast.success { background: var(--accent); color: var(--white); }
.toast.error { background: #e53e3e; color: var(--white); }

/* Dashboard stats */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.dash-stat { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; }
.dash-stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); }
.dash-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ---- Animations / Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { 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; }

/* ---- 404 ---- */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-code { font-family: var(--font-heading); font-size: 8rem; font-weight: 800; color: var(--primary); opacity: 0.12; line-height: 1; }
.error-msg h2 { color: var(--primary); margin-bottom: 12px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo { flex-direction: row; align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-btns, .hero-stats { justify-content: center; }
  .hero-bottle { width: 200px; }
  .pricing-grid, .why-grid, .services-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: scale(1); }
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .mission-vision, .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main { margin-left: 0; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .admin-grid-2, .admin-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .trust-items { gap: 20px; }
  .hero-stats { gap: 20px; }
}

/* ── Bottle Carousel ─────────────────────────────────────────────────────── */
/* Hero content hidden while Firebase data loads — prevents hardcoded flash */
.hero-loading {
  opacity: 0;
  pointer-events: none;
}

.bottle-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* All non-active slides: hidden, shifted down */
.bottle-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(22px) scale(0.93);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1),
              transform 0.65s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

/* Pre-active: staged in place but still invisible — no transform jump on reveal */
.bottle-slide.pre-active {
  opacity: 0;
  transform: translateY(0) scale(1);
  transition: none;
}

/* Active slide: fully visible, takes up space in flow */
.bottle-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.bottle-slide img {
  animation: floatBottle 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 48px rgba(0,58,140,0.22));
  max-width: 260px;
  width: 100%;
}

/* Dot indicators */
.bottle-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.bottle-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(0,58,140,0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
  outline: none;
}

.bottle-dot.active {
  background: var(--primary, #003a8c);
  transform: scale(1.3);
}

.bottle-dot:hover { background: var(--primary, #003a8c); opacity: 0.7; }

@media (max-width: 768px) {
  .bottle-slide img { max-width: 180px; }
}

/* ========================================================
   SIPVERTISE PRELOADER
   ======================================================== */

#sip-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(145deg, #001f5c 0%, #003A8C 50%, #00276b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), visibility 0.6s;
  overflow: hidden;
}

#sip-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Animated background bubbles */
#sip-preloader::before,
#sip-preloader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(88,181,49,0.08);
  animation: bubbleFloat 6s ease-in-out infinite;
}
#sip-preloader::before {
  width: 500px; height: 500px;
  top: -200px; left: -150px;
  animation-delay: 0s;
}
#sip-preloader::after {
  width: 350px; height: 350px;
  bottom: -120px; right: -80px;
  animation-delay: -3s;
}
@keyframes bubbleFloat {
  0%,100% { transform: scale(1) translate(0,0); }
  50%      { transform: scale(1.08) translate(20px,-20px); }
}

/* Bottle wrapper */
.preloader-bottle-wrap {
  position: relative;
  width: 160px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* Glow ring behind bottle */
.preloader-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,181,49,0.35) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
  bottom: 10px;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.3); opacity: 1; }
}

/* Orbit ring */
.preloader-orbit {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1.5px dashed rgba(88,181,49,0.4);
  animation: orbitSpin 8s linear infinite;
  bottom: 0;
}
.preloader-orbit::before {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* The bottle image */
.preloader-bottle {
  width: 110px;
  position: relative;
  z-index: 2;
  animation: preloaderFloat 2.4s ease-in-out infinite;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,0.4));
}
@keyframes preloaderFloat {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50%      { transform: translateY(-22px) rotate(2deg); }
}

/* Water fill effect below bottle */
.preloader-water {
  position: absolute;
  bottom: -2px;
  width: 120px;
  height: 40px;
  overflow: hidden;
  border-radius: 0 0 60px 60px;
  opacity: 0.18;
}
.preloader-water::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  background: var(--accent);
  border-radius: 40%;
  animation: waveRoll 2s linear infinite;
  top: 10px; left: -50%;
}
@keyframes waveRoll { to { transform: translateX(50%) rotate(360deg); } }

/* Brand name */
.preloader-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 4px;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.3s ease forwards;
}
.preloader-brand span {
  color: var(--accent);
}

/* Tagline */
.preloader-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.5s ease forwards;
}

/* Progress bar */
.preloader-bar-wrap {
  margin-top: 40px;
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.7s ease forwards;
}
.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #a8e87a);
  border-radius: 99px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(88,181,49,0.6);
}

/* Dots loader */
.preloader-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.9s ease forwards;
}
.preloader-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: dotBounce 1.2s ease-in-out infinite;
}
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%,100% { transform: translateY(0); background: rgba(255,255,255,0.3); }
  50%      { transform: translateY(-8px); background: var(--accent); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ripple particles */
.preloader-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleDrift linear infinite;
  opacity: 0;
}
@keyframes particleDrift {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL CARDS — grid layout, dissolve images
   ═══════════════════════════════════════════════════════════ */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail-card:last-child { margin-bottom: 40px; }
.service-detail-text { direction: ltr; }
.service-detail-visual { direction: ltr; text-align: center; }

/* Dissolve bottle images */
.service-img-slot {
  position: relative;
  width: 220px;
  height: 320px;
  margin: 0 auto;
}
.service-bottle-img {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 220px;
  filter: drop-shadow(0 16px 40px rgba(0,58,140,0.2));
  animation: floatBottle 4s ease-in-out infinite;
}
/* Dissolve versions */
.service-dissolve {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.service-dissolve.active {
  opacity: 1;
}

/* Digital service visual */
.digital-service-visual {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.digital-icon-wrap {
  font-size: 5rem;
  position: relative;
  z-index: 2;
  animation: floatBottle 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(0,58,140,0.15));
}
.digital-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,181,49,0.18) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   PRICING CARDS — pop-in animation on data load
   ═══════════════════════════════════════════════════════════ */
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.85) translateY(24px); }
  70%  { opacity: 1; transform: scale(1.03) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.pricing-card.pop-in {
  opacity: 0;
  animation: popIn 0.5s cubic-bezier(.34,1.56,.64,1) forwards;
}
/* Featured card gets a slightly bigger pop */
.pricing-card.featured.pop-in {
  animation: popIn 0.55s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — stack services on mobile
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .service-detail-card {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 32px;
    margin-bottom: 56px;
  }
  .service-detail-visual { order: -1; }
  .service-img-slot { height: 200px; width: 160px; }
  .service-bottle-img { width: 160px; }
  .digital-service-visual { width: 160px; height: 160px; }
  .digital-icon-wrap { font-size: 3.5rem; }
}

/* ── Hero bottle dissolve carousel ── */
.bottle-carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dissolve {
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s ease;
  animation: floatBottle 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 48px rgba(0,58,140,0.22));
  max-width: 260px;
  width: 100%;
}
.hero-dissolve.active {
  opacity: 1;
  position: relative;
}