.blog-page {
  color: #333;
}
.blog-hero-slider {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.blog-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-slide h1{
  font-size: 3rem;
}

.slide-overlay {
  background-color: rgba(41, 0, 0, 0.5);
  color: #fff;
  padding: 20px;
  text-align: center;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.blog-cards {
  padding: 40px 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 80%;
  justify-self: center;
}
.blog-card {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.blog-card h3 {
  margin: 15px 0 5px;
  font-size: 1.2rem;
  color: #982223;
}
.blog-date {
  font-size: 0.8rem;
  color: #3a6493;
  margin-bottom: 10px;
}
.blog-card p {
  flex-grow: 1;
  margin-top: 2px;
}
.read-more {
  margin-top: 15px;
  color: #982223;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  text-decoration: none;
}
.read-more i {
  font-size: 14px;
}
.load-more {
  text-align: center;
  margin-top: 30px;
}
.load-more button {
  background: linear-gradient(to right, #4d7cb1, #982223);
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1);
}
.newsletter-signup {
  background: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
}
.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-signup h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.newsletter-signup p {
  font-size: 1rem;
  margin-bottom: 25px;
}
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.newsletter-signup input[type="email"] {
  padding: 15px 20px;
  width: 60%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.newsletter-signup button {
  background: linear-gradient(to right, #4d7cb1, #982223);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1);
}
.testimonials {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}
.testimonials h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.testimonial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}
.testimonial {
  background: #f8f8f8;
  padding: 40px 20px;
  border-radius: 10px;
  font-style: italic;
}

.testimonial img{
    border-radius: 50%;
    width: 80px;
}

@media (max-width: 768px) {
    .blog-grid{
        width: 100%;
    }

    .swiper-button-next:after, .swiper-button-prev:after{
      font-size: 15px !important;
    }

    .blog-slide h1{
  font-size: 1.5rem;
}

.blog-slide p{
  font-size: 12px;
}
}

.wave-divider2 {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider2 svg {
  display: block;
  width: 100%;
  height: auto;
}