/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.8s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

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

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 400 !important;
    font-family: "Playball", cursive !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    font-family: "Open Sans", sans-serif !important;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}

/*** Button Start ***/
.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    /* background: var(--bs-dark) !important; */
    /* color: var(--bs-primary) !important; */
}

.btn {
    font-weight: 600;
    transition: 0.5s;
}

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

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

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: 0.5s;
}

.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: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
}
/*** Navbar End ***/

/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(230, 244, 247, 0.5);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 1;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/

/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

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

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/

/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/*** Menu End ***/

/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(
            rgba(254, 218, 154, 0.1),
            rgba(254, 218, 154, 0.1)
        ),
        url(../img/fact.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

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

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

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

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

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

#videoModal {
    z-index: 99999;
}

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

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

#videoModal .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;
}
/*** Youtube Video End ***/

/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3);
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}
/*** Team End ***/

/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
}

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

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/*** testimonial End ***/

/*** Contact start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

/*** Contact End ***/

/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/* custom css */

/* Marquee container styles */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: rgb(230, 244, 247); /* New background color */
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
}

.home-pb {
    padding-bottom: 3rem;
}

.home-about-us {
    padding-bottom: 6rem;
}

.home-testimonial {
    padding-top: 6rem;
}

.marquee-content {
    display: flex;
    animation: scroll 25s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* Logo card styles */
.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 100px;
    margin: 0 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Logo image */
.logo-image {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .footer .col-lg-3 {
        margin-bottom: 1.5rem; /* mb-4 */
    }

    .footer .social {
        margin-bottom: 0; /* mb-4 */
    }
}

/* Media query for small screens (like mobile screens) */
@media (max-width: 356px) {
    .btn-home-bg {
        width: 48%; /* Make the buttons smaller to fit in one row */
        margin-right: 4%; /* Add space between the buttons */
        margin-bottom: 10px; /* Space below the buttons if needed */
    }
}

/* Glow effects for programming logos */
.html-glow {
    box-shadow: 0 0 20px #e44d26;
}
.css-glow {
    box-shadow: 0 0 20px #264de4;
}
.js-glow {
    box-shadow: 0 0 20px #f0db4f;
}
.jquery-glow {
    box-shadow: 0 0 20px #0769ad;
}
.bootstrap-glow {
    box-shadow: 0 0 20px #563d7c;
}
.laravel-glow {
    box-shadow: 0 0 20px #ff2d20;
}
.codeigniter-glow {
    box-shadow: 0 0 20px #ef4223;
}
.php-glow {
    box-shadow: 0 0 20px #777bb3;
}

.logo-card:hover.html-glow {
    box-shadow: 0 0 30px #e44d26;
}
.logo-card:hover.css-glow {
    box-shadow: 0 0 30px #264de4;
}
.logo-card:hover.js-glow {
    box-shadow: 0 0 30px #f0db4f;
}
.logo-card:hover.jquery-glow {
    box-shadow: 0 0 30px #0769ad;
}
.logo-card:hover.bootstrap-glow {
    box-shadow: 0 0 30px #563d7c;
}
.logo-card:hover.laravel-glow {
    box-shadow: 0 0 30px #ff2d20;
}
.logo-card:hover.codeigniter-glow {
    box-shadow: 0 0 30px #ef4223;
}
.logo-card:hover.php-glow {
    box-shadow: 0 0 30px #777bb3;
}

/* custom model box css */
.inquiry-btn {
    background: #006c85;
    color: #fff;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.inquiry-btn:hover {
    background: #004f62;
}

/* MODAL DESIGN */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.45); */
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-box {
    background: #ffffff;
    width: 410px;
    padding: 25px;
    border-radius: 20px;
    transform: translateY(-20px);
    animation: popup 0.4s forwards;
    box-shadow: 0px 10px 35px rgba(0, 108, 133, 0.25);
}

#inquiryForm span.text-danger {
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 8px;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popup {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.submit-btn {
    background: #006c85;
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    color: #fff;
    border: none;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: black;
    color: #fff;
}

.close-btn {
    font-size: 30px;
    color: #006c85;
    cursor: pointer;
    float: right;
}

.nav-pills .active span {
    color: #fff !important;
}