/* Hero Section */
.hero {
  height: 100vh;
  background: url("MAF_page-0001.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}
.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-animate {
  position: relative;
  font-weight: 500;
}
.nav-animate::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #dc3545;
  transition: width 0.3s ease;
}
.nav-animate:hover::after {
  width: 100%;
}

/* Service Cards (with background images) */
.service-card {
  border: none;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* dark overlay for readability */
  border-radius: 15px;
}
.service-card .card-body {
  position: relative;
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.service-card h5 {
  font-weight: bold;
  color: #fff;
}

/* Specific service backgrounds */
.printing-card {
  background-image: url('modern-printing-press-produces-multi-colored-printouts-accurately-generated-by-ai.jpg');
}
.ads-card {
  background-image: url('young-content-creator-girl-editing-video-her-laptop-working-from-home.jpg');
}
.webdev-card {
  background-image: url('programming-background-with-person-working-with-codes-computer.jpg');
}

/* Section separators */
section {
  position: relative;
  z-index: 1;
}
section::before {
  content: "";
  display: block;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05));
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  z-index: -1;
}

/* Footer */
footer {
  background: #111;
  color: #ddd;
  padding: 25px 0;
  border-top: 3px solid #dc3545;
}
