/* Hybrid Style */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Base Styles */
body {
  background: #f8f9fa;
  color: #2a2a2a;
  font-family: 'Outfit', sans-serif;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom: 0px;
}

h1, h2, h3, h4, h5, h6,
nav, nav *, .admin-nav, .admin-nav * {
  font-family: 'Oswald', sans-serif !important;
}

/* Navigation  */
nav {
  background: #003366;
  padding-right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo img {
  height: 45px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style-type: none;
  margin: 0;
  padding: 0;
} 

nav ul li {
  position: relative;
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  margin-left: 15px;
}

.profile-btn {
  background: none;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.profile-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

.dropdown-menu i {
  margin-right: 10px;
  font-size: 1.1em;
}

.dropdown-divider {
  border-top: 1px solid #eee;
  margin: 5px 0;
}

.profile-dropdown:hover .dropdown-menu {
  display: block;
}


.profile-btn {
  padding: 12px 20px;
  font-size: 1.1em;
}

.profile-btn i {
  font-size: 1.3em;
}

.dropdown-menu {
  min-width: 220px;
}

/* Hide auth links when logged in */
.auth-link {
  display: inline-block;
}

.profile-dropdown {
  display: none;
}

/* Modify existing navigation styles */
nav ul li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  border-radius: 10px;
  padding: 8px 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}



nav ul li a:hover {
  background: #FF9900;
  color: #000000;
}

nav ul li.active a{
  background-color: #FF9900;
  color:#000000;
}

nav ul li.active a::after {
  display: none; /* Hide underline on active state */
}

.auth-link {
  transition: opacity 0.3s ease;
}

/* Hide logout by default */
#logoutLink {
  display: none;
}

/* Hero Section */
.home {
  position: relative;
  padding: 166px;
  text-align: center;
  overflow: hidden;
}

/* Slider container */
.home-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Background Images with Dark Overlay */
.home-slides .home-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Dark overlay using pseudo-element */
.home-slides .home-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 50%;
  z-index: 1;
}

/* Active state for fade transition */
.home-slides .home-bg-image.active {
  opacity: 1;
  z-index: 2;
}

.home a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 10px;
  background: #ff9900;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 550;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Added for anchor tag */
  text-align: center; /* Better alignment safety */
  justify-content: center; /* Center content horizontally */
}

.hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  padding: 20px;
}

/* Search Container - Hybrid Style */
.search-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  margin-bottom: 25px;
  align-items: center; /* Vertical alignment fix */
}

/* Desktop Grid Structure */
@media (min-width: 768px) {
  .search-grid {
    grid-template-columns: 
      2fr    /* Search input */
      1fr    /* Country */
      1fr    /* Area */
      1fr    /* Category */
      auto;  /* Button */
    grid-template-areas: 
      "search country area category button";
  }

  #search-input { grid-area: search; }
  #country { grid-area: country; }
  #area { grid-area: area; }
  #category { grid-area: category; }
  .search-btn { grid-area: button; }
}

/* Form Elements */
#country, 
#area,
#category,
#search-input {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-weight: 500;
  font-family: 'Oswald', sans-serif;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Dropdown Carets */
#country, 
#area,
#category {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.search-btn {
  background: #FF9900;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  border-radius: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn:hover {
  background: #FF6600;
}

/* Mobile Optimization */
@media (max-width: 767px) {
  .search-grid {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "search"
      "country"
      "area"
      "category"
      "button";
  }

  .search-btn {
    width: 100%;
    padding: 15px;
  }
}

/* Disabled State */
#area:disabled {
  opacity: 0.7;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

.ourclients{
  padding: 50px 5%;
  background-color: #d6d6d6;
  text-align: center;
  border-top: 1px solid #eee;
}

.ourclients h1 {
  font-size: 1.7rem;
  color: #474747;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  font-weight: 500;
}

