/* TeenWork Main Styles */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');

:root {
  --primary: #3bb4e5;
  --secondary: #4be38a;
  --background: #f8fbff;
  --white: #fff;
  --text: #222;
  --shadow: 0 4px 16px rgba(60, 180, 229, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 70px; /* Offset for fixed navbar */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.hero {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  padding: 7rem 0 7rem 0;
  text-align: center;
  min-height: 60vh;
  height: auto;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.btn, .btn-primary, .btn:visited, .btn-primary:visited {
  text-decoration: none;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: #2fae6b;
}

.features {
  background: var(--white);
  padding: 3rem 0;
}
.features-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.feature-card {
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  max-width: 320px;
  text-align: center;
}
.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.footer {
  background: var(--white);
  text-align: center;
  padding: 2.5rem 0 1.2rem 0;
  font-size: 1rem;
  color: #888;
  margin-top: auto;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .footer {
    padding: 1.5rem 0 1.2rem 0;
  }
}

/* Jobs Page */
.jobs-main {
  padding: 2.5rem 0 1rem 0;
}
.jobs-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}
.jobs-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.search-input, .filter-dropdown {
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid #d0e6f7;
  font-size: 1rem;
  outline: none;
  background: var(--white);
  box-shadow: var(--shadow);
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}
.job-card h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.btn-apply {
  background: var(--primary);
  color: var(--white);
  margin-top: 0.7rem;
  font-size: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn-apply:hover {
  background: #2596be;
}

/* About Page */
.about-main {
  padding: 2.5rem 0 1rem 0;
}
.about-mission {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}
.about-why {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.why-list {
  list-style: disc inside;
  font-size: 1.1rem;
  color: #333;
  margin-top: 1rem;
}
.why-list li {
  margin-bottom: 0.8rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2em;
  margin: 0 auto;
  max-width: 700px;
}
.why-point {
  text-align: center;
  font-size: 1.13rem;
  color: #333;
  line-height: 1.6;
}

/* Contact Page */
.contact-main {
  padding: 2.5rem 0 1rem 0;
}
.contact-main h1 {
  margin-bottom: 2.2rem;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-weight: 500;
  color: var(--primary);
}
.contact-form input, .contact-form textarea {
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid #d0e6f7;
  font-size: 1rem;
  background: var(--background);
  box-shadow: var(--shadow);
  resize: none;
}
input::placeholder, textarea::placeholder {
  color: #b0b8c1;
  opacity: 0.7;
}
.contact-form button {
  align-self: flex-end;
}
.support-email {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
}
.support-email a {
  color: var(--primary);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(60, 180, 229, 0.18);
  transition: opacity 0.2s;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
#removeJobModal .modal-content {
  max-width: 340px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#confirmRemoveJobBtn {
  background: #e74c3c;
  color: #fff;
  font-weight: 600;
  border: 2px solid #e74c3c;
  border-radius: var(--radius);
  padding: 0.7rem 2rem;
  margin-top: 1.2em;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
#confirmRemoveJobBtn:hover {
  background: #fff;
  color: #e74c3c;
  border: 2px solid #e74c3c;
}
#cancelRemoveJobBtn {
  background: transparent;
  color: #222;
  font-weight: 600;
  border: 2px solid #222;
  border-radius: var(--radius);
  padding: 0.7rem 2rem;
  margin-top: 1.2em;
  margin-left: 1em;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
#cancelRemoveJobBtn:hover {
  background: #222;
  color: #fff;
}
.modal-content {
  background: var(--white);
  padding: 2rem 2rem 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 400px;
  width: 95%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: modalIn 0.2s;
}
@keyframes modalIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.close {
  color: var(--primary);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: var(--secondary);
}
.modal-content label {
  display: block;
  margin-bottom: 0.15em;
}
.modal-content input {
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid #d0e6f7;
  font-size: 1rem;
  background: var(--background);
  box-shadow: var(--shadow);
  margin-bottom: 1.2em;
}
.modal-content button {
  align-self: flex-end;
}

/* How It Works Section */
.how-it-works {
  background: var(--background);
  padding: 3rem 0 2rem 0;
}
.how-it-works h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
}
.hiw-steps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hiw-step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  flex: 1 1 220px;
  max-width: 300px;
  text-align: center;
  position: relative;
}
.hiw-number {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.hiw-step h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

/* Testimonials Section */
.testimonials {
  background: var(--white);
  padding: 3rem 0 2rem 0;
}
.testimonials h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
}
.testimonials-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
  flex: 1 1 220px;
  max-width: 320px;
  text-align: center;
  font-size: 1.08rem;
  color: #333;
}
.testimonial-card span {
  display: block;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  padding: 3rem 0 2rem 0;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.cta-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cta-container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-container .btn {
  font-size: 1.1rem;
  padding: 0.8rem 2.2rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.cta-container .btn:hover {
  background: #2fae6b;
}

/* Courses Page */
.courses-main {
  padding: 2.5rem 0 1rem 0;
}
.courses-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  text-align: center;
}
.courses-intro {
  font-size: 1.15rem;
  color: #333;
  text-align: center;
  margin-bottom: 2.5rem;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.course-card h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.course-card p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.course-card .btn {
  margin-top: auto;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}
.courses-main .cta-section {
  border-radius: var(--radius);
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Add visual separation and spacing for the courses section */
.courses-section {
  background: #fafdff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 1.5rem 2.5rem 1.5rem;
  margin-top: 3em;
  margin-bottom: 2em;
}

.courses-section .courses-title {
  font-size: 2rem;
  margin-bottom: 1.8rem;
  color: var(--primary);
  text-align: center;
}

/* Enhance course card appearance */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid #e3f1fa;
  transition: box-shadow 0.2s, transform 0.2s;
}
.course-card:hover {
  box-shadow: 0 8px 32px rgba(60,180,229,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--primary);
}

.course-card h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.course-card p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.course-card .btn {
  margin-top: auto;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}

/* Add spacing between main sections on the courses page */
.courses-main > .container > section, .courses-main > .container > .employability-intro {
  margin-bottom: 2.5em;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }
  .jobs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hiw-steps, .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    width: 98%;
  }
  .navbar {
    padding: 0.7rem 0;
    height: auto;
  }
  .logo {
    font-size: 1.3rem;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 1.5rem;
    width: 180px;
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 4rem 0 3rem 0;
    min-height: 45vh;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .features {
    padding: 1.5rem 0;
  }
  .features-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .feature-card {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .footer {
    font-size: 0.95rem;
    padding: 0.7rem 0;
  }
  .jobs-title, .courses-title, .testimonials h2, .how-it-works h2 {
    font-size: 1.2rem;
  }
  .jobs-main, .about-main, .contact-main, .courses-main {
    padding: 1.2rem 0 0.5rem 0;
  }
  .jobs-filters, .homepage-filters {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem 0.5rem;
  }
  .search-input, .filter-dropdown {
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem;
  }
  .jobs-grid, .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .job-card, .course-card, .testimonial-card, .about-why, .contact-form, .modal-content {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
    font-size: 0.98rem;
  }
  .job-card h2, .course-card h2 {
    font-size: 1rem;
  }
  .btn, .btn-primary, .btn-apply {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    width: 100%;
    max-width: 260px;
  }
  .about-why {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .contact-form {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .modal-content {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    max-width: 98vw;
  }
  .hiw-steps, .testimonials-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .hiw-step {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
  .hiw-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 1rem;
  }
  .why-list, .tips-list div {
    font-size: 0.98rem;
  }
  .cta-section {
    padding: 1.5rem 0 1.2rem 0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }
  .cta-container h2 {
    font-size: 1.2rem;
  }
  .cta-container .btn {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    width: 90%;
    max-width: 260px;
  }
} 

.trending-jobs, .best-rated-jobs {
  background: var(--background);
  padding: 2.5rem 0 1.5rem 0;
}
.trending-jobs h2, .best-rated-jobs h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
}
.job-cards-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trending-jobs .job-card, .best-rated-jobs .job-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
  flex: 1 1 220px;
  max-width: 260px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.15s, box-shadow 0.15s;
}
.trending-jobs .job-card:hover, .best-rated-jobs .job-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(60,180,229,0.13);
}
.trending-jobs h3, .best-rated-jobs h3 {
  margin-bottom: 0.4rem;
  color: var(--secondary);
  font-size: 1.15rem;
}
@media (max-width: 900px) {
  .job-cards-row {
    flex-direction: column;
    align-items: center;
  }
} 

.homepage-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  background: #f0f7fa;
  border: 1px solid #d0e6f7;
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 8px rgba(60,180,229,0.06);
} 

