/* ===================================
   Reset and Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Assistant', 'Heebo', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

/* ===================================
   Top Banner Section
   =================================== */
.top-banner {
  background: linear-gradient(135deg, #0033a0 0%, #d71920 100%);
  color: white;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

/* Animated shine effect */
.top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shine 3s infinite;
  z-index: 0;
}

/* Shine animation */
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.banner-logo {
  position: absolute;
  top: 20px;
  left: 30px;
  height: 60px;
  width: auto;
  z-index: 10;
  transition: all 0.3s ease;
}

.banner-logo:hover {
  transform: scale(1.05);
}

.top-banner-content {
  position: relative;
  z-index: 1;
  margin-top: 35px;
}

.top-banner h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 15px;
  font-family: 'Heebo', sans-serif;
}

.top-banner p {
  font-size: clamp(1rem, 3vw, 1.8rem);
  margin-bottom: 10px;
}

.top-banner strong {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 10px 25px;
  border-radius: 50px;
  margin-top: 15px;
  font-size: 1.2rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  background: #f5f5f5;
  padding: 80px 20px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #0033a0, #d71920);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Heebo', sans-serif;
}

.info-box {
  padding: 40px 20px;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.9;
  color: #555555;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.benefits h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: #d71920;
  font-family: 'Heebo', sans-serif;
}

.benefits h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 60px;
  color: #333333;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(0,51,160,0.03), rgba(215,25,32,0.03));
  border: 1px solid rgba(0,0,0,0.1);
  padding: 45px 35px;
  border-radius: 20px;
  transition: all 0.3s ease;
  width: calc(33.333% - 20px);
  min-width: 280px;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(0,51,160,0.1), rgba(215,25,32,0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-svg {
  width: 36px;
  height: 36px;
  stroke: #d71920;
  fill: none;
  stroke-width: 2;
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  color: #333333;
  font-weight: 700;
}

.benefit-card p {
  color: #666666;
  line-height: 1.7;
}

/* ===================================
   Recruitment Steps Section
   =================================== */
.steps-section {
  padding: 80px 20px 100px;
  background: #f8f8f8;
}

.steps-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 60px;
  color: #d71920;
  text-align: center;
  font-family: 'Heebo', sans-serif;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Connecting line between circles */
.connecting-line {
  position: absolute;
  top: 75px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d71920 20%, #d71920 80%, transparent);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 200px;
  text-align: center;
}

/* Step circle styling */
.step-circle {
  width: 120px;
  height: 120px;
  background: white;
  border: 3px solid #c0c0c0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* Active step circle */
.step-item.active .step-circle {
  background: #d71920;
  border-color: #d71920;
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(215,25,32,0.4);
}

.step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #666666;
  transition: all 0.3s ease;
}

/* Active step number */
.step-item.active .step-number {
  color: white;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Step details container */
.step-details-container {
  position: relative;
  max-width: 900px;
  margin: 50px auto 0;
  min-height: 200px;
}

/* Modern arrow pointer */
.arrow-pointer {
  position: absolute;
  top: -48px;
  right: 50%;
  transform: translateX(50%);
  width: 2px;
  height: 25px;
  background: #d71920;
  opacity: 0;
  transition: all 0.5s ease;
  border-radius: 2px;
}

/* Circle at the bottom of arrow */
.arrow-pointer::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #d71920;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(215, 25, 32, 0.4);
}

.arrow-pointer.active {
  opacity: 1;
}

/* Step details box */
.step-details {
  background: white;
  border: 2px solid #d71920;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(215,25,32,0.2);
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  width: 100%;
  top: 0;
  pointer-events: none;
}

/* Active step details */
.step-details.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  background: white;
  border: 2px solid #d71920;
  box-shadow: 0 20px 50px rgba(215, 25, 32, 0.15);
}

/* Hide step details title */
.step-details h4 {
  display: none;
}

.step-details p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555555;
}

/* ===================================
   Apply Section
   =================================== */
.apply-section {
  padding: 80px 20px 100px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,51,160,0.05), rgba(215,25,32,0.05));
}

.apply-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 30px;
  color: #333333;
  font-family: 'Heebo', sans-serif;
}

/* Call to action button */
.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, #d71920, #a31217);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(215,25,32,0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(215,25,32,0.5);
}

