.service-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* show max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-links .list-inline .list-inline-item a {
    font-size: 16px;
}

.bg-aboutus {
    position: relative;
    background: url("{{ asset('public/assets/img/banner.png') }}") no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* optional parallax effect */
    color: #fff; /* text color */
    z-index: 1;
}

.bg-aboutus .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* black overlay with 50% opacity */
    z-index: -1; /* keeps overlay behind content */
}

.blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.blog-title {
    font-size: 18px;
    font-weight: bold;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #003449;
    color: #fff;
}
.blog-img img {
    width: 100%;
    height: 200px; /* fixed height for all images */
    object-fit: cover; /* ensures image covers the area without distortion */
}

.blog-content {
    flex: 1; /* makes content area expand to fill remaining space */
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.blog-content p {
    flex: 1; /* ensures paragraph takes available space */
}

.readmore {
    margin-top: auto; /* keeps 'Read More' button at the bottom */
    color: #fff;
    background: #0e973e;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
}
.readmore:hover {
    color: #fff;
    background: #157bf8;
}
.blog-desc {
    line-height: 1.5em;       /* height of one line */
    max-height: calc(1.5em * 5); /* 5 lines */
    overflow-y: auto;          /* scroll if content exceeds max-height */
    padding-right: 5px;        /* optional: avoid scrollbar overlapping text */
}


#service-list li {
    cursor: pointer;
}
#hero {
  position: relative;
  overflow: visible !important;
}

#service-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  background: #fff;
  max-height: 250px;
  overflow-y: auto;
}

.nav-pills .nav-link {
    border-radius: 50px;          /* rounded buttons */
    border: 1px solid #ccc;
    color: #00354f;
    font-weight: 500;
    margin-bottom: 10px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: #00354f;   /* dark blue */
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


.tab-pane {
  animation: fadeEffect 0.5s ease-in-out;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}