/* ===== BLOG PAGE STYLE ===== */
body {
  font-family: "Poppins", sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* 🌆 BLOG HERO */
.blog-hero {
  position: relative;
  height: 60vh;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.8), rgba(0, 0, 0, 0.9)),
              url("../image/blog-hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.blog-hero .hero-overlay {
  max-width: 700px;
  animation: fadeIn 1.8s ease;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00b4d8, #0077b6, #48cae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 🌟 FEATURED POST */
.featured-post {
  padding: 80px 10%;
  background: #121212;
  text-align: center;
}

.featured-card {
  background: linear-gradient(145deg, #141414, #1e1e1e);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 128, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

.featured-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 128, 255, 0.4);
}

.featured-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-bottom: 3px solid #0077b6;
}

.featured-content {
  padding: 30px;
}

.featured-content h2 a {
  color: #00b4d8;
  text-decoration: none;
  font-size: 1.8rem;
}

.featured-content h2 a:hover {
  color: #48cae4;
}

.featured-content p {
  color: #ccc;
  line-height: 1.7;
  margin-top: 10px;
}

.featured-content small {
  color: #888;
  display: block;
  margin-top: 10px;
}

.read-more a {
  display: inline-block;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  margin-top: 15px;
  text-decoration: none;
  transition: 0.3s ease;
}

.read-more a:hover {
  background: linear-gradient(90deg, #00b4d8, #48cae4);
  transform: translateY(-3px);
}

/* 📰 BLOG GRID */
.blog-list-section {
  padding: 80px 10%;
  background: #0b0b0b;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  background: linear-gradient(145deg, #141414, #1c1c1c);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 128, 255, 0.15);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(0, 128, 255, 0.3);
}

.blog-card img {
  width: 100%;
  height: 230px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 15px;
}

.blog-card h3 a {
  color: #00b4d8;
  text-decoration: none;
  font-size: 1.3rem;
}

.blog-card h3 a:hover {
  color: #48cae4;
}

.blog-card p {
  color: #bbb;
  line-height: 1.6;
  margin-top: 8px;
}

.blog-card small {
  color: #777;
  display: block;
  margin-top: 10px;
}

/* 🌍 FOOTER */
.modern-footer {
  background: #0a0a0a;
  padding: 60px 10% 20px;
  color: #ccc;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  border-bottom: 1px solid #1c1c1c;
  padding-bottom: 30px;
}

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
  color: #00b4d8;
  margin-bottom: 15px;
}

.footer-links a, .footer-contact a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
  color: #48cae4;
}

.social-links img {
  width: 35px;
  margin: 10px 10px 0 0;
  transition: 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: #777;
}

/* ✨ ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
