@import url('https://fonts.cdnfonts.com/css/helvetica-now-display');
@import url('https://fonts.googleapis.com/css2?family=Spinnaker&display=swap');

body {
  line-height: 1.4;    /* You can use unitless values (1.6 = 160% of font size) */
  letter-spacing: 0.05em;  /* Can use em, px, or rem units */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
}

/* Header Styling */
/* General Header Styling */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    font-family: Arial, Helvetica, sans-serif;
}

.logo img {
    max-width: 500px;
    height: 45px;
}

/* Navbar Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    position: relative;
}

/* Navbar Links */
nav ul li a {
    text-decoration: none;
    color: #000080;
    font-weight: 600;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
}

nav ul li a:hover {
    color: rgb(252, 0, 0);
    background-color: #ffffff;
    text-decoration: none;
}

/* Dropdown Styling */
nav ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 280px;
    top: 100%;
    left: 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 15px 0; /* Add vertical padding */
}

nav ul li .dropdown-content li {
    width: 100%;
}

nav ul li .dropdown-content li a {
    padding: 5px 12px;
    color: #333;
    text-align: left;
    display: block;
    font-weight: 600;
    text-decoration: none;
}

nav ul li .dropdown-content li a:hover {
    background-color: #ffffff;
    color: rgb(255, 0, 0);
}

/* Nested Dropdown Styling */
nav ul li .dropdown-content .dropdown {
    position: relative;
}

nav ul li .dropdown-content .dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

/* Show dropdowns on hover */
nav ul li:hover .dropdown-content {
    display: block;
}

nav ul li .dropdown-content li:hover .dropdown-content {
    display: block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 40px; /* Adjusted to move hamburger to the right */
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Responsive Styles */
/* Mobile Menu Dropdown Complete Fix */
@media (max-width: 768px) {
    /* Base mobile menu styling */
    nav ul {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        background-color: #004080;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 70px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        padding-left: 0rem;
    }
    
    nav ul.nav-active {
        transform: translateX(0);
    }
    
    /* Main menu items */
    nav > ul > li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    nav > ul > li > a {
        padding: 15px 20px;
        width: 100%;
        display: block;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-family: 'Spinnaker', sans-serif;
    }
    
    /* Key fix: Make dropdown-content have proper display */
    nav ul li.dropdown .dropdown-content {
        display: none; /* Hidden by default */
        position: static !important; /* Override any position */
        width: 100%;
        background-color: #003366;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        height:auto;
    }
    
    /* Dropdown items */
    nav ul li.dropdown .dropdown-content li {
        width: 100%;
    }
    
    nav ul li.dropdown .dropdown-content li a {
        color: rgba(255, 255, 255, 0.9);
        padding: 12px 20px 12px 40px; /* Indent to show hierarchy */
        font-size: 16px;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Make the dropdown toggle indicator */
    nav ul li.dropdown > a {
        position: relative;
    }
    
    nav ul li.dropdown > a:after {
        content: '+';
        position: absolute;
        right: 20px;
        transition: transform 0.3s ease;
    }
    
    nav ul li.dropdown.active > a:after {
        content: '-';
    }
    
    /* Hover states */
    nav ul li a:hover,
    nav ul li .dropdown-content li a:hover {
        background-color: white;
    }
  .hamburger {
        display: flex; /* Change from 'none' to 'flex' */
        z-index: 1000; /* Ensure it stays above the sliding menu */
    }
    
    /* Ensure the hamburger animation works */
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .logo img {
        max-width: 250px; /* Smaller logo on mobile */
    }
}

/* Hero section styling */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: flex-end; /* Aligns content to the right */
  align-items: center;
  color: white;
  text-align: left;
}

/* Full-width image with blue overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/wcu.png"); /* Update with your image path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.5) grayscale(20%) contrast(1.2); /* Blue overlay effect */
  opacity: 0; /* Start with opacity 0 */
  animation: heroImageFade 1.5s ease forwards; /* Apply animation */
}

@keyframes heroImageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Text box on the right corner */
.hero-content {
  position: relative;
  z-index: 1; /* Ensures the text box stays above the image */
  max-width: 70%; /* Increased width of the text box */
  background: rgba(255, 255, 255, 0.9); /* White semi-transparent background */
  padding: 20px;
  border-radius: 8px;
  margin-right: 50px; /* Space from the right edge */
  color: #012f74; /* Dark blue color for text */
  margin-top: 150px;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
}

.hero h1 {
  font-size: 35px;
  margin-bottom: 15px;
  margin-right: 40px;
  font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.hero p {
  font-size: 22px;
  margin-bottom: 20px;
  margin-right: 40px;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-weight: 100;
}

.cta-button {
  padding: 10px 20px;
  background-color: #012f74;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
  }

  .hero::before {
    width: 100%; /* Image takes up full width on smaller screens */
  }

  .hero-content {
    max-width: 90%; /* Text box takes up more space on mobile */
    margin: 0;
    font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  }

  .hero h1 {
    font-size: 2rem;
    font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }

  .hero p {
    font-size: 1rem;
    font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
    font-weight: 400;
  }
}

