/*
 Theme Name: Custom Theme
 Author: Your Name
 Description: A custom WordPress theme built from scratch
 Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

.tc {
  text-align: center;
}

.fji {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fcji {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Navbar */
.navbar {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
}

.text-outline {
  text-shadow: 
      -1px -1px 0 black,  
       1px -1px 0 black,
      -1px  1px 0 black,
       1px  1px 0 black;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px
}

nav ul li a {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 16px
}

nav ul li a:hover {
  color: #163F51
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* Button */
.btn {
  padding: 10px 20px;
  background: #163f51;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #fff;
}

/* Hero Section */
.hero {
  color: white;
  text-align: center;
  padding: 100px 20px;
  height: 500px;
  margin-left: 20px;
}
/* Marquee Section */
.marquee {
  background: #e0f7e0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

.marquee-content {
  display: inline-block;
  padding: 10px;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(60%);
  }
  to {
    transform: translateX(-100%);
  }
}

.iti {
  width: 100% !important;
}

.iti input {
  width: 100% !important;
}

.site-footer {
  background: #fff;
  color: black;
  padding-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  padding: 10px;
  text-align: left;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu li a {
  text-decoration: none;
  color: #054f65;
}

.footer-menu li a:hover {
  color: #163f51;
}

.footer-column p {
  margin: 5px 0;
}

.footer-column a {
  color: black;
}

.footer-column a:hover {
  color: #163f51;
}

.footer-column img {
  margin-top: 10px;
}

.footer-map {
  width: 100%;
  height: 300px;
}

.footer-bottom {
  background-color: #163f51;
  margin-top: 20px;
  padding: 10px 0;
  font-size: 14px;
  color: white;
  text-align: center;
}

.footer-bottom a {
  color: white;
  font-weight: bold;
}

.footer-bottom a:hover {
  color: #e0f7e0;
}


@keyframes scrollLeft {
  from {
    transform: translateX(20%);
  }
  to {
    transform: translateX(-200%);
  }
}

.hero-section {
  background-size: cover;
  background-position: center;
}

.testimonials {
  position: relative;
  height: 100%; /* Takes full height of the hero section */
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.header {
  font-size: 18px;
  font-weight: 300;
}

.quote {
  font-size: 40px;
  font-weight: bold;
  margin: 20px 0;
}

.attribution {
  font-size: 16px;
}

/* Connector Arrows */
.connector-line {
  height: 4px;
  background-color: #e5e7eb;
  position: absolute;
  top: 50%;
  transition: background-color 0.3s ease;
  
}

.service-wrapper.left .connector-line {
  right: -60px;
  width: 60px;
}

.service-wrapper.right .connector-line {
  left: -60px;
  width: 60px;
}


.service-wrapper.active .connector-line {
    background-color: #003F53;
}

.marker {
  margin: 30px 0;
  background-color: transparent;
  border: 2px solid #003F53;
}

.marker.active {
  background-color: #003F53;
  color: #fff;
}

/* General responsive adjustments */
@media (max-width: 1024px) {
    .timeline-container {
        width: 4px; /* Reduced for tablet size */
    }

    .service-wrapper {
        width: 90%; /* Make each service section take more space */
    }

    .service-wrapper.left, .service-wrapper.right {
        margin-top: 40px;
    }

    .progress-fill {
        width: 100% !important; /* Ensure progress bar takes full width */
    }
}

@media (max-width: 768px) {
    .timeline-container {
        width: 3px; /* Smaller progress bar for mobile */
    }

    .service-wrapper {
        width: 100%; /* Full width on mobile */
    }

    .service-wrapper.left, .service-wrapper.right {
        margin-top: 30px;
    }

    .service-wrapper.left .connector-line,
    .service-wrapper.right .connector-line {
        display: none; /* Hide lines on mobile for simplicity */
    }

    .marker {
        margin: 20px 0;
        width: 10px; /* Smaller markers */
        height: 10px; 
    }

    /* Centering progress bar in mobile view */
    .timeline-container {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    /* For better alignment and visibility on smaller screens */
    .service-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .timeline-container {
        width: 2px; /* Even smaller on very small devices */
    }

    .service-wrapper {
        margin-top: 20px;
    }
}

