/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= TOP HEADER ================= */
.top-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;

  background: rgba(0, 82, 204, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 25px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  min-height: 40px;
}

/* Left */
.top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.top-left a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Center */
.top-center {
  flex: 1;
  text-align: center;
}

.top-center p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0 10px;
}

/* Right */
.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-right a {
  color: #fff;
  font-size: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-right a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 6px;
    padding: 6px 12px;
    text-align: center;
  }

  .top-left,
  .top-right {
    justify-content: center;
  }

  .top-center p {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .top-center p {
    font-size: 11.5px;
  }
}
/* ================================
   BLOG PAGE HERO SECTION
================================ */

.blog-hero {
  width: 100%;
  height: 85vh;
  background: url("https://images.unsplash.com/photo-1588072432836-e10032774350")
    no-repeat center center / cover;
  position: relative;
  display: flex;
  align-items: center;
}

/* Dark overlay */
.blog-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(13, 71, 161, 0.85),
    rgba(13, 71, 161, 0.55)
  );
  display: flex;
  align-items: center;
}

/* Content */
.blog-hero-content {
  max-width: 900px;
  padding: 0 40px;
  color: #ffffff;
}

.blog-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-hero-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 700px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .blog-hero {
    height: 70vh;
  }

  .blog-hero-content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
  .blog-hero {
    height: 65vh;
  }

  .blog-hero-content {
    padding: 0 20px;
  }

  .blog-hero-content h1 {
    font-size: 1.9rem;
  }

  .blog-hero-content p {
    font-size: 1rem;
  }
}


/* ================================
   BLOG CARDS SECTION
================================ */

.blog-cards {
  padding: 80px 20px;
  background: #f9fafc;
  font-family: 'Poppins', sans-serif;
}

.blog-cards-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}

/* Image */
.blog-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Content */
.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-content h3 {
  font-size: 18px;
  color: #0d47a1;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Button */
.blog-btn {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 20px;
  background: #0d47a1;
  color: #ffffff;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.blog-btn:hover {
  background: #08306b;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
  .blog-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-cards-container {
    grid-template-columns: 1fr;
  }

  .blog-img img {
    height: 200px;
  }
}





/* FOOTER */

.footer {
  background: #0c0f1a;
  color: #dcdcdc;
  font-family: 'Poppins', sans-serif;
}

/* ===== STATE QUICK LINKS ===== */
.footer-states {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-states h4 {
  color: #1f4fd8;
  margin-bottom: 20px;
}

.state-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 30px;
}

.state-links a {
  color: #cccccc;
  font-size: 13px;
  text-decoration: none;
}

.state-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== MAIN GRID ===== */
.footer-grid {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* COMMON */
.footer-col h4 {
  color: #1f4fd8;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ffffff;
}

/* BRAND */
.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer-col h3 {
  color: #1f4fd8;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #1f4fd8;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #555;
}

.footer-bottom p {
  margin: 0 0 5px 0;
}

.footer-link {
  color: #1a5cff; /* crimson theme */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-link:hover {
  color: #1a5cff;
  text-decoration: underline;
}

.footer-links {
  font-size: 13px;
  color: #555;
}

.footer-links span {
  margin: 0 5px;
}




/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .state-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .state-links {
    grid-template-columns: 1fr;
  }
}
