html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/*** Typography Adjustments ***/
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    line-height: 1.2;
}

.display-1 {
    font-size: calc(2.5rem + 1.5vw) !important;
}

.display-2 {
    font-size: calc(2.3rem + 1.2vw) !important;
}

.display-3 {
    font-size: calc(2rem + 0.9vw) !important;
}

.display-4 {
    font-size: calc(1.8rem + 0.6vw) !important;
}

.fs-5 {
    font-size: 1rem !important;
}

.fs-6 {
    font-size: 0.9rem !important;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.lead {
    font-size: 1rem !important;
    font-weight: 400;
}

.nav-link {
    font-size: 0.9rem;
}

.btn {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: 1.8rem;
    }
    
    h2, .h2 {
        font-size: 1.6rem;
    }
    
    h3, .h3 {
        font-size: 1.4rem;
    }
    
    .display-1 {
        font-size: calc(2rem + 1.5vw) !important;
    }
    
    .display-2 {
        font-size: calc(1.8rem + 1.2vw) !important;
    }
}

/* Adjust carousel caption text */
.carousel-caption h1 {
    font-size: calc(1.8rem + 1.5vw);
}

.carousel-caption p {
    font-size: 0.95rem;
}

/* Adjust feature items */
.feature-item h4 {
    font-size: 1.2rem;
}

/* Adjust service items */
.service-item h4 {
    font-size: 1.2rem;
}

/* Adjust accordion */
.accordion-button {
    font-size: 0.95rem;
}

.accordion-body {
    font-size: 0.9rem;
}
/*** Typography Adjustments End ***/

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Navbar Start ***/
.header-top .topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.header-top .topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 12px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

.header-top {
    height: 100px; /* Reduced from 125px */
    position: relative;
}

.header-top::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 16%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--bs-dark);
    z-index: 1;
}

@media (min-width: 992px) {
    .header-top::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 45px;
        top: 0;
        right: 0;
        background: var(--bs-dark);
        z-index: -1;
    }

    .navbar-brand-2 {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top {
        max-height: 70px; /* Reduced from 80px */
    }

    .navbar {
        justify-content: space-between;
    }

    .header-top .container {
        max-height: 70px; /* Reduced from 80px */
    }

    .navbar-brand {
        display: none;
    }

    .navbar-brand-2 {
        position: relative;
        overflow: hidden;
        width: 200px;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        z-index: 99;
    }

    .navbar-brand-2::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 100%;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-dark);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar-brand-2::after {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 5px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-primary);
        transform: rotate(-18deg);
        z-index: -1;
    }

    .navbar.navbar-light {
        height: 100%;
        padding: 0;
    }

    .navbar .navbar-collapse {
        margin-top: -20px;
    }

}

