/********** Template CSS **********/
:root {
    --primary: #FF5E14;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --primary-rgb: 255, 94, 20;
    --dark-rgb: 2, 36, 91;
    --hover-scale: 1.02;
}

* {
    transition: all var(--transition-speed) ease;
}




/* Custom Table Styling */
.table {
    --bs-table-striped-bg: rgba(255, 94, 20, 0.05);
    --bs-table-hover-bg: rgba(255, 94, 20, 0.1);
    border-color: rgba(2, 36, 91, 0.1);
}

.table thead {
    background: var(--primary);
    font-weight: 600;
}

.table th {
    border-color: rgba(2, 36, 91, 0.1);
}

.table-striped>tbody>tr:nth-child(odd)>* {
    background-color: var(--bs-table-striped-bg);
}

.table-hover>tbody>tr:hover>* {
    background-color: var(--bs-table-hover-bg);
}
/* th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
th {
    background: var(--primary);
    color: white;
} */

.form-control {
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color var(--transition-speed) ease;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary), 0.25);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fade-in {
    animation: fadeIn 0.5s ease;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    transition: top 0.5s ease, background-color 0.5s ease;
}

.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--dark);
    
}
.navbar-brand img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(1deg) brightness(101%) contrast(101%);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown-menu {
    border: 1px solid var(--primary);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: var(--dark);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: var(--light);
}


.nav-link.dropdown-toggle:hover {
    color: var(--primary) !important;
}

.navbar .btn-primary:hover {
    background-color: var(--dark);
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    .facts .border {
        min-height: auto;
        padding: 1.5rem !important;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
    .navbar-collapse {
        background: var(--dark);
        padding: 1rem;
        border-radius: var(--border-radius);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

/* Breadcrumb Area Adjustments */
.breadcrumb-area {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
  }
  
  /* Breadcrumb Content Styling */
  .breadcrumb-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }
  
  /* Breadcrumb Links */
  #crumbs a.breadcrumb-link {
    /* Override default white to ensure contrast with dark overlay */
    color: var(--light) !important;  /* using our light color (#F5F5F5) */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
  }
  #crumbs a.breadcrumb-link:hover {
    color: var(--primary) !important;
  }
  
  /* Breadcrumb Current (non-link) */
  #crumbs .breadcrumb-current {
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  /* Optional: Adjust spacing between breadcrumb items */
  #crumbs ul li {
    margin-right: 10px;
    position: relative;
  }
  
  /* Adjust the chevron icon if needed */
  #crumbs i.fa-chevron-right {
    font-size: 0.9rem;
    margin: 0 8px;
  }
  
  




/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    /* background: var(--dark); */
    /* background: var(--primary); */
    background: linear-gradient(15deg, #02245B 0%, #001A3D 100%);
    color: white;
    overflow: hidden; /* Prevent any child element overflow */
}

.facts .border {
    border: 2px solid rgba(255, 255, 255, 0.15) !important; /* More visible border */
    border-radius: 10px; /* Rounded corners */
    transition: 0.3s ease; /* Smooth hover effect */
    min-height: 280px; /* Consistent box height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facts .border:hover {
    border-color: var(--primary) !important; /* Orange border on hover */
    transform: translateY(-5px); /* Lift effect */
}

/* Text Containment */
.facts h1,
.facts h2 {
    font-size: 2.5rem; /* Reduced from display-2 (original: 3.5rem) */
    line-height: 1.2; /* Better text wrapping */
    margin-bottom: 0.5rem !important;
}

.facts .fs-5 {
    font-size: 1rem !important;
    padding: 0 1rem; /* Prevent text touching edges */
}

/* Icons */
.facts .fa-3x {
    font-size: 2.5em; /* Slightly reduce icon size */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .facts .border {
        min-height: auto; /* Flexible height on mobile */
        padding: 1.5rem !important;
    }
    
    .facts h1,
    .facts h2 {
        font-size: 2rem;
    }
}


.hover-opacity-100:hover {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}


/* Contact Section */
.contact-form {
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-info {
    border: 2px solid var(--dark);
    transition: all 0.3s ease;
}

.contact-form .form-control-lg {
    border: 1px solid rgba(var(--dark), 0.15);
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.contact-form .form-control-lg:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary), 0.25);
}

.contact-info li {
    border-bottom: 1px solid rgba(var(--dark), 0.1);
    transition: transform 0.3s ease;
}

.contact-info li:last-child {
    border-bottom: none;
}

.contact-info li:hover {
    transform: translateX(10px);
}

.contact-form .btn-primary {
    background-color: var(--primary);
    border: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: var(--dark);
    color: var(--primary);
    transform: translateY(-2px);
}

