/* #00A5EC - med blue
#54D9FC - light blue
#045C8D - dark blue 
#decbb7 - Almond
#f7f0f5 - White
#ef9cda- Pink*/

header {
    background-image: url(../imgs/island-header-img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
}
.small-container {
    width: 100%;
    margin: 0 auto;
}

.navbar-brand {
    width: 100%;
}



.overlay {
    /* background-color: rgba(0, 0, 0, .51); */
    background-color: rgba(4, 92, 141, .51);
    width: 100%;
    height: 100%;
}

.violet-overlay {
    /* background-color: rgba(189, 140, 191, .51); */
    background-color: rgba(84, 217, 252, .51);
    width: 100%;
    padding: 70px 0;
}

.white-overlay {
    background-color: rgba(255, 255, 255, .7);
    height: 100%;
    width: 100%;
}

h2 span, h1 span {
    color: #54D9FC;
}

li {
    list-style-type: none;
}

a:hover {
    text-decoration: none;
}

a, button {
    transition: all .5s ease;
}

button {
    padding: 0
}

body {
    font-size: 1.1rem;
}



/* header */
header img {
    width: 23%;
    border-radius: 50%;
    align-self: center;
    margin-bottom: 3%;
}


header {
    position: relative;
    color: #f7f0f5;
    font-family: 'Roboto', sans-serif;
}

header .container {
    height: 100vh;
    
}

header .container {
    margin: 0 auto;
    position: relative;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}


.header-text{
    font-size: 20px;
    padding: 1%;
    line-height: 1.5;
    margin-bottom: 1%;
}

header .container > h1 {
    font-size: 90px;
    padding-bottom: 1%;
    font-family: 'Lobster Two', cursive;
    
}


@media(max-width: 700px){
    header .container > h1 {
        font-size: 20px;
    }
}
header button {
    background-color: transparent;
    display: block;
    border: 1px solid #f7f0f5;
    border-radius: 50px;
    padding: 0;
    margin: 20px auto;
}

header button a {
    padding: 10px 40px;
    display: block;
    color: #f7f0f5;
    
}

header button:hover {
    background-color: #ef9cda;
    border: 1px solid #54D9FC;
}

header button:hover a {
    color: #f7f0f5;
}

/* about us */

.about-us {
    position: relative;
    padding: 100px 0;
    font-family: 'Open Sans', sans-serif;
}

.about-us .row > .col-lg-6:first-of-type {
    position: relative;
    left: 50px;
}

.about-us .small-container > p + div {
    padding: 70px 0;
    background-color: #f7f0f5;
    box-shadow: 5px 5px 10px #d2cfcf, -5px -5px 10px #d2cfcf;
}

.about-us .small-container > p + div h4 {
    margin-bottom: 40px
}

.about-us .small-container .text-right p {
    margin-bottom: 40px;
    width: 80%;
    float: right;
}

.about-us .small-container > p + div button {
    background-color: #ef9cda;
    border: none;
    
    border-radius: 50px;
}
.about-us .small-container > p + div button:hover{
    background-color: transparent;
    border: 1px solid #ef9cda;
}
.about-us .small-container > p + div button a:hover{
    color: #ef9cda;
}


.about-us .small-container > p + div a {
    display: block;
    color: #FFF;
    padding: 10px 40px;
}

.about-us .item {
    width: 200px;
    position: absolute;
    color: #f7f0f5;
    background-color: #54D9FC;
}

.about-us .item p {
    font-size: 15px;
}

.about-us .item img {
    width: 100%;
    height: 150px
}

.about-us .item h5 {
    margin: 5px 0;
}


.about-us .item:first-of-type {
    left: 405px;
    bottom: 115px;
    z-index: 2;
    box-shadow: -2px 2px 10px #5d5959;
    
}

.about-us .item:nth-of-type(2) {
    left: 105px;
    bottom: 115px;
    z-index: 2;
    box-shadow: 2px 2px 10px #5d5959;
}

.about-us .item:nth-of-type(3) {
    position: relative;
    top: 275px;
    left: -45px;
}

.about-us .item:nth-of-type(3) img {
    position: absolute;
    bottom: 50px;
    right: 0px;
    z-index: 0;
}
.about-us .item:nth-of-type(3) h5{
    position: absolute;
    bottom: 20px;
    color: #f7f0f5;
    background-color: #54D9FC;
    right: 0px;
}

.about-us .item:last-of-type {
    left: 268px;
    top: 90px;
}

.about-us .first {
    width: 100px;
    height: 200px;
    position: absolute;
    background-color: #00A5EC;
    top: 140px;
    z-index: -5;
}

.about-us .second {
    width: 100px;
    height: 200px;
    position: absolute;
    background-color: #00A5EC;
    bottom: 58px;
    right: 34px;
    z-index: -5;
}

.about-us .row > div > .item:nth-of-type(3) div {
    position: relative;
    z-index: 5;
    background-color: #54D9FC;
    padding: 5px;
}

.uplift-promo{
    margin: 3% auto;
    box-shadow: 2px 2px 10px #5d5959;
    width: 80%;
    
}

/* services */

.services {
    margin-bottom: 100px;
    font-family: 'Open Sans', sans-serif;
}

.services .slide {
    width: 70%;
    margin: 0 auto;
}

.services .carousel-inner .carousel-item {
    width: 100%;
    height: 100%
}

.services .carousel-inner img {
    height: 100%;
    width: 100%;
}

.services .carousel-control-next, .services .carousel-control-prev {
    width: 60px;
    height: 60px;
    background: #54D9FC;
    border-radius: 50%;
}

.services .carousel-control-next i, .services .carousel-control-prev i {
    color: #000
}

.services .carousel-control-next {
    right: 0;
    top: 80%;
    right: 40%;
    background-color: #f7f0f5;
}

.services .carousel-control-prev {
    top: 80%;
    left: 40%;
}

.services i {
    color: #54D9FC;
}

/* agency */

.agency {
    background-image: url('../imgs/agency.jpg');
    font-family: 'Open Sans', sans-serif;
    background-size: cover;
}

.agency .container > div {
    margin: 0 auto;
    width: 86%;
    margin-bottom: 30px;
}

.agency .white-overlay {
   padding: 50px 0 20px;
}

.agency .container > div > div {
    display: inline-block;
    position: relative
}

.agency .container > div > div img {
    width: 500px;
    margin: 0 20px;
}

.agency img:first-of-type, .agency img:last-of-type {
    width: 200px;
}

.agency .container > div h2 {
    position: absolute;
    color: #f7f0f5;
    bottom: 105px;
    left: 195px;
    font-size: 40px;
}

.cert-list {
    display: flex;
    justify-content: space-evenly;
    margin: 2%;
}

@media (max-width: 1050px){
    .cert-list {
        flex-direction: column;
        align-items: center;
        line-height: 2;
    }
}


.about-me {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 2% auto;
  
}


.about-me-text{
    width: 30%;
    background-color: #00A5EC;
    color: #f7f0f5;
    padding: 2%;
    border: 1px solid #f7f0f5;
    font-size: 18px;
    line-height: 1.4;
    box-shadow: 5px 5px 10px #d2cfcf, -5px -5px 10px #d2cfcf;
    border-radius: 5px;
    
}
.about-me-text p span {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1;
    line-height: 1.5;
    
}
.about-me-img {
    width: 25%;
    object-fit: contain;
    box-shadow: 5px 5px 10px #d2cfcf, -5px -5px 10px #d2cfcf;
    border-radius: 5px;
}

.about-me-img img {
    width: 100%;
    margin: 1% auto;
    padding: 2%;
    border-radius: 5px;
}

@media (max-width: 1050px){
    .about-me{
        flex-direction: column-reverse;
    }
    .about-me-text {
        width: 60%;
    }
    .about-me-img {
        width: 40%;
    }
} 



@media(max-width: 900px){
    .statistics{
        display: none;
    }
}

/* contact */

.contact {
    background-image: url('../imgs/pic3.jpg');
    background-size: cover;
    
}

.contact h2 {
    color: #f7f0f5;
    margin-bottom: 30px;
}


.contact .contact-form {
    width: 50%;
    margin: 0 auto;
}

.contact form input, .contact form textarea {
    width: 100%;
    outline: none;
    border: none;
    padding: 5px 10px;
}

.contact form input{
    border-radius: 50px;
    margin-bottom: 20px;
}

.contact form textarea {
    resize: none;
    height: 130px;
    border-radius: 25px;
    margin-bottom: 30px;
}

.contact form input[type="submit"] {
    width: 130px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    background-color: #ef9cda;
    color: #f7f0f5;
    margin: 2% auto;
    display: block;
    border-radius: 50px;
}
.contact form input[type="submit"]:hover {
    cursor: pointer;
    border: 3px solid #ef9cda;
    background-color: transparent;
    font-weight: bold;
}

.captcha{
    align-self: center;
}

#signupBtn {
    border-radius: 50px;
    background-color: #ef9cda;
}

