:root {
  --primary-color: #025071;
  --secondary-color: #c1e8fb;
  --optional1: #a9dff6;
  --optional2: #4dc6f2;
  --optional3: #47c4f1;
  --optional4: #0aa2dd;
}

/* Global */
body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 999;
}
.navbar.scrolled {
  background-color: var(--primary-color);
}
.navbar a.nav-link {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s;
}
.navbar.scrolled a.nav-link {
  color: #fff !important;
}
.navbar a.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Navbar Logo */
.navbar-brand img {
  height: 50px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/assets/images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}
.hero h1 {
  font-weight: 700;
  font-size: 3rem;
}
.hero .btn-primary {
  background-color: var(--secondary-color);
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: 0.3s;
}
.hero .btn-primary:hover {
  background-color: var(--optional2);
  color: white;
}

/* Section Titles */
h2.section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}
h2.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
}

/* WhatsApp Button */
.whatsapp-btn {
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
}
.whatsapp-btn:hover {
  background-color: #1ebe5b;
  color: white;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 0;
}
footer a {
  color: var(--secondary-color);
}
footer a:hover {
  color: var(--optional3);
  text-decoration: none;
}

/* PRODUCT / APPLICATION */
.related-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 80, 113, 0.6); /* Brand color semi-transparent */
  opacity: 0;
  transition: opacity 0.3s;
}

.related-card:hover .overlay {
  opacity: 1;
}

/* Text inside overlay */
.overlay h6 {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.4;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}