* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f7f7f7;
}

/* HERO */

.hero {
  background: url('https://images.unsplash.com/photo-1520975916090-3105956dac38');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  border-radius: 5px;
}

/* SECTION TITLE */

.section-title {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 28px;
}

/* CATEGORY GRID */

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

/* FEATURED PRODUCTS */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
}

/* LATEST-PRODUCTS */

.latest-products {
  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.latest-products .latest-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.latest-products .latest-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: 0.4s;
}

.latest-products .latest-card:hover img {
  transform: scale(1.1);
}

.latest-products .latest-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

/* NAVBAR */

nav {
  background: #111;
  padding: 15px 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
}

.logo span {
  color: #ff4081;
  font-weight: 300;
}


nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  
  list-style: none;
}

nav ul li {
  margin: 12px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* MARQUEE */
.marquee {
  background: #ff4081;
  color: white;
  padding: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* CONTAINER */

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.container h2 {
  margin-bottom: 24px;
}

.contact-container{
  min-height: 70vh;
}

/* GRID */

.board-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */

.card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.social {
  margin-top: 10px;
}

.social a {
  color: #333;
  margin: 0 8px;
  font-size: 18px;
  transition: 0.3s;
}

.social a:hover {
  color: #ff4081;
}
/* FORM */

form {
  background: white;
  padding: 20px;
  border-radius: 8px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

button {
  background: #111;
  color: white;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 16px;
  cursor: pointer;
}

.error {
  color: red;
  font-size: 14px;
  margin-top: -5px;
  margin-bottom: 10px;
}

input.error-border,
textarea.error-border {
  border: 1px solid red;
}

/* EVENTS HERO */

.events-hero {
  background: url('https://images.unsplash.com/photo-1509631179647-0177331693ae');
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.events-hero h1 {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 25px;
  border-radius: 5px;
}

/* EVENTS GRID */

.events-container {
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.event-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-info {
  padding: 15px;
}

.event-date {
  font-weight: 600;
  color: #ff4081;
  margin-bottom: 5px;
}

.event-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.event-btn {
  display: inline-block;
  background: #111;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin-top: 16px;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
  margin-top: 40px;
}

/* MOBILE */

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
