/* Reset and base */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #ddd;
  line-height: 1.6;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  box-sizing: border-box;
}

header h1 {
  color: #ffbd39;
  margin: 0;
  font-weight: 700;
  font-size: 1.75rem;
}

/* --- Navigation Container --- */
nav .nav-menu {
  display: flex;
  gap: 1.5rem; /* Adjust spacing here */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Navigation Items --- */
nav .nav-menu li {
  position: relative;
}

/* --- Main Nav Links --- */
nav .nav-menu a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  display: block;
  padding: 1rem;
  transition: color 0.3s ease;
}

nav .nav-menu a:hover {
  color: #ffbd39;
}

/* --- Dropdown Container --- */
nav .dropdown {
  position: relative;
}

/* --- Dropdown Menu --- */
nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #2f2f2f;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
  border-radius: 15px;
}

/* --- Dropdown Links --- */
nav .dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.75rem 1rem;
  transition: color 0.2s ease;
  font-size: 0.9rem; /* <-- adjust size here */
}


nav .dropdown-menu li a:hover {
  color: #ffbd39;
}

/* --- Dropdown Reveal on Hover --- */
nav .dropdown:hover .dropdown-menu {
  display: block;
}



brand a{
  color: #ddd;
}

brand a:hover {
  color: #ffbd39;
}


a {
  color: #ffbd39;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff; /* optional: white on hover for contrast */
}

/* Section base */
.section {
  padding: 100px 2rem 60px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  color: #fff;
  font-size: 3.5rem;
  margin: 0 0 1rem;
}

.hero-text h2 span{
    color: #ffbd39;
}

.hero-text p {
  font-size: 1.5rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  width: 33vw;
}


/* Subpage Hero Section */
.sub-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 120px 2rem 40px; /* leave room for fixed header */
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
  box-sizing: border-box;
}

.sub-hero-text {
  flex: 1;
}

.sub-hero-text h2 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.sub-hero-text h2 span {
  color: #ffbd39;
}

.sub-hero-text p {
  font-size: 1.25rem;
  color: #ccc;
  margin: 0;
}

.sub-hero-image {
  flex: 1;
  text-align: right;
}

.sub-hero-image img {
  max-width: 150px;
  height: auto;
}


/* About section */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 2rem;
  box-sizing: border-box;
}

