@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

body{
    margin: 0px;
}
ul{
    list-style: none;
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
}

#upper-header{
    display: flex;
    padding: 0px 80px;
    height: 30px;
    align-items: center;
    font-size: 14px;
    background-color: #0f1855;
    color: white;
}
#upper-social{
    display: flex;
    align-items: center;
    flex-grow: 1;
}
#upper-social li{
    font-family: 'Lucida Sans';
    margin-right: 10px;
}

.upper-social-logo:hover{
    cursor: pointer;
    animation: rotation 2s infinite linear;
}
#upper-mail{
    color:white;
    text-decoration: none;
}
#upper-mail:hover{
    color:#0d6efd;
}

#nav-logo{
    width: 150px;
}

.topnav {
    display: flex;
    position: sticky;
    border-bottom: 2px lightgray solid;
    z-index:1;
    background-color: white;
    top: 0px;
    overflow: hidden;
    padding: 0px;
    /* padding-right: 10px; */
    padding-left: 40px;
    margin: 0px;
    font-size: 25px;
}
.top-nav span{
    flex-grow: 1;
}
#nav-home{
    margin-left: calc(100vw - 830px);
}

/* Style the links inside the navigation bar */
.topnav .nav-text {
    flex-shrink: 1;
    margin-top: 18px;
    color: #0e1b50;
    font-family: Rubik;
    font-weight: 900;
    display: block;
    text-align: center;
    padding: 14px 12px;
    text-decoration: none;
    font-size: 22px;
}
/* Change the color of links on hover */
.topnav .nav-text:hover {
    border-top: 2px solid #0d6efd;
    color: #0d6efd;
}
#icon:hover {
    color: #0d6efd;
}

/* Hide the link that should open and close the topnav on small screens */
#icon {
    padding: 14px 16px;
    display: none;
}


#slide{
	width:100%;
    /* max-height: 1000px; */
}
	
* {
	box-sizing: border-box
}

.mySlides {
	display: none
}

.slideshow-container {
	max-width: 100vw;
    margin: auto;
    /* animation: slide 2s ease infinite; */
}
/* Next & previous buttons */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 40vh;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
}
/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 13px;
	width: 13px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}
.active, .dot:hover {
	background-color: #717171;
}
/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 2s;
	animation-name: fade;
	animation-duration: 2s;
}


#about-us{
    height: auto;
    background-color: #e8e7d3;
    padding: 10px;
}

#about-us-container{
    background-color: white;
    margin: 40px auto;
    border: 1px solid gray;
    /* margin-top: 40px; */
    border-radius: 5px;
    width: 90vw;
}
#section-heading{
    padding: 30px 0px 10px 0px;
    text-align: center;
    color: #0e1b50;
    font-size: 38px;
    font-weight: 900;
    font-family: Rubik;
}
#about-us-body{
    color: #4c526e;
    font-family: Rubik;
    font-size: 18px;
    line-height: 1.4;
    padding: 20px 70px;
    padding-bottom: 45px;
    line-height: 1.6;
}

#services{
    background-color: white;
    text-align: center;
    padding: 0px 50px;
    font-size: 17px;
    font-family: Rubik;
    color: #4c526e;
}
#service-cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.service-card{
    padding: 20px;
    transition: all 0.4s ease-in-out;
}
.service-card:hover{
    transform: scale(1.2);
}
.service-card img{
    height: 100px;
}
.service-card{
    width: 400px;
}

#partners{
    background-color: #e8e7d3;
    padding: 10px;
}
#partners-container{
    background-color: white;
    margin: 40px auto;
    border: 1px solid gray;
    border-radius: 5px;
    width: 90vw;
}
#partner-logos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
marquee img{
    vertical-align: middle;
}
.logo-marquee{
    display: none;
}
.logo-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
#partner-logos ul li{
    display: inline-block;
    text-align: center;
    margin: 10px 20px;
}
.partner-logo{
    max-width: 200px;
    transition: all 0.4s ease-in-out;
}
.partner-logo:hover{
    transform: scale(1.2);
    border: 1px solid #0d6efd;
}

#contact-us{
    background-color: white;
}
#contact-details-container{
    background-color: #0f1855;
}
#contact-details{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 15px;
}
#contact-details ul{
    margin-block-start: 0px;
    margin-block-end: 0px;
    padding-inline-start: 0px;
    padding: 10px;
    flex-grow: 1;
    line-height: 1.4;
    font-family: Rubik;
    font-size: 14px;
    color: #9b9eac;
    text-align: center;
}

#map{
    display: block;
    height: 400px;
    width: 85%;
    margin: 20px auto;
}

#to-top{
    position: fixed;
    display: none;
    bottom: 10px;
    right: 10px;
    padding: 10px 8px;
    background-color: #0f1855;
    color: white;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    border-radius: 28px;
}

footer{
    background-color: #0f1855;
    margin-top: 0px;
    height: 50px;
    color: #9b9eac;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    font-size: 15px;
    font-family: Rubik;
}
#footer-mail{
    color:#9b9eac;
    text-decoration: none;
}
#footer-mail:hover{
    color:#0d6efd;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes slide {
    0% {
        margin-left: 0px;
    }
    
    25% {
        margin-left: -25%;
    }
    
    50% {
        margin-left: -50%;
    }
    
    75% {
        margin-left: -75%;
    }
    99%{
        margin-left: -100%;
    }
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes rotation {
    0%,100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg);}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 740px) {
    #upper-header{
        padding: 0px 20px;
    }
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 840px) {
    .topnav{
        flex-direction: column;
        justify-content: left;
    }
    .topnav a:not(:first-child) {display: none;}
    .topnav a#icon {
        float: right;
        display: block;
        padding-top: 25px;
    }
    .active-img{
        text-align: center;
    }
    #upper-social{
        display: none;
    }
    #nav-home{
        margin: 0px;
    }
    .topnav .nav-text {
        border-top: 2px lightgray solid;
        padding: 20px 0px;
        margin: 0px;
    }
    .topnav .nav-text:hover{
        background-color: #ddd;
    }
    #upper-header{
        padding: 0px 12px;
        font-size: 12px;
    }
    #about-us-body{
        font-size: 18px;
        line-height: 1.4;
        padding: 10px 20px;
        padding-bottom: 45px;
        line-height: 1.6;
    }
    .prev, .next {
        top: 30vh;
    }
}

@media screen and (max-width: 840px) {
    .topnav.responsive {
        position: sticky;
    }
    .topnav.responsive a#icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}