/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.top-bar {
  background: #0b4da2;
  color: #fff;
  font-size: 13px;
}

.top-flex {
  display: flex;
  justify-content: space-between;
  padding: 6px 20px;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo strong {
  font-size: 20px;
  color: #0b4da2;
}

.logo small {
  font-size: 12px;
  color: #666;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff9800;
}

.nav-cta {
  background: #ff9800;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  background: #0b4da2;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
}

/* ================= GRID & CARDS ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 8px;
  color: #444;
}

.icon {
  font-size: 34px;
  color: #0b4da2;
  margin-bottom: 14px;
}

/* ================= TABLE ================= */
table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

/* ================= CTA ================= */
.cta {
  background: #0b4da2;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.cta .btn {
  display: inline-block;
  margin-top: 20px;
  background: #ff9800;
  color: #000;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 600;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #0f0f0f;
  color: #aaa;
  padding: 50px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #777;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .nav-links.show {
    display: flex;
  }
}

/* ---------- Card Hover Effect ---------- */
/* ================= CARD BASE ================= */
.card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  overflow: hidden;
}

/* ================= CARD HOVER ================= */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  border-color: #0b5ed7;
}

.card h3:hover {
    margin-bottom: 8px;
    color: #0b5ed7;
}

/* ================= TOP ACCENT LINE ================= */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #0b5ed7;
  transition: width 0.4s ease;
}

.card:hover::before {
  width: 100%;
}

/* ================= ICON ANIMATION ================= */
.card .icon {
  font-size: 34px;
  color: #444;
  transition: 
    transform 0.4s ease,
    color 0.4s ease;
}

.card:hover .icon {
  transform: scale(1.15) rotate(-3deg);
  color: #0b5ed7;
}

.card:hover h3 {
  transform: scale(1.15) rotate(-3deg);
  color: #0b5ed7;
}

/* ================= TEXT FADE-UP ================= */
.card h3,
.card p,
.card a {
  transition: transform 0.4s ease;
}

.card:hover h3 {
  transform: translateY(-2px);
}

.card:hover p {
  transform: translateY(-2px);
}

/* ================= LINK ================= */
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: #0b5ed7;
}

.card-link::after {
  content: " →";
  transition: transform 0.3s ease;
}

.card:hover .card-link::after {
  transform: translateX(6px);
}

.container {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.container.visible {
  opacity: 1;
  transform: translateY(0);
}

.main-nav a.active {
  color: #0b5ed7;
  font-weight: 600;
  border-bottom: 2px solid #0b5ed7;
}