/* Extra small devices (phones, less than 768px) */
body {
    margin: 0;
    padding: 0;
    font-family: 'Domine';
}
h1 {
    text-align: center;
    font-size: 40px;
    font-weight: normal;
}
p {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    margin-top: 20px;
}

/* Hero Image */
#container {
    position: relative;
    text-align: center;
    color: white;
}
#top_container {
    position: absolute;
    width: 90%;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-name: fade;
    animation-duration: 2s;
    z-index: 1;
}
@media screen and (max-width: 767px) {
    #top_container {
        top: 30%;
        width: 95%;
    }
}
@keyframes fade {
    0% {
        opacity: 0;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 1;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
#second_container {
    position: absolute;
    width: 90%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, 0%);
    opacity: 0;
    animation-name: second_fade;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    z-index: 1;
}
@keyframes second_fade {
    0% {
        opacity: 0;
        top: 60%;
        left: 50%;
        transform: translate(-50%, 10%);
    }
    100% {
        opacity: 1;
        top: 60%;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}
#top_text {
    font-size: 20px;
    color: white;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
#hero_image {
    width: 100%;
    display: block;
}
#logo_and_lung {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
}

@media screen and (max-width: 767px) {
    #logo_and_lung {
        max-height: 300px;
    }
}
#eams_logo {
    display: block;
    margin: 0 auto;
    margin-top: 0;
    width: 200px;
    max-width: 80%;
    height: auto;
}

/* Our Story and Tech */
#our_story_and_tech {
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 2%;
    padding-bottom: 4%;
}

/* Testimonials */
#testimonial_area {
	padding-top: 0;
    padding-bottom: 3%;
    overflow: hidden;
}
.row {
    margin-right: -47px;
    margin-left: 47px;
}
@media screen and (max-width: 991px) {
    .row {
        margin-right: -15px;
        margin-left: -15px;
    }
}
@media screen and (max-width: 700px) {
    #testimonial_area {
        padding-bottom: 0;
    }
}

.quote-left {
    margin-top: -20px;
    position: absolute;
    z-index: 10;
}
.quote-left img {
    width: 60px;
    height: auto;
    max-width: 15vw;
}
.quote-right {
    margin-top: -70px;
    position:absolute; right:0;
    z-index: 10;
}
.quote-right img {
    width: 60px;
    height: auto;
    max-width: 15vw;
}
@media screen and (max-width: 1199px) {
    .quote-right{
        display:none;
    }
    .quote-left {
        display:none;
    }
}

.box-area {
	padding: 30px;
	position: relative;
    outline: 2px solid #7DB3E2;
    border-radius: 15px;
    text-align: left;
	margin: 40px 20px;
    min-height: 500px;
}
.box-area h5 {
	font-size: 16px;
	font-weight: 700;
	color: #003F83;
	margin-top: 30px;
	margin-bottom: 5px;
	letter-spacing: 1px;
}
.box-area span {
	color: #262626;
	font-size: 13px;
    margin: 0 0 10px;
}
.box-area .content {
	color: #262626;
    font-size: 16px;
    text-align: left;
    min-height: 260px;
}
@media screen and (max-width: 1199px) {
    .box-area .content {
        min-height: 310px;
    }
    .box-area .content {
        font-size: 15px;
    }
    .box-area h5 {
        font-size: 15px;
    }
    .box-area{
        min-height: 580px;
    }
}
@media screen and (max-width: 991px) {
    .box-area .content {
        min-height: 290px;
    }
    .box-area{
        min-height: 680px;
    }
}
@media screen and (max-width: 745px) {
    .box-area .content {
        min-height: 300px;
    }
    .box-area{
        min-height: 690px;
    }
}
@media screen and (max-width: 700px) {
    .box-area .content {
        min-height: 300px;
        font-size: 20px;
        text-align: center;
    }
    .box-area{
        min-height: 500px;
        padding-top: 15px;
    }
    .box-area h5 {
        font-size: 20px;
    }
    .box-area span {
        font-size: 16px;
    }
}

