/* variable declarations */
:root{
    --primary: #003333;
    --primary-lite:#003333ac;
    --secondary: #c3f3a9;
    --secondary-lite:#b0e892cf;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.fa-bars {
    color: var(--primary);
    
    
}


/* Remove Browser styles */

*{
    margin:0;
    padding: 0%;
    box-sizing: border-box;
}
li{
    list-style-type: none;
}
a{
    text-decoration: none;
}

img{
    width: 100%;
    height: 100%;
    }


header {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.313),rgba(0, 0, 0, 0.578)),url(Back.jpeg.jpg);
    background-size: cover;
    background-position: right;
    position: relative;
      
}




.header-content{
    background-color: var(--secondary)  ;
    margin:auto;
    height: 12vh;
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    
   
}





.flex-design {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo{
    height: 200px;
}
.nav-links{
    
    
    width:60%;
    

}
.nav-links a{
    color:var(--primary);
    
    
}
.nav-links li::after {
    content:'';
    display: block;
    background-color:var(--primary);
    height: 2px;
    transform: scaleX(0);
    transition: transform 300ms;

}
.nav-links li:hover::after{
    transform: scaleX(1);

}

.burger {
    display: none;
    cursor: pointer;
}


html {
    scroll-behavior: smooth;
}





.text-center {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    transition: all 300ms;
    font-size: 1.3rem;
}

.text-center h1 {
    margin: 0.5rem 0;
}

.content {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.mb {
    margin-bottom: 3rem;
}

.mt {
    margin-top: 5rem;
}

.heading {
    text-align: center;
    margin-bottom: 2rem;
}



.wwa-box {
    background-color: var(--primary);
    padding: 20px;
    margin-left: 10px;
    text-align: center;
    color: white;
    

}

.wwa-box h3 {
    margin-bottom: 5px;
}

.wwa-box:first-child {
    margin-left: 0px;
    
}



.wwa-box:hover {
    box-shadow: 3px 5px 11px 0px black;
}

.course_img {
    position: relative;
}

.course_img img {
    display: block;
}

.course_img::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: scale(0,1);
    transform-origin: right;
    transition: 300ms;
    background-color: rgba(0, 0, 0, 0.543);
}

.course:hover .course_img::after {
    transform: scale(1);
    transform-origin: left;
}

.course {
    position: relative;
}

.course_content {
    position: absolute;
    top: 80%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
    font-size: 1rem;
    transition: top 300ms, opacity 350ms;
    transition-delay: 200ms;   

}

.course:hover .course_content {
    top: 50%;
    opacity: 1;
}

.course-content {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr) );
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background-color: var(--primary);
    color: white;
    width: 270px;
    height: 400px;
    margin: 10px;
    border-radius: 15px;
} 

.card-image {
    background-color: aqua;
    height: 170px;
    margin-bottom: 15px;
    background-size: cover;
    border-radius: 15px 15px 0 0;
}

.ca-1 {
    background-image: url('C:\Users\mufaa\OneDrive\Desktop\MSA Groups Project\ca1.jpg');
}

.ca-2 {
    background-image: url('C:\Users\mufaa\OneDrive\Desktop\MSA Groups Project\ca-2.jpg');
}

.ca-3 {
    background-image: url('C:\Users\mufaa\OneDrive\Desktop\MSA Groups Project\ca3.jpg');
}

.card h2 {
    padding: 2px;
}

.card p {
    padding: 5px;
}

.card:hover {
    background-color: var(--secondary-lite);
    color: var(--primary);
    cursor: pointer;
    transform: scale(1.03);
    transition: all 1s ease;
}


.card h2 {
    
    text-align: center;
}

.card p {
    text-align: center;
}













.about-us-content {
    position: relative;
    padding:0 2rem;
}


input,textarea {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 6px;
    border: none;
    border-bottom: 1px solid var(--primary-lite);
}

input:focus, textarea:focus {
    border: none;
    outline: none;
    background-color: var(--secondary-lite);
    border-bottom: 2px solid var(--primary);
}

.form h2 {
    display: inline-block;
}


.form h2::after {
    content: '';
    display: block;
    height: 2px;
    width: 70%;
    background-color: var(--secondary);

}

.box-button {
    color: var(--primary);
    background-color: var(--secondary);
    padding: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
    
}

.box-button:hover {
    background-color: var(--secondary-lite);
    color: var(--primary);
    cursor: pointer;
    transform: scale(1.03);
    
}




    



footer {
    background: var(--secondary);
    padding-top: 50px;
    
}

.boxx {
    width: 1140px;
    margin: auto;
    display: flex;
    justify-content: center;
    
    
}
.footer-content {
    width: 33.3%;
    
    
} 

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;
}

.footer-content ul {
    text-align: center;
}

.list {
    padding: 0;
    
}

.list li {
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}

.list li::before {
    content: '';
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition-duration: .5s;
}

.list li:hover::before {
    width: 70px;
}

.social-icons {
    text-align: center;
    padding: 0;
}

.social-icons li {
    display: inline-block;
    text-align: center;
    padding: 5px;
}

.social-icons i {
    color: rgb(2, 129, 10);
    font-size: 25px;
}

.footer-content a {
    text-decoration: none;
}
.footer-content a:hover {
    color: var(--primary);
}

.social-icons i:hover {
    color: mediumblue;
}

.bottom-bar {
    background: #003333;
    text-align: center;
    padding: 10px 0;
    margin-top: 7px;
}

.bottom-bar p {
    color: white;
    margin: 0;
    font-size: 16px;
    padding: 7px;
}







/* media querrys */






@media only screen and (max-width:894px) {
    .text-center {
        width: 100%;
    }
}

@media only screen and (max-width:858px) {
    .wwa-content {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .wwa-box {
        margin-left: 0px;
        margin-top: 8px;
        
        

    }
    .wwa-box:first-child {
        margin-top: 0px;
        

    }
}



.student-text {
    margin: 1rem;
}

.our-students {
    background-color: var(--primary);
    color: white;
    padding: 3rem;
}


@media only screen and (max-width:700px) {


    .footer {
        padding: 40px;
        
    }
    .boxx {
        
       
        flex-direction: column;
        justify-content: center;
        margin-left: 0px;
        margin-top: 8px;
        
        
    }
}




@media only screen and (max-width:840px) {
    .student {
        flex-direction: column;
    }

}


@media only screen and (max-width:600px) {
    .nav-links {
        /* display none */
        position: absolute;
        flex-direction: column;
        background-color: var(--secondary-lite);
        right: -10rem;
        top: 12vh;
        height: 50vh;
        width: 0%;
        padding: 1rem 0;
        transition: all 400ms;
    }

    .burger {
        display: block;
    }
}

.nav-show {
   width: 100%;
   right: 0px;
}

.textareahide {
    left: -18rem;
}
