* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* NAVBAR */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: linear-gradient(135deg, #cbb4d4 0%, #43015b 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
  background: linear-gradient(135deg, #cbb4d4 0%, #43015b 100%);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 40px;
  gap: 40px;
  height: 100px;
  width: 100%;
}

.logo {
  background-image: url("../images/logoo.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 140px;
  width: 140px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #5a007a;
}

/* Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.hamburger:hover {
  color: #e3b9ff;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  list-style: none;
  background: #622079;
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 160px;
  left: 0;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu li a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 18px 40px;
  transition: all 0.3s ease;
}

.mobile-menu li a:hover {
  background: rgba(255,255,255,0.1);
  color: #e3b9ff;
}

.mobile-menu.show {
  display: flex;
}


/* Footer Section */
.footer {
  background: #43015b;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Brand */
.footer-col.brand h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-col.brand p {
  color: #e8d6f3;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Column Headings */
.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  position: relative;
}

/* Footer Links */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e8d6f3;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact Info */
.footer-col.contact p {
  margin-bottom: 8px;
  color: #e8d6f3;
}

.footer-col.contact a {
  color: #e8d6f3;
  text-decoration: none;
}

.footer-col.contact a:hover {
  color: #fff;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  color: #e0c8ef;
}

.blogs-container {
    display:grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px;
    padding: 40px 80px;
    margin-top: 130px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    overflow: hidden;
    width: 100%;           /* Take full width of the grid column */
  max-width: 100%;       /* Prevent overflow */
  box-sizing: border-box;
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.blog-card h3 {
    margin: 20px;
    font-size: 20px;
    color: #4b0082;
}

.blog-card p {
    margin: 0 20px;
    color: #555;
}

.read-more-btn {
    display: inline-block;
    margin: 20px;
    padding: 13px 35px;
    background: #43015b;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 1, 91, 0.3);
}

.read-more-btn:hover {
    background: #5e0d80;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 1, 91, 0.4);
}


@media (max-width: 1024px) {
  .blogs-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 40px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 10px 20px;
    gap: 20px;
    height: 80px;
  }

  .logo {
    height: 100px;
    width: 100px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
  }

  .mobile-menu.show {
    display: flex;
  }

  /* BLOGS CONTAINER */
  .blogs-container {
    grid-template-columns: repeat(1, 1fr);
    padding: 40px 20px;
    gap: 40px;
    margin-top: 80px;
  }

  .blog-card {
    padding-bottom: 15px;
  }

  .blog-card h3 {
    font-size: 18px;
    margin: 15px;
  }

  .blog-card p {
    margin: 0 15px;
    font-size: 14px;
  }

  .read-more-btn {
    padding: 11px 28px;
    font-size: 13px;
    margin: 15px;
  }

  /* FOOTER */
  .footer {
    text-align: center;
    padding: 30px 20px;
  }

  .footer-col ul li {
    margin-bottom: 12px;
  }
}