.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-brand img {
    max-height: 50px; /* Reduced from 60px */
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 45px; /* Reduced from 50px */
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

@media (max-width: 991px) {
    .navbar {
        padding: 15px 0; /* Reduced from 20px */
    }

    .navbar .navbar-nav .nav-link {
        padding: 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 12px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        margin-left: 50px;
        background: var(--bs-light);
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-btn a.btn {
        margin-right: 15px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 15px 0; /* Reduced from 20px */
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--bs-light);
        border-radius: 10px;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 19px;
        background: var(--bs-white);
        transition: .5s;
        opacity: 1;
    }

    .header-top .navbar-brand {
        position: relative;
        overflow: hidden;
        padding: 40px 50px 40px 0;
        z-index: 99;
    }
    
    .navbar-brand::before {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 300px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-dark);
        transform: rotate(-18deg);
        z-index: -1;
    }
    
    .navbar-brand::after {
        content: "";
        position: absolute;
        overflow: hidden;
        width: 5px;
        height: 600px;
        top: -200px;
        right: 18px;
        background: var(--bs-primary);
        transform: rotate(-18deg);
        z-index: -1;
    }
}
/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.hero-section {
    background-image: url(../img/carousel-1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Make hero background images responsive */
.hero-bg-half-1, .hero-bg-half-2 {
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 0;
    opacity: 0.9;
}

/* Add professional gradient overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(14, 18, 29, 0.95) 0%, 
        rgba(14, 18, 29, 0.85) 15%, 
        rgba(14, 18, 29, 0.75) 30%, 
        rgba(14, 18, 29, 0.65) 45%, 
        rgba(14, 18, 29, 0.45) 60%, 
        rgba(14, 18, 29, 0.25) 75%, 
        rgba(14, 18, 29, 0.15) 90%,
        rgba(14, 18, 29, 0.05) 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* Enhance the gradient effect on hover */
.hero-section:hover::before {
    opacity: 0.9;
}

/* Mobile-specific adjustments for hero background */
@media (max-width: 767px) {
    .hero-bg-half-1, .hero-bg-half-2 {
        clip-path: none; /* Remove clip path on mobile */
        width: 100%; /* Full width background */
        opacity: 0.4; /* More transparent to ensure text readability */
    }
    
    /* Stronger gradient overlay for mobile */
    .hero-section::before {
        background: linear-gradient(to right, 
            rgba(14, 18, 29, 0.95) 0%, 
            rgba(14, 18, 29, 0.9) 20%, 
            rgba(14, 18, 29, 0.85) 40%,
            rgba(14, 18, 29, 0.8) 60%,
            rgba(14, 18, 29, 0.75) 80%,
            rgba(14, 18, 29, 0.7) 100%);
    }
    
    /* Center text on mobile */
    .carousel-caption .text-md-start {
        text-align: center !important;
    }
    
    /* Adjust hero shapes for mobile */
    .hero-shape-1, .hero-shape-2 {
        display: none; /* Hide shapes on mobile for cleaner look */
    }
}

/* Adjust carousel height for different screen sizes */
@media (max-width: 991px) {
    .hero-section,
    .header-carousel .header-carousel-item {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .hero-section,
    .header-carousel .header-carousel-item {
        height: 400px;
    }
}

@media (max-width: 575px) {
    .hero-section,
    .header-carousel .header-carousel-item {
        height: 350px;
    }
    
    .carousel-caption .display-4 {
        font-size: calc(1.4rem + 1.2vw) !important;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .carousel-caption .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2; /* Increased from z-index: 9 to appear above the gradient */
}

/* Update hero background half sections to work with the gradient */
.hero-bg-half-1, .hero-bg-half-2 {
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(10%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 0; /* Place behind the gradient */
    opacity: 0.9; /* Slightly reduce opacity to blend with gradient */
}

/* Ensure hero shapes appear above the gradient */
.hero-shape-1, .hero-shape-2 {
    z-index: 2;
}

.hero-bg-half-1 {
    background-image: url(../img/header-2.jpg);
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(10%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero-bg-half-2 {
    background-image: url(../img/header-1.jpg);
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(10%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero-shape-1 {
    background-color: var(--bs-primary);
    width: 150px;
    height: 50%;
    position: absolute;
    left: 54%;
    top: 0;
    transform: translateY(-50%) skew(-26deg, 0deg);
    position: relative;
}

.hero-shape-1:before {
    background-color: var(--bs-dark);
    content: "";
    width: 50%;
    height: 80%;
    position: absolute;
    right: 0;
    top: 0;
}

.hero-shape-2 {
    background-color: var(--bs-dark);
    width: 150px;
    height: 50%;
    position: absolute;
    right: -43%;
    bottom: 0;
    transform: translateY(50%) skew(-25deg, 0deg);
    position: relative;
    z-index: 1;
}

.hero-shape-2::after {
    background-color: var(--bs-primary);
    content: "";
    width: 75px;
    height: 80%;
    position: absolute;
    right: 0;
    bottom: 0;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 500px; /* Reduced from 600px */
}

/* Hide all carousel navigation */
.header-carousel .owl-nav,
.header-carousel .owl-dots {
    display: none;
}

/* Style the dots navigation */
.header-carousel .owl-dots {
    position: absolute;
    bottom: 15px; /* Reduced from 25px */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.header-carousel .owl-dots .owl-dot {
    width: 8px; /* Reduced from 10px */
    height: 8px; /* Reduced from 10px */
    margin: 0 4px; /* Reduced from 5px */
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px; /* Reduced from 10px */
    transition: all 0.3s ease;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 16px; /* Reduced from 20px */
    background: var(--bs-primary);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    z-index: 9;
}

/* Add text shadow for better readability */
.carousel-caption h1, 
.carousel-caption h4, 
.carousel-caption p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Enhance buttons with subtle shadow for depth */
.carousel-caption .btn {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        height: 450px; /* Reduced from 550px */
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../img/banner-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}

.banner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    top: -200px;
    left: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    bottom: -200px;
    right: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner .banner-design-1 {
    position: absolute;
    width: 30px;
    height: 500px;
    top: -165px;
    left: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

.banner .banner-design-2 {
    position: absolute;
    width: 30px;
    height: 500px;
    bottom: -165px;
    right: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}
/*** Banner End ***/

/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid var(--bs-primary);
    background: var(--bs-light);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}
.service .nav-item a.active {
    background: var(--bs-primary);
}

.service .nav-item a span {
    color: var(--bs-dark);
}

.service .nav-item a.active span {
    color: var(--bs-white);
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
    position: absolute;
    padding: 10px 35px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    background: var(--bs-light);
    transition: 0.5s;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .service-carousel .owl-nav .owl-prev {
        top: 0;
        left: -115px;
    }
    
    .service-carousel .owl-nav .owl-next {
        bottom: 0;
        left: -115px;
    }
}

@media (max-width: 991px) {
    .owl-stage-outer {
        margin-bottom: 70px;
    }
    .service-carousel .owl-nav .owl-prev {
        bottom: -70px;
        left: 0;
    }

    .service-carousel .owl-nav .owl-next {
        bottom: -70px;
        right: 0;
    }

    .service .nav {
        display: flex;
        justify-content: center;
    }
}
/*** Service End ***/

/*** Projects Start ***/
.projects .nav-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .09);
}

.projects-item .projects-content {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.projects .nav-item a.active {
    background: var(--bs-primary);
}

.projects .nav-item a span {
    color: var(--bs-dark);
}

.projects .nav-item a.active span {
    color: var(--bs-white);
}

.projects .nav-item a.active .projects-icon {
    background: var(--bs-dark) !important;
}

.projects .nav-item a.active .projects-icon span {
    color: var(--bs-primary);
}

/* Projects Image Container */
.projects-img-container {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #f8f9fa;
}

.projects-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projects-item:hover .projects-img {
    transform: scale(1.05);
}

/* Case Study Stats */
.case-study-stats {
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(246, 138, 10, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(246, 138, 10, 0.2);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--bs-dark);
    text-align: center;
}

/* Responsive adjustments for projects */
@media (max-width: 991px) {
    .projects-img-container {
        height: 250px;
    }
    
    .stat-item {
        padding: 0.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .projects-img-container {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .case-study-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-item {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-right: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .stat-label {
        text-align: right;
        margin-left: 1rem;
    }
}
/*** Projects End ***/


/*** Blog Start ***/
.blog .blog-item {
    height: 100%;
    background: var(--bs-light);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog .blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    background: rgba(246, 138, 10, .3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    width: 100%;
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
    height: 240px;
    object-fit: cover;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.1);
}

.blog .blog-item .blog-heading {
    position: relative;
    background: var(--bs-white);
    margin-top: -30px;
    z-index: 1;
}

.blog .blog-item .blog-heading a.h4 {
    position: relative;
    width: 100%;
    display: inline-flex;
    transition: 0.5s;
    z-index: 2;
    font-size: 1.25rem;
    line-height: 1.4;
    min-height: 80px;
    align-items: center;
}

.blog .blog-item .blog-heading a.h4:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-content {
    padding: 25px;
    border-radius: 0 0 8px 8px;
}

.blog .blog-item .blog-content p {
    margin-bottom: 20px;
    color: #6c757d;
    line-height: 1.6;
}

.text-justify {
    text-align: justify;
}

/* Blog categories */
.blog .category-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
   
}

.blog .category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 153, 0, 0.471);
}

.blog .category-item i {
    transition: all 0.3s ease;
}

.blog .category-item:hover i {
    transform: scale(1.1);
}

/* Job Portal Announcement */
.blog .job-portal-announcement {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.blog .job-portal-announcement::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.blog .job-portal-announcement .content {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .blog .blog-item {
        margin-bottom: 30px;
    }
    
    .blog .blog-item .blog-heading a.h4 {
        font-size: 1.1rem;
        min-height: 70px;
    }
    
    .blog .blog-item .blog-content {
        padding: 20px;
    }
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px; right: -100%;
    z-index: 9;
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon {
    right: 25px;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(246, 138, 10, .2);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-content {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}
/*** Team End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item {
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border: none;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(246, 138, 10, .9);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
    background: var(--bs-light);
}
/*** FAQs End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
}

.testimonial .testimonial-item .customer-text {
    border: 1px solid var(--bs-primary);
    border-top: none;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    color: var(--bs-dark);
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px; 
    height: 100px;
    border: 2px solid var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

@media (max-width: 991px) {
    .testimonial-carousel .owl-dots .owl-dot {
        margin: 0 10px 0 10px;
    }
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/





/* Responsive adjustments for header and navbar */
@media (max-width: 767px) {
    .header-top {
        max-height: 60px;
    }
    
    .header-top .container {
        max-height: 60px;
    }
    
    .navbar-light .navbar-brand img {
        max-height: 40px;
    }
    
    .nav-bar .navbar-light .navbar-brand img {
        max-height: 35px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    /* Ensure navbar toggler is visible and properly positioned */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Improve mobile menu appearance */
    .navbar-collapse {
        background-color: var(--bs-white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 10px;
        border-radius: 0 0 5px 5px;
    }
}

/* Ensure images are responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Object-fit polyfill for older browsers */
.object-fit-cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media (max-width: 575px) {
    h1, .h1 {
        font-size: 1.8rem;
    }
    
    h2, .h2 {
        font-size: 1.6rem;
    }
    
    h3, .h3 {
        font-size: 1.4rem;
    }
    
    .display-1 {
        font-size: calc(2rem + 1.5vw) !important;
    }
    
    .display-2 {
        font-size: calc(1.8rem + 1.2vw) !important;
    }
}

/*** Service Cards Start ***/
.service-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Attractive border with gradient */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--bs-primary), var(--bs-dark));
}

/* Consistent image styling for service cards */
.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.95) contrast(1.05);
}

.service-card:hover .card-img-top {
    filter: brightness(1.05) contrast(1.1);
    transform: scale(1.05);
}

/* Optional: Add a subtle overlay to images for better text readability */
.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px; /* Same as image height */
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 0.3;
}

.service-card .card-body {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.service-card .card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bs-dark);
    position: relative;
    padding-bottom: 12px;
}

/* Underline for card title */
.service-card .card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--bs-primary);
}

.service-card .card-text {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card .btn-link {
    color: var(--bs-primary);
    font-weight: 600;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card .btn-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card .btn-link:hover {
    color: var(--bs-dark);
}

.service-card .btn-link:hover i {
    transform: translateX(5px);
}

/* Card icon styling */
.service-card .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--bs-primary);
    color: white;
    transform: rotateY(180deg);
}

/* Card with image overlay */
.service-card.image-overlay {
    position: relative;
}

.service-card.image-overlay .card-img-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.service-card.image-overlay .card-title,
.service-card.image-overlay .card-text {
    color: white;
}

.service-card.image-overlay .card-title::after {
    background: white;
}

/* Hover effect for image overlay cards */
.service-card.image-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb), 0.7), rgba(var(--bs-dark-rgb), 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 8px;
}

.service-card.image-overlay:hover::after {
    opacity: 1;
}

.service-card.image-overlay .card-img-overlay {
    z-index: 2;
}

/* Card with border style */
.service-card.border-style {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    border-bottom: 3px solid var(--bs-primary);
}

.service-card.border-style::before {
    display: none;
}

/* Card hover effects */
.service-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.9), rgba(var(--bs-dark-rgb), 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 3;
}

.service-card:hover .hover-overlay {
    opacity: 1;
}

.service-card .hover-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    transition-delay: 0.1s;
}

.service-card:hover .hover-content {
    transform: translateY(0);
    opacity: 1;
}

.service-card .hover-content h5 {
    color: white;
    margin-bottom: 10px;
}

.service-card .hover-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.service-card .hover-content .btn {
    background: white;
    color: var(--bs-primary);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-card .hover-content .btn:hover {
    background: var(--bs-dark);
    color: white;
}

/* Card with shadow border */
.service-card.shadow-border {
    border: none;
    box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card.shadow-border::before {
    display: none;
}

.service-card.shadow-border::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-dark));
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-card .card-body {
        padding: 20px;
    }
    
    .service-card .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/*** Service Cards End ***/

/* Feature Items Styling */
.feature-item {
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #F68A0A; /* Explicit orange border using the primary color */
    border-radius: 8px;
    background-color: var(--bs-light);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #F68A0A; /* Keep the same orange color on hover */
    border-width: 2px; /* Make border slightly thicker on hover */
    box-shadow: 0 10px 20px rgba(246, 138, 10, 0.2); /* Orange shadow using hex value */
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(246, 138, 10, 0.1); /* Light orange background */
}

.feature-icon-wrapper i {
    font-size: 36px;
    color: #F68A0A; /* Orange color for icons */
}

.feature-item:hover h4 {
    color: #F68A0A; /* Orange color for heading on hover */
}

/* Remove the bottom line animation since we now have borders on all sides */
.feature-item::after {
    display: none;
}

/* Feature divider styling */
.feature-divider {
    height: 2px;
    width: 50px;
    background: linear-gradient(to right, transparent, #F68A0A, transparent);
    position: relative;
}

.feature-divider::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #F68A0A;
}

.feature-item:hover .feature-divider {
    width: 70px;
    background: linear-gradient(to right, transparent, #F68A0A 30%, #F68A0A 70%, transparent);
    transition: all 0.4s ease;
}

/* About Section Styling */
.about {
    position: relative;
    overflow: hidden;
}

/* Title underline */
.title-underline {
    height: 3px;
    width: 70px;
    background: linear-gradient(to right, #F68A0A, transparent);
    position: relative;
    margin-top: 10px;
}

.title-underline::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #F68A0A;
}

/* Content box styling */
.about-content-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 3px solid #F68A0A;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.about-feature {
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.about-feature:hover {
    background-color: rgba(246, 138, 10, 0.05);
    transform: translateX(5px);
}

.about-feature h5 {
    color: var(--bs-dark);
    transition: all 0.3s ease;
}

.about-feature:hover h5 {
    color: #F68A0A;
}

.about-point {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.about-point:hover {
    transform: translateX(5px);
}

/* Image styling */
.about-img-container {
    position: relative;
    height: 100%;
    padding-bottom: 30px;
    z-index: 2;
}

.about-img-border {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 90%;
    border-top: 3px solid #F68A0A;
    border-right: 3px solid #F68A0A;
    border-bottom: 3px solid #F68A0A;
    border-radius: 0 8px 8px 0;
    z-index: 1;
}

.about-img-container img {
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.about-img-container:hover img {
    transform: scale(1.02);
}

.about-experience {
    position: absolute;
    left: 0;
    bottom: 70px;
    background: #F68A0A;
    padding: 20px;
    text-align: center;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
    min-width: 140px;
    z-index: 3;
}

.about-img-small {
    position: absolute;
    width: 50%;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: white;
    border-radius: 8px 0 0 0;
    box-shadow: -5px -5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    z-index: 3;
}

.about-img-small img {
    border-radius: 8px;
    transition: all 0.5s ease;
}

.about-img-small:hover img {
    transform: scale(1.05);
}

/* Add a subtle pattern overlay to the about section */
.about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F68A0A' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

/* Content divider styling */
.content-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, #F68A0A 0%, rgba(246, 138, 10, 0.5) 25%, rgba(246, 138, 10, 0.2) 50%, rgba(246, 138, 10, 0.1) 75%, transparent 100%);
    position: relative;
}

.content-divider::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #F68A0A;
}

.content-divider::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 20px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(246, 138, 10, 0.5);
}

/* Staffing Solutions Lists */
.staffing-category {
    background-color: rgba(246, 138, 10, 0.05);
    border-left: 3px solid #F68A0A;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.staffing-category:hover {
    background-color: rgba(246, 138, 10, 0.1);
    transform: translateX(5px);
}

.staffing-list {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 0;
    columns: 1;
}

.staffing-list li {
    position: relative;
    padding: 4px 0;
    font-size: 0.95rem;
}

.staffing-list li:before {
    content: "•";
    color: #F68A0A;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media (min-width: 768px) {
    .staffing-list {
        columns: 2;
    }
}

@media (max-width: 767px) {
    .staffing-category {
        margin-bottom: 15px;
    }
}

/* Service Types Badges */
.service-types {
    display: flex;
    flex-wrap: wrap;
}

.service-types .badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    background-color: rgba(246, 138, 10, 0.9) !important;
    transition: all 0.3s ease;
}

