* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #f8f9fb;
  color: #000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo span {
  color: #FFC010;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 5px;
}

nav a:hover {
  color: #FFC010;
  background-color: #f8f9fb(234, 233, 222, 0.1);
}

.contact-btn {
  background-color: #FFC010;
  color: #f8f9fb;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #000;
  color: #f8f9fb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 192, 16, 0.2);
}

/* HERO Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 5px 0px; /* ↓ Reduced bottom padding */
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 0;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 3000px;
}

.hero-text {
  max-width: 45%;
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}

.hero-image img {
  max-width: 95%;
  height: auto;
  object-fit: contain;
}

/* Consistent vertical spacing for main sections */
section,
.hero,
.about,
.projects,    /* Add this class to your project section in HTML */
.contact {    /* Add this class to your connect/contact section in HTML */
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Common section styles */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
}

/* Features section */
.features {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 100px;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card.highlight {
  background: #ffffff;
}

/* Events section */
.events {
  text-align: center;
  padding-bottom: 80px;
}

.events-tag {
  color: #666;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.events h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.9); /* Makes image black and white */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.event-card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.event-info {
  padding: 20px;
  text-align: left;
}

/* Contact section */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 100px;
}

.contact-tag {
  color: #666;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact h2 {
  font-size: 2.5rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* You can adjust this value as needed */
}

.contact input,
.contact textarea {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-family: inherit;
}

.contact textarea {
  min-height: 120px;
  resize: vertical;
}

.contact button {
  background-color: #FFC010;
  color: #f8f9fb;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif; /* Match the rest of the site */
}
.contact button:hover {
  background-color: #000;
  color: #f8f9fb;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 192, 16, 0.2);
}

@media (max-width: 768px) {
  .contact form {
    gap: 6px; /* Reduce gap between fields */
    max-width: 260px; /* Make the form narrower */
    margin-left: auto;
    margin-right: auto;
  }
  .contact input,
  .contact textarea {
    padding: 8px;
    font-size: 0.95rem;
    border-radius: 5px;
    max-width: 260px; /* Make input/textarea narrower */
  }
  .contact textarea {
    min-height: 60px;
  }
  .contact button {
    padding: 10px 0;
    font-size: 1rem;
    border-radius: 5px;
    width: 100%;
    margin-top: 4px;
    max-width: 260px; /* Make button narrower */
  }
}

@media (max-width: 768px) {
  .contact form {
    gap: 10px;
  }
  .contact input,
  .contact textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
  }
  .contact textarea {
    min-height: 80px;
  }
  .contact button {
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 6px;
    width: 100%;
    margin-top: 6px;
  }
  .contact form,
  .contact input,
  .contact textarea,
  .contact button {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding-bottom: 60px;
    padding-top: 40px;
  }
  .contact-left,
  .contact form {
    width: 100%;
    max-width: 100%;
  }
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .contact input,
  .contact textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .contact button {
    width: 100%;
    margin-top: 8px;
  }
    .contact h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fb;
  border-top: 1px solid #f8f9fb;
  font-weight: 500;
  color: #666;
}

.footer p {
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Project Cards */
.project-type {
  color: #FFC010;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.project-desc {
  color: #666;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* About Section */
.about {
  background: #f8f9fb;
  border-radius: 20px;
  padding: 60px 40px;
  margin-top: 20px; /* Already reduced */
  padding-top: 20px;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header .tag {
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: #000;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: #FFC010;
  margin-bottom: 8px;
}

.stat p {
  color: #666;
  font-weight: 500;
}

.about-text {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

/* Hamburger menu button styles */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: #FFC010; /* Set background to new yellow */
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2100;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 4px;
  width: 26px;
  background: #222;
  border-radius: 2px;
  margin: 4px 0;
  transition: opacity 0.3s;
  position: relative;
}

/* Remove curly braces and all motion/animation for menu icon */
.menu-toggle .toggle-braces {
  display: none !important;
  color: #FFC010;
}
.menu-toggle.active span {
  opacity: 1;
  transform: none;
}
.menu-toggle.active {
  background: linear-gradient(135deg, #ffffff 60%, #ffffff 100%);
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    background: #000000 !important; /* Yellow circle */
  }
  .menu-toggle span {
    background: #f8f9fb; /* Black bars */
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px 10px 20px;
    max-width: 100%;
  }
  .hero-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .hero-image {
    padding-right: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 240px;
    background: #f8f9fb;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2000;
  }
  nav.active {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2100;
    background: #f8f9fb;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 0;
  }
  nav a {
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
    padding: 16px 0;
    border-bottom: 1px solid #f8f9fb;
    background: none;
    text-align: left;
    color: #000;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 10px 10px 10px;
    margin-bottom: 10px;
  }

  .hero-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .hero-image {
    padding-right: 0;
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 40px 10px;
  }

  .feature-cards,
  .event-cards,
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about {
    padding: 30px 10px;
    margin-top: 20px;
  }

  .about-header h2 {
    font-size: 2rem;
  }

  .about-content {
    padding: 0 5px;
  }

  .footer {
    padding: 20px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .features h2,
  .events h2,
  .about-header h2,
  .contact h2 {
    font-size: 1.5rem;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* Active state for navigation */
nav.active {
  background: #f8f9fb;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav.active a {
  color: #000000;
}

/* Responsive nav for mobile */
@media (max-width: 768px) {
  /* Use this block for correct mobile nav sliding sidebar: */
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 240px;
    background: #f8f9fb;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2000;
  }
  nav.active {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2100;
    background: #f8f9fb;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 0;
  }
  nav a {
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
    padding: 16px 0;
    border-bottom: 1px solid #f8f9fb;
    background: none;
    text-align: left;
    color: #000;
  }
}

@media (max-width: 768px) {
  nav .contact-btn {
    color: #f8f9fb !important;
    background-color: #FFC010;
  }
}

/* Underline for all main section headings */
section h2,
.about-header h2,
.features h2,
.events h2,
.contact h2 {
  position: relative;
  display: block; /* Ensure the heading takes full width */
  text-align: center; /* Center the text */
  margin-bottom: 18px;
}

section h2::after,
.about-header h2::after,
.features h2::after,
.events h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #FFC010;
  border-radius: 2px;
  margin: 8px auto 0 auto; /* Center the underline */
}

.menu-toggle {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.menu-toggle.hide-on-scroll {
  opacity: 0;
  pointer-events: none;
}


