/********** Template CSS **********/
:root {
    --primary: #6EC1E4;
    --secondary: #2AA9A1;
    --light: #F2F2F2;
    --dark: #272630;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn.btn-secondary {
    color: #000;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 30px;
    padding: 35px 0;
    font-size: 18px;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

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

@media (min-width: 992px) {
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

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

.bg-hero {
    background: url(../img/bg.png) top right no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-hero {
        background-size: cover;
    }
}

.about-start,
.about-end {
    background-size: contain;
}

@media (min-width: 992px) {
    .about-start {
        position: relative;
        margin-right: -90px;
        z-index: 1;
    }

    .about-end {
        position: relative;
        margin-left: -90px;
        z-index: 1;
    }
}

.service-item,
.contact-item {

    background: #6ec1e4;
    background-size: cover;
    transition: .5s;
}

.service-item:hover,
.contact-item:hover {
    background: #fff;
    background-size: cover;
    border: 2px solid #2AA9A1;
}

.service-item .service-icon,
.contact-item .contact-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    color: var(--secondary);
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.service-item .service-icon div,
.contact-item .contact-icon div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: .5s;
    border: 1px solid var(--primary);
}

.service-item .service-icon i,
.contact-item .contact-icon i {
    transform: rotate(45deg);
    transition: .5s;
}

.service-item:hover .service-icon div,
.contact-item:hover .contact-icon div {
    background: var(--secondary);
}

.service-item:hover .service-icon i,
.contact-item:hover .contact-icon i {
    color: white;
}

.service-item a.btn {
    position: relative;
    bottom: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: 0;
    opacity: 1;
}

.bg-quote {
    background: url(../img/quote.jpg) top right no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-quote {
        background-size: cover;
    }
}

.team-item {
    position: relative;
    margin-bottom: 45px;
}

.team-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(../img/team.jpg) bottom center no-repeat;
    background-size: cover;
    height: 90px;
    padding: 0 30px;
    right: 45px;
    left: 45px;
    bottom: -45px;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    height: 100%;
    bottom: 0;
}

.team-social {
    position: absolute;
    transition: .1s;
    transition-delay: .0s;
    opacity: 0;
}

.team-item:hover .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.bg-testimonial {
    /*background: url(../img/testimonial.jpg) top left no-repeat;*/
    background-size: contain;
    
        background-color: #ffe468 !important;
}

@media (max-width: 991.98px) {
    .bg-testimonial {
     background-image: none;
        background-color: #ffe468 !important;
    }
}

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

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

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

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

.bg-call-to-action {
    background: url(../img/about-2.jpg) top right no-repeat;
    background-size: contain;
}

.bg-footer {
    background: url(../img/footer.jpg) center center no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {

    .bg-call-to-action,
    .bg-footer {
        background: none;
    }
}

/* Gallery Section */
#gallery {
    padding: 2rem;
    text-align: center;
}

#gallery .gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-item img {
    width: 200px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(110 193 228);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media only screen and (max-width: 768px) {
    .gallery-item img {
        width: 100% !important;
        height: 400px;
    }

    .gallery-container {
        grid-template-columns: 1fr !important;

    }

    .navbar {
        display: flex !important;
        padding: 10px !important;
        padding-top: 2px !important;
        padding-bottom: 0px !important;
    }

    .navbar-brand img {
        width: 268px !important;
        height: 93px !important;
        object-fit: cover;
        margin-left: -49px;
        display: none;
    }

    .navbar p {
        margin-top: 16px !important;
        color: #339a89;
        text-transform: uppercase;
        font-size: 12px;
        margin-left: -6px !important;
        font-weight: bold;
        text-align: center;
        width: 121px;
    }
}

.navbar p {
    margin-top: -52px;
    color: #339a89;
    text-transform: uppercase;
    font-size: 12px;
    margin-left: 90px;
    font-weight: bold;
    text-align: center;
    width: 121px;
}

.navbar-brand span {
    color: #a2d8f2;
}

.btn-secondary {
    color: #000;
    background-color: #ffffff;
    border-color: #2AA9A1;
}

.navbar-toggler {
    background-color: #6ec1e4;
    border: 1px solid #6ec1e4;
}

.navbar-brand img {
    width: 350px;
    /* Rrit madhësinë e logos */
    height: 97px;
    object-fit: cover;
}
.service .service-item, .contact-item {
    min-height: 220px;
}