.site-header {
    transition: top 0.5s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767.98px) {
    .col-md-3 img {
        height: 30px; 
    }
}

.navbar {
    transition: top 0.5s;
    position: fixed;
    width: 100%;
    top: 65px;
    z-index: 2;
    background-color: #13848b;
}
@media (max-width: 767.98px) {
    .navbar {
        top: 110px;
    }
}
@media (max-width: 593px) {
    .navbar {
        top: 120px;
    }
}
@media (max-width: 337px) {
    .navbar {
        top: 140px;
    }
}

/* .is-hidden {
    top: -100px; 
} */
.content {
    margin-top: 120px;
}

@media (max-width: 767.98px) {
    .content {
        margin-top: 155px;
    }
}
@media (max-width: 337px) {
    .content {
        margin-top: 175px;
    }
}


.headback-section {
    height: 250px;
    width: 100%;
    background-image: url('/images/backg.png');
    position: relative;
}

.headback-section .container {
    position: absolute;
    top: 50%;
    left: 10%;
    text-align: left;
}

.headback-section h2 {
    color: rgb(0, 0, 0);
    font-size: 56px;
}


.carousel-caption h2 {
    color: #e17727;
    font-size: 26px;
    font-weight: bold;
}

.caption-background {
    background-color: rgba(19, 132, 139, 255);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    height: 15rem;
    width: 25rem;

}
@media (max-width: 767.98px) {
    .caption-background {
        width: 20rem; 
        height: auto; 
        padding: 10px; 
    }
}
@media (max-width: 615px) {
    .caption-background {
        width: 15rem; 
        height: auto; 
        padding: 10px; 
    }
}

.carousel-item {
    height: 500px;
    width: 100%;
}

.carousel-item .crs-img {
    height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    opacity: 0.7;
}

.crs-img-1 {
    background: url('/images/img1.jpg');
}

.crs-img-2 {
    background: url('/images/img3.jpg');
}

.crs-img-3 {
    background: url('/images/img4.jpg');
}

.crs-img-4 {
    background: url('/images/img9.jpg');
}

.crs-img-5 {
    background: url('/images/img16.jpg');
}

.crs-img-6 {
    background: url('/images/img17.jpg');
}

.crs-img-7 {
    background: url('/images/img13.jpg');
}

.carousel-caption p {
    color: white;
    z-index: 2;
}



.counter-box {
    height: 130px;
    width: 130px;
    display: block;
    background: linear-gradient(to right, #13848b, #0eb5c1);
    padding: 30px 20px 37px;
    text-align: center;
    border-radius: 100%;
    transition: transform 0.4s ease;
}

.counter-box p {
    padding: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}

.counter-box i {
    font-size: 20px;
    color: #ffffff;
}

.counter {
    display: block;
    font-size: 25px;
    font-weight: 400;
    color: #ffffff;
    line-height: 18px
}

.counter-box.colored:hover {
    background: linear-gradient(to right, #e47628, #ffa260);
    color: #ffffff;
    transform: scale(1.1);
}

.service-card {
    margin-bottom: 20px;
}

.additional-description {
    display: none;
}

.service-card img {
    max-width: 100%;
    max-height: 230px;
    object-fit: cover;
}

.fixed-image {
    width: 255px;
    height: 250px;
}


.cards-img-top {
    max-width: 220px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 100%;
    align-self: center;
    /* box-shadow: 5px 5px #13848b; */

}

.carousel-control-prev,
        .carousel-control-next {
            width: 40px;
            height: 40px;
            background-color: #13848b;
            border-radius: 100%;
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 20px;
            height: 20px;
        }


.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-form p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea.form-control {
    resize: vertical;
}


.map-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 550px;
    border: none;
}

@media (max-width: 767px) {
    .map {
        height: 300px;
    }

    .map iframe {
        height: 100%;
        width: 100%;
    }
}


.gallery-item img {
    width: 100%;
    max-height: 280px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


.social-icon {
    font-size: 20px;
    height: 40px;
    width: 40px;
    color: #ffffff;
}

.social-icon:hover {
    color: #000;
}

.scroll-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #13848b;
    opacity: 0.3;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    display: block;
    z-index: 5;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;

}
.scroll-button:hover{
    opacity: 0.7;
    transform: scale(1.1);
    border: 2px dotted black;

}

.scroll-button:before {
    content: "\2191"; 
    font-size: 40px;
    color: black;
}

.scroll-button.down:before {
    content: "\2193"; 
}

.counter-box{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.9s;
}
.counter-box.active {
    opacity: 1;
    transform: translateY(0);
  }

.slide-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-section.active {
    opacity: 1;
    transform: translateY(0);
}
