:root {
  --vc-green: #4c8c2b;
  --vc-green-dark: #3b6e20;
  --vc-teal: #1a5f5c;
  --vc-navy: #0d2c4e;
  --vc-navy-dark: #081b31;
  --vc-blue: #1c6fa8;
  --vc-light: #f4f9f4;
  --vc-gray: #6c7a89;
  --radius: 16px;
}

body {
  font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
  color: #263238;
  background: #fff;
}

a { text-decoration: none; }
.section-pad { padding: 70px 0; }
.rounded-card { border-radius: var(--radius); overflow: hidden; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--vc-light);
  font-size: 0.85rem;
  padding: 6px 0;
  color: var(--vc-teal);
  border-bottom: 1px solid #e6efe6;
}
.topbar a { color: var(--vc-teal); margin-left: 18px; }

/* ---------- Navbar ---------- */
.navbar-vc {
  padding: 14px 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.navbar-vc .navbar-brand { display: flex; align-items: center; gap: 10px; }
.navbar-vc .navbar-brand .brand-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--vc-teal), var(--vc-navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
}
.navbar-vc .brand-text { line-height: 1.1; }
.navbar-vc .brand-text .brand-name { font-weight: 800; font-size: 1.4rem; color: var(--vc-navy); }
.navbar-vc .brand-text .brand-name span { color: var(--vc-green); }
.navbar-vc .brand-text small { color: var(--vc-gray); letter-spacing: 1px; font-size: 0.65rem; }
.navbar-vc .brand-logo-img { max-height: 54px; width: auto; display: block; }

/* ---------- Header title bar (editable via Admin > Website Settings) ---------- */
.header-title-bar {
  background: var(--vc-light);
  border-bottom: 1px solid #e6efe6;
  padding: 12px 0;
  text-align: center;
}
.header-title-bar .header-title-text {
  margin: 0; color: var(--vc-navy); font-weight: 600; font-size: 1rem; letter-spacing: .2px;
}

.navbar-vc .nav-link {
  font-weight: 600; color: var(--vc-navy) !important;
  padding: 0.5rem 1rem !important;
}
.navbar-vc .nav-link.active, .navbar-vc .nav-link:hover { color: var(--vc-green) !important; }

