/* Base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  height: 70vh;
  background-image: url("hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-content {
  background: rgba(0, 0, 0, 0.55);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.overlay { padding: 0 20px; }

.hero h1 { font-size: 3rem; margin: 0; text-shadow: 1px 1px 8px rgba(0,0,0,0.7); }
.hero p { font-size: 1.2rem; margin: 15px 0; text-shadow: 1px 1px 6px rgba(0,0,0,0.7); }

/* Hero zoom animation */
@keyframes zoomHero {
  0% { background-size: 100% auto; }
  50% { background-size: 105% auto; }
  100% { background-size: 100% auto; }
}
.cmp-image__image {
    width: 300px;
    height: 183px;
    object-fit: cover;
}
.2cmp-image__image {
    width: 90%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Hero button & fade-in */
.btn {
  background: #fff;
  color: #005eb8;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s all;
}

.btn:hover { background: #f4f4f4; color: #004080; transform: scale(1.05); }

/* Fade-in animation for hero text */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 1.2s forwards; }
.fade-in-delay-1 { animation-delay: 0.3s; }
.fade-in-delay-2 { animation-delay: 0.6s; }
.fade-in-delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Sections */
.section { padding: 60px 20px; max-width: 900px; margin: auto; }
.dark { background: #f4f6f8; }

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: rgb(221, 221, 231);
  padding: 30px;
  flex: 1 1 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  text-align: center;
  opacity: 0;              /* Start invisible for scroll animation */
  transform: translateY(20px);
  transition: transform 0.5s, box-shadow 0.5s, opacity 0.5s;
}

.card.visible {           /* When scrolled into view */
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  background-color: #111;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-section {
  margin: 10px;
  max-width: 250px;
}

.footer-section h3 {
  margin-bottom: 10px;
}

.footer a {
  color: #4da6ff;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 10px;
}
/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .cards { flex-direction: column; }
}