/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.jpg) left bottom no-repeat;
    border-bottom: 1px solid rgba(2, 36, 91, 0.1);
    /* background-size: auto; */
    background-size: cover; /* Ensures the background image covers the entire container */
    background-position: center; /* Centers the background image */

}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}

/* Project Section */
.project-title {
    background: rgba(2, 36, 91, 0.9); /* Dark blue overlay */
    padding: 1rem;
    border-radius: 5px;
}

.project-title h5 {
    font-size: 1.25rem;
    margin-bottom: 0 !important; /* Remove extra margin */
}



.product-item:hover {
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.product-item img {
    border-radius: 8px 8px 0 0;
}



/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}



/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Adjusted width */
    height: 60px; /* Adjusted height */
    border-radius: 50%;
    border: none;
    outline: none !important;
    background: var(--primary);
    padding: 0; /* Remove padding */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for better visibility */
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}


.btn-play:hover {
    background: var(--dark); /* Change color on hover */
    transform: translateY(-50%) scale(1.1); /* Add hover effect */
}


.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 16px solid white; /* Triangle size */
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 5px; /* Adjust to center the triangle */
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}





/*** Certificates Section ***/
.certificate-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 !important; /* Remove the padding from the card itself */
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.certificate-img-container {
    overflow: hidden;
    height: 600px; /* Increased height for better A4 display */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 10px;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed) ease;
}

.certificate-card:hover .certificate-img {
    transform: scale(1.03);
}

.certificate-text {
    padding: 20px;
    text-align: center;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .certificate-img-container {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .certificate-img-container {
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .certificate-img-container {
        height: 200px;
    }
    
    .certificate-text {
        padding: 15px;
        font-size: 0.9rem;
    }
}
/* Logo Box */


.clients {
    position: relative;
    margin: 6rem 0;
    background: linear-gradient(15deg, #02245B 0%, #001A3D 100%);
    color: white;
    overflow: hidden;
    padding: 4rem 0;
}

.clients .container {
    position: relative;
    z-index: 2;
}

.clients h2,
.clients p {
    text-align: center;
}


/* Center the logo box and logos */
.client-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

/* Adjust logo grid for smaller screens */
@media (max-width: 768px) {
    .client-logo-box {
        margin-bottom: 20px;
    }

    .clients .row {
        justify-content: center !important; /* Ensure the row centers its content */
    }

    .client-logo-box img {
        max-width: 80%;
        height: auto;
    }
}

/* Adjust logo size for very small screens */
@media (max-width: 576px) {
    .client-logo-box img {
        max-width: 100%;
        height: auto;
    }
}

/* Add hover effect for logos */
.clients img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.clients img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}





/* Card Container */
.card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.card-container {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-container::before {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, var(--primary) 0%, var(--dark) 100%);
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
}

/* Card */
.card {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
}

/* Image Content */
.card .img-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, var(--primary) 0%, var(--dark) 100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card .img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Content */
.card .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: var(--light);
    padding: 20px 24px;
    line-height: 1.5;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    background: rgba(2, 36, 91, 0.7); /* Using --dark with 70% opacity */
}

.card .content .heading {
    font-size: 24px;
    font-weight: 700;
}

/* Hover Effects */
.card:hover .img-content {
    /* transform: scale(1.2) rotate(15deg); Scale + Rotation */
    filter: blur(5px); /* Blur Effect */
}

.card:hover .content {
    opacity: 1;
    transform: translateY(0);
}




/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);

}


.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}
@media (min-width: 1200px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}
@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer a {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

/* Align all icons vertically */
.footer i {
    vertical-align: middle;
}

/* Adjust the pseudo element icon for product links */
.footer .btn.btn-link::before {
    display: inline-block;
    vertical-align: middle;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    line-height: 1;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .footer {
         text-align: center;
    }
    .footer .row > [class*='col-'] {
         margin-bottom: 20px;
    }
    .footer .btn.btn-link {
         text-align: center;
    }
    .row {
        flex-direction: column;
    }
    .col-md-6, .col-lg-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
}

a, button, .btn {
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 767.98px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    p { font-size: 1rem; }
}



.service-details_main_image img {
    max-height: 400px;
    object-fit: cover;
}
.sticky-sidebar {
    position: sticky;
    top: 80px;
}
/* Custom Card Styling */
.card-custom {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
}

.card-custom:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Card Header Styling */
.card-header {
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
}

/* List Group Items */
.list-group-item {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(var(--primary), 0.1);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Button Styling */
.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

/* Contact Card */
.contact-card {
    background: var(--light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Spacing Utilities */
.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}