
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    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: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.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;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-dark) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    background-color: transparent !important;
    transition: all 0.5s ease !important;
}

.navbar-overlay.scrolled {
    position: fixed;
    background: rgba(248, 249, 250, 0.95) !important;
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar-overlay .container {
    background: transparent !important;
    background-color: transparent !important;
}

.navbar-overlay .navbar {
    background: transparent !important;
    background-color: transparent !important;
}

.navbar-overlay .navbar-light {
    background: transparent !important;
    background-color: transparent !important;
}

/* Navbar text color - white when over carousel, dark when scrolled */
.navbar-overlay .navbar-nav .nav-link {
    color: var(--bs-white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.navbar-overlay.scrolled .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
    text-shadow: none;
}

.navbar-overlay .navbar-nav .nav-link:hover,
.navbar-overlay .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-overlay.scrolled .navbar-nav .nav-link:hover,
.navbar-overlay.scrolled .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar-overlay .navbar-brand img {
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.navbar-overlay.scrolled .navbar-brand img {
    filter: none;
}

.navbar-overlay .navbar-toggler {
    background: rgba(68, 210, 246, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--bs-white);
}

.navbar-overlay.scrolled .navbar-toggler {
    background: var(--bs-primary);
    border: none;
    color: var(--bs-white);
}

/* Ensure carousel starts from top */
.header-carousel {
    margin-top: 0;
    padding-top: 0;
}

.header-carousel .header-carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }

}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel {
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -400px;}
    50%   {right: -200px;}
    75%   {top: -200px;}
    100%  {top: -400px;}
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0%   {left: 0px;}
    50%   {left: 70px;}
    100%  {left: 0px;}
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0%   {left: -240px;}
    50%   {left: -300px;}
    100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

/* Enhanced Carousel Image Animation */
.header-carousel .carousel-img {
    transition: transform 10s ease-in-out;
    will-change: transform;
}

.header-carousel .owl-item.active .carousel-img {
    animation: kenBurns 15s ease-in-out infinite alternate;
}

/* Mobile-specific image overlay for better text readability */
@media (max-width: 992px) {
    .header-carousel .header-carousel-item::after {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(0, 0, 0, 0.4) 50%, 
            rgba(0, 0, 0, 0.8) 100%);
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 20px;
        justify-content: flex-end !important;
        padding-bottom: 60px;
    }
    .header-carousel-item img {
        height: 600px;
        object-fit: cover;
    }
    
    /* Mobile Carousel Enhancements */
    .header-carousel .carousel-caption-inner {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
        padding: 30px 20px !important;
        border-radius: 20px 20px 0 0;
        backdrop-filter: blur(5px);
        margin-top: auto;
    }
    
    .header-carousel .carousel-caption-inner h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 20px !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        animation: slideInUpMobile 0.8s ease-out forwards;
    }
    
    .header-carousel .carousel-caption-inner p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
        animation: slideInUpMobile 1s ease-out 0.2s forwards;
        opacity: 0;
    }
    
    .header-carousel .carousel-caption-inner .btn {
        font-size: 0.9rem;
        padding: 12px 25px !important;
        margin: 5px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        animation: slideInUpMobile 1.2s ease-out 0.4s forwards;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .header-carousel .carousel-caption-inner .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }
    
    .header-carousel .carousel-caption-inner .btn:active {
        transform: translateY(-1px);
    }
    
    @keyframes slideInUpMobile {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile Image Animation */
    .header-carousel .owl-item.active .carousel-img {
        animation: mobileZoomPan 12s ease-in-out infinite alternate;
    }
    
    @keyframes mobileZoomPan {
        0% {
            transform: scale(1.1) translate(0, 0);
        }
        50% {
            transform: scale(1.2) translate(-3%, -3%);
        }
        100% {
            transform: scale(1.15) translate(3%, 3%);
        }
    }
    
    /* Mobile Swipe Indicator */
    .mobile-swipe-indicator {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(68, 210, 246, 0.9);
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        z-index: 15;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.85rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        animation: swipeIndicatorBounce 2s ease-in-out infinite;
        backdrop-filter: blur(10px);
    }
    
    .mobile-swipe-indicator i {
        font-size: 1.2rem;
        animation: swipeHand 1.5s ease-in-out infinite;
    }
    
    @keyframes swipeIndicatorBounce {
        0%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        50% {
            transform: translateX(-50%) translateY(-10px);
        }
    }
    
    @keyframes swipeHand {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(10px);
        }
    }
    
    /* Mobile Slide Counter */
    .mobile-slide-counter {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        z-index: 15;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-slide-counter .current {
        font-weight: bold;
        color: var(--bs-primary);
    }
    
    .mobile-slide-counter.pulse {
        animation: counterPulse 0.3s ease-out;
    }
    
    @keyframes counterPulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
    
    /* Mobile Navigation Arrows - Hide on Mobile */
    .owl-prev,
    .owl-next {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Mobile Decorative Elements */
    .header-carousel .header-carousel-item::before {
        display: none;
    }
    
    .header-carousel .header-carousel-item-img-1::before,
    .header-carousel .header-carousel-item-img-2::before,
    .header-carousel .header-carousel-item-img-3::before {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -150px;
        border-width: 50px;
        animation: RotateMoveCircle 8s linear infinite;
    }
    
    /* Mobile Text Highlight Effect */
    .header-carousel .carousel-caption-inner h1 span {
        display: inline-block;
        animation: textHighlight 2s ease-in-out infinite;
    }
    
    @keyframes textHighlight {
        0%, 100% {
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        }
        50% {
            text-shadow: 2px 2px 12px rgba(68, 210, 246, 0.6), 2px 2px 8px rgba(0, 0, 0, 0.8);
        }
    }
    
    /* Mobile Button Stack */
    .header-carousel .carousel-caption-inner .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 8px auto !important;
        position: relative;
        overflow: hidden;
    }
    
    /* Mobile Button Ripple Effect */
    .header-carousel .carousel-caption-inner .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .header-carousel .carousel-caption-inner .btn:active::after {
        width: 300px;
        height: 300px;
    }
    
    /* Mobile Text Glow Effect */
    .header-carousel .carousel-caption-inner h1 {
        text-shadow: 
            0 0 10px rgba(68, 210, 246, 0.5),
            2px 2px 8px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(68, 210, 246, 0.3);
        animation: textGlow 3s ease-in-out infinite alternate;
    }
    
    @keyframes textGlow {
        0% {
            text-shadow: 
                0 0 10px rgba(68, 210, 246, 0.5),
                2px 2px 8px rgba(0, 0, 0, 0.8);
        }
        100% {
            text-shadow: 
                0 0 20px rgba(68, 210, 246, 0.8),
                2px 2px 8px rgba(0, 0, 0, 0.8),
                0 0 30px rgba(68, 210, 246, 0.5);
        }
    }
    
    /* Mobile Paragraph Enhancement */
    .header-carousel .carousel-caption-inner p {
        line-height: 1.6;
        letter-spacing: 0.3px;
    }
    
    /* Mobile Quote/Blockquote Enhancement */
    .header-carousel .carousel-caption-inner blockquote {
        font-size: 0.95rem !important;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-left: 3px solid var(--bs-primary);
        border-radius: 5px;
        margin: 20px 0;
        backdrop-filter: blur(5px);
    }
}

