/* ========================
   VARIABLES (OPTIONAL)
   ======================== */
:root {
  --navy: #0C2D48;
  --orange: #F47421;
  --white: #FFFFFF;
}

/* ========================
   GENERAL RESET
   ======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: var(--navy);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--orange);
}

.logo img {
  margin-right: 15px;
  width: 80px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--orange);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--white);
}

/* Auth buttons */
.auth-buttons button {
  background-color: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-buttons button:hover {
  background-color: var(--white);
  color: var(--orange);
}

/* ========================
   HERO SECTION
   ======================== */
.hero-slider {
  width: 100%;
  background-color: #FFFFFF;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height based on your hero images */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none; /* Hide all slides by default */
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.slide.active {
  display: flex; /* Show only active slide */
}

.hero-text {
  flex: 1 1 50%;
  padding: 20px;
}

.hero-text h1 {
  color: #F47421;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-text p {
  color: #0C2D48;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
}

.book-btn {
  border: 1px solid #F47421;
  background-color: #F47421;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.book-btn:hover {
  background-color: #FFFFFF;
  color: #F47421;
}

.dots {
  margin-top: 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #F47421;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #0C2D48;
}



/* ========================
   CLIENTS SECTION
   ======================== */
.clients-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #0C2D48;
  color: #FFFFFF;
}

.clients-section h2 {
  color: #F47421;
  font-size: 2rem;
  margin-bottom: 30px;
}

.clients-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.clients-carousel {
  display: flex;
  gap: 20px;
  animation: slideLeft 10s linear infinite; /* Continuous left-to-right animation */
}

.client-card img {
  width: 200px; /* small logos */
  height: auto;
  border-radius: 5px;
}

/* Animation keyframes */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* move half width since we duplicated the logos */
  }
}


/* ========================
   SERVICES SECTION
   ======================== */
.services-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--navy);
}

.services-section h2 {
  color: var(--orange);
  margin-bottom: 30px;
}

/* Grid container */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 20px;
  justify-content: center; /* Center all rows */
}

/* Service card */
.service-card {
  background-color: var(--navy);
  border: 1px solid var(--orange);
  border-radius: 10px;
  padding: 20px;
  text-align: center; /* Center content inside card */
}

/* Headings inside card */
.service-card h3 {
  color: var(--orange);
  margin-bottom: 15px;
}

/* Paragraph inside card */
.service-card p {
  color: var(--white);
  margin-bottom: 15px;
}



/* ========================
   RECENT JOBS SECTION
   ======================== */
.recent-jobs {
  padding: 60px 20px;
  background-color: var(--navy);
  text-align: center;
  overflow: hidden;
}

.recent-jobs h2 {
  color: var(--orange);
  margin-bottom: 30px;
}

.jobs-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.jobs-carousel {
  display: flex;
  gap: 20px;
  animation: slideRight 30s linear infinite; /* Continuous right-to-left scroll */
}

.job-card {
  background-color: var(--white);
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 10px;
  padding: 20px;
  min-width: 250px;
  text-align: left;
}

.job-card h3 {
  color: var(--orange);
  margin-bottom: 10px;
}

.job-card p{
  color: var(--orange);
}

.job-card span {
  color: var(--white);  
}

.job-card span {
  background-color: var(--orange);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Animation keyframes for left-to-right scroll */
@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}


/* ========================
   TESTIMONIALS
   ======================== */
.testimonial-section {
  padding: 60px 20px;
  background-color: #0C2D48; /* navy */
  color: #FFFFFF; /* white */
}

.testimonial-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.testimonial-heading h2 {
  font-size: 2.7rem;
  color: #F47421;
  line-height: 1.2;
  max-width: 200px; /* adjust as needed */
  white-space: normal; /* allow wrapping */
}


.testimonial-carousel {
  position: relative;
  width: 100%;
  min-height: 120px;
  flex: 1;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  padding: 20px;
  border-radius: 10px;
  background-color: #0C2D48;
  border: 1px solid #F47421;
}

.testimonial.active {
  opacity: 1;
  position: relative;
}

.testimonial-text h3 {
  color: #F47421;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.testimonial-text p {
  color: #FFFFFF;
  font-size: 1.1rem;
  line-height: 1.5;
}
