/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
 
/*variable declarations*/
 :root {
    --primary: rgb(169, 82, 15);
    --secondary: rgba(30, 30, 50);
    --secondary-light: rgba(131, 131, 150);
 }
 
/*Remove Browser styles*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/*common styles*/

.btn {
    color: white;
    display: inline-block;
    background-color: var(--primary);
    padding: 10px 18px;
    transition: 200ms;
    box-shadow: 0 2px 4px rgb(0, 0, 0);
    transition: all 0.2s ease;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(2px);
}

.button {
    color: white;
    display: inline-block;
    background-color: rgb(38, 38, 190);
    padding: 10px 18px;
    transition: 200ms;
    box-shadow: 2px 0px 2px 0px rgb(0, 0, 0);
    transition: all 0.2s ease;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.button:hover {
    transform: translateY(2px);
}

.flex-design {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
}
 
.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: transform 300ms;
    background-color: rgba(0, 0, 0, 0.5 );
}

.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: 1.2rem;
    transition: top 300ms, opacity 500ms;
}

.course-content {
    display: grid;
    grid-gap: 7px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}

.course:hover .course_content {
    top: 50%;
    opacity: 1;
}

.wwa-box {
    background-color: rgb(152, 149, 145);
    padding: 20px;
    margin-left: 20px;
    text-align: center;
    height: 280px;
    border-radius: 10px;
}

.wwa-box:hover{
    box-shadow: 2px 2px 10px 0px;
}

.wwa-box:first-child {
    margin-left: 0px;
}

.wwa-box h3 {
    margin-bottom: 5px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width:762px){
    .footer-top-container{
        flex-direction: column;
    }
    .footer-links{
        margin-bottom: 1rem;
    }
    .footer-collage{
        text-align: center;
    }
}




@media only screen and (max-width:920px){
    .fac:hover .fac-img{
        opacity: 0;
    }
}

@media only screen and (max-width:894px){
    .text-center {
        width: 100%;
    }
}

@media only screen and (max-width:858px){
    .wwa-content {
        flex-direction: column;
    }
    .wwa-box {
        margin-left: 0;
        margin-top: 15px;
    }
    .wwa-box:first-child{
        margin-top: 0px;
    }
}

header {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.777)),  url(../images/building.jpg);
    background-size: cover;
    background-position: top;
    padding-top: 35px;
   
}

.background1 {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.777)),  url(../images/building3.jpg);
    background-size: cover;
    background-position: top;
    padding-top: 35px;
   
}

.background2 {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.777)),  url(../images/s4.jpg);
    background-size: cover;
    background-position: bottom;
    padding-top: 35px; 
}

.background3 {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)),  url(../images/s1.jpg);
    background-size: cover;
    background-position: top;
    padding-top: 35px; 
}

.header-content {
    width: 100%;
    padding: 12px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(50, 93, 118, 0.6);
    height: 12vh;      
}

.logo {
    width: 100px;
}

.nav-links {
    display: flex;
    width: 35%;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;   
}



.nav-links a {
    color: rgb(255, 255, 255);
}

.nav-links li::after {
    content: '';
    display: block;
    background-color: var(--secondary);
    height:  2px;
    transform: scaleX(0);
    transition: transform 200ms;
}

.nav-links li:hover::after {
    transform: scaleX(1);
}

.burger {
    color: white;
    cursor: pointer; 
}

.text-center {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5rem;
}

.text-center h1 {
    margin: 1rem 0;
}

.fac {
    background-color: var(--secondary);
    margin-bottom: 10px;
    position: relative;
}

.fac-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start ;
}

.fac-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    text-align: center;
    z-index: -1;
    transition: z-index 300ms ;
}

.fac-img img {
    display: block;
    width: 500px;
}

.fac-img {
    position: relative;
    left: 20px;
    padding: 20px 0;
    transition: left 800ms;
}

.fac:hover .fac-img {
    left: 88%;
    transition: left 300ms , opacity 600ms;
}

.fac:hover .fac-img img {
    left: 88%;
    transition: left 300ms;
    box-shadow: 10px 0px 35px 1px;
}

.fac:hover .fac-text {
    z-index: 1;
    transition: z-index 700ms;
}

.footer-logo{
    width: 125px;
    padding-left: 15px;
}

.footer-top {
    background-color: rgb(79, 124, 151);
    padding-top: 10px;
    
}

.footer-links a {
    color: white;
}

.footer-bottom{
    background-color: var(--secondary);
    text-align: center;
    color: white;
    padding: 0.6rem 0;
}

.about-us-text {

position: relative;
padding: 2rem;
}


.about-us-text::after{
    content:'';
    position: absolute;
    inset: -35px 0px;
    background-image: url(../images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.student{
    margin-top: 3rem;
}

.student-text{
    width: 100%;
    padding: 0 2rem;
}

.our-students-content img{
    width: 450px;
}

.student:nth-child(even){
    flex-direction: row-reverse;
}

.our-students{
    background-color: var(--secondary-light);
    color: white;
    padding: 2rem ;
}

.register-now-content {
    padding: 0 2rem;
    text-align: center;

}

.register-now-heading{
    color: white;
}

.register-now{
    padding: 2rem 0;
    background-color:rgb(232, 137, 69);
}

.course-table-section {
    background-color: var(--secondary-light); 
    padding: 2rem 0;
}

.course-table th, .course-table td {
    padding: 1rem;
}

.course-table th {
    color: black;
    background-color: white;
}

.course-table tr:nth-child(odd){
    background-color: var(--secondary);
    color: white;
}

.course-table tr:nth-child(even){
    background-color: steelblue;
}

.course-table-content {
    max-width: 600px;
    text-align: center;
}

.course-table {
    width: 100%;
    border-collapse:collapse;
    filter: drop-shadow(10px 0px 10px);
}

.course-table tr:not(:first-child):hover {
    transform: scale(1.02);
}

.course-table tr {
    transition: transform 300ms;
}

.course-table tr a {
    color: white;
    text-decoration: none;
    background-color: rgb(26, 26, 157);
    padding: 6px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgb(0, 0, 0);
}

.center img {
    width: 15px;
    margin-right: 15px;
    transition: transform 300ms;
}

.info-center-content {
    display: grid;
    padding-top: 10px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
} 

.center:hover img {
    transform: scale(1.3);
}


   input,textarea{
    display:block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 5px;
  }

   input:focus,textarea:focus{
    background-color:rgb(152, 149, 145);
  }
  .form h2{
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .form h2::after{
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background: black;
  }
