/* Base Reset & Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #d3d883;
  line-height: 1.6;

}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
header {
  background: #489a4c;
  color: #fff;
  height: 90px;
  top: 0;
  z-index: 100;
}


.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff; /* pick a color you like */
  
  
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
}

/* Careers Section */
.careers-section {
  padding: 60px 0;
}
.careers-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #4fc34c;
}
.careers-section p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: #000000;
}
#yash{
  color: #ffffff;
}
.career-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.career-item {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
}
.career-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2c6e49;
}
.career-item p {
  margin-bottom: 8px;
  font-size: 1rem;
}
.career-item ul {
  margin-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}
.apply-btn {
  background: #e2e9e5;
  color: #021717;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 1rem;
}
.apply-btn:hover {
  background: #225f3b;
}
/* Contact Section */
.contact {
  background: #f9f9f9;

  padding: 60px 20px;
}

.contact p {
  font-size: 1rem;
  margin-bottom: 10px;
}

footer {
  background: #2c6e49;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .career-list {
    flex-direction: column;
  }
  nav ul {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 500px) {
  .container {
    width: 95%;
  }
}
/* Careers Card Stack */
.scroll-stack {
  position: relative;
  /* Remove internal scrollbar */
  height: auto; 
  overflow: visible;
  perspective: 1000px;
  padding-bottom: 100px; /* so last card has room */
}

.scroll-card {
  position: sticky;
  top: 80px; /* how high the card sticks before next overlaps */
  margin: 0 auto 60px; /* keep spacing between cards */
  width: 80%;
  max-width: 600px;
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transform-origin: center;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.scroll-card h3 {
  margin-top: 0;
  color: #2c7a2c;
}

.scroll-card ul {
  margin-left: 20px;
}

.apply-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #2c7a2c;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background: #1e551e;
}

nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 5px;
}
nav ul li a.active {
  color: #fff;
  border-bottom: 2px solid #2c6e49;
}
/* Mobile view */
@media (max-width: 768px) {
  nav ul {
    display: none; 
    flex-direction: column;
    text-align: center;
    background: #489a4c;  /* optional: menu background */
    position: absolute;
    top: 70px; /* adjust according to nav height */
    right: 0;
    width: 100%; /* adjust as needed */
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  

  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    border-radius: 2px;
  }
}
