/* ============================================================
   Vasulal International — Public Site CSS
   Brand: Navy #354574, Khaki/Tan #8B7355, Gold #C9A84C
============================================================ */

:root {
  --brand-navy: #354574;
  --brand-khaki: #8B7355;
  --brand-gold: #C9A84C;
  --brand-dark: #1e2d4f;
  --light-bg: #F7F8FC;
  --text-dark: #2c3e50;
}

html { font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  margin: 0;
}

/* ---- Topbar ---- */
.topbar { background: var(--brand-navy); font-size: 0.8rem; }

/* ---- Navbar ---- */
.site-navbar {
  background: #fff;
  border-bottom: 1px solid #e8ecf4;
}
.brand-text { font-size: 1.15rem; font-weight: 700; color: var(--brand-navy); letter-spacing: -0.3px; }
.brand-accent { color: var(--brand-khaki); }

.site-navbar .nav-link {
  color: var(--text-dark) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  background: var(--light-bg);
  color: var(--brand-navy) !important;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(21, 32, 60, 0.82) 0%,
    rgba(21, 32, 60, 0.65) 50%,
    rgba(21, 32, 60, 0.35) 100%
  );
}
.hero-content { position: relative; z-index: 1; padding: 4rem 1rem; }
.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 520px;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-navy));
}

/* ---- Stats Bar ---- */
.stats-bar { background: var(--brand-navy); }
.stat-item { }
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- Section Tags ---- */
.section-tag {
  display: inline-block;
  background: rgba(53,69,116,0.08);
  color: var(--brand-navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.section-tag-light {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.section-title { font-size: 2rem; font-weight: 800; color: var(--brand-navy); margin-bottom: 1rem; }

/* ---- About image ---- */
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  display: block;
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--brand-khaki);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* ---- Category Cards ---- */
.category-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf4;
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(53,69,116,0.15); }
.category-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--light-bg);
  position: relative;
}
.category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-placeholder, .product-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-khaki));
  display: flex; align-items: center; justify-content: center;
}
.category-card-body { padding: 1.25rem; flex: 1; }
.category-card-body h5 { color: var(--brand-navy); font-weight: 700; margin-bottom: 0.5rem; }
.category-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--brand-navy); color: #fff;
  font-size: 0.7rem; padding: 3px 10px; border-radius: 20px;
}

/* ---- Product Cards ---- */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8ecf4;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(53,69,116,0.12); }
.product-card-img { height: 200px; overflow: hidden; background: var(--light-bg); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-placeholder-lg { background: linear-gradient(135deg, var(--brand-navy), var(--brand-khaki)); }
.product-name { font-weight: 600; color: var(--brand-navy); margin-bottom: 0.3rem; }
.product-desc { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---- Service Cards ---- */
.service-card {
  border-radius: 16px;
  border: 1px solid #e8ecf4;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(53,69,116,0.1); border-color: var(--brand-navy); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-khaki));
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
  margin: 0 auto;
}

/* ---- Clients Section ---- */
.clients-section { background: linear-gradient(135deg, var(--brand-dark), var(--brand-navy)); }
.client-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.client-card:hover { background: rgba(255,255,255,0.15); }
.client-name { color: #fff; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.client-country { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* ---- CTA Box ---- */
.cta-box {
  background: var(--light-bg);
  border-radius: 20px;
  border: 1px solid #e8ecf4;
}

/* ---- About stat cards ---- */
.about-stat-card {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-dark));
  color: #fff;
}
.stat-big { font-size: 2rem; font-weight: 800; color: var(--brand-gold); }
.stat-label-sm { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---- Vision/Mission cards ---- */
.vm-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e8ecf4;
  transition: box-shadow 0.25s;
}
.vm-card:hover { box-shadow: 0 12px 30px rgba(53,69,116,0.1); }
.vm-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-khaki));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
}
.vm-card h3 { color: var(--brand-navy); font-weight: 700; }

/* ---- Quality & Pillar cards ---- */
.quality-card { background: var(--light-bg); border: 1px solid #e8ecf4; }
.quality-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-gold));
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; margin: 0 auto;
}
.pillar-card { background: #fff; border: 1px solid #e8ecf4; border-radius: 16px; }
.pillar-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-khaki));
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; margin: 0 auto;
}

/* ---- Contact ---- */
.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-navy); font-size: 1rem;
}
.contact-form-card { background: var(--light-bg); border: 1px solid #e8ecf4; }

/* ---- Sidebar (products category page) ---- */
.sidebar-card { background: var(--light-bg); border: 1px solid #e8ecf4; }
.sidebar-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dark); font-weight: 700; }
.sidebar-cat-list { }
.sidebar-cat-link {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text-dark); text-decoration: none; font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.sidebar-cat-link:hover { background: #e8ecf4; }
.sidebar-cat-link.active { background: var(--brand-navy); color: #fff; font-weight: 600; }

/* ---- Buttons ---- */
.btn-brand {
  background: var(--brand-navy);
  color: #fff;
  border: 2px solid var(--brand-navy);
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-brand-outline {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 6px;
  padding: 4px 12px;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-brand-outline:hover { background: var(--brand-navy); color: #fff; }

.text-brand { color: var(--brand-navy) !important; }

/* ---- Footer ---- */
.site-footer { background: #0d1629; }
.footer-heading { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--brand-gold); font-weight: 700; margin-bottom: 1rem; }
.site-footer .text-muted { color: rgba(255,255,255,0.65) !important; }
.footer-links { }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; display: block; margin-bottom: 6px; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-gold); }
.footer-contact li { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 8px; }
.footer-contact i { color: var(--brand-gold); }
.footer-bottom { border-color: rgba(255,255,255,0.08) !important; }