/* Carousel Caption Animation Enhancements */
.header-carousel .carousel-caption-inner h1 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.header-carousel .carousel-caption-inner p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.header-carousel .carousel-caption-inner .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.6s, transform 1s ease-out 0.6s;
}

.header-carousel .owl-item.active .carousel-caption-inner h1,
.header-carousel .owl-item.active .carousel-caption-inner p,
.header-carousel .owl-item.active .carousel-caption-inner .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Animation Effects */
.header-carousel .owl-item.active .fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Animation for Different Items - Only when active */
.header-carousel .owl-item.active .header-carousel-item:nth-child(1) .carousel-caption-inner,
.header-carousel .owl-item.active .header-carousel-item:nth-child(2) .carousel-caption-inner {
    animation: slideInLeft 1s ease-out;
}

.header-carousel .owl-item.active .header-carousel-item:nth-child(3) .carousel-caption-inner {
    animation: fadeIn 1s ease-out;
}

.header-carousel .owl-item.active .header-carousel-item:nth-child(4) .carousel-caption-inner {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Button Hover Animation */
.header-carousel .carousel-caption .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header-carousel .carousel-caption .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.header-carousel .carousel-caption .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Pulse Animation for Active Slide - Optional decorative effect */
.header-carousel .owl-item.active .carousel-caption-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@media (max-width: 992px) {

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}
/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}