.service-types .badge:hover {
    background-color: #F68A0A !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Service Image Containers */
.service-img-container {
    position: relative;
    overflow: hidden;
    height: 240px;
    background-color: #f8f9fa;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.service-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 15px 15px;
    transition: all 0.3s ease;
}

.service-img-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for service images */
@media (max-width: 991px) {
    .service-img-container {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .service-img-container {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .service-img-container {
        height: 180px;
    }
    
    .service-img-overlay {
        padding: 15px 10px 10px;
    }
    
    .service-img-overlay span {
        font-size: 1rem;
    }
}

/*** Process Cards ***/
.process {
    background-color: #f8f9fa;
}

.process-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: visible; /* Changed from hidden to visible */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

/*** Enhanced Service Cards Start ***/
.service-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 30px;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(246, 138, 10, 0.2);
}

/* Gradient border effect */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--bs-primary), #ff9d45, var(--bs-primary));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {background-position: 0% 50%}
    50% {background-position: 100% 50%}
    100% {background-position: 0% 50%}
}

.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.service-card:hover .card-img-top {
    filter: brightness(1.05);
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 25px;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.service-card .card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bs-dark);
    position: relative;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

/* Animated underline for card title */
.service-card .card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bs-primary);
    transition: all 0.4s ease;
}

