* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.navbar {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Combined from two .navbar definitions */
  padding: 10px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  font-family: "Rubik Spray Paint", system-ui;
}

.navbar .logo img {
  width: 60px;
  height: 50px;
  border-radius: 5px;
  background-color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.apply-btn a {
  text-decoration: none;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 400px; /* Using min-height to ensure content fits */
  background-image: url('https://jobappliers.us/assets/img/84571.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 0; /* Combined from two .hero definitions */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 20px;
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "Rubik Spray Paint", system-ui;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.hero button:hover {
  background-color: #0056b3;
}

/* Carousel Section (Features/Cards) */
.carousel-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.carousel-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: "Rubik Spray Paint", system-ui;
}

/* This .carousel is for the feature cards, not the image slider */
.carousel {
    /* display: flex
; */
    /* overflow-x: auto; */
    /* scroll-snap-type: x mandatory; */
    gap: 20px;
    padding-bottom: 10px;
    width: 100%;
    /* float: left; */
    overflow: hidden;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.carousel-card {
    
    width: 215px;
    height: 232px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    float: left;
    margin-top: 20px;
    margin-left: 20px;
}

.carousel-card:hover {
  transform: scale(1.03);
}

.carousel-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.carousel-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.carousel-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Carousel Section (Image Slider) */
/* Renamed to .image-carousel-container to avoid conflict with .carousel-container for feature cards */
.image-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 400%; /* for 4 slides */
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.carousel-buttons button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
}

/* Form Section */
/* Combined .container definitions */
.container {
  max-width: 700px; /* Using the larger max-width from the second .container */
  margin: 40px auto; /* Using margin from the first .container */
  padding: 24px; /* Using padding from the first .container */
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.1); /* Using the more specific box-shadow */
  background: white; /* Added from second .container */
}

form {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Using gap from first form definition */
}

form > div {
  margin-bottom: 20px; /* Added from second form definition */
}

.flex-row {
  display: flex;
  gap: 20px; /* Using gap from second .flex-row */
}

.flex-row > div {
  flex: 1;
  display: flex; /* Added from first .flex-row > div */
  flex-direction: column; /* Added from first .flex-row > div */
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    margin-top: 13px;
}

input[type="text"],
input[type="date"],
select {
  width: 100%; /* Added from second input/select */
  padding: 10px 12px; /* Using padding from first input/select */
  border: 1px solid #999; /* Using border from first input/select */
  ;
  font-size: 1rem;
  
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
  border-color: #333;
  outline: none;
}

.address-group > input {
  margin-bottom: 8px; /* Using margin from first .address-group > input */
}

.address-city-state {
  display: flex;
  gap: 16px; /* Using gap from first .address-city-state */
  margin-bottom: 8px; /* Using margin from first .address-city-state */
}

.address-city-state input {
  flex: 2; /* Using flex from first .address-city-state input */
}

.address-city-state select {
  flex: 1; /* Using flex from first .address-city-state select */
}

button {
  padding: 12px 32px; /* Using padding from first button */
  font-weight: 600; /* Using font-weight from first button */
  border: 1px solid #000; /* Using border from first button */
  background: transparent; /* Using background from first button */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* Using transition from first button */
  color: white; /* Added from second button */
  background: black; /* Added from second button */
  border-radius: 4px; /* Added from second button */
  font-weight: 700; /* Reverted to 700 to maintain stronger bold */
  margin-top: 10px;
}

button:hover {
  background-color: #000;
  color: #fff;
  background: #333; /* Using background from second button hover */
}

.text-center {
  text-align: center;
}

/* File Upload Styles */
.driving-licence {
  margin-top: 30px;
}

.driving-licence label {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.file-upload-container {
  display: flex;
  gap: 20px;
}

.file-dropzone {
  flex: 1;
  border: 2px dashed #888;
  padding: 30px 10px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.file-dropzone:hover {
  background: #f0f0f0;
}

.file-dropzone img {
  max-height: 100px;
  margin: 0 auto;
  object-fit: contain;
}

.file-dropzone p {
  margin: 0;
  font-weight: 600;
}

.file-dropzone input[type="file"] {
  display: none;
}

.file-name {
  font-size: 0.9rem;
  color: #555;
  word-break: break-word;
}

/* About Section */
.about-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.header h1 {
  font-size: 2.8rem;
  color: #2563eb;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #4b5563;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid #3b82f6;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.feature-card:nth-child(2) {
  border-left-color: #10b981;
}

.feature-card:nth-child(3) {
  border-left-color: #8b5cf6;
}

.feature-card:nth-child(4) {
  border-left-color: #f59e0b;
}

.feature-card h3 {
  font-size: 1.8rem;
  color: #1e40af;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-card h3 i {
  margin-right: 12px;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card p,
.feature-card ul {
  color: #4b5563;
  font-size: 1.05rem;
}

.feature-card ul {
  padding-left: 25px;
  margin-top: 15px;
}

.feature-card li {
  margin-bottom: 10px;
  position: relative;
}

.feature-card li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: -25px;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 60px 0;
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  flex: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 1.1rem;
  color: #4b5563;
}

.team-section {
  margin: 60px 0;
  text-align: center;
}

.team-section h2 {
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 4px solid #dbeafe;
}

.member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.4rem;
  color: #1e3a8a;
  margin-bottom: 5px;
}

.member-role {
  color: #3b82f6;
  font-weight: 500;
  margin-bottom: 15px;
}

.cta-section {
  text-align: center;
  margin: 60px 0 30px;
  padding: 40px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border-radius: 16px;
  color: white;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #2563eb;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: #eff6ff;
}

/* Footer */
.footer {
  background-color: #f1f5f9;
  color: #374151;
  border-radius: 8px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  max-width: 100%;
}

.footer .nav-links {
  /* This specific .nav-links applies to the footer, overriding the general one for flexbox behavior */
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer .nav-links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer .nav-links a:hover {
  color: #2563eb;
}

.social-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-links a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.7;
}

.social-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.allibtn{
    text-decoration: none;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}
.copyright {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

/* Reviews Section */
.reviews-section {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  padding: 1rem;
}

.title {
  font-size: 2rem;
  color: #000;
  margin-bottom: 1.5rem;
}

/* This .carousel is for the reviews slider, not feature cards or image slider */
.reviews-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.carousel-item.active {
  display: flex;
}

.carousel-item img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  max-width: 500px;
  color: #374151;
}

.reviewer {
  font-weight: bold;
  color: #111827;
}

.nav-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav-buttons button {
  background-color: #2563eb;
  color: white;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.nav-buttons button:hover {
  background-color: #1e40af;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 10px;
  }

  .menu-toggle {
    margin-left: auto;
    order: 2; /* to appear right side of logo */
    display: flex; /* Moved from general .menu-toggle block */
  }

  .logo {
    order: 1;
  }

  .apply-btn {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    height: 80vh;
  }

  .carousel-card {
    min-width: 200px;
  }

  .carousel-buttons button {
    padding: 8px 12px;
    font-size: 16px;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-card h3 {
    font-size: 1.5rem;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .footer .nav-links {
    gap: 16px;
  }

  .social-links {
    gap: 16px;
  }

  .footer {
    padding: 24px 16px;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-card {
    min-width: 160px;
    padding: 15px;
  }

  .carousel-card img {
    width: 60px;
    height: 60px;
  }

  .review-text {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1536px) {
  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }
}
element.style {
  height: 0px;
}
/*
.left-arrow {
    float: left;
    margin-top: 92px;
}
.right-arrow {
    float: right;
    margin-top: -408px;
}
.review-carousel {
    width: 403px;
    margin-left: 82px;
    height: 500px;
}
*/
.nav-links a:hover{
  color:#007bff;
}
.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  font
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
@media (max-width: 768px) {
    .hero {
        height: 32vh
;
    }
}
.success-box {
  max-width: 500px;
  margin: 60px auto;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    text-align: center;
    
}

    .success-title {
      font-size: 24px;
      color: #222;
      margin-top: 10px;
    }

    .success-message {
      font-size: 16px;
      color: #555;
      margin-top: 10px;
    }

    .user-info {
      margin-top: 20px;
      font-size: 15px;
      color: #444;
      background: #f1f8f4;
      padding: 12px;
      border-radius: 8px;
    }

    .user-info strong {
      color: #000;
    }

    .back-btn {
      display: inline-block;
      margin-top: 25px;
      padding: 10px 20px;
      background-color: #28a745;
      color: white;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .back-btn:hover {
      background-color: #218838;
    }
    .formhead{
      text-align: center;
      margin-top: 30px;
      margin-bottom: 20px;
      font-family:  "Rubik Spray Paint", system-ui;
    }