/********** Template CSS **********/

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

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

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

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

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

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

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

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}

/* Hamburger Menu */
.menu-toggle {
    cursor: pointer;
    user-select: none;
}

.hamburger {
    width: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/* Side Menu - Modern Redesign */
.side-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #8b0304 0%, #4a0102 100%);
    z-index: 1050;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.side-menu.active {
    right: 0;
}

/* Custom scrollbar for side menu */
.side-menu-content::-webkit-scrollbar {
    width: 8px;
}

.side-menu-content::-webkit-scrollbar-track {
    background: rgba(139, 3, 4, 0.1); /* Lighter version of #8b0304 */
    border-radius: 4px;
}

.side-menu-content::-webkit-scrollbar-thumb {
    background-color: #8b0304;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.side-menu-content::-webkit-scrollbar-thumb:hover {
    background-color: #6d0203; /* Slightly darker on hover */
}

/* Menu Header */
.side-menu-header {
    position: relative;
    padding: 20px 30px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.menu-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.btn-close {
    position: relative;
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.close-icon {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.close-icon:first-child {
    transform: rotate(45deg);
}

.close-icon:last-child {
    transform: rotate(-45deg);
}

.btn-close:hover .close-icon {
    background: #ffcc00;
    transform: rotate(180deg);
}

.btn-close:hover .close-icon:last-child {
    transform: rotate(0deg);
}

.menu-title {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    z-index: 2;
    margin-top: 15px;
}

/* Menu Content */
.side-menu-content {
    flex: 1;
    padding: 0 30px;
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 220px);
}

.menu-links-container {
    width: 100%;
    padding: 20px 0;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 5px;
    border-radius: 5px;
}

.link-icon {
    margin-right: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.link-text {
    position: relative;
    z-index: 2;
}

.link-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.2) 0%, rgba(255, 204, 0, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1;
}

.nav-link:hover {
    color: #fff;
    transform: translateX(10px);
}

.nav-link:hover .link-icon {
    color: #df8b8b;
    transform: scale(1.2);
}

.nav-link:hover .link-hover-effect {
    transform: translateX(0);
}

/* Menu Footer */
.side-menu-footer {
    position: relative;
    padding: 20px 30px;
    height: auto;
    min-height: 100px;
    flex-shrink: 0;
}

.menu-footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 2;
    position: relative;
}

.social-icon {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

* Facebook */
.social-icon:hover .fa-facebook-f {
    color: #076ff8; /* Facebook blue */
}

/* LinkedIn */
.social-icon:hover .fa-linkedin-in {
    color: #0a66c2; /* LinkedIn blue */
}

/* Instagram */
.social-icon:hover .fa-instagram {
    color: #e4405f; /* Instagram pink-red */
}

.social-icon:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* Overlay with animated pattern */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .side-menu {
        width: 100%;
        right: -100%;
    }

    .side-menu.active {
        right: 0;
    }

    .side-menu-content {
        max-height: calc(100vh - 180px);
    }
    
    .side-menu-header {
        min-height: 100px;
        padding: 15px 20px;
    }
    
    .menu-title {
        font-size: 20px;
    }

    .nav-link {
        font-size: 16px;
        padding: 15px;
    }
    
    .side-menu-footer {
        padding: 15px 20px;
        min-height: 80px;
    }
}

/* Animation for menu items */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.side-menu.active .nav-link {
    animation: fadeInRight 0.5s ease forwards;
}

.side-menu.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.side-menu.active .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.side-menu.active .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.side-menu.active .nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

.side-menu.active .nav-link:nth-child(5) {
    animation-delay: 0.5s;
}

.side-menu.active .nav-link:nth-child(6) {
    animation-delay: 0.6s;
}

.side-menu.active .nav-link:nth-child(7) {
    animation-delay: 0.7s;
}

.side-menu.active .nav-link:nth-child(8) {
    animation-delay: 0.8s;
}

/*** Header ***/
/* Main carousel container */
/* Container */
.carousel {
    display: flex;
    height: 65vh;
    position: relative;
    overflow: hidden;
    background-color: #5f0000;
}

/* Left: solid + inner gradient fade */
.carousel-left {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5rem;
    position: relative;
    z-index: 2;
}

.carousel-left .btn {
    background: linear-gradient(145deg, #ffffff, #e0e0e0);
    color: #8b0304;
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow:
        0px 4px 8px rgba(0, 0, 0, 0.1),
        inset 0px 1px 0px rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    width: fit-content;
    margin-top: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.carousel-left .btn:hover {
    background: linear-gradient(145deg, #e0e0e0, #f0f0f0);
    color: #4a0102;
    box-shadow:
        0px 6px 12px rgba(0, 0, 0, 0.15),
        inset 0px 1px 0px rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.carousel-left .btn:active {
    transform: translateY(1px);
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.1),
        inset 0px 1px 0px rgba(255, 255, 255, 0.5);
}

/* Optional: Add a subtle shine effect */
.carousel-left .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.13);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

.carousel-left .btn:hover::after {
    left: 120%;
}

/* Add fade gradient into the right side */
.carousel-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right,
            #5f0000 0%,
            rgba(106, 3, 4, 0.8) 40%,
            rgba(106, 3, 4, 0.4) 70%,
            transparent 100%);
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 992px) {
    .carousel-left::after {
        display: none;
    }
}

/* Right side */
.carousel-right {
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
}

/* Remove old gradient overlay if any */
.carousel-right::before {
    display: none;
}

/* Image settings */
.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title styling */
.carousel-left h2 {
    font-size: 4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Subtitle styling */
.carousel-left p {
    font-size: 1.2rem;
    color: #dbdbdb;
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.6;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-indicators .active {
    background-color: #000;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel {
        flex-direction: column;
        height: auto;
    }

    .carousel-left,
    .carousel-right {
        flex: 0 0 100%;
        padding: 3rem 2rem;
    }

    .carousel-left {
        order: 2;
    }

    .carousel-right {
        order: 1;
        height: 50vh;
    }

    .carousel-right::before {
        display: none;
    }

    .carousel-left h1 {
        font-size: 2.5rem;
    }

    .carousel-left p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (min-width: 1600px) {
    .carousel-left h1 {
        font-size: 5rem;
    }

    .carousel-left p {
        font-size: 1.5rem;
    }
}


/** New css for carousel **/




/*** About Section ***/
.about-img {
    position: relative;
    z-index: 1;
}

.about-img-border {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 5px solid var(--bs-primary);
    border-radius: 0.5rem;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-img:hover .about-img-border {
    top: 15px;
    left: 15px;
}

.section-title h1 {
    font-weight: 700;
    position: relative;
}

.title-divider {
    height: 4px;
    width: 80px;
    border-radius: 2px;
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.bullet-points p {
    font-size: 1.05rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .about-img {
        margin-bottom: 30px;
    }
    
    .about-img-border {
        top: 15px;
        left: 15px;
        width: calc(100% - 15px);
        height: calc(100% - 15px);
    }
}

@media (max-width: 767.98px) {
    .section-title h1 {
        font-size: 2.2rem;
    }
    
    .about-img-border {
        top: 10px;
        left: 10px;
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }
    
    .feature-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    .section-title h1 {
        font-size: 1.8rem;
    }
    
    .title-divider {
        width: 60px;
    }
    
    .bullet-points p {
        font-size: 1rem;
    }
}


/* Updated CSS for overlapping effect */
.service-section {
    margin-top: 50px;
    position: relative;
}

.service-img img {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* Increase image width slightly */
.service-img {
    width: 110%;
    /* Increased from 100% */
    margin-left: -5%;
    /* Center the increased width */
    position: relative;
    z-index: 1;
}

/* Text box overlapping styles */
.service-text-box {
    background-color: #8b0304;
    color: white;
    border-radius: 4px;
    padding: 30px;
    position: relative;
    z-index: 2;
    margin-top: -1px;
    /* Pulls the text box up to overlap */
    margin-right: -50px;
    /* For left-aligned text boxes */
    margin-left: -50px;
    /* For right-aligned text boxes */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Adjustments for even rows (image on right) */
.service-section:nth-child(even) .service-text-box {
    margin-left: -50px;
    margin-right: 0;
}

/* Adjustments for odd rows (image on left) */
.service-section:nth-child(odd) .service-text-box {
    margin-right: -50px;
    margin-left: 0;
}

/* Keep all your existing styles below */
.service-heading {
    font-size: 32px;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.service-seamless {
    font-family: 'Brush Script MT', cursive;
    font-size: 38px;
    color: #8b0304;
    font-weight: normal;
    margin-right: 10px;
}

.service-btn-custom {
    background-color: white;
    color: #8b0304;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.service-btn-custom:hover {
    background-color: #4a0203;
    color: white;
    text-decoration: none;
}

.service-text {
    font-size: 16px;
    line-height: 1.7;
}

.service-heading-underline {
    position: relative;
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    color: #8b0304;
    margin-left: 20px;
    margin-top: 20px;
}

.service-heading-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: #8b0304;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .service-img {
        width: 100%;
        margin-left: 0;
    }

    .service-text-box {
        margin-top: 20px;
        margin-right: 0;
        margin-left: 0;
    }

    .service-section:nth-child(even) .service-text-box,
    .service-section:nth-child(odd) .service-text-box {
        margin-left: 0;
        margin-right: 0;
    }
}




/* Gallery Area css
============================================================================================ */
/* ===== Gallery Image Uniform Sizing - Clean Version ===== */
.h_gallery_item {
    margin-bottom: 30px;
}

.h_gallery_item .g_img_item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 250px;
    /* Fixed height */
    width: 100%;
    /* Full width of column */
}

.h_gallery_item .g_img_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

/* Hover effect */
.h_gallery_item:hover .g_img_item img {
    transform: scale(1.03);
}

/* ===== Elegant Filter Navigation ===== */
.gallery_filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 50px;
    list-style: none;
    gap: 15px;
}

.gallery_filter li {
    margin: 0;
}

.gallery_filter li a {
    display: block;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    background: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Active/Hover States */
.gallery_filter li.active a,
.gallery_filter li:hover a {
    color: #fff;
    background: #8b0304;
    border-color: #8b0304;
    box-shadow: 0 4px 8px rgba(106, 3, 4, 0.2);
}

/* Simple underline animation */
.gallery_filter li a {
    position: relative;
}

.gallery_filter li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25px;
    right: 25px;
    height: 2px;
    background: #8b0304;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.gallery_filter li:hover a:after,
.gallery_filter li.active a:after {
    transform: scaleX(1);
}

.gallery-btn-custom {
    background-color: #8b0304;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-flex;
    /* Changed to flex */
    align-items: center;
    /* Now this will work */
    justify-content: center;
    /* Horizontal centering */
    text-align: center;
}

.gallery-btn-custom:hover {
    background-color: #a84446;
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .h_gallery_item .g_img_item {
        height: 200px;
    }

    .gallery_filter {
        gap: 10px;
        margin-bottom: 30px;
    }

    .gallery_filter li a {
        padding: 8px 18px;
        font-size: 12px;
    }
}

/* End Gallery Area css
============================================================================================ */


/* Custom Features */


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

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

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


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}

/* Our Privileged Clients */

/* valued Client Section */
.client-section {
    padding: 4rem 0;
    margin-bottom: 60px;
    /* background: #f8f9fa; */
}

/* Carousel Container */
.client-carousel-container {
    position: relative;
    padding: 20px 0;
}

.client-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Increased padding */
    height: auto;
    margin: 10px 0;
}

.client-logo-img {
    max-height: 220px; /* Increased from 200px */
    width: auto;
    max-width: 150px; /* Increased from 120px */
    transition: all 0.3s ease;
    opacity: 0.9;
    object-fit: contain;
    /* filter: grayscale(100%); */
}

.client-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15); /* Slightly increased scale */
}

/* Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    pointer-events: auto;
    width: 50px; /* Increased size */
    height: 50px; /* Increased size */
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    color: #8b0304 !important;
    font-size: 24px !important; /* Increased font size */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Added shadow */
}

.owl-prev:hover,
.owl-next:hover {
    transform: scale(1.15);
}

.owl-dots {
    margin-top: 30px; /* Increased margin */
    display: flex;
    justify-content: center;
    gap: 10px; /* Increased gap */
}

.owl-dot {
    width: 14px; /* Increased size */
    height: 14px; /* Increased size */
    border-radius: 50%;
    background: #ddd !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: #8b0304 !important;
    transform: scale(1.3); /* Increased scale */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .client-logo-img {
        max-height: 180px;
        max-width: 130px;
    }
}

@media (max-width: 992px) {
    .client-section {
        padding: 3rem 0;
    }
    
    .client-logo-img {
        max-height: 120px;
        max-width: 100px;
    }
    
    .owl-prev,
    .owl-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }
}

