/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/*** Button ***/
.btn1 {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn1-square {
    width: 38px;
    height: 38px;
}

.btn1-sm-square {
    width: 32px;
    height: 32px;
}

.btn1-lg-square {
    width: 48px;
    height: 48px;
}

.btn1-square,
.btn1-sm-square,
.btn1-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn1-primary {
    color: var(--bs-white);
}


/*** Portfolio ***/
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.portfolio-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    transition: .5s;
}

.portfolio-item::after {
    left: auto;
    right: 0;
}

.portfolio-item:hover::before,
.portfolio-item:hover::after {
    width: 50%;
}

.portfolio-item:hover .portfolio-overlay {
    transition-delay: .5s;
    opacity: 1;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-item .portfolio-overlay .portfolio-btn {
    display: flex;
    margin: 5px;
    margin-bottom: 10px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #3993D7;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 630px;
    display: flex;
    flex-direction: column;
    align-items: left;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.main {
color: green;
font-size:130%;
}

@media (max-width: 1200px) {

.service-item {
height:520px;
width:330px;
}
.service-item .main {
font-size:110%;
}
.service-item h1 {
font-size:180%;
}
}

@media (max-width: 350px) {

.service-item {
height:540px;
width:300px;
}
}

.imgt {
width: 60%;
border-radius: 50% 50% 50% 50%;
}

.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 6.5s;
}

@keyframes fade {
  from {opacity: 1} 
  to {opacity: 4}
}

#contactModal {
  z-index: 1100;
}

footer {
    background-color: #ffffff; 
    color: #333;
    text-align: center;
    padding: 10px 0;
    border-top: 4px solid #ddd;
    width: 100%;
}

footer h3 {
    font-size: 1.5em;
    font-weight: 300;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 40px;
    margin-bottom: 10px;
}