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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.7;
}

/* Scroll Fade-in Animation */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  border-bottom: 2px solid #d32f2f;
}

/* Center Container for Logo + Title */
.header-center {
  text-align: center;
}

/* Bigger Logo */
.logo {
  max-width: 500px;
  height: auto;
  margin-bottom: 0.5rem;
}

/* Headings */
.header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #d32f2f;
  margin: 0;
}

/* Language Button Positioned Top Right */
.lang-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-toggle:hover {
  background-color: #b71c1c;
}

/* Navigation */
.nav {
  background-color: #b71c1c;
  border-bottom: 1px solid #eee;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.nav a {
  text-decoration: none;
  font-weight: bold;
  color:#fff3f3;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.nav a:hover {
  background-color: #fff3f3;
  color: #b71c1c;
}

/* Main Container */
.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Sections */
.section {
  background-color: transparent;
  padding: 4rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid #f0f0f0;
}
.section:nth-of-type(even) {
  background: linear-gradient(to bottom, #fafafa, #ffffff);
}
.section h2 {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #d32f2f;
  text-align: center;
  position: relative;
}
.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #d32f2f;
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}
.team-member {
  text-align: center;
}
.team-member img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  border: 3px solid #d32f2f33;
  transition: transform 0.3s ease;
}
.team-member img:hover {
  transform: scale(1.05);
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.event-card {
  flex: 0 0 auto;
  width: 200px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.event-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #d32f2f;
  color: white;
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background-color: #b71c1c;
}
.carousel-btn.left {
  left: -10px;
}
.carousel-btn.right {
  right: -10px;
}

/* Contact */
.contact-section {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-button {
  background-color: #d32f2f;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
.contact-button:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #f8f8f8;
  font-size: 0.9rem;
  color: #777;
}

/* Language Toggling */
.hidden {
  display: none;
}

/* Responsive Header */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin: 0 0 10px;
  }

  .header h1 {
    font-size: 1.5rem;
  }
}

.contact-section i {
  color: #d32f2f;
  margin-right: 0.5rem;
}

.social-links a {
  margin: 0 0.3rem;
  color: #d32f2f;
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}