/* Enhance job card appearance to match course cards */
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid #e3f1fa;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.job-card:hover {
  box-shadow: 0 8px 32px rgba(60,180,229,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--primary);
} 

.tips-list div {
  margin-bottom: 1.1em;
  font-size: 1.08rem;
  line-height: 1.6;
}
.tips-list div:last-child {
  margin-bottom: 0;
} 

/* --- HERO SLIDER STYLES --- */
.hero-slider {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-slide {
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  padding: 7rem 0;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.5s, transform 0.5s;
  opacity: 0;
  z-index: 1;
}
.hero-slide.active {
  display: flex;
  opacity: 1;
  position: relative;
  z-index: 2;
  animation: heroSlideIn 0.7s;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide-content {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 2rem;
}
.hero-slide-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.hero-slide-content .btn {
  margin-top: 1.2rem;
}
.hero-slide-image {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-image img {
  max-width: 350px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  background: #e3f1fa;
}
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(60,180,229,0.85);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.hero-slider-arrow:hover {
  background: var(--secondary);
}
.hero-slider-arrow.left {
  left: 2%;
}
.hero-slider-arrow.right {
  right: 2%;
}
.hero-slider-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  z-index: 10;
}
.hero-slider-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--secondary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-slider-dot.active {
  display: flex;
}
  .hero-slide-content p {
    font-size: 1.05rem;
  }
  .hero-slide {
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    transition: opacity 0.5s ease;
    background-repeat: no-repeat;
  }
@media (max-width: 900px, max-height: 100%) {
  .hero-slider {
    position : relative;
    width: 100px;
    height: 100vh;
    overflow: hidden;
  }
  .hero-slide-content {
    padding: 0 0.5rem;
    z-index: 1;
  }
  .hero-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .hero-slider-dots {
    bottom: 1.2rem;
  }
  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    z-index: 0;
  }
} 

.about-divider {
  border: none;
  border-top: 2px solid #e3f1fa;
  width: 60%;
  margin: 3.5em auto 3.5em auto;
  opacity: 1;
  border-radius: 2px;
} 

.about-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
} 