/* Services Section */
/* Services Section */
.services-section {
  text-align: left;
  padding: 40px 20px;
  background-color: #ffffff;
  margin: 20px;
}

.services-section h2 {
  font-size: 25px;
  margin-bottom: 30px;
  color: #000000; /* Dark blue for heading */
  text-align: center; /* Center-align the heading */
  letter-spacing: 1px; /* Add some spacing between letters */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Extremely subtle shadow */
  opacity: 0; /* Start invisible for the animation */
  animation: fadeInSlideUp 1.2s ease forwards; /* Animation properties */
  font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* Keyframes for fade-in and slide-up animation */
@keyframes fadeInSlideUp {
  0% {
      opacity: 0;
      transform: translateY(20px); /* Start slightly lower */
  }
  100% {
      opacity: 1;
      transform: translateY(0); /* Slide up to original position */
  }
}


/* Very Light Text Shadow */
.services-section h2 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Extremely subtle shadow */
  font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}


/* List Styling */
.services-list {
  list-style: none; /* Removes default bullet points */
  padding: 0;
  margin: 0;
}

.services-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.services-list li.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Make sure the Join Us and Contact sections have proper initial states */
.join-us h2, 
.join-us p, 
.join-us .join-button,
.contact-us .form-row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-list h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #2b3db7; /* Dark blue for list item titles */
  font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.services-list p {
  font-size: 1rem;
  color: #5a5a5a; /* Subtle gray for text */
  line-height: 1.6;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-weight: 100;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-section h2 {
      font-size: 1.5rem;
      font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
      font-optical-sizing: auto;
      font-weight: 500;
      font-style: normal;
  }

  .services-list h3 {
      font-size: 1.3rem;
      font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
      font-optical-sizing: auto;
      font-weight: 500;
      font-style: normal;
  }

  .services-list p {
      font-weight: 400;
  }
}

/* Join Us Section */
.join-us {
  padding: 60px 0;
  text-align: center;
  background-color: #f8f8f8;
}

.join-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
}