.ourclients img {
  max-width: 300px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.ourclients img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Service Cards  */
.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: -60px auto 0;
  padding: 0 5%;
  margin-bottom: 100px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.employer-card {
  border-top: 5px solid #8e51bc;
}

.seeker-card {
  border-top: 5px solid #FF9900;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
}

.employer-card .cta-btn {
  background: #611c95;
  color: #fff;
}

.seeker-card .cta-btn {
  background: #FF9900;
  color: #fff;
}

/* Modern About Us Section */
:root {
  --primary: #2563eb;       /* Modern blue accent */
  --text-primary: #1e293b;  /* Dark slate */
  --text-secondary: #64748b;/* Medium slate */
}

.AboutUs-Container {
  padding: 6rem 2rem;
  background: #ffffff;
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}

.AboutUs {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 4rem;
  width: 100%;
}

.AboutUs h1 {
  font-size: 3rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.05em;
  position: relative;
  display: inline-block;
}

.AboutUs h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.Content-Wrapper {
  display: grid;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .Content-Wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 6rem;
  }
}

.Service img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.Text-Content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 30px
}

.Service strong {
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

.Service p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 500px;
}

.Opportunities {
  margin-top: 3rem;
  padding: 30px;
}

.Opportunities strong {
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 1.5rem;
}

.Opportunities p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

.Opportunities img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Updated Centered Button Styles */
.Browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  margin: 3rem auto 0;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Added for anchor tag */
  text-align: center; /* Better alignment safety */
  justify-content: center; /* Center content horizontally */
}

.Browse-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: #036;
  color: white; /* Ensure color stays white on hover */
  text-decoration: none; /* Remove any default hover underline */
}

/* Remove absolute positioning from container */
.AboutUs-Container {
  padding: 5rem 2rem;
  background: #ffffff;
  text-align: center; /* Added for child elements */
}

.Browse-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.Browse-btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .AboutUs-Container {
    padding: 4rem 1.5rem;
    min-height: auto;
  }
  
  .Service img {
    height: 350px;
  }

  .Opportunities{
      height: 350px;
  }
  
  .Browse-btn {
    position: static;
    margin-top: 3rem;
    width:170px ;
  }
  
  .AboutUs h1 {
    font-size: 2.25rem;
  }
  
  .Content-Wrapper {
    gap: 3rem;
  }
}

@media (max-width: 480px) {
  .AboutUs h1 {
    font-size: 2rem;
  }
  
  .Service strong {
    font-size: 1.7rem;
  }
}


/* Recent Jobs*/
.recent-jobs {
  padding: 40px 5%;
  background: #f8f9fa;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-top: 4px solid #003366;
}

.job-title {
  color: #003366;
  margin: 0 0 10px 0;
}

.company {
  color: #FF9900;
  font-weight: 500;
  margin: 0 0 15px 0;
}

.job-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.job-meta span {
  background: #f0f0f0;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

.apply-btn {
  background: #FF9900;
  color: #003366;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 15px;
}

/* Footer Section */
.footer {
  background-color:#036 ; /* Dark background */
  padding: 40px 10%;
}

.footer p{
  color:white;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px; /* Space between columns */
}

.footer-column {
  flex: 1 1 calc(25% - 20px); /* Adjust for four columns */
  min-width: 200px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #F57C00; /* Accent color */
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #F57C00; /* Accent color on hover */
}

.footer-social a {
  font-size: 20px;
  color: white;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #F57C00; /* Accent color on hover */
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #ffffff;
  padding-top: 10px;
  font-size: 14px;
  color: rgb(255, 255, 255);
  
}



.verification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.verification-popup .popup-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
}

.verification-popup h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.verification-popup p {
  margin-bottom: 1.5rem;
  color: #34495e;
}

.popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: #3498db;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-secondary {
  background-color: #e74c3c;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.small-text {
  font-size: 0.8rem;
  color: #7f8c8d;
}

#main-content {
  display: block; /* Will be toggled by JS */
}

.verification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.btn-primary {
  background-color: #2c3e50;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary {
  background-color: #e74c3c;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.small-text {
  font-size: 0.8rem;
  color: #7f8c8d;
}

/* Sample Hero Sections */

/* About Us Hero Section */
.about-hero {
  background: linear-gradient(135deg, #003366 0%, #0055a4 100%);
  padding: 80px 5%;
  color: white;
  text-align: justify;
}

.about-hero .hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-hero .hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.about-hero h1 {
  margin-bottom: 20px;
  color: #FF9900;
}

.about-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Content-Image Pair Layout */
.content-image-pair {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  padding: 0 5%;
}

.content-image-pair.reverse {
  flex-direction: row-reverse;
}

.content-image-pair .text-content {
  flex: 1;
  min-width: 300px;
}

.content-image-pair .text-content h2 {
  font-size: 1.8rem;
  color: #FF9900;
  margin-bottom: 15px;
  font-weight: 600;
}

.content-image-pair .text-content h2 + p {
  margin-top: 10px;
}

.content-image-pair .text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
}

