:root{
    --white: #FFFFFF;
    --black: #000000;
    --primary-green: #44D800;
    --accent-green: #078500;
    --dark-green: #072708;
    --text-gray: #9795B5;
    --text-light-dark: #090909;
    --text-light-blue: #312E57;
    --text-dark-blue: #3F3D56;
    --line-border-color: #D4D2E3;
    --light-green: #DCF1D2;
 
}

/*NAVBAR*/
header{
    padding: 1rem 0.7rem;
    z-index: 3;
    position: sticky;
    top: 0px;
    background-color: #ffffff;
}
.navbar-container nav{
    display: none;
}

/*Target Tablets Devices: (width = min-768 max-1114)*/
@media only screen and (min-width: 500px){
    header{
        padding: 1em 2em;
    }
    .navbar-container nav{
        display: block;
    }
    .buttons-container{
        display: none;
    }
    
    .navbar-container nav a{
        margin-right: 2rem;  
    }
    
    .navbar-container nav a:hover{
        scale: 1.1; 
        transition: all .5s;
        cursor: pointer;
    }
    .navbar-container nav a{
        color: var(--text-dark-blue);
    }
    .navbar-container nav a:hover{
        color: var(--accent-green);
        transition: all .5s;
    }

    .logo{
        margin-right:10%;
    }
    
}
/*Target Medium to Large Devices-Laptops > 13inch to 16inch: width > min-1280 max-1728*/
@media only screen and (min-width: 1280px){
    header{
        padding: 0.7rem 8vw;
    }
    .logo{
        margin-right: 0px;
    }
    
}

/*Target Monitors > 23inch and Above: width > min-1920 max-2048*/
@media only screen and (min-width: 1920px){
    header{
        padding: 1rem 12vw;
    }
   
}
/*/////////////////////////////////////////////////////////////////////*/


/*DROP DOWN MENU*/
.dropdown{
    display: none;
    font-size: 18px;
    width: 60%;
    height: auto;
    position: fixed;
    top: 4rem;
    left: 40%;
    border-bottom: solid 0.1em var(--line-border-color);
    border-left: solid 0.1em var(--line-border-color);
    border-bottom-left-radius: 1.5em;
    color: var(--text-gray);
    background-color: var(--white);
    z-index: 3;

}
.dropdown a{
    color: #000000;   
}
.dropdown nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.dropdown a{
    margin: 2rem 0px;
    
}
.dropdown hr{
    width: 100%;
    height: 0.1em;
    border: none;
    background-color: var(--line-border-color);

}
/*/////////////////////////////////////////////////////////////////////*/

/*MAIN SECTION*/
main{
    background-color: #F5F5F5;
    padding: 1em 0em;
}


/*STUDY ABROAD FORM*/
.study-abroad-form{
    width: 96vw;
    background: #ffffff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin: 1em auto;
    margin-bottom: 4em;
    padding-bottom: 2em;
    max-width: 800px;

}

.form-container{
    width: 96%;
    margin: 1em auto;
    padding: 2em 0px;
}
.details-container{
    margin-bottom: 4em;
}
.icon-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em auto;
}
.icon-container img{
    width: 4.2em;
}
.form-title-text-wrapper{
    width: 70%;
    margin: 10px auto;
}
h2{
    color: #000000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 26.749px;

}
.sub-text{
    color: #797979;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}
h3{
    color: #000000;
    text-align: center;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 10.448px;
    letter-spacing: 0.4px;

}

/*Styling Actual Form*/
.form-data-row, .gender-DOB{
    margin: 0.3em auto;
}
fieldset{
    border-radius: 10px;
    border: 2px solid #7776767f;
    padding: 1.3em 10px;

}
.data-cell{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0.7em auto;
    width: 99%;
}

label{
    color: #000000;
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 0.5em;
    cursor: pointer;

}
label span{
    color: red;
    font-weight: normal;
}

/*Inputs*/
input[type="text"], input[type="email"], input[type="tel"]{
    height: 1.5em;
    font-size: 1rem;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid #777676;
    background: #ffffff;
    padding: 0.3em 1em;
    outline: none;
    
}

input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover{
    border-color: #44D800;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus{
    outline: auto;
}

input[type="date"]{
    font-size: 16px;
    
 }
input::placeholder{
    font-size: 1.2em;
    opacity: 0.7;
}

/*Gender and DOB*/
.gender-input, .DOB-input{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0.6em auto;
    width: 96%;

}
.input-title-gender, .input-title-DOB{
    margin-bottom: 0px;
    margin-right: 10px;
}
.radio-btn-container{
    margin-right: 20px;
    display: flex;
    align-items: center;
    
}
.radio-btn-container label{
    font-weight: normal;
    font-size: 18px;
    margin-right: 5px;
    margin-bottom: 0px;
}
input[type="checkbox"], input[type="radio"]{
    width: 18px;
    height: 18px;
}



/*Interested Courses*/
.c-option-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0.3em auto;
    width: 100%;
}
.course-option{
    margin-bottom: 0.5em;
}
.cb-text-wrapper{
    display: flex;
    align-items: flex-start;
    column-gap: 0.5em;
    
}
.cb-text-wrapper label{
    font-weight: normal;
    line-height: 1.3em;
    margin-bottom: 0px;
}