.service-card:hover .card-title::after {
    width: 80px;
}

.service-card .card-text {
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Service icon styling */
.service-card .service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--bs-primary), #ff9d45);
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -32px;
    right: 25px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(246, 138, 10, 0.3);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    box-shadow: 0 8px 25px rgba(246, 138, 10, 0.4);
}

/* Service types badges */
.service-card .service-types .badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: 30px;
    background: rgba(246, 138, 10, 0.1) !important;
    color: var(--bs-primary);
    border: 1px solid rgba(246, 138, 10, 0.3);
    transition: all 0.3s ease;
}

.service-card .service-types .badge:hover {
    background: var(--bs-primary) !important;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Hover overlay effect */
.service-card .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.92), rgba(211, 84, 0, 0.92));
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 20;
    backdrop-filter: blur(3px);
}

.service-card:hover .hover-overlay {
    opacity: 1;
}

.service-card .hover-content {
    text-align: center;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
    transition-delay: 0.1s;
}

.service-card:hover .hover-content {
    transform: translateY(0);
    opacity: 1;
}

.service-card .hover-content .btn {
    background: rgba(255, 255, 255, 0.9);
    color: #e67e22;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card .hover-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #f39c12, #d35400);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card .hover-content .btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.service-card .hover-content .btn:hover::before {
    width: 100%;
}