@media (max-width: 768px) {
    .client-logo-img {
        max-height: 120px;  /* Increased from 90px */
        max-width: 100px;   /* Increased from 80px */
        filter: grayscale(0%);
    }
    
    .client-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .client-logo-img {
        max-height: 100px;  /* Increased from 70px */
        max-width: 90px;    /* Increased from 60px */
    }
    
    .owl-nav {
        display: none;
    }
}
/* Our Privileged Clients */




/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #000000, #303030);
    color: #e2e2e2;
    position: relative;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--bs-primary);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-top: 3px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-3px);
}

.hours-section p {
    margin-bottom: 5px;
}

.copyright {
    background: #6a0304;
    color: #fff;
}

.copyright a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .footer .row > div {
        margin-bottom: 30px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .footer {
        padding: 40px 0 !important;
    }
    
    .footer .row > div {
        margin-bottom: 25px;
    }
    
    .copyright .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
}


/* footer end */



/* About Page custom design */
/* Mission vision goal section */
/* Mission Section Styles */
.mission-section {
    position: relative;
    overflow: hidden;
}

.mission-header {
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

.mission-title {
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    color: #222;
    font-size: 2.5rem;
    background: black;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.mission-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 2rem auto 0;
    position: relative;
    padding: 1.5rem;
}

.mission-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #8b0304, #d10005);
    border-radius: 0 0 3px 3px;
}

