/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f2f2;
  color: #333;
  line-height: 1.6;
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: auto;
}

.slide {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
}

.slide.active {
  display: block;
}

/* Optional: For better full-screen height effect */
@media (min-width: 768px) {
  .slider {
    height: 90vh;
  }

  .slide {
    height: 100%;
  }
}

}
img.slide {
  max-width: 100%;
  max-height: 100%;
  display: block;
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin: 0;
}

.hero-text p {
  font-size: 1.5rem;
}


/* Intro Section */
.intro {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e2e6ea);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-content {
  max-width: 800px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1e1e1e;
  font-weight: bold;
}

.intro-content p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background-color: #004080;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}

.btn.learn {
  background-color: #555;
}

.btn.learn:hover {
  background-color: #333;
}


/* Section Headings */
section h2 {
  text-align: center;
  margin: 30px 0 15px;
  color: #1d3557;
  font-size: 2rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  padding: 0 20px 50px;
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background-color: #fff;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card h3 {
  color: #1d3557;
  margin-bottom: 5px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* News Section */
.news {
  padding: 40px 20px;
  background-color: white;
  text-align: center;
}

.news-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.news-items img {
  width: 400px;
  height: 380px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.news-items img:hover {
  transform: scale(1.05);
}



/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .news-items img {
    width: 90%;
  }

  .btn {
    width: 80%;
  }
}
/* patronnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn */
.patrons {
  padding: 60px 20px;
  background: linear-gradient(to right, #fdfdfd, #f1f1f1);
  text-align: center;
}

.patrons h2 {
  font-size: 2.8rem;
  color: #1e1e1e;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.patrons h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #d6336c;
  margin: 10px auto 0;
  border-radius: 5px;
}

.patron-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.patron-track {
  display: flex;
  gap: 40px;
  animation: scrollPatrons 50s linear infinite;
  width: max-content;
}

.patron-card {
  flex: 0 0 auto;
  width: 420px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 25px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.patron-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.patron-card img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #f4f4f4;
  margin-bottom: 20px;
}

.patron-card p {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

@keyframes scrollPatrons {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .patron-track {
    gap: 20px;
    animation-duration: 25s;
  }

  .patron-card {
    width: 280px;
    padding: 18px;
  }

  .patron-card img {
    height: 220px;
  }

  .patron-card p {
    font-size: 1rem;
  }

  .patrons h2 {
    font-size: 2rem;
  }
}