.btn-vc-primary {
  background: var(--vc-green); border-color: var(--vc-green); color: #fff;
  border-radius: 50px; font-weight: 600; padding: 10px 22px;
}
.btn-vc-primary:hover { background: var(--vc-green-dark); border-color: var(--vc-green-dark); color: #fff; }
.btn-vc-outline {
  background: transparent; border: 1.5px solid var(--vc-green); color: var(--vc-green-dark);
  border-radius: 50px; font-weight: 600; padding: 9px 22px;
}
.btn-vc-outline:hover { background: var(--vc-green); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #eef6ee 0%, #eaf3fb 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-weight: 800; font-size: 2.7rem; color: var(--vc-navy); line-height: 1.15; }
.hero h1 .highlight { color: var(--vc-green); display: block; }
.hero p.lead { color: var(--vc-gray); font-size: 1.05rem; max-width: 480px; }
.hero-img-wrap img { border-radius: var(--radius); }
.hero-feature { display: flex; align-items: center; gap: 10px; }
.hero-feature .icon-circle {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid #dfe9df;
  display: flex; align-items: center; justify-content: center; color: var(--vc-green); flex-shrink: 0;
}
.hero-feature small { display: block; color: var(--vc-gray); }
.hero-feature strong { font-size: 0.9rem; color: var(--vc-navy); }

/* ---------- Category cards ---------- */
.category-card {
  background: var(--vc-light);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.category-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.category-card .icon-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--vc-green);
  color: #fff; display: flex; align-items: center; justify-content: center; margin: -42px auto 10px;
  border: 3px solid #fff; position: relative; z-index: 2;
}
.category-card h6 { font-weight: 700; color: var(--vc-navy); margin-bottom: 2px; }
.category-card p { font-size: 0.82rem; color: var(--vc-gray); margin-bottom: 8px; }
.category-card .arrow-btn {
  width: 34px; height: 34px; border-radius: 50%; background: var(--vc-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Science strip ---------- */
.science-strip {
  background: linear-gradient(100deg, var(--vc-teal) 0%, var(--vc-blue) 100%);
  color: #fff; border-radius: var(--radius); overflow: hidden;
}
.science-strip .science-img { min-height: 100%; object-fit: cover; }
.science-strip .stat-box { text-align: center; padding: 10px; border-left: 1px solid rgba(255,255,255,0.2); }
.science-strip .stat-box h3 { font-weight: 800; margin-bottom: 0; }
.science-strip .stat-box small { opacity: 0.85; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--vc-navy); color: #fff; padding: 26px 0; }
.trust-strip .trust-item { display: flex; align-items: center; gap: 12px; }
.trust-strip .trust-item i { font-size: 1.5rem; color: var(--vc-green); }
.trust-strip small { display: block; color: #b7c4d6; }

/* ---------- Marquee ---------- */
.marquee-bar { background: var(--vc-green); color: #fff; padding: 8px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ---------- Product / generic cards ---------- */
.vc-card {
  border: 1px solid #eef1ee; border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; height: 100%; background: #fff;
}
.vc-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.vc-card img { width: 100%; height: 200px; object-fit: cover; }
.vc-card .vc-card-body { padding: 18px; }
.vc-card h6 { font-weight: 700; color: var(--vc-navy); }
.vc-card .badge-cat { background: var(--vc-light); color: var(--vc-teal); font-size: 0.72rem; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-weight: 800; color: var(--vc-navy); }
.section-title .underline { width: 60px; height: 4px; background: var(--vc-green); margin: 10px auto 0; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--vc-navy-dark); color: #cbd6e2; padding: 55px 0 0; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 18px; }
.site-footer a { color: #cbd6e2; }
.site-footer a:hover { color: var(--vc-green); }
.site-footer .social-icons a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center; margin-right: 8px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 30px; padding: 16px 0; font-size: 0.85rem; }

/* ---------- Floating widgets ---------- */
.floating-widgets { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: flex; flex-direction: column; gap: 12px; }
.fw-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; box-shadow: 0 6px 16px rgba(0,0,0,0.25); border: none; cursor: pointer;
}
.fw-call { background: var(--vc-navy); }
.fw-whatsapp { background: #25D366; }
.fw-chat { background: var(--vc-green); }

/* ---------- Chatbot ---------- */
.chatbot-window {
  position: fixed; right: 20px; bottom: 90px; width: 320px; max-height: 420px; z-index: 1060;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); overflow: hidden; display: none; flex-direction: column;
}
.chatbot-window.open { display: flex; }
.chatbot-header { background: var(--vc-green); color: #fff; padding: 14px; display: flex; justify-content: space-between; align-items: center; }
.chatbot-body { padding: 14px; overflow-y: auto; flex: 1; background: #f7f9f7; font-size: 0.9rem; }
.chatbot-msg { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; max-width: 85%; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.chatbot-input { display: flex; border-top: 1px solid #eee; }
.chatbot-input input { flex: 1; border: none; padding: 10px; font-size: 0.85rem; }
.chatbot-input button { background: var(--vc-green); color: #fff; border: none; padding: 0 16px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { background: linear-gradient(120deg, var(--vc-navy), var(--vc-teal)); color: #fff; padding: 55px 0; }
.page-header h1 { font-weight: 800; }
.page-header .breadcrumb-vc a { color: #cfe3d9; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 10px; border: 1px solid #dfe6df; padding: 10px 14px;
}
.form-control:focus, .form-select:focus { border-color: var(--vc-green); box-shadow: 0 0 0 0.2rem rgba(76,140,43,0.15); }

/* ---------- Contact page ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid #eef1ee;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  border-color: transparent;
}
.contact-info-card .contact-icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--vc-green), var(--vc-teal));
  color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-info-card h6 { font-weight: 700; color: var(--vc-navy); margin-bottom: 6px; }
.contact-info-card p { color: var(--vc-gray); font-size: 0.9rem; margin-bottom: 0; word-break: break-word; }
.contact-info-card a.stretched-link::after { content: ""; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(13,44,78,0.07);
  padding: 40px;
}
.contact-form-card h4 { color: var(--vc-navy); font-weight: 800; }
.contact-form-card .form-label { font-weight: 600; color: var(--vc-navy); font-size: 0.9rem; }
.contact-form-card .input-icon-wrap { position: relative; }
.contact-form-card .input-icon-wrap i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--vc-green);
}
.contact-form-card .input-icon-wrap .form-control { padding-left: 40px; }

.contact-side-card {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}
.contact-map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px rgba(13,44,78,0.07); }
.contact-hours-card {
  background: linear-gradient(135deg, var(--vc-navy), var(--vc-teal));
  color: #fff; border-radius: var(--radius); padding: 26px;
}
.contact-hours-card h6 { font-weight: 700; }
.contact-hours-card ul { list-style: none; padding: 0; margin: 0; }
.contact-hours-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.contact-hours-card li:last-child { border-bottom: none; }
.contact-hours-card .social-icons a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-right: 8px; margin-top: 14px;
}
.contact-hours-card .social-icons a:hover { background: var(--vc-green); }

/* ---------- Gallery ---------- */
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-cap {
  position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff; padding: 30px 12px 10px; font-size: 0.85rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .science-strip .stat-box { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); }
}