/* ===================================
   FAQ Section
   =================================== */
#faq-section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

#faq-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 40px;
  color: #333333;
  text-align: center;
  font-family: 'Heebo', sans-serif;
}

.faq-item {
  margin-bottom: 25px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 25px;
  font-size: 1.2rem;
  color: #333333;
}

.faq-question:hover {
  background: rgba(215,25,32,0.05);
}

/* Arrow icon for FAQ */
.arrow {
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #d71920;
}

/* Rotate arrow when FAQ is open */
.faq-question.open .arrow {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 25px 25px 25px;
  line-height: 1.9;
  color: #555555;
  font-size: 1.05rem;
}

/* ===================================
   Footer
   =================================== */
footer {
  background: linear-gradient(135deg, #0033a0, #002a80);
  color: white;
  text-align: center;
  padding: 50px 20px;
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (max-width: 1024px) {
  .benefit-card {
    width: calc(50% - 15px);
  }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media (max-width: 768px) {
  /* Benefits grid to single column */
  .benefit-card {
    width: 100%;
  }

  /* Steps section adjustments */
  .steps-section {
    padding: 100px 20px;
  }

  /* Stack steps vertically */
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  /* Hide connecting line on mobile */
  .connecting-line {
    display: none;
  }

  /* Adjust logo size */
  .banner-logo {
    height: 45px;
    top: 15px;
    left: 15px;
  }
}

/* ===================================
   Responsive Design - Small Mobile
   =================================== */
@media (max-width: 480px) {
  /* Smaller logo */
  .banner-logo {
    height: 35px;
    top: 12px;
    left: 12px;
  }
}
/* ===================================
   Mobile Carousel Styles
   =================================== */

/* Hide mobile carousel by default (show on mobile only) */
.mobile-carousel {
  display: none;
}

/* Mobile carousel structure */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 60px;
  max-width: 600px;
  margin: 0 auto;
}

.carousel-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 450px;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
  pointer-events: none;
  text-align: center;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Mobile step circle */
.step-circle-mobile {
  width: 130px;
  height: 130px;
  background: white;
  border: 4px solid #d71920;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 20px rgba(215,25,32,0.3);
}

.step-number-mobile {
  font-size: 4rem;
  font-weight: bold;
  color: #d71920;
}

.step-title-mobile {
  font-size: 1.4rem;
  color: #d71920;
  margin-bottom: 20px;
  font-weight: 700;
}

.step-details-mobile {
  background: white;
  border: 2px solid #d71920;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(215,25,32,0.15);
  margin-top: 15px;
}

.step-details-mobile p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555555;
}

/* Carousel arrows - RED for mobile */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #d71920;
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(215,25,32,0.3);
  z-index: 10;
}

.carousel-arrow:hover {
  background: #a31217;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(215,25,32,0.4);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
  right: 0;
}

.next-arrow {
  left: 0;
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c0c0c0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #d71920;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(215,25,32,0.4);
}

.carousel-dot:hover {
  background: #d71920;
  transform: scale(1.2);
}

/* ===================================
   Responsive - Mobile Only
   =================================== */
@media (max-width: 768px) {
  /* Hide desktop version, show mobile carousel */
  .desktop-version {
    display: none !important;
  }
  
  .mobile-carousel {
    display: block !important;
  }
  
  /* Adjust carousel for smaller screens */
  .carousel-wrapper {
    padding: 20px 50px;
  }
  
  .step-circle-mobile {
    width: 110px;
    height: 110px;
  }
  
  .step-number-mobile {
    font-size: 3.5rem;
  }
  
  .step-title-mobile {
    font-size: 1.3rem;
  }
  
  .step-details-mobile {
    padding: 20px;
  }
  
  .step-details-mobile p {
    font-size: 1rem;
  }
  
  .carousel-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    padding: 20px 45px;
  }
  
  .step-circle-mobile {
    width: 100px;
    height: 100px;
  }
  
  .step-number-mobile {
    font-size: 3rem;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .prev-arrow {
    right: -5px;
  }
  
  .next-arrow {
    left: -5px;
  }
}

/* ===================================
   Fix FAQ Arrow Color on Mobile
   =================================== */
@media (max-width: 768px) {
  /* Make FAQ arrows red on mobile */
  .arrow {
    color: #d71920 !important;
  }
}