/* NAVBAR */
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 200px;
  height:100px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

nav ul li a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  font-size: 15px;
}

.btn-primary {
  background: #f97316;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
/* FORCE MOBILE NAV TO WORK */
@media (max-width: 768px) {

  header {
    position: relative;
    z-index: 1000;
  }

  .navbar {
    position: relative;
    z-index: 1000;
  }

  .menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  nav ul.show {
    display: flex;
  }
}

/*-----------------------------------Footer--------------------------------------------*/
/* ================= FOOTER ================= */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 70px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

/* Brand */
.footer-brand h3 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5f5;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 14px;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

/* Social Icons */
.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Email */
.footer-email {
  font-size: 14px;
  color: #cbd5f5;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}




/*----------------------------------------BLOG HERO------------------------------------*/
.blog-hero {
  background: linear-gradient(135deg, #eef6ff, #f8fbff);
  padding: 140px 20px 90px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.blog-hero p {
  font-size: 16px;
  color: #475569;
}

/* FEATURED BLOG */
.featured-blog {
  padding: 60px 20px;
  background: #ffffff;
}

.featured-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.featured-text h2 {
  font-size: 28px;
  color: #1e3a8a;
  margin: 12px 0;
}

.featured-text p {
  color: #64748b;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
}

.featured-image img {
  width: 100%;
  max-width: 420px;
}

/* BLOG TAGS */
.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: #e0e7ff;
  color: #3730a3;
}

.blog-tag.green { background: #dcfce7; color: #166534; }
.blog-tag.orange { background: #ffedd5; color: #9a3412; }
.blog-tag.blue { background: #dbeafe; color: #1e40af; }
.blog-tag.purple { background: #ede9fe; color: #5b21b6; }
.blog-tag.red { background: #fee2e2; color: #991b1b; }

/* BLOG GRID */
.blog-section {
  padding: 70px 20px 90px;
}

.blog-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 22px;
}

.blog-content h3 {
  font-size: 18px;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.blog-content p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
}

.read-more {
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .featured-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