.about-section.how-it-works {
  margin-bottom: 1em;
  margin-top: -50px;
} 

.about-section.about-who {
  margin-bottom: 2em;
} 

.contact-flex {
  display: flex;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2.5em;
}
.contact-form {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details {
  flex: 1.2 1 380px;
  min-width: 0;
  max-width: 700px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.2rem;
}
.contact-details h2 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  text-align: left;
}
.contact-info-item {
  font-size: 1.08rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.7em;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-form, .contact-details {
    max-width: 100%;
    width: 100%;
    padding: 1.2rem 0.7rem;
  }
  .contact-details {
    padding: 1.2rem 0.7rem;
  }
} 

.dashboard-flex {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2em;
}
.dashboard-jobs {
  flex: 1 1 0;
  max-width: 33%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 0;
}
.dashboard-profile {
  flex: 2 1 0;
  max-width: 67%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  min-width: 0;
}
.profile-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
  font-size: 1.08rem;
  color: #333;
  margin-top: 1em;
}
@media (max-width: 900px) {
  .dashboard-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .dashboard-profile, .dashboard-jobs {
    max-width: 100%;
    width: 100%;
    padding: 1.2rem 0.7rem;
  }
  .profile-card {
    padding: 1.2rem 0.7rem;
    max-width: 100%;
  }
} 

