

.logo {
      display: flex;
      align-items: center;
      color: white;
      font-size: 1.4rem;
      font-weight: bold;
    }

    .logo img {
      height: 60px;
      width: 60px;
      margin-right: 10px;
    }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 0 20px;
}


.services-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
    color: rgb(232, 226, 226);
    width: 100%;
    padding: 40px;
    font-size: xx-large;
}




/*device responsive*/
/* Existing styles remain unchanged up to this point */

.materials-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(to right, #cedae7, #b2cde9);
    
}

.materials-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.materials-image img {
    width: 100%;
    height: auto;
    padding-top: 40px;
    
   
}

.materials-section {
    flex: 1;
    position: relative;
    text-align: left;
    color: white;
    padding: 20px;
}

.materials-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffcc00;
    text-shadow: 1px 1px 3px #000;
}

.materials-intro {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #4c94cf;
}

.materials-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.materials-list li {
    background: linear-gradient(to right, #edeff2, #f1f4f7);
    padding: 20px;
    border-radius: 15px;
    max-width: 250px;
    width: 100%;
    color: #122a40;
    text-transform: capitalize;
    box-shadow: 0 0 10px rgba(92, 145, 232, 0.5);
    transition: transform 0.3s ease-in-out;
}

.materials-list li:hover {
    transform: scale(1.05);
}

.materials-list li h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #141e2c;
}





/* Background for full-width fleet section */
.fleet-background {
    width: 100%;
    background: linear-gradient(to right, #789cc2, #78a9de);
    padding: 60px 0;
}

/* Inner content container */
#fleet-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styling */
.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 2.5rem;
    color: #2a57f7;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 1.2rem;
    color: #607d8b;
}

/* Responsive image grid */
.fleet-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Individual fleet card */
.fleet-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.fleet-item:hover {
    transform: scale(1.03);
}

.fleet-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.fleet-item p {
    font-size: 1rem;
    color: #34495e;
    padding: 15px 10px;
    background-color: #f4f6f9;
}




 body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
}



.services {
  padding: 40px 20px;
}

.service-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
  overflow: visible;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-row img {
  width: 45%;
  max-width: 600px;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1;
  position: relative;
}

/* Text block that overlaps the image */
.service-text {
  width: 45%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 30px;
  margin-left: -10%;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  text-align: justify;
}

/* Reverse layout adjusts overlap side */
.service-row.reverse .service-text {
  margin-left: 0;
  margin-right: -10%;
}

.service-text h2 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.6;
}


/* Hidden by default */
.service-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When in view */
.service-row.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column !important;
    text-align: center;
  }

  .service-text,
  .service-row img {
    width: 90%;
    margin: 0;
  }

  .service-text {
    margin-top: -30px;
    position: relative;
    z-index: 2;
  }
}



