/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ===== BODY ===== */
body {
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
header {
  background: linear-gradient(90deg, #0A1F44, #123C7A);
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  position: relative;
  font-weight: bold;
  padding-bottom: 5px;
}

.navbar a:hover {
  color: #FFD700;
}

/* 🔵 NAVBAR UNDERLINE */
.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #2196f3;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

/* ===== HERO FINAL FIX ===== */
.hero {
  width: 100%;
  height: 60vh;

  background: url("./hero.jpg") no-repeat center;
  background-size: contain;   /* ✅ full image visible (laptop) */
  background-color: #f4f6f8;  /* ✅ side gap smooth */

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔥 MOBILE FIX */
@media (max-width: 480px) {
  .hero {
    height: 35vh;
    background-size: cover;  /* ✅ mobile full fill */
  }
}

/* ===== CONTAINER ===== */
.container {
  padding: 20px;
  max-width: 1100px;
  margin: auto;
}

/* ===== CARD ===== */
.card {
  width: 100%;
  margin: 15px auto;
  padding: 20px;

  border: 2px solid #e53935;
  border-radius: 12px;
  background: white;

  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
  animation: slideUp 0.8s ease;
}

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

/* ===== CARD HEADING FIX ===== */
.card h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* 🔥 SAME UNDERLINE FOR ALL */
.card h3::after {
  content: "";
  display: block;
  width: 120px;   /* ✅ equal size */
  height: 3px;
  background: #1976d2;
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .card {
    max-width: 95%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .card {
    max-width: 600px;
  }
}

@media (min-width: 769px) {
  .card {
    max-width: 650px;
  }
}

/* ===== HIGHLIGHT ===== */
.highlight {
  text-align: center;
  font-weight: bold;
  color: #0A1F44;
  margin-bottom: 20px;
  letter-spacing: 1px;
  animation: blink 2s infinite;
}

/* ===== BUTTON ===== */
button {
  background: linear-gradient(90deg, #0A1F44, #123C7A);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #FFD700;
  color: black;
}

/* ===== INPUT ===== */
input, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  display: inline-block;
  padding: 10px 15px;
  background: #25D366;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-btn:hover {
  background: #1ebc59;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes blink {
  50% {opacity: 0.5;}
}