.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -100px;}
    75%   {top: -100px;}
    100%  {top: -200px;}
}


.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

/* About Images Animation - Standard */
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.about-img-top {
    transition: transform 0.3s ease;
}

.about-img-bottom {
    transition: transform 0.3s ease;
}

.about-img:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.about-img:hover .about-img-top {
    transform: translateY(-8px);
}

.about-img:hover .about-img-bottom {
    transform: translateY(8px);
}

/* Index Page About Images Animation - Standard */
.about-img-wrapper-index {
    position: relative;
    padding: 20px;
}

.about-img-container-index {
    position: relative;
    transition: transform 0.3s ease;
}

.about-img-glow-index {
    display: none;
}

.about-img-border-index {
    display: none;
}

.about-img-wrapper-index .about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.about-img-top-index {
    transition: transform 0.3s ease;
}

.about-img-bottom-index {
    transition: transform 0.3s ease;
}

.about-img-wrapper-index:hover .about-img-container-index {
    transform: translateY(-5px);
}

.about-img-wrapper-index:hover .about-img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-img-wrapper-index:hover .about-img-top-index {
    transform: translateY(-8px);
}

.about-img-wrapper-index:hover .about-img-bottom-index {
    transform: translateY(8px);
}

/* Responsive Adjustments for Index */
@media (max-width: 768px) {
    .about-img-wrapper-index {
        padding: 15px;
    }
}

/* Animated Check Icons */
.animated-check {
    animation: checkPulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Animated Button */
.animated-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.animated-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.animated-btn:hover::before {
    width: 300px;
    height: 300px;
}

.animated-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(68, 210, 246, 0.4);
}

.animated-btn:active {
    transform: translateY(-1px);
}

/* Customer Images Animation */
.about-customer {
    min-height: 80px;
}

.customer-img {
    animation: customerImagePop 0.6s ease-out forwards;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    border: 3px solid var(--bs-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.customer-img:nth-child(1) {
    animation-delay: 0.1s;
}

.customer-img:nth-child(2) {
    animation-delay: 0.2s;
}

.customer-img:nth-child(3) {
    animation-delay: 0.3s;
}

.customer-img:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes customerImagePop {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.customer-img:hover {
    transform: scale(1.15) translateY(-5px) !important;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(68, 210, 246, 0.5);
    border-color: var(--bs-dark);
}

.customer-text {
    animation: fadeInRight 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Cards Animation */
.stats-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stats-card:hover::before {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.stats-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stats-card .counter-value {
    animation: numberCount 2s ease-out;
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Text Animation Enhancements */
.about h4 {
    position: relative;
    display: inline-block;
}

.about h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--bs-primary);
    animation: underlineExpand 1s ease-out 0.5s forwards;
}

@keyframes underlineExpand {
    to {
        width: 100%;
    }
}

.about h1 {
    position: relative;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(68, 210, 246, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(68, 210, 246, 0.6), 0 0 25px rgba(68, 210, 246, 0.4);
    }
}

/* Feature List Items Animation */
.about .row .text-dark {
    transition: all 0.3s ease;
    padding: 5px 0;
}

.about .row .text-dark:hover {
    transform: translateX(10px);
    color: var(--bs-primary) !important;
}

.about .row .text-dark:hover .animated-check {
    animation: checkSpin 0.5s ease;
}

@keyframes checkSpin {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(360deg) scale(1.3);
    }
}

/* Background Decorative Elements */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 210, 246, 0.1) 0%, transparent 70%);
    animation: pulseCircle 4s ease-in-out infinite;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 210, 246, 0.1) 0%, transparent 70%);
    animation: pulseCircle 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.about .container {
    position: relative;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-img-top,
    .about-img-bottom {
        animation: none;
    }
    
    .about-img:hover .about-img-top,
    .about-img:hover .about-img-bottom {
        transform: scale(1.02);
    }
    
    .stats-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .customer-img:hover {
        transform: scale(1.1) translateY(-3px) !important;
    }
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}
/*** Project End ***/

