/* =============================
   Global Reset & Base Styles
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #333;
  line-height: 1.7;
  background: #fafbfc;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 90px 0;
}
.text-center {
  text-center: center;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 38px;
  color: #1d2939;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title p {
  max-width: 650px;
  margin: 0 auto;
  color: #667085;
  font-size: 16px;
}

/* =============================
   Buttons
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #004faa, #0063d1);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,79,170,0.15);
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,79,170,0.2);
}
.btn-outline {
  background: transparent;
  border: 1px solid #004faa;
  color: #004faa;
}

/* =============================
   Header & Nav
============================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 26px;
  font-weight: 700;
  color: #004faa;
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav > li {
  position: relative;
  line-height: 80px;
}
.nav > li > a {
  font-weight: 500;
  color: #344054;
  font-size: 15px;
}
.nav > li > a:hover {
  color: #004faa;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
}
.dropdown li {
  line-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}
.dropdown li:hover {
  background: #f9fafb;
  color: #004faa;
}

/* =============================
   Banner
============================= */
.banner {
  height: 520px;
  background: linear-gradient(rgba(17,24,39,0.85), rgba(17,24,39,0.9)), url('https://picsum.photos/id/1068/1920/1080') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.banner h1 {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto 30px;
}
.inner-banner {
  height: 360px;
}

/* =============================
   Grid
============================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width:992px) {
  .grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:768px) {
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .banner h1 { font-size: 36px; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 28px; }
}

/* =============================
   Cards
============================= */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: all 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.card-body {
  padding: 26px;
}
.card-body h3 {
  font-size: 18px;
  color: #1d2939;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 14px;
  color: #667085;
  line-height: 1.6;
}

/* =============================
   Pagination
============================= */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 50px 0;
}
.pagination a, .pagination span {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-weight: 500;
}
.pagination a.active {
  background: #004faa;
  color: #fff;
  border-color: #004faa;
}
.pagination a:hover:not(.active) {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* =============================
   Prev / Next
============================= */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
  padding: 24px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.post-nav a {
  color: #004faa;
  font-weight: 600;
  font-size: 15px;
}
.post-nav a:hover {
  text-decoration: underline;
}

/* =============================
   Footer
============================= */
footer {
  background: #111827;
  color: #fff;
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 22px;
  color: #f9fafb;
}
.footer-col p, .footer-col a {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.8;
}
.footer-col a:hover {
  color: #3b82f6;
}
.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1f2937;
  color: #6b7280;
  font-size: 14px;
}
@media (max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}