.about img {
  width: 33vw;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-text {
  flex: 1 1 50%;
  color: #ddd;
}

.about-text h1.section-title {
  color: #ffbd39;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 900;
}

.about-text h3 {
  color: #fff;
  margin-top: 2rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.about-info {
  list-style-type: none;
  padding-left: 1.5rem;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
}

.about-info li {
  margin-bottom: 0.75rem;
}

/* About reverse (flip image and text) */
.about.reverse {
  flex-direction: row-reverse;
}

/* Items section */
.items {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 2rem;
  width: 100%;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.item-box-wrapper {
  position: relative;
}

.item-toggle {
  display: none;
}

.item-box {
  background-color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Default icon styling */
.item-box i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffbd39;
  transition: all 0.3s ease;
}

/* Default layout for item-header */
.item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Default title size */
.item-header strong,
.item-header .item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

/* When expanded: smaller icon and title on one line */
.item-toggle:checked + .item-box {
  background-color: #1a1a1a;
  box-shadow: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.item-toggle:checked + .item-box .item-header {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
  justify-content: flex-start;
}

.item-toggle:checked + .item-box i {
  font-size: 1.5rem;
  margin: 0;
}

.item-toggle:checked + .item-box strong,
.item-toggle:checked + .item-box .item-title {
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  color: #fff;
  margin: 0;
}

.item-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  color: #fff;
}

.item-toggle:checked + .item-box .item-hidden {
  max-height: 1000px;
  opacity: 1;
  margin-top: 1rem;
}

.item-box:hover {
  background-color: #ffbd39;
  color: #fff;
}

.item-box:hover i {
  color: #fff;
}

.item-box:hover .item-toggle-icon {
  color: #fff;
}

.item-toggle:checked + .item-box:hover {
  background-color: #1a1a1a;
  color: #fff;
  border: 2px solid #ffbd39;
}

.item-toggle:checked + .item-box:hover strong,
.item-toggle:checked + .item-box:hover .item-title 
{
  color: #fff;
}

.item-toggle:checked + .item-box:hover i,
.item-toggle:checked + .item-box:hover .item-toggle-icon
{
  color: #ffbd39;
}

.item-toggle:checked + .item-box:hover .item-hidden {
  color: #fff;
}

.item-toggle-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #ffbd39;
  transition: transform 0.3s ease, color 0.3s ease;
  pointer-events: none;
}

/* Positioning context */
.item-box {
  position: relative;
}

.item-toggle:checked + .item-box .item-toggle-icon {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .items {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
}


/* Feature Cards section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.feature-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffbd39;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

.feature-card:hover {
  background-color: #1f1f1f;
  border-color: #ffbd39;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 1.5rem;
  border-radius: 8px;
  color: #fff;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.project-card:hover {
  background-color: #000;
  border-color: #ffbd39;
}

.project-card h3 {
  color: #ffbd39;
  margin-bottom: 0.5rem;
}

.project-card em {
  display: block;
  margin-bottom: 0.75rem;
  color: #ccc;
}

.project-card p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #eee;
}



/* Ideal Candidate radial section */
.ideal-candidate {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 4rem 2rem;
  max-width: 75%;
  margin: 0 auto;
  box-sizing: border-box;
  flex-direction: row;
}

.candidate-center {
  width: 180px;
  height: 180px;
  background-color: #111;
  border-radius: 50%;
  border: 3px solid #ffbd39;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  text-align: center;
  padding: 1rem;
  order: 0;
}

.trait-box {
  width: 220px;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  border: 1px solid #333;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.trait-box i {
  color: #ffbd39;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.trait-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffbd39;
}

.trait-box p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .ideal-candidate {
    flex-direction: column;
    align-items: center;
  }

  .candidate-center {
    order: -1;
    width: 140px;
    height: 140px;
    font-size: 1rem;
  }

  .trait-box {
    width: 100%;
    max-width: 300px;
  }
}

/* Footer */
footer {
  background-color: #111;
  padding: 2rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .hero-text h2 {
    font-size: 2rem;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  nav a {
    margin-left: 1rem;
  }

  .item-box {
    width: 100%;
  }

  /* About section stack vertically on mobile */
  .about {
    flex-direction: column;
  }

  /* Reverse stacking on mobile stacks normally */
  .about.reverse {
    flex-direction: column;
  }

  .about img {
    width: 100%;
    max-width: 100%;
  }

  .about-text {
    flex: none;
  }
}

.section-heading {
  position: relative;
  margin-bottom: 2rem;
}

.section-heading .big {
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
}

.section-heading .section-title {
  position: relative;
  color: #ffbd39;
  font-size: 2rem;
  font-weight: 700;
  z-index: 1;
  margin: 0;
}


.button {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Solid yellow button */
.button-yellow {
  background-color: #ffbd39;
  color: #000;
  border: 2px solid #ffbd39;
}

.button-yellow:hover {
  background-color: #e6a800;
}

/* Transparent button with yellow border */
.button-outline {
  background-color: transparent;
  color: #ffbd39;
  border: 2px solid #ffbd39;
}

.button-outline:hover {
  background-color: #ffbd39;
  color: #000;
}

/* Timeline section */
/*.timeline {*/
/*  position: relative;*/
/*  max-width: 900px;*/
/*  margin: 4rem auto;*/
/*  padding: 2rem;*/
/*  border-left: 3px solid #ffbd39;*/
/*}*/

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
  box-sizing: border-box;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 170px; /* pushes line below header */
  left: 1.5rem; /* aligns with icons */
  width: 3px;
  height: calc(100% - 280px);
  background-color: #ffbd39;
}


.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  top: 0;
  left: -1.4rem;
  width: 2rem;
  height: 2rem;
  background-color: #1a1a1a;
  border: 2px solid #ffbd39;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffbd39;
  font-size: 1rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffbd39;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}


/* FAQ section */
.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  background-color: #111;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.5rem;
  color: #fff;
  background-color: #1a1a1a;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: #ffbd39;
  position: absolute;
  right: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  content: "–";
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: #ccc;
  transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 1rem 1.5rem;
}

#faq.section {
  min-height: 55vh; /* or adjust as needed */
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .kanban-board {
    grid-template-columns: 1fr;
  }
}


.kanban-column {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  min-width: 200px;
  padding: 1rem;
  flex-shrink: 0;
}

.kanban-column h3 {
  color: #ffbd39;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.kanban-card {
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  color: #ddd;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.kanban-card:hover {
  background-color: #222;
}

.anytime-column {
  background-color: #191919;
  border-color: #555;
}

.kanban-card.mentor { border-left: 6px solid #ffbd39; }
.kanban-card.project { border-left: 6px solid #1e90ff; }
.kanban-card.self-paced { border-left: 6px solid #6a5acd; }
.kanban-card.community { border-left: 6px solid #32cd32; }
.kanban-card.group-project { border-left: 6px solid #ff69b4; }
.kanban-card.social { border-left: 6px solid #ffa500; }
.kanban-card.guest { border-left: 6px solid #00ced1; }


.kanban-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  justify-content: center;
}


.legend-toggle {
  padding: 0.4rem 0.9rem;
  border-left: 6px solid;
  background-color: #1a1a1a;
  color: #ccc;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.legend-toggle.active {
  background-color: #333;
  color: #fff;
}

/* Type-specific borders */
.legend-toggle.mentor { border-left: 6px solid #ffbd39; }
.legend-toggle.project { border-left: 6px solid #1e90ff; }
.legend-toggle.self-paced { border-left: 6px solid #6a5acd; }
.legend-toggle.community { border-left: 6px solid #32cd32; }
.legend-toggle.group-project { border-left: 6px solid #ff69b4; }
.legend-toggle.social { border-left: 6px solid #ffa500; }
.legend-toggle.guest { border-left: 6px solid #00ced1; }

/* Show All */
.legend-toggle.show-all {
  border-left: 6px solid #555;
  background-color: #1a1a1a;
  color: #fff;
}
.legend-toggle.show-all:hover {
  background-color: #333;
}


.kanban-card.hidden {
  display: none;
}




