/*index page*/

/* Hero Section with Background */
.hero-with-bg {
  background-image: url('../images/port.jpg'); /* Weka picha ya bandari */
  background-size: cover;
  background-position: center;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* overlay ya giza ili maandishi yaonekane */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-overlay p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Services Section */
.section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Container for service cards */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Each service box */
.service-box {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-box h3 {
  font-size: 1.3rem;
  color: #0066cc;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Clients counter style */
.clients-counter {
  text-align: center;
  font-size: 2rem;
  color: #0066cc;
  margin: 60px 0 20px;
  font-weight: bold;
}

/* Container to hold scrolling logos */
.clients-logos-container {
  overflow: hidden;
  width: 100%;
  background: #f4f4f4;
  padding: 20px 0;
}

/* Scrolling animation for logos */
.clients-logos {
  display: flex;
  gap: 40px;
  animation: scrollClients 20s linear infinite;
  align-items: center;
  width: max-content;
}

/* Logo image styling */
.clients-logos img {
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animation keyframes */
@keyframes scrollClients {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom slider for quote.php only */
.custom-slider {
  position: relative;
  max-width: 100%;
  height: 60vh;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  margin-bottom: 40px;
}

.custom-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.custom-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-slider {
    height: 40vh;
  }
}


/* ... na zingine zote unazozipenda ... */
/* Reset and base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f8ff;
  color: #333;
}

header {
  background-color: #4db8ff;
  color: white;
  padding: 20px 40px;
  text-align: center;
}

nav {
  background-color: #0099cc;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Content wrapper styles */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 40px auto;
  gap: 40px;
  align-items: flex-start;
  padding: 0 20px;
}

.text-section {
  flex: 1 1 500px;
  animation: slideFadeIn 1s ease forwards;
  opacity: 0;
  transform: translateX(-30px);
  position: relative;
  z-index: 1;
}

.text-section h2 {
  color: #006699;
  margin-bottom: 20px;
}

.text-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.image-stack {
  flex: 1 1 400px;
  position: relative;
  width: 400px;
  min-width: 300px;
  height: 320px;
}

.image-stack img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  position: absolute;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 5px solid white;
  cursor: pointer;
  background-color: white;
}

.image-stack img:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-8deg);
}

.image-stack img:nth-child(2) {
  top: 40px;
  left: 140px;
  z-index: 2;
  transform: rotate(8deg);
}

.image-stack img:nth-child(3) {
  top: 120px;
  left: 60px;
  z-index: 1;
  transform: rotate(-4deg);
}

.image-stack img:hover {
  transform: scale(1.05) rotate(0deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  z-index: 10 !important;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    margin: 20px;
    align-items: center;
  }
  .text-section, .image-stack {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    position: static;
    margin: 0 auto;
  }
  .image-stack img {
    position: static;
    width: 90%;
    height: auto;
    margin-bottom: 20px;
    transform: none !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    border: 5px solid white;
  }
}