/* Custom request card styling */
.custom-request-card {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
}

.custom-request-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.custom-request-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(246, 138, 10, 0.1), rgba(246, 138, 10, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(246, 138, 10, 0.15);
}

.custom-request-card:hover .custom-request-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(246, 138, 10, 0.25);
}

.custom-request-form .form-floating {
    margin-bottom: 15px;
}

.custom-request-form .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.custom-request-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(246, 138, 10, 0.25);
}

.custom-request-form .btn-primary {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--bs-primary), #ff9d45);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.custom-request-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #0E121D, #2a3352);
    transition: all 0.4s ease;
    z-index: -1;
}

.custom-request-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(246, 138, 10, 0.3);
}

.custom-request-form .btn-primary:hover::before {
    width: 100%;
}

/* Service category headings */
.service-category h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.service-category h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--bs-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .service-card .card-img-top {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .service-card .card-img-top {
        height: 180px;
    }
    
    .service-card .service-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        top: -27px;
    }
}
/*** Enhanced Service Cards End ***/
.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.process-card-header {
    position: relative;
    height: 100px;
    background: linear-gradient(135deg, rgba(246, 138, 10, 0.9) 0%, rgba(246, 138, 10, 0.7) 100%);
    border-radius: 10px 10px 0 0;
    overflow: visible; /* Changed from hidden to visible */
}