.join-us h2 {
  font-size: 3rem;
  color: #2b3db7; /* Dark blue color for heading */
  margin-bottom: 20px;
  font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.join-us p {
  font-size: 1.2rem;
  color: #555; /* Darker grey for paragraph text */
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-weight: 100;
}

.join-button {
  padding: 12px 30px;
  background-color: #d32f2f; /* Red color for button */
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
}

.join-button:hover {
  background-color: #b71c1c; /* Darker red on hover */
}

/* Responsive */
@media (max-width: 768px) {
  .join-us h2 {
    font-size: 2.5rem;
    font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }

  .join-us p {
    font-size: 1rem;
    font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
    font-weight: 400;
  }
}

/* Modernized Contact Form Styles */
.contact-us {
    padding: 60px;
    background-color: #003366;
    color: white;
    text-align: center;
}

.contact-us h2 {
    font-family: 'Spinnaker', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.contact-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #007bff;
    border-radius: 2px;
    animation: widthGrow 0.5s ease forwards;
}

.contact-form {
    max-width: 750px;
    margin: 0 auto;
    background-color: #003366;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease forwards;
}

.contact-form .form-group {
    flex: 0 0 48%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.contact-form .form-group.full-width {
    flex: 0 0 100%;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(249, 249, 249, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.contact-form input:focus + label,
.contact-form textarea:focus + label {
    transform: translateY(-2px);
    color: #007bff;
}

.contact-form textarea {
    resize: none;
}

.submit-button {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 42%;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes widthGrow {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Form validation styling */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

/* Maintain existing responsive breakpoints */
@media (max-width: 768px) {
    .contact-us {
        padding: 40px;
    }
    .contact-us h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    .contact-form {
        padding: 30px;
    }
    .contact-form .form-group {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 425px) {
    .contact-us {
        padding: 30px;
    }
    .contact-us h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .contact-form {
        padding: 20px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }
    .submit-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .contact-us {
        padding: 20px;
    }
    .contact-us h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .contact-form {
        padding: 15px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 0.85rem;
    }
    .submit-button {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}

/* Footer */
/* General Footer Styling */
footer {
    background-color: #222; /* Dark background for the footer */
    color: #fff; /* White text color for better contrast */
    padding: 40px 20px; /* Added more padding for breathing space */
    text-align: center; /* Center text alignment */
}

/* Footer Container */
.footer-container {
    max-width: 1200px; /* Max width for large screens */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Added horizontal padding for better alignment */
}

/* Footer Info Section */
.footer-info {
    margin-bottom: 30px; /* More space between the info and links */
}

.footer-info p {
    margin: 8px 0; /* Spacing between lines */
    font-size: 1rem; /* Adjusted font size */
    color: #ccc; /* Light gray color for the text */
    font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
}

.footer-info p a {
    color: #fff; /* White color for links */
    text-decoration: none; /* No underline */
    font-weight: 600; /* Slightly bolder text for better visibility */
}

.footer-info p a:hover {
    text-decoration: underline; /* Underline effect on hover */
    color: #f39c12; /* Change color on hover for better interaction */
}

/* Footer Links */
.footer-links {
    margin-bottom: 20px; /* Space between footer links and copyright */
}

.footer-links ul {
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center links */
    gap: 30px; /* Space between each link */
}

.footer-links ul li {
    display: inline-block; /* Display links inline */
}

.footer-links ul li a {
    color: #fff;
    font-size: 1rem; /* Larger font size for links */
    text-decoration: none;
    font-weight: 500; /* Slightly lighter weight for links */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover transition */
}

.footer-links ul li a:hover {
    color: #f39c12; /* Change color on hover */
    transform: translateY(-3px); /* Slight upward movement for hover effect */
}

/* Footer Copyright Section */
.footer-copyright {
    font-size: 0.9rem;
    color: #bbb; /* Lighter color for copyright text */
    margin-top: 20px; /* Add space above copyright */
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-links ul {
        flex-direction: column; /* Stack links vertically on small screens */
        gap: 15px; /* Reduce the gap between links */
    }

    .footer-info p {
        font-size: 0.9rem; /* Smaller text on smaller screens */
    }

    .footer-copyright {
        font-size: 0.85rem; /* Slightly smaller copyright text */
    }
}
/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations to elements */
.hero-content {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.3s;
}

.hero h1 {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.6s;
}

.hero p {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.9s;
}

.hero .cta-button {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1.2s;
}

/* Services Section Animations */
.header-box {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.services-list li {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

/* Enhanced Animation Keyframes for Services List */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }
  70% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Amplified Services List Animations */
.services-list li {
  opacity: 0;
  transform: translateY(50px);
  animation: popIn 1.2s cubic-bezier(0.17, 0.84, 0.44, 1) forwards;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services-list li:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* More pronounced staggered delays */
.services-list li:nth-child(1) {
  animation-delay: 0.5s;
}

.services-list li:nth-child(2) {
  animation-delay: 0.8s;
}

.services-list li:nth-child(3) {
  animation-delay: 1.1s;
}

.services-list li:nth-child(4) {
  animation-delay: 1.4s;
}

.services-list li:nth-child(5) {
  animation-delay: 1.7s;
}

.services-list li:nth-child(6) {
  animation-delay: 2.0s;
}

/* Service item title animation */
.services-list li h3 {
  position: relative;
  opacity: 0;
  animation: fadeInSlide 1s ease forwards;
  animation-delay: calc(0.5s + var(--delay) * 0.3s);
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.services-list li:nth-child(1) h3 { --delay: 1; }
.services-list li:nth-child(2) h3 { --delay: 2; }
.services-list li:nth-child(3) h3 { --delay: 3; }
.services-list li:nth-child(4) h3 { --delay: 4; }
.services-list li:nth-child(5) h3 { --delay: 5; }
.services-list li:nth-child(6) h3 { --delay: 6; }

/* Service item content animation */
.services-list li p {
  opacity: 0;
  animation: fadeInSlide 1s ease forwards;
  animation-delay: calc(0.7s + var(--delay) * 0.3s);
}

.services-list li:nth-child(1) p { --delay: 1; }
.services-list li:nth-child(2) p { --delay: 2; }
.services-list li:nth-child(3) p { --delay: 3; }
.services-list li:nth-child(4) p { --delay: 4; }
.services-list li:nth-child(5) p { --delay: 5; }
.services-list li:nth-child(6) p { --delay: 6; }

/* Add a colorful left border that animates in */
.services-list li {
  position: relative;
  overflow: hidden;
}

.services-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, #2b3db7, #4682B4);
  transform: translateX(-100%);
  animation: slideInBorder 0.7s ease forwards;
  animation-delay: calc(0.9s + var(--delay) * 0.3s);
}

@keyframes slideInBorder {
  to { transform: translateX(0); }
}

.services-list li:nth-child(1)::before { --delay: 1; }
.services-list li:nth-child(2)::before { --delay: 2; }
.services-list li:nth-child(3)::before { --delay: 3; }
.services-list li:nth-child(4)::before { --delay: 4; }
.services-list li:nth-child(5)::before { --delay: 5; }
.services-list li:nth-child(6)::before { --delay: 6; }

/* Join Us Section Animations */
.join-content {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.join-us h2 {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.7s;
}

.join-us p {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.9s;
}

.join-us .join-button {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1.1s;
}

/* Contact Us Section Animations */
.contact-us h2 {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
}

.contact-form {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.7s;
}

.contact-form .form-row {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.contact-form .form-row:nth-child(1) {
  animation-delay: 0.9s;
}

.contact-form .form-row:nth-child(2) {
  animation-delay: 1.1s;
}

.contact-form .form-row:nth-child(3) {
  animation-delay: 1.3s;
}

.contact-form .form-row:nth-child(4) {
  animation-delay: 1.5s;
}