#testimonial_area .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
}
#testimonial_area .owl-prev, #testimonial_area .owl-next {
	width: 40px;
	height: 40px;
	line-height: 40px;
	color: #706D71;
	border-radius: 50%;
	position: absolute;
}
#testimonial_area .owl-prev {
	left: -60px;
	top: -40px;
}
#testimonial_area .owl-next {
	right: -60px;
	top: -40px;
}

@media only screen and (max-width: 900px) {
	#testimonial_area .owl-nav {
		display: none;
	}
}


/* Video */
#video {
    color: white;
    background-color: #003F83;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 7%;
}
iframe {
    display: block;
    margin: 0 auto;
    width: 320px;
    height: 180px;
    max-width: 100%;
}


/* Partners and Funders */
/*#Logos {
    margin-left: 10%;
    margin-right: 10%; 
    padding-top: 5%;
    padding-bottom: 7%; 
    width: 100%;
}*/

#logos_container {
    margin:auto;
}

.logo_slider_area{
    margin:auto;
    width: 75%;
}
div.owl-item{
    display:flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.logo_slider_area .owl-dots{
    padding-top:10px; 
    padding-bottom: 30px;
}

@media (max-width: 450px){
    .logo_slider_area .owl-dots{
       width: 100%;
       margin: auto;
    }

    .logo_slider_area .owl-dots .owl-dot{
        height: 5px;
        width: 5px;
        padding: 9px;
        margin: auto;
    }
}

#logos_container .owl-nav {
	position: absolute;
	top: 40%;
	width: 100%;
}

#logos_container .owl-prev, #logos_container .owl-next {
	width: 40px;
	height: 40px;
	line-height: 30px;
	border-radius: 50%;
	position: absolute;
    color: #706D71;
    background-color: white;
}

#logos_container .owl-prev {
	left: -60px;
	top: -40px;
}

#logos_container .owl-next {
	right: -60px;
	top: -40px;
}

@media (max-width: 584px) {
    #logos_container .owl-prev {
        left: -40px;
        top: -40px;
    }
    
    #logos_container .owl-next {
        right: -40px;
        top: -40px;
    }
}

.logo-box{
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.logo-box img{
    align-items: center;
    width: 200px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #logo_and_lung {
        max-width: 500px;
    }
    #eams_logo {
        width: 250px;
        max-width: 30%;
    }
    iframe {
        width: 640px;
        height: 360px;
        max-width: 90%;
    }
    .logo-box {
        width: 180px;
        height: 180px;
    }
    .logo-box img {
        width: 180px;
        max-width: 100%;
    }
    .single_logo {
        width: 200px;
    }
    h1 {
        margin-top: 26px;
        margin-bottom: 26px;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #top_text {
        margin-left: 15%;
        margin-right: 15%;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .logo-box {
        width: 200px;
        height: 200px;
    }
    .logo-box img {
        width: 200px;
    }
    .quote-left img {
        width: 80px;
    }
    .quote-right img {
        width: 80px;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #top_text {
        font-size: 30px;
    }
    #our_story_and_tech {
        margin-left: 15%;
        margin-right: 15%;
        padding-top: 2%;
        padding-bottom: 3%;
    }
    #eams_logo {
        width: 300px;
        max-width: 25%;
    }
    iframe {
        width: 1024px;
        height: 576px;
        max-width: 90%;
    }
    .single_logo {
        width: 200px;
    }
}

/* Extra small devices (phones, less than 480px) */
@media screen and (max-width: 479px) {
    #logo_and_lung {
        max-height: 300px;
    }
    #eams_logo {
        width: 150px;
        max-width: 70%;
    }
    .logo-box {
        width: 140px;
        height: 140px;
    }
    .logo-box img {
        width: 140px;
        max-width: 90%;
    }
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