.process-card-header::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -75px;
    right: -75px;
}

.process-card-header::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.process-icon {
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #F68A0A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Increased z-index */
}

.process-icon i {
    font-size: 24px;
    color: #ffffff;
    display: block; /* Ensure icon is displayed as block */
    line-height: 1; /* Reset line height */
}

.process-icon span {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    color: #F68A0A;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.process-card-body {
    padding: 50px 30px 30px;
}

.process-title {
    font-size: 22px;
    font-weight: 600;
    color: #0E121D;
    margin-bottom: 15px;
}

.process-title-underline {
    width: 50px;
    height: 3px;
    background-color: #F68A0A;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-card:hover .process-title-underline {
    width: 80px;
}

.process-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.process-list li {
    margin-bottom: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #878D97;
}

.process-list li:hover {
    transform: translateX(5px);
}

.process-card-body p {
    color: #878D97;
    line-height: 1.6;
    text-align: justify;
}

.title-underline {
    width: 80px;
    height: 3px;
    background-color: #F68A0A;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .process-card {
        margin-bottom: 30px;
    }
    
    .process-card-body {
        padding: 40px 20px 20px;
    }
}

/* Service Filter Buttons */
.service-filter {
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

.service-filter::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.filter-btn {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background-color: #e9ecef;
    color: #212529;
}

.filter-btn.active {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

/* Responsive adjustments for service filters */
@media (max-width: 767px) {
    .service-filter {
        justify-content: flex-start !important;
        padding-bottom: 15px;
    }
    
    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Custom Request Form Styling */
.custom-request-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.custom-request-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.custom-request-form .form-floating {
    margin-bottom: 15px;
}

.custom-request-form .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.custom-request-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.custom-request-form .btn {
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
