/*Global Styles*/


body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f1f9f1;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/*Header*/
header {
  background-color: #2e7d32;
  color: white;
  padding: 15px 0;
  border-bottom: 4px solid #81c784; 
}

header .brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

header .brand img {
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
}

header h1 {
  font-size: 1.8rem;
  margin: 0;
}

/*Navigation */
nav.primary ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 15px 0 0 0;
  flex-wrap: wrap;
}

nav.primary li {
  margin: 5px 10px;
}

nav.primary a {
  text-decoration: none;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: #388e3c;
  transition: background 0.3s;
}

nav.primary a:hover,
nav.primary a.active {
  background-color: #66bb6a;
  color: #fff;
}

/*Main Content*/
main {
  margin: 30px auto;
}

/* Section Headings */
main h1 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 30px;
}

/* Card Section */
.card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card h2 {
  color: #2e7d32;
  border-bottom: 2px solid #81c784;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* Gallery*/
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.gallery figure {
  width: 30%;
  background-color: #f9fff9;
  border: 2px solid #c8e6c9;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery figure:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery img {
  max-width: 100%;
  border-radius: 6px;
  height: auto;
}

.gallery figcaption {
  margin-top: 8px;
  font-weight: 600;
  color: #388e3c;
}

/* Placeholder (No Winner) */
.gallery img[alt="No Winner"] {
  opacity: 0.4;
  filter: grayscale(80%);
}

/* Footer */
footer {
  background-color: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
  border-top: 4px solid #81c784;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  justify-content: center; /* center the nav items */
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0 10px; 
}

.footer-nav a {
  color: #ff5722;
  text-decoration: none;
  font-weight: bold;
}

.footer-nav a:hover {
  text-decoration: underline;
}



/* Responsive Design*/
@media (max-width: 768px) {
  .gallery figure {
    width: 45%;
  }
}

@media (max-width: 500px) {
  header .brand {
    flex-direction: column;
    text-align: center;
  }

  nav.primary ul {
    flex-direction: column;
    align-items: center;
  }

  .gallery figure {
    width: 90%;
  }
}
.chat-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 80vh; 
  min-height: 400px;
}

.chat-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}
