body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #010101;
  color: #f5f5f5;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  background-color: rgba(1, 1, 1, 0.9);
  backdrop-filter: blur(8px);
  transition: padding 0.3s ease, background-color 0.3s ease;
  animation: fadeIn 0.8s ease-out forwards;
}

header.scrolled {
  padding: 16px 60px;
  background-color: rgba(1, 1, 1, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

  
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1a1a;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  border-radius: 0 0 8px 8px;
  border: 1px solid #333;
  padding: 10px 0;
}

.dropdown-content a {
  color: #e1e1e1;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #333;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s;
}

.logo img {
  width: auto;
  height: 50px;
  max-height: 100%;
  display: block;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0;
  font-weight: 500;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a.active {
  color: #e1e1e1;
  font-weight: 600;
}

.signup-button {
  border: 1px solid #ececec;
  background: transparent;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  cursor: pointer;
}

.signup-button:hover {
  background: #707070;
}

.community-hero {
  position: relative;
  padding: 140px 60px;
  text-align: center;
  background-size: cover;
  color: white;
}

.community-hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 24px;
}

.community-hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.see-more-btn {
  border: 1px solid #ececec;
  background: transparent;
  padding: 12px 20px;
  font-size: 18px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.see-more-btn:hover {
  background: #707070;
  cursor: pointer;
}

.community-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.community-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, #505050, transparent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.event-card {
  background: #0c0c0c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-details {
  padding: 20px;
}

.event-date {
  background: #1a1a1a;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 15px;
}

.event-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.event-description {
  color: #ccc;
  margin-bottom: 20px;
}

.event-cta {
  background: #363636;
  padding: 10px 20px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.event-cta:hover {
  background: #505050;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #0c0c0c;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.testimonial-content {
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  color: #aaa;
  font-size: 14px;
}

.join-community {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("images/join-bg.jpg") no-repeat center center;
  background-size: cover;
  padding: 60px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
}

.join-community h2 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.join-community p {
  color: #ccc;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.join-button {
  background: transparent;
  border: 1px solid #ececec;
  padding: 14px 36px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-button:hover {
  background: linear-gradient(to right, #606060, #404040);
  transform: translateY(-2px);
}