.dashboard-jobs h2 {
  margin-bottom: 2.2rem;
}
.dashboard-jobs .job-card {
  margin-bottom: 2.2rem;
}
.dashboard-jobs .job-card:last-child {
  margin-bottom: 0;
} 

.hero-slider .hero-slide:nth-child(4) {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.hero-slider .hero-slide:nth-child(4) .hero-slide-content {
  flex: 0 1 420px;
  max-width: 480px;
  margin: 0;
}
.hero-slider .hero-slide:nth-child(4) .hero-slide-image {
  flex: 0 1 340px;
  max-width: 400px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slider .hero-slide:nth-child(4) .hero-slide-image img {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  box-shadow: var(--shadow);
} 

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.5rem 0 1.2rem 0;
}
.footer-section {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 260px;
  margin-bottom: 1.2em;
}
.footer-section h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
.footer-section h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.7em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.4em;
  /* Add spacing for new privacy link */
}
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.04em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.footer-socials a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s;
}
.footer-socials a:hover {
  color: var(--secondary);
}
.footer-section h3, .footer-section h4 {
  position: relative;
}
.footer-section h3::after, .footer-section h4::after {
  content: '';
  display: block;
  width: 38px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 0.4em auto 0.7em auto;
}
@media (max-width: 900px) {
  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 0 1.2rem 0;
  }
  .footer-section {
    max-width: 100%;
    min-width: 0;
  }
} 

.footer-spacer {
  height: 2.5rem;
}
@media (max-width: 900px) {
  .footer-spacer {
    height: 1.5rem;
  }
} 

.about-hero, .courses-hero {
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: var(--white);
  padding: 7rem 0 7rem 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
}
.about-hero .hero-content, .courses-hero .hero-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.about-hero .hero-content h1, .courses-hero .hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.about-hero .hero-content p, .courses-hero .hero-content p {
  font-size: 1.3rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .about-hero, .courses-hero {
    padding: 4rem 0 3rem 0;
    min-height: 28vh;
  }
  .about-hero .hero-content h1, .courses-hero .hero-content h1 {
    font-size: 1.7rem;
  }
  .about-hero .hero-content p, .courses-hero .hero-content p {
    font-size: 1.05rem;
  }
} 

#applicationSuccessModal .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1em;
  text-align: center;
}
#applicationSuccessModal .btn {
  align-self: center;
  margin-left: 0;
  margin-right: 0;
} 

#editProfileModal textarea#editAbout {
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid #d0e6f7;
  font-size: 1rem;
  background: var(--background);
  box-shadow: var(--shadow);
  resize: none;
  width: 100%;
  min-height: 70px;
  margin-bottom: 0.7em;
  font-family: 'Poppins', Arial, sans-serif;
} 

#jobDescriptionModal .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1em;
  text-align: center;
}
#jobDescriptionModal .btn {
  align-self: center;
  margin-left: 0;
  margin-right: 0;
} 

#minPayInput.filter-input {
  padding: 0.7em 1.2em;
  border-radius: var(--radius);
  border: 1px solid #d0e6f7;
  font-size: 1rem;
  background: var(--background);
  box-shadow: var(--shadow);
  font-family: 'Poppins', Arial, sans-serif;
  margin-right: 0.7em;
  margin-bottom: 0;
  outline: none;
  transition: border 0.2s;
}
#minPayInput.filter-input:focus {
  border: 1.5px solid #3bb4e5;
} 