/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.main-container {
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(249 250 251)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2rem 1rem;
}

.hero-text {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  color: white;
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.search-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  flex: 1;
}

.form-select {
  width: 100%;
  height: 3rem;
  padding: 0 2.5rem 0 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 0.375rem;
  color: #333;
  font-size: 0.875rem;
  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 1rem center;
  background-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:hover {
  background: rgba(255, 255, 255, 0.9);
}

.form-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.search-button {
  height: 3rem;
  padding: 0 2rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.search-button:hover {
  background: #0d9488;
}

/* Job Categories Section */
.job-categories-section {
  padding: 4rem 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111827;
}

.section-description {
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
}

.tabs-container {
  max-width: 64rem;
  margin: 0 auto;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-trigger {
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

.tab-trigger.active {
  background: #14b8a6;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.job-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.2s;
}

.job-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.job-card-content {
  display: flex;
  flex-direction: column;
}

.job-info {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.company-logo {
  width: 4rem;
  height: 4rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-details {
  flex: 1;
  min-width: 0;
}

.job-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-name {
  color: #000000;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.job-action {
  padding: 1.5rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.job-salary {
  font-size: 1.125rem;
  font-weight: bold;
  color: #14b8a6;
  margin-bottom: 0.5rem;
}

.apply-button {
  padding: 0.5rem 1rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.apply-button:hover {
  background: #0d9488;
}

.apply-button.outline {
  background: transparent;
  color: #14b8a6;
  border: 1px solid #14b8a6;
}

.apply-button.outline:hover {
  background: #14b8a6;
  color: white;
}

.view-more-container {
  text-align: center;
  margin-top: 2.5rem;
}

.view-more-button {
  padding: 0.75rem 2rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.view-more-button:hover {
  background: #0d9488;
  transform: scale(1.05);
}

/* Stats Section */
.stats-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.stats-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 200, 200, 0.8);
}

.stats-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  color: white;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 3rem 0;
  background: white;
}

.testimonials-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-nav {
  position: absolute;
  z-index: 10;
  background: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial-nav:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-nav.prev {
  left: 0.25rem;
}

.testimonial-nav.next {
  right: 0.25rem;
}

.testimonials-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0 3rem;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 0 1rem;
}

.testimonial-content {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.125rem;
  color: #374151;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background: #14b8a6;
}

/* Companies Section */
.companies-section {
  padding: 4rem 0;
  background: #f9fafb;
}

.section-highlight {
  font-size: 1.5rem;
  font-weight: bold;
  color: #14b8a6;
}

.companies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.company-logo {
  width: 5rem;
  height: 3.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apply-now-container {
  text-align: center;
  margin-top: 2.5rem;
}

.apply-now-button {
  padding: 0.75rem 2rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.apply-now-button:hover {
  background: #0d9488;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background: white;
}

.about-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text:last-of-type {
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: #111827;
  color: white;
}

.footer-text {
  text-align: center;
}

/* WhatsApp Contact Button */
.whatsapp-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
  transform: scale(0.95);
}

/* WhatsApp pulse animation */
.whatsapp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .search-form {
    flex-direction: row;
    align-items: center;
  }

  .form-group {
    flex: 2;
  }

  .form-group:last-of-type {
    flex: 1;
  }

  .job-card-content {
    flex-direction: row;
  }

  .job-info {
    flex: 1;
  }

  .job-action {
    min-width: 30%;
    align-items: flex-end;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-nav.prev {
    left: 0;
  }

  .testimonial-nav.next {
    right: 0;
  }

  .testimonials-wrapper {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .tab-trigger {
    font-size: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease-out;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