.content-image-pair .pair-image {
  flex: 1;
  max-width: 618px;
  width: 100%;
  height: 409px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.CareerGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pair-image-right{

  max-width: 400px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

}

/* Responsive adjustments for content-image pairs */
@media (max-width: 992px) {
  .content-image-pair {
    flex-direction: column;
  }

  .content-image-pair.reverse {
    flex-direction: column;
  }

  .content-image-pair .pair-image {
    max-width: 100%;
    height: 250px;
  }

  .content-image-pair .text-content {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .content-image-pair {
    margin-bottom: 30px;
  }

  .content-image-pair .text-content h2 {
    font-size: 1.5rem;
  }

  .content-image-pair .text-content p {
    font-size: 1rem;
  }

  .content-image-pair .pair-image {
    height: 200px;
  }
}

/* Goals Hero Section */
.goals-hero {
  background: white;
  padding: 80px 5%;
  color: rgb(0, 0, 0);
  text-align: center;
}

.goals-hero .hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.goals-hero .hero-content {
  margin: 0 auto;
  text-align: center;
}

.goals-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #003366;
}

.goals-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;       /* Limits the grid width */
  margin-left: auto;       /* Centers the grid horizontally */
  margin-right: auto;
  margin-bottom: 40px;
}

/* Optional: Keep the container background properly padded */
.goals-hero {
  background: white;
  padding: 80px 5%;
  color: rgb(0, 0, 0);
  text-align: center;
}

/* Responsive: stack gracefully on smaller screens */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-item {
  background: #f8f9fa;
  padding: 35px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 3rem;
  color: #003366;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Common CTA Button */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: #003366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #003366;
}

.cta-button:hover {
  background: transparent;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-hero .hero-wrapper,
  .goals-hero .hero-wrapper {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .about-hero h1,
  .goals-hero h1 {
    font-size: 2rem;
  }

  .about-hero p,
  .goals-hero p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Left and Right Fade Animations */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.appear {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}


/* Delayed animations for staggered effect */
.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in:nth-child(2) {
  transition-delay: 0.3s;
}

.fade-in:nth-child(3) {
  transition-delay: 0.5s;
}

.fade-in:nth-child(4) {
  transition-delay: 0.7s;
}

.fade-in:nth-child(5) {
  transition-delay: 0.9s;
}

.fade-in:nth-child(6) {
  transition-delay: 1.1s;
}

/* For sections, use different delay approach */
section:not(.home) .fade-in {
  transition-delay: 0.2s;
}

.service-section .fade-in {
  transition-delay: 0.1s;
}

.service-section .service-card:nth-child(1) .fade-in,
.goals-hero .fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

.service-section .service-card:nth-child(2) .fade-in,
.goals-hero .fade-in:nth-child(2) {
  transition-delay: 0.3s;
}

.goals-hero .service-item:nth-child(1) .fade-in {
  transition-delay: 0.2s;
}

.goals-hero .service-item:nth-child(2) .fade-in {
  transition-delay: 0.4s;
}

.goals-hero .service-item:nth-child(3) .fade-in {
  transition-delay: 0.6s;
}



/* Affiliated Section */
.affiliated-section {
  padding: 50px 5%;
  background-color: #fcfcfc;
  text-align: center;
  border-top: 1px solid #eee;
}

.affiliated-container p {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
  font-weight: 500;
}

.affiliated-logo img {
  max-width: 180px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.affiliated-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Employer CTA Section */
.employer-cta {
  background: #003366;
  padding: 60px 5%;
  text-align: center;
  color: white;
}

.employer-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #FF9900;
}

.employer-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.employer-cta .cta-btn {
  background: #FF9900;
  color: #003366;
  padding: 12px 40px;
  font-size: 1.1rem;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, background 0.3s ease;
}

.employer-cta .cta-btn:hover {
  transform: translateY(-3px);
  background: #e68a00;
}
