* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #f7f9f7;
  color: #333333;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  height: 1000px;
 background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), 
            url('../images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 70px 60px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Logo styling */
.logo-container .logo {
  height: 49px; /* Adjust width/height as needed for your logo size */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #2c2b2b;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f7d154;
}

/* Filter Box Overlay */

.banner-filter-wrapper {
  position: relative;
  width: 100%;
}

.filter-container {
  position:absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 80%;
  background: rgba(238,238,238,0.5);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 15px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.filter-title {
  color: rgb(137, 47, 132);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.filter-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.filter-box label {
  font-size: 11px;
  font-weight: 700;
  color: rgb(69, 102, 114); /*azure grey*/
  margin-bottom: 2px;
}

.filter-box select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #666666;
  cursor: pointer;
  width: 100%;
}

/* --- FILTER BUTTON --- */

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.btn-filter, .btn-clear {
  color: #ffffff;
  border: none;
  padding: 8px 28px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-filter, .btn-clear{
  background-color: rgb(137, 47, 132); /*neon pink*/
}

.btn-filter:hover,.btn-clear:hover{
  color: #ffffff;
  border: none;
  padding: 6px 28px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: rgb(137, 47, 132);
}

.btn-filter:hover,.btn-clear:hover {
  background-color: #f7d154;
  color: #ffffff;
}

/* --- PROGRAMMES SECTION --- */

.programmes-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
  isolation: isolate;
}

.programmes-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("../images/website_bg.png") center center / cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}

.programmes-heading {
  color: rgb(137, 47, 132);
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-align: center;
  margin: 0 0 35px;
}

.results-count {
  font-size: 12px;
  font-weight: 800;
  color: #333333;
  text-align: left;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.programmes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.programme-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 180px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.programme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-img {
  width: 280px;
  min-width: 280px;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  color: rgb(64, 31, 24);
  margin-bottom: 6px;
}

.card-subtitle {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  color: rgb(34, 40, 49);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 12px;
  color: rgb(64, 31, 24);
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
}

.btn-apply {
  margin-top: auto;
  background-color: rgb(255,229,123);
  color: #ffffff;
  text-decoration: none;
  padding: 7px 30px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn-apply:hover {
  background-color: #e5be3e;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-arrow {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.25s ease;
}

.page-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.page-arrow:hover:not(:disabled) {
  opacity: 0.6;
}

.page-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  cursor: pointer;

  transition:
      color 0.25s ease,
      opacity 0.25s ease;
}

.page-num:hover {
  color: rgb(137, 47, 132);
}

.page-num.active {
  color: rgb(137, 47, 132);
}

.page-num.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background-color: rgb(137, 47, 132);
}

.page-dots {
  font-weight: bold;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #40886b;
  color: #ffffff;
  padding: 40px 60px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f7d154;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 12px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.newsletter-input {
  width: 250px;
  padding: 8px 12px;
  border: none;
  outline: none;
  border-radius: 2px;
}

.btn-subscribe {
  background-color: #f7d154;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  border-radius: 2px;
}

.contact-info {
  margin-top: 10px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

@media (min-width: 1920px) {
  .hero-section {
    height: 1100px;
    padding: 80px 100px;
  }

  .logo-container .logo {
    height: 58px;
  }

  .nav-links {
    gap: 40px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .filter-container {
    width: 75%;
    padding: 20px 30px;
  }

  .filter-title {
    font-size: 17px;
  }

  .filter-box label {
    font-size: 12px;
  }

  .filter-box select {
    font-size: 14px;
  }

  .programmes-section {
    max-width: 1400px;
    padding-top: 100px;
  }

  .programmes-heading {
    font-size: 36px;
  }

  .programme-card {
    min-height: 200px;
  }

  .card-img {
    width: 320px;
    min-width: 320px;
    height: 200px;
  }

  .card-body {
    padding: 30px 35px;
  }

  .card-title {
    font-size: 19px;
  }

  .card-desc {
    font-size: 13px;
  }

  .site-footer {
    padding: 50px 100px;
  }

  .footer-container {
    max-width: 1300px;
  }
}

@media (max-width: 1024px) {

  .hero-section {
    height: 900px;
    padding: 50px 40px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .filter-container {
    width: 90%;
    bottom: 30px;
  }

  .programmes-section {
    padding: 60px 25px 35px;
  }

  .programmes-heading {
    font-size: 28px;
  }

  .card-img {
    width: 230px;
    min-width: 230px;
    height: 180px;
  }

  .card-body {
    padding: 20px 22px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    font-size: 11px;
  }

  .footer-container {
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
  }

  .site-footer {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 850px;
    padding: 35px 25px;
  }

  .navbar {
    align-items: flex-start;
  }

  .logo-container .logo {
    height: 42px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .filter-container {
    width: calc(100% - 30px);
    padding: 15px;
    bottom: 20px;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .filter-box {
    padding: 8px 10px;
  }

  .filter-box select {
    font-size: 12px;
  }

  .filter-actions {
    justify-content: center;
  }

  .btn-filter,
  .btn-clear {
    padding: 8px 22px;
    font-size: 12px;
  }

  .programmes-section {
    padding: 50px 20px 30px;
  }

  .programmes-heading {
    font-size: 25px;
    margin-bottom: 25px;
  }

  .programmes-grid {
    gap: 20px;
  }

  .programme-card {
    flex-direction: column;
  }

  .card-img {
    width: 100%;
    min-width: 100%;
    height: 220px;
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-subtitle {
    font-size: 12px;
  }

  .card-desc {
    font-size: 12px;
  }

  .btn-apply {
    margin-top: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-form {
    flex-wrap: wrap;
  }

  .newsletter-input {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 800px;
    padding: 25px 15px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .logo-container .logo {
    height: 38px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 10px;
  }

  .filter-container {
    width: calc(100% - 20px);
    bottom: 15px;
    padding: 12px;
    border-radius: 10px;
  }

  .filter-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .filter-box {
    padding: 7px 10px;
  }

  .filter-box label {
    font-size: 10px;
  }

  .filter-box select {
    font-size: 11px;
  }

  .filter-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
  }

  .btn-filter,
  .btn-clear {
    width: 100%;
    padding: 9px 15px;
  }

  .programmes-section {
    padding: 40px 15px 25px;
  }

  .programmes-heading {
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .results-count {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .programmes-grid {
    gap: 18px;
    margin-bottom: 30px;
  }

  .card-img {
    height: 190px;
  }

  .card-body {
    padding: 17px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-subtitle {
    font-size: 11px;
  }

  .card-desc {
    font-size: 11px;
    line-height: 1.45;
  }

  .btn-apply {
    padding: 7px 25px;
    font-size: 11px;
  }

  .pagination {
    gap: 12px;
  }

  .page-num {
    font-size: 13px;
  }

  .site-footer {
    padding: 30px 20px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-col h3 {
    font-size: 13px;
  }

  .footer-col p,
  .footer-links a {
    font-size: 11px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-input {
    width: 100%;
    max-width: none;
  }

  .btn-subscribe {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-section {
    height: 760px;
    padding: 20px 10px;
  }

  .navbar {
    gap: 15px;
  }

  .logo-container .logo {
    height: 34px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 9px;
  }

  .filter-container {
    width: calc(100% - 12px);
    padding: 10px;
    bottom: 10px;
  }

  .filter-title {
    font-size: 12px;
  }

  .filter-box {
    padding: 6px 8px;
  }

  .filter-box label {
    font-size: 9px;
  }

  .filter-box select {
    font-size: 10px;
  }

  .btn-filter,
  .btn-clear {
    font-size: 11px;
    padding: 8px 12px;
  }

  .programmes-section {
    padding: 35px 10px 20px;
  }

  .programmes-heading {
    font-size: 20px;
  }

  .programme-card {
    border-radius: 5px;
  }

  .card-img {
    height: 160px;
  }

  .card-body {
    padding: 14px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-subtitle {
    font-size: 10px;
  }

  .card-desc {
    font-size: 10px;
  }

  .btn-apply {
    width: 100%;
    text-align: center;
    padding: 7px 15px;
  }

  .pagination {
    gap: 8px;
  }

  .page-arrow {
    width: 26px;
    height: 26px;
  }

  .page-arrow img {
    width: 16px;
    height: 16px;
  }

  .page-num {
    min-width: 22px;
    height: 28px;
    font-size: 12px;
  }

  .site-footer {
    padding: 25px 15px;
  }

  .footer-col h3 {
    font-size: 12px;
  }

  .footer-col p,
  .footer-links a {
    font-size: 10px;
  }
}