#signupBtn:hover {
    border: 3px solid #ef9cda;
    background-color: transparent;
    cursor: pointer;
}

/* footer */

footer, footer a {
    color: #f7f0f5;
}

footer {
    display: block;
    overflow: hidden;
    background-color: #045C8D;
}

footer a:hover {
    color: #54D9FC
}

footer .container > ul {
    overflow: hidden;
    margin: 30px 0;
    padding-left: 0;
}

footer .container > ul li {
    float: left;
    padding-right: 25px;
}

footer .item h4 {
    margin-bottom: 20px
}

footer .item p.address {
    line-height: 1.2;
    font-size: 16px;
}

.item img {
    width: 250px;
    margin: 1%;
    padding-bottom: 2%;
}

footer .item ul {
    padding-left: 0;
}

footer .item ul li {
    margin-bottom: 3px;
    font-size: 16px;
}

footer .date p {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 300;
}

footer .item form {
    overflow: hidden;
}

footer .item form input {
    width: 100%;
    margin-bottom: 15px;
    padding: 5px 10px;
}

footer .item form input[type="submit"] {
    width: 100px;
    height: 40px;
    line-height: 4px;
    background-color: #54D9FC;
    border: none;
    float: right;
    color: #f7f0f5;
    padding: 0
}

footer .copyright {
    background-color: #045C8D;
    padding: 15px 0;
}