/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bs-dark);
    transition: 0.5s;
}

.team .team-item:hover {
    border: none !important;
}

.team .team-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--bs-primary) transparent transparent var(--bs-primary) !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: transparent var(--bs-primary) var(--bs-primary) transparent !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item:hover:after,
.team .team-item:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 8;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon .team-icon-share {
    position: relative;
    margin-top: -200px;
    transition: 0.5s;
    z-index: 9;
}

/*** Chairman Message Start ***/
.chairman-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.chairman-message::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    border-radius: 50%;
    background: rgba(68, 210, 246, 0.1);
    z-index: 1;
}

.chairman-message::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    background: rgba(68, 210, 246, 0.1);
    z-index: 1;
}

.chairman-message .container {
    position: relative;
    z-index: 2;
}

.chairman-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.chairman-img:hover {
    transform: translateY(-10px);
}

.chairman-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.chairman-img:hover img {
    transform: scale(1.05);
}

.chairman-badge {
    bottom: 30px;
    right: 30px;
    z-index: 3;
}

.chairman-badge .bg-primary {
    box-shadow: 0 5px 20px rgba(68, 210, 246, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.chairman-content {
    padding: 20px;
}

.chairman-content h4 {
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chairman-content h1 {
    font-weight: 700;
    line-height: 1.2;
}

.message-text {
    line-height: 1.8;
}

.message-text p {
    margin-bottom: 1.5rem;
}

.message-text p:first-child {
    font-size: 1.1rem;
    color: #333;
    border-left: 4px solid var(--bs-primary);
    padding-left: 20px;
    position: relative;
}

.message-text p:first-child::before {
    content: '"';
    font-size: 4rem;
    color: var(--bs-primary);
    opacity: 0.2;
    position: absolute;
    left: 10px;
    top: -10px;
    font-family: Georgia, serif;
}

.chairman-signature {
    border-top: 2px solid rgba(68, 210, 246, 0.2);
    padding-top: 20px;
}

.chairman-signature h5 {
    font-weight: 600;
    color: var(--bs-dark);
}

.chairman-signature p {
    font-size: 0.9rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    .chairman-img {
        margin-bottom: 30px;
    }
    
    .chairman-badge {
        bottom: 20px;
        right: 20px;
    }
    
    .chairman-badge .bg-primary {
        padding: 15px !important;
    }
    
    .chairman-badge .bg-primary i {
        font-size: 2rem !important;
    }
}
/*** Chairman Message End ***/

.team .team-item:hover .team-img .team-icon .team-icon-share {
    margin-top: 0 !important;
}

.team .team-item .team-content {
    position: relative;
}

.team .team-item .team-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item .team-content::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item:hover .team-content::after,
.team .team-item:hover .team-content::before {
    width: 100% !important;
    height: 50% !important;
}

.team .team-item:hover .team-content .team-content-inner {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.team .team-item .team-content .team-content-inner h4,
.team .team-item .team-content .team-content-inner p {
    transition: 0.5s;
}

.team .team-item:hover .team-content .team-content-inner p {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content .team-content-inner h4 {
    color: var(--bs-dark) !important;
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    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-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/