/* ===== Base Styles ===== */
html {
  scroll-behavior: smooth;
}

body {
  padding-top: 64px; /* Navbar height */
  padding-bottom: 60px; /* Footer height */
}

/* Animation Keyframes */
@keyframes pulse-cta {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.social-icon:hover .social-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -35px;
}

@media (max-width: 768px) {
  .social-tooltip {
    display: none;
  }
}

/*  Component Styles*/
/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-bottom-color: #991b1b; /* red-900 */
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Call-to-Action */
.cta-button {
  animation: pulse-cta 2s infinite;
}

/* Animation Utilities */
.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Mobile Nav Toggle */
#mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  padding: 10px;
  border-radius: 15px;
}

/* Show toggle only on mobile */
@media (max-width: 1023px) {
  #mobile-nav-toggle {
    display: block;
  }
}
#mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(21, 68, 39, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

#mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

#mobile-nav a,
#mobile-nav .dropdown-menu a {
  font-size: 1.2rem;
  padding: 15px;
  text-decoration: none;
  margin: 20px 0;
  color: white !important;
}

#mobile-nav a:hover,
#mobile-nav .dropdown-menu a:hover {
  color: white !important;
  background: rgba(11, 146, 60, 0.384);
}

#mobile-nav .dropdown-menu {
  background: rgba(21, 68, 39, 0.95);
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
}

#mobile-downloads-menu li {
  color: white !important;
}

/* Desktop Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  z-index: 50;
}

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgb(48, 0, 0);
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 15;
  padding: 25px 0px;
}

.control-btn {
  background: transparent;
  /* color: rgb(119, 83, 83); */
  border: none;
  padding: 12px 12px;
  font-size: 20px;
  cursor: pointer;
  /* transition: background 0.3s ease-in-out, transform 0.2s ease-in-out; */
}

.control-btn:hover {
  background: rgba(48, 110, 40, 0.8);
  transform: scale(1.1);
}

.control-btn:active {
  background: rgba(65, 13, 13, 0.9);
  transform: scale(0.95);
}

/* Footer */
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(73, 14, 14);
  color: white;
  text-align: center;
  padding: 24px;
  z-index: 50;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-text {
    padding: 0 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Back to Top Button */
.back-to-top {
  transition: opacity 0.3s;
}

.back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
}
/* Search Loading Indicator */
.search-loading {
  cursor: wait;
}

.search-loading::after {
  content: "Searching...";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
}

/* FAQ Search Input Styling */
.faq-search-container .relative {
  position: relative;
}
.faq-search-container input {
  width: 100%;
  padding: 1rem 3rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}
.faq-search-container input:focus {
  border-color: #10b981;
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.faq-search-container .fa-search {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.faq-search-container button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #059669;
}
.faq-search-container button:hover {
  color: #065f46;
}
/* Job_list page */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleX {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.5s ease-out;
}

.animate-scale-x {
  animation: scaleX 0.8s ease-out;
}
/* Job Detail page */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.prose ul {
  list-style-type: none;
  padding-left: 0;
}

.prose ul li {
  margin-bottom: 0.5rem;
}