.mission-divider {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.mission-description {
    line-height: 1.8;
}

/* Mission Cards */
.mission-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 204, 0, 0.3);
}

.mission-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(230, 230, 230);
    border-radius: 50%;
    position: relative;
    transition: all 0.5s ease;
}

.mission-card:hover .mission-card-icon {
    background: rgba(255, 255, 255, 150);
    transform: rotateY(180deg);
}

.mission-icon {
    font-size: 36px;
    color: #8b0304;
}

.mission-card-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.mission-card-divider {
    width: 50px;
    height: 2px;
    background: #8b0304;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
}

.mission-card:hover .mission-card-divider {
    width: 80px;
    background: #fff;
}

.mission-card-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0;
}

.mission-card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.mission-card:hover .mission-card-bg {
    opacity: 1;
}

/* Animation */
@keyframes missionFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.mission-card:hover {
    animation: missionFloat 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-card {
        padding: 30px 20px;
    }

    .mission-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .mission-icon {
        font-size: 30px;
    }

    .mission-card-title {
        font-size: 20px;
    }
}

/* Mission vision goal section */


/* custom page header */
/* Ticket Header Styles */
.page-header-ticket {
    position: relative;
    height: 350px;
    background: #8b0304;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-header-ticket-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header-ticket-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(56, 2, 3, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.page-header-ticket-title {
    color: white;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.page-header-ticket-breadcrumb .breadcrumb-item,
.page-header-ticket-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.page-header-ticket-breadcrumb .breadcrumb-item.active {
    color: #ffcc00;
    font-weight: 600;
}

.page-header-ticket-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: rgba(255, 255, 255, 0.7);
    padding: 0 10px;
}

