/* Global Styles */
html {
  background-color: skyblue;
}

/* Background Container */
.container-bg {
  width: 100%;
  height: 100vh;
  background-image: url(media/Saka.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  
}

/* Optional Overlay for Better Readability */
.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Navbar Styles */
.navbar {
  padding: 10px;
}
.navbar-brand {
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.5s;
}
.navbar-brand span {
  color: #f9004d;
}
.navbar-brand:hover {
  color: #f9004d;
}
.navbar-nav .nav-link {
  font-size: 20px;
  transition: color 0.5s;
}
.navbar-nav .nav-link:hover {
  color: #f9004d;
}

/* Hero Section (Overlaying the Background Image) */
.hero-content {
  position: relative;
  z-index: 2; /* ensures content appears above the overlay */
  color: #fff;
  text-align: center;
  padding-top: 10%;
  max-width: 600px;
  margin: 0 auto;
}
.hero-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
}
.hero-content p {
  margin-top: 10px;
  line-height: 1.5;
}
.hero-content .btn {
  transition: background 0.3s, border 0.3s, color 0.3s;
  margin-top: 20px;
}
.hero-content .btn:hover {
  background: transparent;
  border: 1px solid #e32b2b;
  color: #fff;
}

/* Cards Section (Using Bootstrap Grid) */
.card-img-top {
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: #343a40;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container-bg {
    height: auto; /* Allows height to adjust based on content */
    padding-bottom: 20px;
  }
  
  .navbar-brand {
    font-size: 32px;
  }
  
  .navbar-nav .nav-link {
    font-size: 16px;
  }
  
  .hero-content {
    padding-top: 20%;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
}
