

/* CTA Section */
.cta-section {
  position: relative;
  background: #243377; /* dark blue */
  color: #fff;
  padding: 50px 10%;
  overflow: hidden;
  border-radius: 6px;

}

/* Container */
.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  z-index: 2;
  position: relative;
}

/* Text */
.cta-text h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 14px;
  color: #dcdcdc;
  max-width: 500px;
}

/* Button */
.btn-cta {
  background: #f4b400; /* yellow */
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta:hover {
  background: #e0a200;
}

/* Decorative Circle */
.cta-circle {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  z-index: 1;
}


/* Contact Us Banner */


.contact-banner .overlay {
  background: rgba(255, 255, 255, 0.6); /* transparent white overlay */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-banner h1 {
  font-size: 90px;
  font-weight: 500;
   color: #274186;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}



.blog-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
  font-family: "Helvetica", sans-serif;
}

/* Search */
.blog-search {
  text-align: center;
  margin-bottom: 30px;
}
.blog-search input {
  padding: 12px 20px;
  width: 300px;
  border: 2px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
}
.blog-search input:focus {
  border-color: #1a3b8d;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-content {
  padding: 15px;
  text-align: left;
}
.blog-category {
  font-size: 14px;
  font-weight: bold;
  color: #e5b52e;
  display: block;
  margin-bottom: 10px; /* increased from 5px to 10px */
  letter-spacing: 0.5px; /* optional: adds clarity */
}

.blog-title {
  font-size: 20px; /* slightly larger for visual balance */
  font-weight: bold;
  margin-bottom: 14px; /* increased from 8px to 14px for breathing space */
  color: #1a3b8d;
  line-height: 1.4; /* improves readability */
}

.blog-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* Banner Card */
.blog-banner {
  position: relative;
  grid-column: span 2;
}
.blog-banner img {
  height: 250px;
  object-fit: cover;
}
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 59, 141, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.banner-overlay h2 {
  margin-bottom: 15px;
}
.banner-overlay .btn {
  background: #e5b52e;
  padding: 8px 18px;
  border-radius: 25px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center; /* centers horizontally */
  margin-top: 30px;
  gap: 8px; /* optional: equal spacing between items */
  margin-bottom: 30px;
}
.pagination a {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}
.pagination a.active,
.pagination a:hover {
  background: #1a3b8d;
  color: #fff;
  border-color: #1a3b8d;
}



.read-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border:1px solid #3a4a8c;
  background: #ffffff; /* change to your theme color */
  color: #e5b52e;
  font-size: 14px;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: #2c376d; /* darker shade on hover */
}


.promo-banner {
  background: #d9f0ff; /* light blue */
  padding: 25px 40px;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
}

.promo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Logo */
.promo-logo img {
  max-height: 60px;
}

/* Text */
.promo-text {
  flex: 1;
  min-width: 250px;
}
.promo-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1a3b8d;
}
.promo-text p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

/* Button */
.promo-action {
  flex-shrink: 0;
}
.promo-btn {
  background: #e5b52e;
  color: #000;
  font-weight: bold;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.promo-btn:hover {
  background: #cfa728;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .promo-container {
    flex-direction: column;
    text-align: center;
  }
  .promo-logo img {
    margin-bottom: 15px;
  }
  .promo-action {
    margin-top: 15px;
  }
}
/* 🔹 Banner Styles */
.blog-banner {
  grid-column: 1 / -1;              /* full width */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e0f2ff;              /* light blue */
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  gap: 20px;
}

.blog-banner img {
  max-height: 60px;
  width: auto;
}

.banner-content {
  flex: 1;
  margin-left: 20px;
}

.banner-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a2a6c;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

.banner-btn {
  background: #f7b500;              /* yellow button */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  transition: 0.3s ease;
  white-space: nowrap;
}

.banner-btn:hover {
  background: #e09e00;
}

/* 🔹 Make responsive */
@media (max-width: 768px) {
  .blog-banner {
    flex-direction: column;
    text-align: center;
  }
  .banner-content {
    margin: 15px 0;
  }
}