.page-header-ticket-breadcrumb .breadcrumb-item a:hover {
    color: #ffcc00;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header-ticket {
        height: 300px;
    }

    .page-header-ticket-content {
        padding: 30px 20px;
    }

    .page-header-ticket-title {
        font-size: 28px;
    }
}

/* custom page header */

/* Videos Section Styles */
.videos-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    position: relative;
    overflow: hidden;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern.png') repeat;
    opacity: 0.05;
    z-index: 0;
}

.videos-description {
    color: #6c757d;
}

.videos-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.videos-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.videos-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.videos-item:hover .videos-thumbnail {
    transform: scale(1.05);
}

.videos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.videos-item:hover .videos-overlay {
    opacity: 1;
}

.videos-play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.videos-play-btn i {
    color: white;
    font-size: 24px;
    margin-left: 5px;
}

.videos-play-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.videos-title {
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.videos-item:hover .videos-title {
    opacity: 1;
    transform: translateY(0);
}

.videos-modal .modal-content {
    background: transparent;
    border: none;
}

.videos-modal .modal-header {
    border: none;
    padding: 0;
}

.videos-modal .btn-close {
    filter: invert(1);
    position: absolute;
    right: -40px;
    top: -40px;
    background-size: 1.5rem;
    z-index: 10;
}


/* Videos Section Styles */




/* Career Section Styles */
.career-area {
    position: relative;
    overflow: hidden;
}

.career-title {
  color: #6a0304;
  font-size: 2.4rem;
  font-weight: 800;
  text-shadow: 
    2px 2px 0px rgba(0,0,0,0.1),
    4px 4px 8px rgba(0,0,0,0.05);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.career-title:hover {
  transform: translateY(-2px);
  text-shadow: 
    3px 3px 0px rgba(0,0,0,0.1),
    6px 6px 12px rgba(0,0,0,0.1);
}
.career-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.career-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #8b0304;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.career-card-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #eee;
}

.career-position {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.career-department {
    display: inline-block;
    background: #f1f8fe;
    color: #8b0304;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.career-card-body {
    padding: 20px 25px;
    flex-grow: 1;
}

.career-details {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.career-details li {
    margin-bottom: 8px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.career-details li i {
    margin-right: 8px;
    color: #8b0304;
    width: 16px;
    text-align: center;
}

.career-excerpt {
    color: #34495e;
    font-size: 0.95rem;
    line-height: 1.6;
}

.career-card-footer {
    padding: 0 25px 25px;
}

.career-btn {
    display: inline-block;
    background: #8b0304;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #8b0304;
}

.career-btn:hover {
    background: transparent;
    color: #8b0304;
}

/* Modal Styles */
.career-modal .modal-content {
    border-radius: 10px;
    border: none;
}

.career-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 25px;
    position: relative;
}

.career-modal .modal-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.career-modal .btn-close {
    position: absolute;
    right: 25px;
    top: 25px;
}

.career-modal-header {
    margin-bottom: 20px;
}

.career-modal-department {
    display: inline-block;
    background: #f1f8fe;
    color: #8b0304;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.career-modal-meta {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.career-modal-meta li {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.career-modal-meta li i {
    margin-right: 5px;
    color: #8b0304;
}

.career-modal-body {
    padding: 0 25px;
}

.career-modal-body h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 20px 0 15px;
}

.career-modal-body p,
.career-modal-body ul {
    color: #34495e;
    line-height: 1.7;
    font-size: 0.95rem;
}

.career-modal-body ul {
    padding-left: 20px;
}

.career-modal-body ul li {
    margin-bottom: 8px;
}

.career-modal-footer {
    padding: 25px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.career-apply-btn {
    display: inline-block;
    background: #8b0304;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #8b0304;
}

.career-apply-btn:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: white;
}

@media (max-width: 768px) {
    .career-grid {
        grid-template-columns: 1fr;
    }

    .career-modal .modal-header {
        padding: 20px 15px;
    }

    .career-modal .modal-title {
        font-size: 1.3rem;
    }

    .career-modal-body {
        padding: 0 15px;
    }
}

/* Core Team Section Enhancements */
.core-team-section {
    padding: 80px 0;
}

.core-team-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.core-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px #8b0304;
    border-color: #8b0304;
}

.core-team-image {
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #eee;
}

.core-team-image img {
    transition: transform 0.4s ease;
}

.core-team-card:hover .core-team-image img {
    transform: scale(1.05);
}

.core-team-content {
    text-align: center;
    padding: 25px 15px;
}

.core-team-content h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    /* color: #8b0304; */
}

.core-team-content span {
    font-size: 0.9rem;
    color: #555;
}

.core-team-social {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.core-team-social a {
    width: 36px;
    height: 36px;
    margin: 0 5px;
    background-color: #8b0304;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.core-team-social a:hover {
    background-color: #8b0304;
}

/* Core Team Section Enhancements */


/* Content Header and subheader */

.content-header-subheader {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.content-header-subheader .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
}

.content-header-subheader .section-underline {
    width: 60px;
    height: 4px;
    background-color: #00b894; /* or your brand color */
    margin: 0 auto;
    border-radius: 2px;
}

.content-header-subheader .section-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #555;
}

.content-header-subheader {
    animation: fadeInUp 0.6s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Content Header and subheader */