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

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


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background-color: #000000 !important;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

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

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

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

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

.btn-primary {
    color: var(--bs-white);
    background-color: #33a1b5;
    border-color: #33a1b5;
}

.btn-primary:hover {
    background-color: #2a8599;
    border-color: #2a8599;
}

.btn-outline-primary {
    color: #33a1b5;
    border-color: #33a1b5;
}

.btn-outline-primary:hover {
    background-color: #33a1b5;
    border-color: #33a1b5;
    color: var(--bs-white);
}

.text-primary {
    color: #33a1b5 !important;
}

.bg-primary {
    background-color: #33a1b5 !important;
}

.about-section {
    background: #27292a !important;
}

.about-section p,
.about-section .list-group-item {
    text-align: left;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(51,161,181,0.12);
    border: 1px solid rgba(51,161,181,0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    color: #33a1b5;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-stat-box {
    background: rgba(51,161,181,0.08);
    border: 1px solid rgba(51,161,181,0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.about-stat-box h3 {
    color: #33a1b5;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-stat-box p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    text-align: center;
}

.about-img-glow {
    position: relative;
    display: inline-block;
}

.about-img-glow::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(51,161,181,0.35), transparent 60%);
    z-index: 0;
}

.about-img-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    border: 1.5px solid rgba(51,161,181,0.4);
    z-index: 0;
}

.about-img-glow img {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(51,161,181,0.15);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(51,161,181,0.06);
    border: 1px solid rgba(51,161,181,0.15);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color .3s, background .3s;
}

.about-feature-item:hover {
    background: rgba(51,161,181,0.12);
    border-color: rgba(51,161,181,0.4);
}

.about-feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(51,161,181,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #33a1b5;
    font-size: 16px;
}

.about-feature-item strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}

.about-feature-item p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,.55);
    text-align: left;
}

.gallery .position-relative.overflow-hidden img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform .3s ease;
}

.gallery .position-relative.overflow-hidden:hover img {
    transform: scale(1.02);
}

.newsletter-section {
    background: linear-gradient(135deg, #1a1c1d 0%, #27292a 50%, #1e3a3f 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(51,161,181,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-box {
    border: 1.5px solid rgba(51,161,181,0.5);
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    background-color: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-box input {
    background-color: transparent !important;
    border: none !important;
    color: #fff !important;
    flex: 1;
    padding: 12px 0 !important;
}

.newsletter-box input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-box input:focus {
    box-shadow: none !important;
    outline: none;
}

.newsletter-box .btn {
    border-radius: 50px;
    padding: 12px 28px;
    white-space: nowrap;
    position: static !important;
    margin: 0 !important;
}

.footer p a {
    color: #33a1b5 !important;
    border-bottom-color: rgba(51, 161, 181, 0.5) !important;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #33a1b5;
}

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

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

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

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

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

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-img img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (max-width: 991.98px) {
    .service-item .service-img img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .service-item .service-img img {
        width: 160px;
        height: 160px;
    }
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Floating WhatsApp ***/
.whatsapp-float {
    position: fixed;
    bottom: 105px;
    right: 45px;
    z-index: 999;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
    transition: transform .3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

.whatsapp-float i {
    color: #fff;
    font-size: 1.7rem;
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        right: 20px;
        bottom: 90px;
        width: 46px;
        height: 46px;
    }
    .whatsapp-float i {
        font-size: 1.4rem;
    }
}


/*** Footer Nav ***/
.footer-nav {
    margin: 14px 0 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
}

.footer-nav a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    margin: 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color .3s;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #33a1b5;
    transition: width .3s;
}

.footer-nav a:hover { color: #33a1b5; }
.footer-nav a:hover::after { width: 100%; }


/*** Footer ***/
.footer {
    background: linear-gradient(180deg, #1a1c1d 0%, #111314 100%);
    border-top: 1px solid rgba(51,161,181,0.2);
}

.footer .footer-logo-wrap {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(51,161,181,0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    background: rgba(51,161,181,0.05);
}

.footer .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(51,161,181,0.4);
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin: 0 5px;
    transition: all .3s;
    text-decoration: none;
}

.footer .social-btn:hover {
    background: #33a1b5;
    border-color: #33a1b5;
    color: #fff;
    transform: translateY(-3px);
}

.footer .footer-divider {
    border-color: rgba(51,161,181,0.15);
    margin: 20px auto;
    max-width: 300px;
}

.footer .footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

.footer .footer-copy a {
    color: #33a1b5 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(51,161,181,0.3);
}

.footer .footer-copy a:hover { border-bottom-color: #33a1b5; }
