/* Navbar Styles */
.navbar-nav {
  flex: 1;
  justify-content: center;
}
.apply-btn {
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
  }
}

/* Hero Carousel Styles */
.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.carousel-caption {
  z-index: 2;
}
.carousel-caption h1 {
  font-weight: bold;
  font-size: 3rem;
}
.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
}

/* About Section */
body {
  font-family: Arial, sans-serif;
}
section.about-section {
  background-color: #f8f9fa;
}
.nav-tabs .nav-link {
  font-weight: 500;
  color: #333;
}
.nav-tabs .nav-link.active {
  color: #0d6efd;
  border-color: #0d6efd #0d6efd #fff;
}
.tab-pane h3 {
  font-size: 1.75rem;
  margin-bottom: 15px;
}
.tab-pane p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.btn-outline-primary {
  border-radius: 30px;
  padding: 8px 25px;
}
@media (max-width: 767.98px) {
  .tab-pane h3 {
    font-size: 1.4rem;
  }
  .tab-pane p {
    font-size: 0.95rem;
  }
  .nav-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  .nav-tabs .nav-link {
    margin-bottom: 5px;
  }
}

/* Job Section */
.job-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.job-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}
.btn-light {
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

/* Sticky header */
.site-header {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 9999;
  transition: top 0.4s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.site-header.show {
  top: 0;
}

/* Footer */
.site-footer {
  position: relative;
  text-align: center;
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  display: none;
  cursor: pointer;
}

/* Hide Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}
/* Testimonial Auto-Scrolling Slider */
.testimonial-slider-section {
  overflow: hidden;
}

.testimonial-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.testimonial-box {
  flex: 0 0 280px;
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-280px * 5 - 20px * 5)); }
}

/* Pause animation on hover */
.testimonial-track:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 767px) {
  .testimonial-box {
    flex: 0 0 250px;
  }
  
  @keyframes scroll {
    100% { transform: translateX(calc(-250px * 5 - 20px * 5)); }
  }
}
/* Footer Styles */
.site-footer {
  position: relative;
  background: #2c3e50 !important;
}

.site-footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-footer a:hover {
  color: #fff !important;
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #007bff;
  transform: translateY(-3px);
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  opacity: 0.9;
}

#backToTop:hover {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .site-footer {
    text-align: center;
  }
  
  .site-footer .text-md-end {
    text-align: center !important;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .site-footer .d-flex {
    justify-content: center;
  }
}
/* Modal Size Adjustments */
#jobModal .modal-dialog {
  max-width: 380px; /* Reduced from 500px */
  margin: 1.75rem auto; /* Better vertical spacing */
}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* Header with perfect logo centering */
.modal-header {
  background: white;
  border-bottom: none;
  padding: 15px 20px; /* Reduced padding */
  position: relative;
  min-height: 70px; /* Fixed height for consistency */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-logo {
  height: 40px; /* Slightly smaller */
  width: auto;
  max-width: 180px; /* Reduced from 200px */
}

/* Close button positioning */
.btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.25rem;
  padding: 0.5rem;
}

/* Body adjustments */
.modal-body {
  padding: 20px; /* Reduced from 25px */
}

/* Text elements */
.modal-title {
  font-size: 1.3rem; /* Slightly smaller */
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Job highlight section */
.job-highlight {
  padding: 10px; /* Reduced */
  margin-bottom: 15px;
}

/* Job options */
.job-options {
  gap: 10px; /* Reduced */
  margin-bottom: 15px;
}

.job-option {
  padding: 10px 12px; /* Reduced */
}

/* Footer */
.modal-footer {
  padding: 12px 15px; /* Reduced */
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  #jobModal .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
  }
  
  .modal-header {
    min-height: 60px;
  }
  
  .modal-logo {
    height: 35px;
    max-width: 150px;
  }
}
/* Compact Modal - 30% Height Reduction */
#jobModal .modal-dialog {
  max-width: 380px;
  margin: 0.75rem auto; /* Reduced vertical margin by 30% */
}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* Ultra-compact header */
.modal-header {
  padding: 10px 15px; /* Reduced by 30% */
  min-height: 50px; /* Reduced from 70px */
}

.modal-logo {
  height: 35px; /* Reduced from 50px */
  max-width: 160px; /* Reduced from 200px */
}

/* Tight body spacing */
.modal-body {
  padding: 15px; /* Reduced from 25px (40% reduction) */
}

/* Compact text elements */
.modal-title {
  font-size: 1.2rem; /* Reduced from 1.5rem */
  margin-bottom: 5px; /* Reduced from 10px */
}

.modal-subtitle {
  font-size: 0.85rem; /* Reduced from 1rem */
  margin-bottom: 12px; /* Reduced from 20px */
}

/* Compressed highlight box */
.job-highlight {
  padding: 8px; /* Reduced from 12px */
  margin-bottom: 12px; /* Reduced from 20px */
  font-size: 0.9rem; /* Reduced from 1rem */
}

/* Tighter option grid */
.job-options {
  gap: 8px; /* Reduced from 12px */
  margin-bottom: 12px; /* Reduced from 20px */
}

.job-option {
  padding: 8px 10px; /* Reduced from 12px 15px */
  font-size: 0.9rem; /* Reduced from 1rem */
}

/* Compact footer */
.modal-footer {
  padding: 8px 12px; /* Reduced from 15px */
  font-size: 0.75rem; /* Reduced from 0.8rem */
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  #jobModal .modal-dialog {
    margin: 0.5rem auto; /* Extra tight on mobile */
  }
  
  .modal-header {
    min-height: 45px;
  }
  
  .modal-logo {
    height: 30px;
    max-width: 140px;
  }
  
  .job-option {
    padding: 6px 8px;
  }
}

/* Offers Section */
.offer-card {
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.offer-card.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

.offer-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Features Section */
.feature-card {
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-icon i {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

/* Animation Delays */
.offer-card:nth-child(1) { transition-delay: 0.1s; }
.offer-card:nth-child(2) { transition-delay: 0.2s; }
.offer-card:nth-child(3) { transition-delay: 0.3s; }
.offer-card:nth-child(4) { transition-delay: 0.4s; }
.offer-card:nth-child(5) { transition-delay: 0.5s; }
.offer-card:nth-child(6) { transition-delay: 0.6s; }

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }

.logo-text {
            font-size: 24px;
            font-weight: 700;
            color: #007bff;
        }
        
        .logo-text span {
            color: #f59e0b;
        }

