<style type="text/css">
    .about-modern-section {
      min-height: 50vh;
      font-family: 'Poppins', sans-serif;
      background-color: #f9f9f9;
  }

  .about-image-section {
      height: 50vh;
      overflow: hidden;
      position: relative;
  }

  .about-image-section img {
      object-fit: contain;
      height: 50%;
  }

  .image-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      background: rgba(0,0,0,0.4);
      z-index: 1;
  }

  .image-caption {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: #222;
  }

  .about-content p.lead {
      color: #555;
      font-size: 1.1rem;
      line-height: 1.8;
  }

  .icon-box {
      font-size: 1.5rem;
      color: #135386;
  }

  .btn-primary {
      background-color: #007BFF;
      border: none;
      padding: 12px 25px;
      font-weight: 600;
      border-radius: 50px;
      transition: 0.3s ease;
  }

  .btn-primary:hover {
      background-color: #0056b3;
  }



  .nav-tabs .nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color:#ffffff !important;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link.active {
    color:#495057 !important;
    border-color: #495057 ;
}

.service-block {
    margin: 15px;
}


/* Equal height for service blocks using Flexbox */
.services-carousel .owl-stage {
    display: flex;
}

.service-block {
    display: flex;
    flex: 1;
    height: auto;
}

.service-block .inner-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}
.service-block .inner-box {
    min-height: 450px; /* or use height: 450px; if fixed height is preferred */
}

.reviews-wrapper {
        position: relative;
        max-width: 96%;
        z-index: 1;
    }
    .reviews-container {
        display: flex;
        overflow-x: hidden;
        scroll-behavior: smooth;
        gap: 20px;
        padding-bottom: 10px;
    }
    .review-card {
        flex: 0 0 300px;
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    .review-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 12px;
    }
    .review-avatar img {
        width: 100%;
        height: auto;
    }
    .review-info {
        flex: 1;
    }
    .review-name {
        font-weight: 600;
        color: #333;
    }
    .review-date {
        font-size: 0.85rem;
        color: #777;
    }
    .stars {
        color: #f4b400;
        font-size: 1rem;
        margin-top: 3px;
    }
    .review-text {
        font-size: 0.95rem;
        color: #444;
        line-height: 1.5;
    }
    /* Scrollbar styling (optional) */
    .reviews-container::-webkit-scrollbar {
        height: 8px;
    }
    .reviews-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
    /* Arrow buttons */
    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 80px;
        background: #fff;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        width: 40px;        /* Equal width and height */
        height: 40px;
        display: flex;      /* Flexbox centers text horizontally and vertically */
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        border-radius: 50%;
        z-index: 10;
        padding: 0;         /* Remove default padding */
    }


    .arrow:hover {
        background: #0467BF;
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 16px rgba(4, 103, 191, 0.4);
    }

    .arrow.left {
        left: -2%;
    }

    .arrow.right {
        right: -2%;
    }  
    .review-btn {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background: #ff9800;
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transition: background 0.3s ease;
        z-index: 9999;
    }

    .review-btn:hover {
        background: #e68900;
    }

    .details-btn {
        position: fixed;
        bottom: 20px;
        left: 20%;
        background: #135386;
        background: linear-gradient(90deg,rgba(39, 170, 225, 1) 0%, rgba(19, 83, 134, 1) 48%, rgba(39, 170, 225, 1) 100%);
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transition: background 0.3s ease;
        z-index: 9999;
    }

    .details-btn:hover {
        background: #135386;
    }




</style>