/* Reset & base styles */
* {
  margin: 5;
  padding: 5;
  box-sizing: border-box;
}

#mainbody{
  background-color: #292a2c;
  color: white;
  font-family: system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

/* Main container */
.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  color:#ffffff;
}

#headertop {
  text-align: center;
  margin: bottom 20px;
  justify-content: center;
  padding: 0%;
  display: flex;
  min-height: 100vh;
} 

.header h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.header p {
  font-size: 16px;
}

/* Job cards */
.jobs {
  display: block;
}

.job-card {
  border: 1px solid #857474;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.job-card h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.job-card p {
  font-size: 16px;
  margin-bottom: 12px;
}

/* CTA buttons */
.cta-button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background-color:rgb(0, 0, 0) ;
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  animation-duration: 0.4s;
  animation: alternate;
  border-color: #a3a3a3a8;
  font-size: 16px;
  min-height: 44px;
  text-shadow: #000000;
}

/* Testimonials */
.testimonials {
  margin-top: 32px;
  padding-top: 16px;
  /* border-top: 1px solid #968585; */
}

.testimonials h3 {
  font-size: 18px;
  margin-bottom: 12px;
  text-align: center;
}

.testimonial {
  margin-bottom: 12px;
  font-size: 15px;
}

.testimonial span {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}


.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #323335;
}

.faq-section h2 {
    color: rgb(131, 131, 131);
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #323335;
}

.faq-item {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question h3 {
    color: white;
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.faq-toggle {
    color: white;
    font-size: 1.5em;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px 25px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}


* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  background:#35353f;
  color: #ffffff;
}

.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

.faq-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.faq-container {
  background: #383636;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(78, 77, 77, 0.24);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #000000;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #686262b6;
}

.icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  margin: 15px 0 20px;
  color: #ffffff;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}

:root {
  --bg-color: #31343b;
  --card-bg: #464242;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --border-color: #7e7a7a;
  --accent-color: #ffffff;
  --shadow: 0 8px 24px rgba(245, 245, 245, 0.082);
}

.faq-section {
  background-color: var(--bg-color);
  padding: 4rem 1rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-card[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* Accessibility: focus states */
.faq-card summary:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .faq-container h2 {
    font-size: 1.75rem;
  
  }

  .faq-card summary {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9rem;
  }
  .faq-section{
    padding: 1.5em 0.75rem;

  }
}