* {
    margin: 0;
    padding: 0;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(117, 105, 94, 0.7), rgba(99, 107, 146, 0.7)), url(images/banner-cropped.jpeg); 
    opacity : 1;
    background-position: center;
    background-size: cover;
    position: relative;
}
html {
    scroll-behavior: smooth;
}
nav{
    display: flex;
    padding: 1% 2%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 70px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 10px 12px;
    position: relative;

}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin:auto;
    transition: 0.3s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 15px 40px;
    font-size: 18px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #fff;
    background: #ea7b48;
    transition: 0.3s;
    text-decoration: #fff;
}
nav .fa{
    display: none;
}
@media(max-width: 700px){
    .text-box h1{
        font-size: 35px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #ea7b48;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.3s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;

    }
}

/*facilities*/

.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.facilities-col{
    flex-basis: 31%;
    background: #ffe2d5;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    border: 1px solid rgb(153, 149, 149);
    transition: 0.3s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0
}
.facilities-col:hover{
    border: 1px solid rgb(80, 69, 69);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*Campus*/

.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.campus-col img{
    width: 100%;
    height: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
}
.layer:hover{
    background: rgba(238, 163, 138, 0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: rgb(69, 65, 65);
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.3s;
}
.layer:hover h3{
    bottom: 40%;
    opacity: 1;
}

/*call to action*/

.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(2, 2, 2, 0.7)), url(images/education-banner-background.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: white;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

/*footer*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}

/*about*/
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/school-ground-prayer.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color:#fff;
}
.sub-header h1{
    margin-top: 100px;
}
.about-us{
    padding: 40px;
}

.flex-container > div{
    text-align: left;
    float: left;
    width: 50%;
    font-size: x-large;
    padding-top: 20px;
    padding-bottom: 50px;
}
.about-photo img{
    float: right;
    height: 10%;
    width: 50%;
    border: 0.2px solid black;
    border-radius: 40px;
    padding: 20px;
    display:block;
}
.dropdown {
    /*float: left;
    overflow: hidden;*/
    flex: 1;
    text-align: right;
  }
  
  .dropdown .dropbtn {
    font-size: 15px;  
    border: none;
    outline: none;
    color: white;
    padding: 10px 12px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #ea7b48;
    width: 100%;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ea7b48;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: rgb(250, 95, 43);
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  @media(max-width: 700px) {
    /*about*/
    .sub-header {
        height: 30vh;
        padding: 20px;
    }
    .sub-header h1 {
        margin-top: 30px;
        font-size: 1.6em;
    }
    .about-us {
        padding: 20px;
    }
    .flex-container > div {
        width: 100%;
        text-align: center;
        font-size: large;
        padding: 10px 20px;
        float: none;
    }
    .about-photo img {
        width: 80%; /* Larger image width on smaller screens */
        border-radius: 20px;
        padding: 10px 20px;
        margin: 0 auto; /* Center image */
        display: block;
    }
    .dropdown {
        flex: 1;
        text-align: left;
        width: 50px;
        display: block; 
      }
      
      .dropdown .dropbtn {
        font-size: 15px;  
        border: none;
        outline: none;
        color: white;
        padding: 1px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
        width: 50px;
      }
      
      .navbar a:hover, .dropdown:hover .dropbtn:hover {
        background-color: #ea7b48;
        width: 100%;
      }
      
      .dropdown-content {
        display: none;
        position: relative;
        background-color: #dc9676;
        min-width: 160px;
        text-align: left;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
      }
      
      .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
      }
      
      .dropdown-content a:hover {
        background-color: rgb(244, 70, 13);
      }
      
      .dropdown:hover .dropdown-content {
        display: block;
      }
      
  }
/*contact us*/

.location{
   width: 80%;
   margin: auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
