.image-section {
    margin-top: 4%;
    width: 100%;
    height: 450px;
    /* You can adjust height */
    background-image: url('../images/img61.jpg');
    /* 🔁 Replace this with your actual image path */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.overlay-text {
    position: absolute;
    bottom: 27px;
    left: 32px;
    font-size: 50px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.overlay-text:hover {
    opacity: 0.9;
}

.image-section::before {
    border-radius: 12px;
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 33, 71, 0.4);
    /* dark blue with transparency */
}

@media (max-width: 768px) {
  .overlay-text {

    font-size: 24px;
    bottom: 11px;
    right: 14px;
  }


  .image-section {
    height: 250px;
    

  }
}



.toogle {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10% auto 2% auto;
    justify-content: center;
}

.toggle-box {
    background-color: #f0f4fa;
    padding: 23px 13px;
    border-radius: 16px;
    width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.toggle-header {
    font-weight: 600;
    color: #193153;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-header::after {
    content: "▾";
    font-size: 19px;
    margin-left: 8px;
    transition: transform 0.3s;
}

.toggle-box.active .toggle-header::after {
    transform: rotate(180deg);
}

.toggle-content {
    margin-top: 10%;
    display: none;
    color: #193153;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
}

.toggle-box.active .toggle-content {
    display: block;
}


.vehicle-section {

    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.vehicle-card {
    background-color: #F0F3F8;
    padding: 20px;
    border-radius: 16px;
    width: 25%;
    min-width: 325px;
    box-sizing: border-box;
}


.vehicle-card h3 {
    font-size: 20px;
    color: #193153;
    margin-bottom: 10px;
    font-weight: 600;
}

.accordion-header {
    font-weight: 500;
    color: #1a2c4e;
    padding: 10px 0;
    cursor: pointer;
}


.accordion-body {
    display: none;
    padding: 0 0 10px 10px;
    color: #193153;
    font-size: 14px;
    font-weight: 300;
}

.accordion-body.show {
    display: block;
}

.more-btn-container {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.more-btn {
    background-color: #1a2c4e;
    color: white;
    padding: 15px 27px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
  text-decoration: none;
}



.more-btn:focus,
.more-btn:visited {
  text-decoration: none;
 
}


.image-placeholder {
    width: 100%;
    height: 120px;
    /* Set desired height */
    /* background-color: #e0e0e0; */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    /* Or use 'cover' if you want it to fill completely */
    display: block;
}



.section-wrapper {
    padding: 60px 0px;
    display: flex;
    justify-content: center;
}

.transport-card {
    display: flex;
    height: auto;
    background-color: #102b4c;
    border-radius: 20px;
    overflow: hidden;
    /* max-width: 1100px; */
    width: 100%;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Add inner margin to image box */
.image-side {
    flex: 1 1 50%;
    padding: 4%;
    /* Adds space around image */
    box-sizing: border-box;
}

/* Image has inner radius and does not stick to the box */
.image-side img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    /* Image has slightly rounded edges */
    display: block;
}

.image-side img::before {
    border-radius: 12px;
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 33, 71, 0.4);
    /* dark blue with transparency */
}

.text-side {
    flex: 1 1 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-side h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.text-side p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.action-btn {
    text-decoration: none;
    padding: 13px 24px;
    border: 1px solid white;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    width: fit-content;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: white;
    color: #102b4c;
}

@media (max-width: 768px) {
  .transport-card {
    flex-direction: column;
    border-radius: 16px;
  }

  .image-side {
    padding: 20px;
  }

  .image-side img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .text-side {
    padding: 30px 20px;
    text-align: center;
  }

  .text-side h2 {
    font-size: 22px;
  }

  .text-side p {
    font-size: 15px;
  }

  .action-btn {
    margin: 0 auto; /* center the button */
    font-size: 15px;
  }
}


.why-bex-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  font-family: Arial, sans-serif;
}

.why-bex-container {
  /* max-width: 800px; */
  margin: auto 13%;
  transition: all 0.8s ease;
}

.why-bex-container h2 {
  font-size: 30px;
  color: #193153;
  margin-bottom: 20px;
  font-weight: 600;
}

.why-text {
  font-size: 16px;
  color: #193153cc;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}

.hidden-part {
  display: inline;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.8s ease;
  display: block;
}

.why-bex-container.expanded .hidden-part {
  opacity: 1;
  max-height: 500px;
  margin-top: 20px;
}

#toggle-btn {
  margin-top: 25px;
  padding: 10px 18px;
  border: 1px solid #ccc;
  background-color: white;
  color: #0f2a4a;
  font-weight: lighter;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.8s;
}

#toggle-btn:hover {
  background-color: #f2f2f2;
}

@media (max-width: 768px) {
  .why-bex-container {
    margin: auto 3%;
    transition: all 0.8s ease;
    
}
}



.features-section {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.feature-box {
  background-color: #e3e9f5b7;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.feature-box:hover {
  transform: translateY(-5px);
  background-color: #c1c4c7d0;
}

.feature-box img {
  width: 65px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.feature-box p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f2a4a;
}


@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-box {
    width: auto;
    height: auto;
    padding: 20px;
  }

  /* .why-bex-container {
    margin: auto 3%;
    transition: all 0.8s ease;
    
} */
}
