/* Color Palette */

:root {
  --primary: hsl(164, 35%, 19%);
  --secondary: hsl(152, 77%, 77%);
  --accent: #ffeb3b;
  --accent-hover: #ffd600;
  --background: #fafafa;
  --text: #333;
  --nav-gradient: linear-gradient(45deg, var(--primary), var(--secondary));
  --about-bg: #e3f2fd;
  --mentors-bg: #fce4ec;
  --events-bg: #fff3e0;
  --hall-bg: #f3e5f5;
  --testimonials-bg: #e8f5e9;
  --join-bg: #ede7f6;
  --contact-bg: #f1f8e9;
  --faqs-bg: #ffecb3;
}

/* Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--background);
  color: var(--text);
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* Animation Classes */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-gradient);
  color: #fff;
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s;
}
nav .logo {
  font-weight: bold;
  font-size: 1.4em;
}
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin: 0 15px;
}
nav ul li a {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: var(--accent);
}

/* toggle Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s;
}
/* media queries */


@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--nav-gradient);
    flex-direction: column;
    align-items: center;
    display: none;
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    margin: 10px 0;
  }
  .hamburger {
    display: flex;
  }
}

/* Sections */
#home{
  background-color: #fff;
}
section {
  padding: 80px 20px;
  min-height: 100vh;
}
.container {
  max-width: 1200px;
  margin: auto;
}
h1, h2, h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Slider */

#frst-p{
  color: white;
}
.slider {
  position: relative;
  overflow: hidden;
  height: 500px;
}
.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}
.slide {
  min-width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
}
.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}
.slider-overlay h1 {
  font-size: 3em;
  margin-bottom: 10px;
  transition: transform 0.5s;
}

.slider-overlay #slide-p {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: white;
}
.slider-overlay {
  font-size: 1.3em;
  margin-bottom: 20px;
}
.slider-overlay button {
  padding: 12px 25px;
  font-size: 1.1em;
  background: var(--accent);
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s ;
}
.slider-overlay button:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* Wall of Impact */

.impact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.impact-item {
  background: #fff;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.impact-item:hover {
  background-color: #ffeaea;
  transform: translateY(-5px);
}
.impact-item h3 {
  margin-bottom: 10px;
  color: #e91e63;
}

/* About Section */
#about {
  background: var(--about-bg);
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.about-content > div {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.about-content > div:hover {
  transform: scale(1.03);
}
.about-content img {
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Mentors Section */

#mentors {
  background: var(--mentors-bg);
}
.mentors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.mentor-card {
  background: #fff;
  width: 250px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.mentor-card:hover {
  transform: translateY(-10px);
}
.mentor-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.mentor-card .mentor-info {
  padding: 15px;
}
.mentor-card .mentor-info a {
  color: #e91e63;
  font-size: 0.9em;
}

/* Events Section */

#events {
  background: var(--events-bg);
}
.events {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.event-card {
  background: #fff;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.event-card:hover {
  transform: translateY(-8px);
}
.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.event-card .event-info {
  padding: 15px;
}

/* Hall of Fame */

#hall-of-fame {
  background: var(--hall-bg);
}
.hall-of-fame {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.fame-card {
  background: #fff;
  width: 300px;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.fame-card:hover {
  transform: translateY(-8px);
}
.fame-card h3 {
  margin-bottom: 10px;
  color: #9c27b0;
}

/* Testimonials / Gallery */

#testimonials {
  background: var(--testimonials-bg);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.gallery img {
  border-radius: 10px;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* How to Join Section */

#how-to-join {
  background: var(--join-bg);
}
.about-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #7c4dff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s, transform 0.3s;
}
.about-content button:hover {
  background: #651fff;
  transform: scale(1.05);
}

/* Contact US */

#contact {
  background: var(--contact-bg);
}
.contact-form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.contact-form:hover {
  transform: scale(1.02);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7c4dff;
}
.contact-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #8bc34a;
  border: none;
  color: #fff;
  font-size: 1.1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.contact-form button:hover {
  background: #7cb342;
  transform: scale(1.03);
}

/* FAQs */

#faqs {
  background: var(--faqs-bg);
}
.faq {
  max-width: 800px;
  margin: auto;
}
.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.faq-item:hover {
  transform: scale(1.01);
}
.faq-item h4 {
  background: #ff9800;
  color: #fff;
  padding: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.faq-item h4:hover {
  background: #fb8c00;
}
.faq-item p {
  padding: 15px;
  display: none;
  border-top: 1px solid #ddd;
}

/* Footer */

footer {
  background: linear-gradient(45deg, var(--secondary), var(--primary)) ;
  color: #fff;
  text-align: center;
  padding: 20px;
  display: grid;
  grid-template-columns: 90% 10%;
}

/* media queries */

@media (max-width: 768px) {
  .about-content, .contact-form {
    padding: 15px;
  }
  .slider-overlay h1 {
    font-size: 2.2em;
  }
  .slider-overlay p {
    font-size: 1em;
  }
}


/* changes */
p{
  color: black;
}


/* more addition */
.change-color {
  transition: color 0.6s ease-in;
}

.change-color:hover {
  color: red; 
}