:root {
  --primary: #0199A6;
  --secondary-soft: #E8E8E8;
  --accent: #949494;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
  background-color: #fff;
}


.hero-logo {
  width: 450px;
  height: 300px;
  margin-top: 50px;
  object-fit: cover;   /* fills the box completely */
  border-radius: 1rem;
  background-color: #0199A6; /* fallback color for edges */
  display: block;
}
@media (max-width: 992px) {
  .hero-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
/*-------------------------------------------------------------

/* Brand Colors */
.text-primary-brand {
  color: var(--primary) !important;
}

.bg-secondary-soft {
  background-color: var(--secondary-soft) !important;
}

/* Buttons */
.btn-primary-brand {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transition: all 0.3s ease;
}

/* ✅ Keep same color, just add hover animation */
.btn-primary-brand:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  opacity: 1;
  transform: scale(1.05);
}

/* Outline Button */
.btn-outline-primary-brand {
  border-color: var(--primary);
  color: var(--primary);
  transition: all 0.3s ease;
}

/* ✅ Don’t invert colors */
.btn-outline-primary-brand:hover {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

/* Links */
.link-muted {
  color: var(--accent);
  text-decoration: none;
}

.link-muted:hover {
  color: #555;
}

/* Navbar */
/* ✅ Make the navbar use the primary brand color */
.navbar {
  background-color: var(--primary) !important;
}

/* Make the brand name and links white for contrast */
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}

/* Hover effect — slightly brighter white */
.navbar .nav-link:hover {
  color: #E8E8E8 !important;
}

/* Adjust active link (optional: brighter highlight) */
.navbar .nav-link.active {
  color: #E8E8E8 !important;
  font-weight: 600;
}


/* Hero section */
/* .hero {
  background: linear-gradient(180deg, rgba(1, 153, 166, 0.06), transparent 60%);
  padding: 60px 0;
} */

/* ✅ Updated sub-hero background with subtle brand tint */
.sub-hero {
  background: linear-gradient(180deg, #E8F6F7, white 80%);
  border-bottom: 1px solid #b8e1e3;
}

/* Cards */
.card .card-title {
  color: #222;
  transition: color 0.3s ease;
}

.card .card-text {
  color: #0199A6;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0.6rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Footer */
footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Rounding & Shadows */
.rounded-3 {
  border-radius: 1rem !important;
}

.rounded-4 {
  border-radius: 1.2rem !important;
}

.border {
  border: 1px solid #e9ecef !important;
}

.shadow-sm {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
}

/* Responsive */
@media (max-width: 575.98px) {
  .hero {
    padding: 40px 0;
  }
}

/* Smooth hover & transition animations */
.card,
.btn,
h5.card-title {
  transition: all 0.3s ease;
}

/* Card hover lift */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Card title hover color */
h5.card-title:hover {
  color: var(--primary);
}


/* ============================================================
   ACTIVE PAGE HIGHLIGHT (underline animation)
   ============================================================ */
.nav-link.active {
  color: #fff !important; /* keeps contrast on colored navbar */
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px; /* adjust underline position */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E8E8E8; /* soft white underline */
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease;
}

/* Smoothly show underline for active link */
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}
