/* ==============================
   🔹 Navbar Top
============================== */
.navbar-top {
    height: 80px;
    width: 100%;
    background-color: #3b0b3b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: 150px;
}

.logo img {
    height: 50px;
    width: 150px;
    margin-left: 20px;
}

.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger div {
    height: 4px;
    background-color: white;
    border-radius: 2px;
}

.icon-size {
  font-size: 40px;
  color: #fff;
}

/* ==============================
   🔹 Navbar Banner
============================== */
.navbar {
    background-image: url("/frontend/images/news.png");
    height: 100px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
    display: none;
}

.navbar-shadow-box {
    height: 100%;
    background-color: #3b0b3b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.banner-heading {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

/* ==============================
   🔹 Body & Section
============================== */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #fff;
    margin: 0;
    padding: 0;
}

.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-section h2 {
    color: #32064E;
    margin-bottom: 20px;
    font-size: 24px;
}

/* ==============================
   🔹 News Grid & Cards
============================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-card {
    background: linear-gradient(135deg, #3b0c6b, #5c27a1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    box-shadow: 0px 0px 5px #5c27a1;
}

.viewAllBtn{
    text-decoration: none !important;
  background: #fff;
  width: fit-content;
  margin: 0 auto;
  padding: 2px 15px;
  color: #3b0b3b;
  border-radius: 20px;
}

.video-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
}

.card-text {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    background-color: rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 4px;
}

/* ==============================
   🔹 Pagination
============================== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 8px 12px;
    background-color: #3b0c6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button.active {
    background-color: #5c27a1;
}

.pagination button:hover {
    background-color: #5c27a1;
}

/* ==============================
   🔹 Footer
============================== */
.page-footer {
  padding: 30px;
  background-color: #552055;
  color: #fff;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
}

/* ==============================
   📱 Mobile Responsive
============================== */
@media (max-width: 768px) {

  .banner-heading {
      font-size: 28px;
      padding: 0 10px;
  }

  .navbar {
      height: 200px;
      padding: 0;
  }

  .news-section h2 {
      font-size: 20px;
      text-align: center;
  }

  .news-grid {
      grid-template-columns: 1fr;
      gap: 15px;
  }

  .news-card {
      min-height: 160px;
      padding: 8px;
  }

  .video-placeholder {
      height: 100px;
      font-size: 14px;
  }

  .card-text {
      font-size: 14px;
      padding: 4px;
  }

  .pagination button {
      padding: 6px 10px;
      font-size: 14px;
  }

  .logo img {
      width: 120px;
      height: auto;
      margin-left: 10px;
  }

  .hamburger {
      margin-right: 10px;
  }

}

/* Extra small screens */
@media (max-width: 480px) {

  .navbar {
      height: 180px;
  }

  .banner-heading {
      font-size: 22px;
  }

  .news-card {
      min-height: 140px;
  }

  .video-placeholder {
      height: 90px;
      font-size: 12px;
  }

  .card-text {
      font-size: 12px;
      padding: 3px;
  }

  .pagination button {
      padding: 5px 8px;
      font-size: 12px;
  }

  .logo img {
      width: 100px;
      height: auto;
  }
}
.offcanvas {
  width: 260px;
  background-color: #fff;
  border-right: 2px solid #ddd;
  transition: all 0.4s ease;
  font-family: 'Montserrat', sans-serif;
  max-width: 80% !important;
}

/* Header */
.offcanvas-header {
  background: linear-gradient(135deg, #3b0b3b, #6b006b);
  color: #fff;
  border-bottom: 2px solid #fff;
}

.offcanvas-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-close-white {
  filter: brightness(0) invert(1);
}
.offcanvas-body ul {
  margin-top: 20px;
  padding-left: 0;
}

.offcanvas-body ul li {
  margin-bottom: 14px;
  list-style: none;
}
.offcanvas-body ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #3b0b3b;
  font-weight: 600;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.offcanvas-body ul li a:hover {
  background-color: #f3e6f3;
  color: #6b006b;
  transform: translateX(5px);
}
.download-app {
  margin-top: 30px;
  padding: 20px;
  background: #f9f2fa;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e0cbe4;
}
.download-app i {
  font-size: 28px;
  color: #6b006b;
  margin-bottom: 8px;
}
.download-app h6 {
  margin-top: 8px;
  font-weight: 700;
  color: #3b0b3b;
  font-size: 18px;
}
.download-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #6b006b, #3b0b3b);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.download-btn:hover {
  background: linear-gradient(135deg, #3b0b3b, #6b006b);
  transform: scale(1.05);
}
@media (max-width: 480px) {
  .offcanvas {
    width: 220px;
  }
  .offcanvas-body ul li a {
    font-size: 16px;
  }
  .download-app {
    padding: 16px;
  }
}
.news-links{
  text-decoration: none;
  color: #fff;
}
