body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
}



.edu-hero {
  position: relative;
  width: 100%;
  min-height: 90px;
  padding: 60px 5px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #f4fbff 50%,
   #5ECA86 100%
  );
}

/* Main Title */
.edu-hero h1 {
  font-size: clamp(1.8rem, 4vw, 1.9rem);
  font-weight: 700;
  color: black;
  max-width: 900px;
  line-height: 1.25;
  margin-bottom: 14px;

  opacity: 0;
  transform: translateY(40px); 
  animation: appearSlow 1.6s ease-out forwards;
}

@keyframes appearSlow {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breadcrumb */
.edu-breadcrumb {
  font-size: 0.95rem;
  color: #f9da39;
}

.edu-breadcrumb span {
  margin: 0 6px;
}

.edu-breadcrumb strong {
  color: #f9da39;
  font-weight: 600;
}

/* LEFT DOT PATTERN */
.edu-hero::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translateY(-50%);
  background-image: radial-gradient(#f9da39 1.6px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.9;
}

/* RIGHT CIRCLE */
.edu-hero::after {
  content: "";
  position: absolute;
  right: 50px;
  top: 55%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #f6a623;
  transform: translateY(-50%);
}



.blog-features-section {
    --side-padding: 16px;
    --max-content-width: 1240px;

    width: 100%;
    max-width: var(--max-content-width);
    margin: 50px auto;
    padding: 0 var(--side-padding);
    background: #ffffff;
    overflow-x: hidden;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
}

.blog-row-top {
    margin-bottom: 70px;
}

.blog-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.09);
    transition: 
        opacity 1.6s ease-out,
        transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(70px);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.14);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-container {
    width: 100%;
    height: 210px;
    background: #f3f4f6;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-date {
    font-size: 13px;
    color: #6b7280;
    padding: 16px 16px 6px;      
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 500;
}

.card-title {
    font-size: 19px;
    line-height: 1.38;
    color: #111827;
    padding: 0 16px 10px;      
    margin: 0;
    font-weight: 600;
}

.read-more-link {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #F373C5;
    text-decoration: none;
    padding: 0 16px 18px;   
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.read-more-link:hover {
    text-decoration: underline;
}





html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}



@media (max-width: 1024px) {
    .blog-features-section {
        --side-padding: 18px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-row-top {
        margin-bottom: 50px;
    }
}



/* MOBILE TWEAKS */
@media (max-width: 768px) {
  .edu-hero {
    padding: 70px 16px 60px;
  }

  .edu-hero::before {
    left: 15px;
    width: 80px;
    height: 80px;
  }

  .edu-hero::after {
    right: 18px;
    width: 22px;
    height: 22px;

  }

  .edu-hero h1 {
  font-size: clamp(1.8rem, 4vw, 1.9rem);
  font-weight: 700;
  color: black;
  max-width: 900px;
  line-height: 1.25;
 


  
}

}
@media (max-width: 640px) {
    .blog-features-section {
        --side-padding: 14px;           
        margin: 40px 0;
        padding: 0 var(--side-padding);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .blog-row-top {
        margin-bottom: 36px;
    }

    .blog-card {
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .image-container {
        height: 200px;                 
    }

    .category-date,
    .card-title,
    .read-more-link {
        padding-left: 14px;
        padding-right: 14px;          
    }

    .card-title {
        font-size: 17.5px;
    }
}

@media (max-width: 480px) {
    .blog-features-section {
        --side-padding: 12px;
    }

    .blog-grid {
        gap: 28px;
    }

    .image-container {
        height: 190px;
    }
}





