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

/* ================================================
   DESIGN TOKENS
   Charcoal : #0e1e2e  (headings, footer bg, icons)
   Navy     : #0150b9  (CTA buttons, hover, accents)
   White    : #FFFFFF  (page background, card bg)
   Body text: #4a5568  (paragraph / muted text)
================================================ */
:root {
  --white:        #FFFFFF;
  --charcoal:     #0e1e2e;
  --navy:         #0150b9;
  --navy-hover:   #0143a0;
  --light-gray:   #f4f6fb;
  --border-color: #e2e8f0;
  --text-body:    #4a5568;
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --transition:   all 0.3s ease-in-out;
}

/* ================================================
   BASE
================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.25;
}

p { font-family: var(--font-body); color: var(--text-body); }

a { text-decoration: none; transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* ================================================
   UTILITIES
================================================ */
.text-navy    { color: var(--navy)     !important; }
.bg-navy      { background-color: var(--navy)     !important; }
.text-charcoal{ color: var(--charcoal) !important; }
.bg-charcoal  { background-color: var(--charcoal) !important; }

.section-padding { padding: 80px 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ================================================
   BUTTONS  — Navy CTA
================================================ */
.btn-primary-custom {
  background-color: var(--navy);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.btn-primary-custom:hover {
  background-color: var(--navy-hover);
  border-color: var(--navy-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 80, 185, 0.35);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--navy);
  padding: 12px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--navy);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.btn-outline-custom:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 80, 185, 0.25);
}

/* ================================================
   NAVBAR
================================================ */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(14, 30, 46, 0.06);
  transition: var(--transition);
  padding: 16px 0;
}

.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  animation: slideDown 0.45s ease-in-out;
  box-shadow: 0 4px 20px rgba(14, 30, 46, 0.12);
  padding: 10px 0;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--charcoal) !important;
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--navy); }

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal) !important;
  margin: 0 8px;
  padding: 6px 2px;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--navy) !important; }

.nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--navy);
  bottom: 0;
  left: 0;
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover::before,
.nav-link.active::before { width: 100%; }

/* Dropdown Hover & Caret Styling */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
.dropdown-toggle::after {
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(14, 30, 46, 0.1);
  border-radius: 8px;
  padding: 8px 0;
}
.dropdown-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 10px 20px;
  transition: var(--transition);
}
.dropdown-item:hover {
  background-color: rgba(1, 80, 185, 0.06);
  color: var(--navy);
}

/* ================================================
   HERO SECTION  — white background, charcoal heading
================================================ */
.hero-section {
  padding: 130px 0 100px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  /* background: var(--light-gray); */
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(14, 30, 46, 0.15);
  line-height: 0; /* removes bottom gap caused by inline images */
}

.hero-banner-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.hero-img-wrap:hover .hero-banner-img {
  transform: scale(1.03);
}

/* keep old placeholder usable for other pages */
.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--light-gray);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  border: 2px dashed var(--border-color);
}
.hero-image-placeholder i {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #cbd5e1;
}

/* ================================================
   CARDS  — white bg, charcoal text, navy hover border
================================================ */
.custom-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(14, 30, 46, 0.06);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}
.custom-card:hover {
  transform: translateY(-8px);
  border-color: var(--navy);
  box-shadow: 0 12px 32px rgba(1, 80, 185, 0.12);
}

/* card headings — charcoal */
.custom-card h4,
.custom-card h5 {
  color: var(--charcoal);
  font-family: var(--font-heading);
}
/* card body text — standard body color */
.custom-card p {
  font-family: var(--font-body);
  color: var(--text-body);
}

/* card icon — charcoal tint bg, charcoal icon; navy on hover */
.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 30, 46, 0.07);
  color: var(--charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.custom-card:hover .card-icon {
  background: var(--navy);
  color: var(--white);
}

/* ================================================
   PRODUCT CARDS
================================================ */
.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 30, 46, 0.06);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy);
  box-shadow: 0 12px 32px rgba(1, 80, 185, 0.12);
}

.product-img-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--light-gray);
  display: block;
  color: #94a3b8;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.product-img-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #cbd5e1;
}
.product-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-content { padding: 25px; }

.product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.product-content p {
  font-family: var(--font-body);
  color: var(--text-body);
  font-size: 0.95rem;
}
.product-content a {
  font-family: var(--font-body);
  color: var(--navy);
  font-weight: 600;
}
.product-content a:hover { color: var(--navy-hover); }

/* ================================================
   CTA BANNER  — navy background
================================================ */
.cta-banner {
  background-color: var(--navy);
  padding: 70px 0;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  font-family: var(--font-heading);
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
}

/* ================================================
   FOOTER  — charcoal (#0e1e2e) bg, white text, navy highlights
================================================ */
.footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 80px 0 20px;
}

/* brand heading inside footer */
.footer h3 {
  font-family: var(--font-heading);
  color: var(--white);
}
.footer h3 span { color: var(--navy); }

.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--navy);    /* navy highlight underline */
  border-radius: 2px;
}

.footer p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.75;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact i {
  color: var(--navy);   /* navy icon highlight */
  margin-right: 14px;
  margin-top: 4px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Social icons in footer */
.footer a.text-white:hover {
  color: var(--navy) !important;
  transform: scale(1.15);
  display: inline-block;
}

/* ================================================
   FLOATING BUTTONS
================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--navy);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background-color: var(--navy-hover);
  color: #fff;
  transform: translateY(-3px);
}

/* ================================================
   ANIMATIONS
================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   STATS COUNTER
================================================ */
.stat-card { text-align: center; padding: 30px; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.stat-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ================================================
   PAGE HEADER (inner pages)  — charcoal bg, white text
================================================ */
.page-header {
  padding: 120px 0 90px;
  background-color: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 30, 46, 0.7), rgba(14, 30, 46, 0.8));
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.page-header p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================================================
   TABLE
================================================ */
.table-custom {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 30, 46, 0.06);
}
.table-custom th {
  background-color: var(--charcoal);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  border: none;
  padding: 14px 18px;
}
.table-custom td {
  font-family: var(--font-body);
  color: var(--text-body);
  padding: 13px 18px;
  vertical-align: middle;
  border-color: var(--border-color);
}