/*Preferred Countries*/
.cb-n-c-lr-div-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0.3em 0.5em;
    column-gap: 2em;

}
.cb-n-c-l-container, .cb-n-c-r-container{
    display: flex;
    flex-direction: column;
    row-gap: 0.4em;
}
.cb-n-c-wrapper{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 10px;
}
.cb-n-c-wrapper label{
    font-weight: normal;
    margin-bottom: 0px;   
}

/*Other Countries Input*/
input[id="othercountries"]{
    margin: 0.4em 0px;
    opacity: 0.3;
}

/*Declaration*/
.legal-fieldset{
    padding: 0.5em;
    width: 98%;
    background-color: #eff0ef57;
}

.decl-pol-accept-container{
    margin: 1em auto;
    width: 97%;
    display: flex;
    flex-direction: column;
    row-gap: 1em;

}

.cb-decl-accept-wrapper, .cb-pol-accept-wrapper{
    display: flex;
    align-items: flex-start;
    column-gap: 0.5em;
    
}
.cb-decl-accept-wrapper label, .cb-pol-accept-wrapper label{
    font-weight: normal;
    line-height: 1.3em;
    margin-bottom: 0px;
    width: calc(97% - 20px);
}

.cb-pol-accept-wrapper label a{
    color: #03139e;
    font-style: italic;
    font-size: inherit;
}
.cb-pol-accept-wrapper label a:hover{
    text-decoration: underline;
}


/*Submit Button*/
button[type="submit"]{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 40px;
    margin-left: 3em;
    color: #ffffff;
    font-size: 1.2em;
    padding: 12px 42px;
    border-radius: 5px;
    background: #1E285F;
    box-shadow: 0px 3.981px 5.972px 2.986px rgba(0, 0, 0, 0.15), 0px 1.991px 1.991px 0px rgba(0, 0, 0, 0.30);
}
button[type="submit"]:hover{
    background: #2b3882;
    transition: all 0.2s;
}
button[type="submit"]:active{
    background: #000000;
    transform: translateX(4px) translateY(4px);
    transform-origin: bottom;
}


/*Media Querries*/
@media only screen and (min-width: 600px){
    .study-abroad-form{
        width: 85vw;
        padding: 1.5em;
    }
    h2{
        font-size: 1.5em;
    }
    .sub-text{
        line-height: 18px;

    }
    .details-container{
        margin: 4em auto;
    }
    h3{
        text-align: left;
        margin-left: 2em;
    }
    fieldset{
        padding: 1em;
    }
    .form-data-row{
        display: flex;
        flex-direction: row;
        column-gap: 2em;
    }
    .single-data-cell{
        width: 48%;
        margin-left: 0px;
    }
}

@media only screen and (min-width: 1280px){
    .study-abroad-form{
        width: 80vw;
    }
    
}



/*FOOTER-2*/
.footer-2{
    background-color: #ffffff;
    padding-bottom: 1em;  
}
.footer-2-container{
    background: url(/assets/img/dotted-line-mobile.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.f2-top-div{
    width: 70%;
    padding: 1em;
}
.hr-bamboo-tree-container{
    margin: -180px auto 0px auto;
    width: 90%;
}
.f2-line{
    width: 100%;
    height: 2px;
    background-color: #D4D2E3;
    border: none;
}
.bamboo-tree img{
    width: 200px;
    pointer-events: none; 
}
.bamboo-tree{
    width: fit-content;
    margin-bottom: -12px;
}
.ftitle-list-container{
    margin-bottom: 20px;
    margin-right: 24px;
    width: fit-content;
}
.ftitle{
    text-wrap: nowrap;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: -4px;
}
.links-container dt{
    margin: 12px;
}
.links-container a{
    color: #10095A;
    font-size: 16px;
    text-wrap: nowrap;
    letter-spacing: 0.4px;
}
.links-container dt:hover{
    scale: 1.05;
    transition: 0.2s;
}
.links-container dt:first-child:hover{
    scale: 1;
}
.f2-link-icon{
    margin-right: 8px;
    z-index: 1;
    pointer-events: none;
}
.f2-bottom-div{
    width: 90%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.f2-logo{
    width: 250px;
    pointer-events: none;
}
.copyright-text{
    margin: 1.4em 2px;
}
.copyright-text p{
    color: #44D800;
    text-align: center;
}
.josephel-logo{
    z-index: 3;
    scale: 1.4;
}

@media only screen and (min-width: 600px){
    .f2-top-div{
        width: 92%;
    }
    .f2-bottom-div{
        flex-direction: row;
        width: 96%;
        height: 250px;
        justify-content: space-between;
    }
    .copyright-text{
        order: -1;
        align-self: flex-start;
    }
    .josephel-logo{
        align-self: flex-end;
    }
    .f2-logo{
        scale: 1.2;
    }
    .bamboo-tree img{
        width: 250px;
    }
    .footer-2-container{
        background: url(/assets/img/dotted-line.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position-x: right;
    }
}
@media only screen and (min-width: 1280px){
    .f2-top-div{
        margin-left: 2em;
        padding-top: 3em;
        width: 80%;
    }
    .f2-bottom-div{
        width: 88%;
        height: 150px;
    }
    .ftitle, .links-container a{
        font-size: 18px;
    }
    .copyright-text p{
        font-size: 18px;
    }
    .ftitle-list-container{
    margin-right: 5em; 
    }
}