/* Our Team Section */
.our-team-section {
  padding: 40px 20px;
  background-color: #e6f7ff;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.our-team-section h2 {
  color: #006699;
  margin-bottom: 30px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-member {
  width: 200px;
  text-align: center;
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4db8ff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h4 {
  margin: 10px 0 5px;
  color: #0077b3;
}

.team-member p {
  font-size: 14px;
  color: #555;
}

/* Footer */
.footer {
  background-color: #0077b3;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/*contacts*/
/* Mfano wa style, hii ni kutoka kwenye code yako */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f8ff;
  color: #333;
}
header {
  background-color: #4db8ff;
  color: white;
  padding: 20px 40px;
  text-align: center;
}
nav {
  background-color: #0099cc;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.contact-section {
  max-width: 700px;
  margin: 40px auto;
  background-color: #e6f7ff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,123,255,0.2);
}
.contact-section h2 {
  color: #006699;
  text-align: center;
  margin-bottom: 25px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
label {
  font-weight: bold;
  color: #004d80;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  border: 1px solid #4db8ff;
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
}
textarea {
  min-height: 100px;
}
button {
  background-color: #0099cc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #0077b3;
}
.company-info {
  margin-top: 40px;
  text-align: center;
  color: #004d80;
  font-size: 16px;
  line-height: 1.6;
}
.footer {
  background-color: #0077b3;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.success-message {
  background-color: #c6f6d5;
  border: 1px solid #48bb78;
  padding: 15px;
  border-radius: 5px;
  color: #2f855a;
  margin-bottom: 20px;
  text-align: center;
}

/*meli tracking*/
/* css/style.css */
.tracking-container {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

#map-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#map {
  width: 100%;
  height: 100%;
}

.tracking-table {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tracking-table h3 {
  margin-bottom: 15px;
  color: #003366;
}

.tracking-table table {
  width: 100%;
  border-collapse: collapse;
}

.tracking-table th, .tracking-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.tracking-table th {
  background: #003366;
  color: #fff;
  text-align: left;
}

/*schedule.php*/
/* assets/css/style.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f8ff;
  color: #333;
}

header {
  background-color: #4db8ff;
  color: white;
  padding: 20px 40px;
  text-align: center;
}

nav {
  background-color: #0099cc;
  position: relative;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger div {
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0099cc;
    flex-direction: column;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 12px 20px;
    border-top: 1px solid #007299;
  }
  .hamburger {
    display: flex;
  }
}

.schedule-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.schedule-section h2 {
  text-align: center;
  color: #006699;
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

th, td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: center;
}

th {
  background-color: #4db8ff;
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f9ff;
}

.status-arrived {
  color: white;
  background-color: #28a745;
  padding: 5px 12px;
  border-radius: 15px;
  font-weight: bold;
}

.status-carrying {
  color: white;
  background-color: #007bff;
  padding: 5px 12px;
  border-radius: 15px;
  font-weight: bold;
}

.status-tracking {
  color: white;
  background-color: #ffc107;
  padding: 5px 12px;
  border-radius: 15px;
  font-weight: bold;
}

.footer {
  background-color: #0077b3;
  color: white;
  text-align: center;
  padding: 20px;
}

a.track-link {
  color: #006699;
  font-weight: bold;
  text-decoration: none;
}

a.track-link:hover, a.track-link:focus {
  text-decoration: underline;
}

/*services*/
.icon-bounce {
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/*quotes*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f8ff;
  color: #333;
}
header {
  background-color: #4db8ff;
  color: white;
  padding: 20px 40px;
  text-align: center;
}
nav {
  background-color: #0099cc;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.quote-section {
  max-width: 700px;
  margin: 40px auto;
  background-color: #e6f7ff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,123,255,0.2);
}
.quote-section h2 {
  color: #006699;
  text-align: center;
  margin-bottom: 25px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
label {
  font-weight: bold;
  color: #004d80;
}
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  padding: 10px;
  border: 1px solid #4db8ff;
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
}
textarea {
  min-height: 100px;
}
button {
  background-color: #0099cc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #0077b3;
}
.success-message {
  background-color: #c6f6d5;
  border: 1px solid #48bb78;
  padding: 15px;
  border-radius: 5px;
  color: #2f855a;
  margin-bottom: 20px;
  text-align: center;
}
.error-message {
  background-color: #fcdada;
  border: 1px solid #f56565;
  padding: 15px;
  border-radius: 5px;
  color: #c53030;
  margin-bottom: 20px;
  text-align: center;
}

/* Container base style */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Huduma section style */
h4 {
  color: #003366;
  font-weight: 600;
  margin-bottom: 5px;
}

p {
  color: #444;
  font-size: 1rem;
  margin: 0;
}

.icon-bounce {
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive text + icons */
.d-flex i {
  min-width: 40px;
  color: #007bff;
}

/* Image styling */
img.rounded.shadow {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 100%;
  height: auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .d-flex i {
    margin-bottom: 10px;
  }

  .text-center {
    margin-top: 30px;
  }
}
.service-box {
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 10px;
  background-color: #f8f9fa;
  margin-bottom: 20px;
}

.service-box:hover {
  background-color: #e9f7fc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-box i {
  color: #0077b3;
  margin-right: 15px;
}

.service-box h4 {
  color: #0077b3;
  margin-bottom: 5px;
}

.service-box p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .services-content {
    flex-direction: column-reverse;
  }

  .services-content img {
    margin-bottom: 30px;
  }
}
