/* RESET */
:root{
    --primary-bg: #EFEFF2;
    --secondary-bg: #ffffff;
    --primary-color: #EE1E7E;
    --icon-color: #6BAED6;
    --title-font: "Khaviax";
    --text-font: "source serif 4";
}

@font-face {
    font-family: "Khaviax";
    src: url("../assets/fonts/Khaviax.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "source serif 4";
    src: url("../assets/fonts/source-serif-pro/SourceSerifPro-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body{
  background: var(--primary-bg);
  color:#000;
  line-height:1.7;
  padding-top: 90px;
}

/* Navbar */
.custom-navbar {
  background: var(--secondary-bg);
  padding: 18px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar-logo {
  height: 68px;
}
.nav-link {
  color: #222 !important;
  font-family: var(--text-font);
  font-weight: 500;
  }
.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

 li .btn-donate {background: var(--primary-color); color: var(--primary-bg) !important; padding: 8px 18px; border-radius: 4px; font-weight: 600; font-family: var(--text-font);}
.blog-content p{
  text-align:justify;
}

.container{
  width:90%;
  max-width:1150px;
  margin:auto;
}
/* HERO */
.blog-hero{
  text-align:center;
  padding:100px 20px 60px;
  background:linear-gradient(to right,var(--primary-color) ,#FF69B4);
  color:white;
  border-radius:0 0 50% 50% / 0 0 10% 10%;
  box-shadow:0 15px 50px rgba(0,0,0,0.1);
}
.blog-hero h1{
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 50px;
  font-weight:700;
  margin-bottom:10px;
}
.blog-hero p{
  font-size:16px;
  max-width:650px;
  margin:auto;
  opacity:0.9;
}
/* SEARCH */
.search-box{
  text-align:center;
  margin:40px 0;
}
.search-box input{
  width:60%;
  max-width:500px;
  padding:14px 20px;
  border-radius:30px;
  border:1px solid #ddd;
  font-size:15px;
  transition:0.3s;
}
.search-box input:focus{
  outline:none;
  border-color:var(--primary-color);
  box-shadow:0 0 8px rgba(238,30,126,0.5);
}
/* FILTER BUTTONS */
.blog-filters{
  text-align:center;
  margin:30px 0;
}
.filter-btn{
  border:none;
  background: var(--primary-bg);
  padding:10px 18px;
  margin:6px;
  border-radius:25px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}
.filter-btn:hover,.filter-btn.active{
  background:var(--icon-color);
  color:#000;
  transform:translateY(-2px);
}
/* FEATURED POST */
.featured-post{
  background:var(--secondary-bg);
  padding:50px;
  border-radius:18px;
  margin-bottom:60px;
  box-shadow:0 15px 40px rgba(0,0,0,0.07);
  text-align:center;
}
.featured-post h2{
  margin:20px 0;
  font-size:30px;
  color:var(--primary-color);
  text-align:center;
}
.read-more-btn{
  display:inline-block;
  margin-top:15px;
  background:var(--icon-color);
  color: #000;
  padding:12px 22px;
  border-radius: 25px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}
.read-more-btn:hover{
  background:var(--primary-bg);
  transform:translateY(-2px);
}
/* BLOG GRID */
.blog-section{
  margin-bottom:80px;
  text-align:center;
}
.blog-section h2{
  color:var(--primary-color);
  font-family: var(--title-font);
  margin-bottom:25px;
  font-size:35px;
  font-weight: 700;
  text-align:center;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}
.blog-card{
  background:white;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
  transition:0.3s;
}
.blog-card:hover{
  transform:translateY(-6px);
}
.blog-card img{
  width:100%;
  height:210px;
  object-fit:cover;
  transition:0.4s;
}
.blog-card img:hover{
  transform:scale(1.05);
}
.blog-content{
  padding:20px;
}
.blog-content h3{
  margin:10px 0;
  color:#222;
}
.blog-content p{
  color:#444;
  font-size:14px;
}
.blog-badge{
  background:var(--icon-color);
  color:#000;
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
}
.blog-meta{
  display:flex;
  justify-content:space-between;
  margin-top:15px;
  font-size:14px;
}
.blog-meta a{
  color: var(--icon-color);
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}
.blog-meta a:hover{
  text-decoration:underline;
}
/* RESPONSIVE */
@media(max-width:768px){
  .blog-hero h1{font-size:30px;}
  .featured-post h2{font-size:24px;}
}