@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: #ebedec;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    /* float all elements in the container to be in one line*/
    justify-content: space-between;
    align-items: center;
    /* vertical alignment must with flex display*/
    padding: 0px 200px;
    /*  to convert to em divide by 16*/
}

.logo {
    height: 100%;
}

header>a {
    height: 85px;
}

.navigation a {
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    color: #0f394f;
    padding-left: 30px;
    /*  to convert to em divide by 16*/
}

.navigation a:hover {
    color: #d73e43;
}

section {
    padding: 100px 200px;
    /*  to convert to em divide by 16*/
}

.main {
    width: 100%;
    min-height: 100vh;
    background-color: #0f394f;
    display: flex;
    align-items: center;
    /* vertical alignment must with flex display*/
    background-image: url(Images/Background-Sea-Control.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

.main h2 {
    color: #0f394f;
    font-size: 4em;
    font-weight: 600;
    /*margin-top: 150px;*/

}

.main h3 {
    color: #0f394f;
    font-size: 3em;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 10px;
    /*  to convert to em divide by 16*/
    margin-bottom: 30px;
    /*  to convert to em divide by 16*/
}

/* ICW LOGO SECTION*/
.ICWF-Logo {
    display: flex;
    justify-content: center;
    /*max-height: 190px;*/
    min-height: 10vh;
    padding-bottom: 10px;
    padding-top: 10px;
   

}

.ICWF-Logo div {
    width: 50%;
   
     padding-bottom: 20px;
        padding-top: 20px;
         border-bottom: 2px solid #d5d8da;
          border-top: 2px solid #d5d8da;
}

.ICWF-image {
    display: flex;
    justify-content: end;
}


.ICWF-txt {

    padding-left: 1.2em;
    font-weight: 1.2em;
    color: #0f394f;

}

/* END OF ICWL LOGO SECTION */

/* about PetroExpert */
.About {
    display: flex;
    justify-content: center;
}

.About div {
    width: 100%;
}
/*
.About-image {
    width: 50%;
}
*/
.About-image img {
    width: 100%;
}

.About-txt {
    width: 50%;
    padding-left: 1.2em;
}

.About-txt h3 {
    font-weight: 500;
}

.About-txt p {
    margin-bottom: 1.2em;
    text-align: justify;
}

/* TRANING COURSE cards */
.Training-course {
    background-color: #0f394f;
}

.Training-course .title {
    color: #ebedec;
}

.title {
    display: flex;
    justify-content: center;
    color: #0f394f;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.contents {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #ebedec;
    width: 21em;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 0.494);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.info {
    text-align: center;
}

.info>p {
    text-align: justify;
}

.info h3 {
    font-size: 1.2em;
    color: #0f394f;
    font-weight: 700;
    margin: 10px;
}

.Training-details {
    display: inline-block;
    display: flex;
    justify-content: space-between;
    margin-top: 0.8em;
    text-transform: uppercase;
    font-size: 0.8em;
}



/* Training delivery*/

.Trianing-Delivery .train-image {
    width: 50%;

}

.train-image img {
    width: 100%;
}

.Trianing-Delivery .train-text {
    width: 50%;
    padding-left: 1em;


}

.Trianing-Delivery .train-text p {
    text-align: justify;
}

.train-text h2 {
    margin-top: 1.2em;
}

.Trianing-Delivery .Train-Delviery-list {
    margin-top: 1em;
    padding-left: 1.5em;
}

/* consult section */

.consult {
    background-color: #002b45;
}

.consult .title {
    color: #ebedec;
    margin-bottom: 30px;
}

.consult .consult-image {
    width: 50%;

}

.consult-image img {
    width: 100%;
}

.consult .consult-text {
    width: 50%;
    padding-left: 1em;
    color: #ebedec;



}

.consult .consult-text p {
    text-align: left;
}

.consult-text h2 {
    margin-top: 1.2em;
}

.consult .consult-list {
    margin-top: 1em;
    padding-left: 1.5em;
}

.consult-list li {

    margin-bottom: 1.5em;

}

/* contacts */
.contact-desc {
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    color: #002b45;

}

.contact .icon {
    font-size: 4.2em;
    color: #046cac;
    text-align: center;
}

.contact .info h3 {
    color: #002b45;
    font-size: 1.5em;

}


.contact .info p {
    font-size: 1.2em;
    text-align: center;

}



/* footer*/

/*
.footer{
    display: flex;
    justify-content: space-between;
    background-color: #002b45;
    min-height: 50vh;
    color:#ebedec ;
    padding: 6.25em 12.5em;
    
}

.footer-title span{
    
   color: #a9c6ec;
}
.footer .social-icons a{
    display: inline-block;
    margin-left: 20px;
    font-size: 1.3em;
    color: #ebedec;

}
    */
.footer {
    min-height: 50vh;
    background-color: #002b45;
    padding: 6.25em 12.5em 0em 12.5em;
}

.footer-card {
    width: 25em;
    padding: 25px;
    margin: 15px;
}

.footer-card a {
    text-decoration: none;
    color: #ebedec;
    font-size: 1.1em;
}

.footer-card a:hover {
    color: #a9c6ec;
}

.footer-card p {
    margin-bottom: 1.2em;
    color: #ebedec;
    font-size: 1.1em;
}

.footer-card h3 {
    margin-bottom: 1.2em;
    color: #a9c6ec;
}

.footer-card .social-icons a {
    display: inline-block;
    margin-right: 20px;
    font-size: 1.5em;
    color: #ebedec;

}

.footer-tail {
    display: flex;
    justify-content: center;
    font-size: 1.3em;
    color: #ebedec;
}

/*second html file - course outline */
.course-style1 div {
    margin-top: 2em;
    text-align: justify;
}
.course-style1>div>ul{
    margin-left: 1.8em;
} 
.course-style1>h1 {
    margin-bottom: 1.5em;
}

.course-style1>hr , .course-style1>div>hr{
    margin-top: 1.25em;
}
.course-style2 {
    background-color: #002b45;
    color: #ebedec;
}

.course-style2>h1 {
    margin-bottom: 1.5em;
}

.course-style2 div {
    margin-top: 2em;
}

/*Responsive web design*/
@media(max-width:1340px) {
    .main {
        background-image: url(Images/Background-Sea-Control-Responsive.jpg);
    }
}

@media(max-width:1023px) {
    body {
        font-size: 1em;
        /* 1em=12px default size of em */
    }
    header {
        padding: 12px 20px;
    }

    .navigation a {
        padding-left: 15px;
    }

    header>a {
        height: 45px;
    }

    .main {
        background-image: url(Images/Background-Sea-Control-Responsive.jpg);
    }

    .title {
        font-size: 1.8em;
        /* 1em=16px default size of em */
    }

    section {
        padding: 80px 20px;
        /*  to convert to em divide by 16*/
       
    }

    .contents {
        flex-direction: column;
        align-items: center;

    }

    .consult-card {
        width: 20em;
    }
}

@media(max-width:641px) {
    body {
        font-size: 1em;
        /* 1em=12px default size of em */
    }

    header {
        padding: 10px 5px;
    }

    .navigation a {
        padding-left: 10px;
    }

    
    .main {
        background-image: url(Images/Background-Sea-Control-Responsive.jpg);
    }

    .ICWF-Logo img {

        width: 75%;
    }

    .About {
        flex-direction: column;
        align-items: center;
    }

    .ICWF-txt h2 {

        /*padding-left: 1.2em;*/
        font-size: 1em;
    }



    .About {
        flex-direction: column;
        align-items: center;
    }
    .About-image img{
        padding: 0em 1em;
    }
    .About-txt{
        padding: 0em 1em;
    }

    .footer {

        padding: 3em 3em 0em 1em;
    }
    .footer .footer-tail{

        padding: 1em 2em 1em 2em;
    }
}

@media(max-width:375px) {
    body {
        font-size: 0.9em;
        /* 1em=10px default size of em */
    }
    .footer {

        padding: 2em 2em 0em 0.5em;
    }
    .footer .footer-tail{

        padding: 1em 2em 1em 2em;
    }
    
}