footer .copyright p {
    margin-bottom: 0;
    font-size: 6px;
}

/* media queries */

@media (max-width: 1200px) {
    
    /* about */
    
    .about-us .row > .col-lg-6:first-of-type {
        left: -10px;
    }
    .about-us .small-container .text-right p {
        width: 70%
    }
    .about-us .item {
        width: 150px
    }
    .about-us .item img {
        height: 125px
    }
    .about-us .item:first-of-type {
        left: 440px;
        bottom: 154px;
    }
    .about-us .item:nth-of-type(2) {
        left: 167px;
        bottom: 153px;
    }
    .about-us .item:nth-of-type(3) {
        top: 149px;
        left: 19px;
    }
    .about-us .item:last-of-type {
        left: 305px;
        top: 132px;
    }
    
    .about-us .row > div > .item:nth-of-type(3) img {
        position: static
    }
    
    .about-us .row > div > .item:nth-of-type(3) p {
        display: none;
    }

    /* agency */
    
    .agency img:first-of-type, .agency img:last-of-type {
        width: 150px
    }
    .agency .container > div > div img {
        max-width: 400px;
        width: 100%;
    }
    .agency .container > div h2 {
        bottom: 87px;
        left: 164px;
        font-size: 30px;
    }
    /* .agency .container > div h2 {
        display: none;
    } */

}

@media (max-width: 992px) {
    
    /* header */
    
    header h1 {
        font-size: 65px !important;

    } 
    
    
    /* about */
    
    .about-us .small-container > p + div {
        padding: 50px 0;
    }
    .about-us .row > .col-lg-6:first-of-type {
        height: 350px;
        left: 50px;
    }
    .about-us .small-container .text-right p {
        width: 100%;
    }
    
    /* services */
    
    .services .slide {
        width: 80%
    }
    
    .services .carousel-control-next, .services .carousel-control-prev {
        width: 50px;
        height: 50px;
    }
    
    /* agency */
    
    .agency img:first-of-type, .agency img:last-of-type {
        display: none
    }
    .agency .container > div > div img {
        display: block;
    }
    .agency .container > div {
        width: 56%;
    }
    
    /* statistics */
    
    .statistics .col-lg-3 {
        margin-bottom: 40px
    }
    
    /* contact */
    
    .contact .contact-form {
        width: 70%
    }
    
    /* footer */
    
    footer .col-lg-3 {
        margin-bottom: 40px;
    }
    
}

@media (max-width: 768px) {
    
    /* header */
    
    header h1 {
        font-size: 50px !important;
    } 
    
    /* about */
    
    .about-us .row > .col-lg-6:first-of-type {
        display: none;
    }
    
    /* services */
    
    .services .slide {
        width: 90%
    }
    .services .carousel-control-next, .services .carousel-control-prev {
        display: none;
    }
    
    /* agency */
    
    .agency .container > div {
        width: 87%;
    }
    
}