/* ================== Global & Variables ================== */
:root {
  --primary-blue: #0d6efd;
  --accent-red: #ff0000;
  --dark-bg: #061730;
  --light-gray: #f4f6f8;
  --text-main: #333;
}

body {
  line-height: 1.6;
  color: var(--text-main);
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* ================== Navbar ================== */
.navbar {
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .nav-link {
  color: #111 !important;
  font-weight: 700;
  margin-left: 1rem;
  position: relative;
  transition: 0.3s;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--primary-blue) !important;
}

/* ================== Hero Section ================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ================== Process Steps Grid ================== */
h2.text-primary {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent-red);
  margin-bottom: 3rem !important;
}

.process-step {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fff;
  border-left: 5px solid transparent; /* Hidden until hover */
}

.process-step:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
  border-left: 5px solid var(--accent-red); /* Visual cue for the step */
}

.process-step .card-img-top {
  height: 300px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.process-step:hover .card-img-top {
  filter: brightness(1.1);
}

.process-step .card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.process-step .card-body p {
  color: #666;
  font-size: 1rem;
  text-align: left; /* Better for reading descriptions */
}

/* ================== Footer ================== */
footer.footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 4rem 0 2rem;
}

footer.footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

footer.footer h5::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-red);
  left: 0;
  bottom: 0;
}

footer.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: 0.3s;
}

footer.footer a:hover {
  color: var(--accent-red) !important;
  padding-left: 5px;
}

/* ================== Responsiveness ================== */
@media (max-width: 768px) {
  .hero { height: 50vh !important; }
  .process-step .card-img-top { height: 200px; }
  h2.text-primary { font-size: 2rem; }
}