@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;1,300;1,400&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    background-image: url(img/backgrond.png);
    background-repeat: repeat;
    color: rgb(72, 72, 72);
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 16px;
    text-rendering: optimizeLegibility;
}

.clearfix {
    zoom: 1
}

.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}


/*---------------------------------------------------------*/
/*----------Re-Usable Codes-----------*/
/*---------------------------------------------------------*/

.row{
    margin: 0 auto;
}

section {
    padding: 80px 0px;
    background-color: #eeeeeeec;
}

section .row {
    max-width: 1300px;
}

/*----ICONS----*/

.icon-small {
    margin-right: 5px;
}

.icon-big {
    margin-right: 15px;
}

.arrow {
    margin-left: 15px;
    color: #3f3f3f;
    font-size: 150%;
    vertical-align: middle;
}

.facebook,
.twitter,
.google,
.instagram {
    font-size: 180%;
    transition: color 0.3s;
}

.facebook:hover,
.facebook:visited {
    color: #3b5998;
}

.twitter:hover,
.twitter:visited {
    color: #00aced;
}

.google:hover,
.google:visited {
    color: #dd4b39;
}

.instagram:hover,
.instagram:visited {
    color: #e95950;
}

/*----LOGO----*/

.logo {
    width: 250px;
    float: left;
    margin-left: 60px;
}

/*----BUTTONS----*/

.register-btn a {
    border: 1px solid #7a001a; /* Dark Red */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #7a001a; /* Dark Red */
    box-shadow: 0px 1px 3px 3px rgba(85, 85, 85, 0.253);
    text-align: center;
    width: 13%;
    padding: 10px;
    margin-top: -10px;
    position: absolute;
    top: 1%;
    right: 11%;
    text-decoration: none;
    color: #f0f0f0;
    transition: color 0.2s;
} 

.register-btn a:hover {
   color: #979797;
} 

/*----HEADINGS----*/

h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2:after {
    display: block;
    height: 1px;
    background-color: #e61919; /* Primary Red */
    content: "";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}



/*---------------------------------------------------------*/
/*----------HEADER-----------*/
/*---------------------------------------------------------*/

header{
    position: relative;
}

/*----TOP HEADER----*/

.register-row {
    background-color: #7a001a; /* Dark Red */
    height: 2px;
}

.register-row:after {
    margin: 0;
}

.top-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url(img/1-min.jpg);
    background-size: cover;
    background-position: center;
    color: #e61919; /* Red */
    font-weight: bold;
    border-top: 4px solid #7a001a; /* Dark Red */
}

.top-header-nav {
    margin:  50px 20px 0 0;
}

.top-nav-link:link,
.top-nav-link:visited {
    text-decoration: none;
    color: #e61919; /* Red */
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s;
}

.top-nav-link:hover,
.top-nav-link:active {
    color: #7a001a; /* Dark Red */
}

.top-header-nav span{
    color: #000;
}


.logo-box-nav,
.main-nav {
    list-style: none;
    display: inline;
}

.logo-box-nav li,
.main-nav li {
    display: inline;
}

.logo-box-nav {
    float: right;
    margin-right: 65px;
    padding: 10px;
}

.logo-box-nav li {
    margin-left: 20px;
    border-right: 2px solid #000;
    padding-right: 20px;
}

.logo-box-nav li:last-child {
    padding-right: 0px;
    border: 0;
}

.logo-box p {
    float: right;
}

/*----SECOND HEADER----*/

.search-box {
    width: 32.2%;
    float: right;
}

.search-bar {
    margin: 0 auto;
    width: 80%;
}

input[type=search]:focus  {
    outline: none;
}

input[type=search] {
    width: 70%;
    color: #5a5854;
    background-color: #dddddd;
    border: 1px solid #bdbdbd;
    border-radius: 20px;
    padding: 5px;
}

input[type=submit] {
    color: #dddddd;
    padding: 5px;
    background-color: #5a5854;
    border: 2px solid #5a5854;
    border-radius: 20px;
    transition: background-color 0.2s;
}

input[type=submit]:hover {
    background-color: #3f3f3f;
    cursor: pointer;
    border: 2px solid #3f3f3f;
}

/*----MAIN NAVI----*/

nav {
    padding: 5px;
    margin: 0 40px;
}

.main-nav {
    width: 53.2%;
}

.main-nav li {
    margin-left: 4px;
    padding: 23px;
    transition: border-bottom 0.2s;
}

.main-nav li:hover {
    border-bottom: 3px solid #e61919; /* Red border hover */
}

.nav-link {
    text-decoration: none;
    color: #f0f0f0;
    font-size: 85%;
    font-weight: bold;
    padding-top: 20px;
}

.nav-header {
    background-color: #7a001a; /* Dark Red Nav Bar */
}

/*----STICKY NAVI----*/

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #979797f5;
    margin-left: 0;
    padding: 0;
    z-index: 10;
    display: none;
    box-shadow: 0 3px 5px 2px rgba(0, 0, 0, 0.171);
}

.sticky-logo {
    width: 100%;
}

.sticky .sticky-nav-box {
    width: 50.2%;
    margin-top: 35px;
    font-size: 110%;
}

.sticky .logo-box {
    width: 10.79%;
    margin-right: 2.11%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 20px;
}

.sticky .search-box {
    width: 32.79;
    margin-left: 1.11%;
    margin-top: 30px;
}

.sticky .search-box .search-bar {
    margin-right: 20px;
}

/*----THIRD HEADER----*/

.header-img {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url(img/2-min.jpg);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    height: 80vh;
}

.text-box {
    line-height: 145%;
    background-color: rgba(122, 0, 26, 0.7); /* Translucent Dark Red */
    color: #dddddd;
    max-width: 37%;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 7%;
    font-weight: 400;
    padding: 30px;
    box-shadow: 0px 7px 7px #222;
}

/*---------------------------------------------------------*/
/*---------WELCOME-----------*/
/*---------------------------------------------------------*/

.welcome {
    position: relative;
}

.welcome-background {
    background-image: url(img/5-min.jpg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: calc(50% + (1180px / 2) - 280px);
    background-size: cover;
}

.welcome-background::before {
    background-color: rgba(122, 0, 26, 0.4); /* Red tint on image */
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.welcome-content {
    position: relative;
    margin: 0 0 0 100px;
}

.welcome-text-header h3 {
    color: rgb(230, 230, 230);
    font-size: 90%;
    font-weight: bold;
    padding-bottom: 30px;
    padding-left: 50px;
}

.welcome-text h1 {
    font-family: 'Times New Roman', Times, serif;
    color: #7a001a; /* Dark Red Title */
}

.welcome-text {
    padding: 50px;
    line-height: 165%;
    margin-left: 230px;
}

.welcome-text h1 {
    margin-bottom: 22px;
    margin-top: 5px;
}

.welcome-footer {
    margin-top: 0;
}

.line {
    display: inline-block;
    width: 400px;
    height: 1px;
    background-color: #b3b3b3;
    position: relative;
    margin-top: 90px;
    margin-left: 200px;
    vertical-align: center;
}

.learn-more {
    position: relative;
    color: inherit;
    display: inline-block;
    margin-left: 10px;
}

.learn-more a {
    text-decoration: none;
    color: #e61919; /* Red */
    margin-top: 10px;
}

.learn-more i {
    margin-left: 5px;
}

/*---------------------------------------------------------*/
/*---------ENROLL-----------*/
/*---------------------------------------------------------*/

.enroll-row {
    position: relative;
}

.enroll-box {
    width: 30%;
    position: relative;
}

.enroll-img {
    width: 100%;
}

.enroll-link {
    text-decoration: none;
    color: #ececec;
    font-size: 120%;
    text-transform: uppercase;
}

.enroll-link span {
    display: block;
    margin: -30px 0 0 30px;
}

.overlay {
    position: absolute;
    bottom: 50px;
    left: 30px;
    background: rgb(0, 0, 0);
    z-index: 1;
}

.overlay-text {
    position: absolute;
    color: #fff;
}

.overlay-text h3::before {
    content: "";
    height: 1px;
    width: 100px;
    background-color: #e61919; /* Red accent */
    display: block;
    position: absolute;
    margin-top: -15px;
}

/*---------------------------------------------------------*/
/*---------FEATURE-----------*/
/*---------------------------------------------------------*/

.section-features {
    margin-top: 0px;
}

.feature-img {
    width: 100%;
}

.feature-img-text a:link,
.feature-img-text a:visited {
    display: block;
    text-align: right;
    margin-top: 10px;
    text-decoration: none;
    color: #3f3f3f;
    font-size: 90%;
    font-weight: bold;
    transition: color 0.3s;
}

.feature-img-text a:hover,
.feature-img-text a:active {
    color: #e61919; /* Red */
}

.feature-title {
    border-bottom: 1px solid rgb(192, 192, 192);
    margin-bottom: 20px;
}

.section1-box-head a:link,
.section1-box-head a:visited {
    text-decoration: none;
    display: block;
    color: #7a001a; /* Dark Red link */
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 120%;
    transition: color 0.2s;
}

.section1-box-head a:hover,
.section1-box-head a:active {
    color: #e61919; /* Bright Red hover */
}

.date {
    font-size: 80%;
    font-weight: bold;
    border-bottom: 3px solid rgb(192, 192, 192);
    width: 40%;
    display: flex;
    align-content: center;
}

.date span {
    display: inline-block;
    margin-top: 2px;
}

.feature-img-div {
    overflow: hidden;
}

figure a .feature-img {
    margin-bottom: 25px;
    transition: transform 0.3s;
}

figure a .feature-img:hover,
figure a .feature-img:active {
    transform: scale(1.03);
}

.feature-box figure figcaption {
    font-weight: 400;
    font-size: 95%;
    line-height: 145%;
}

.feature-box {
    box-shadow: 0 2px 2px rgb(165, 165, 165);
    width: 22.5%;
    padding: 15px;
    margin-left: 3%;
    height: auto;
    align-self: auto;
    background-color: #ffffff;
}

/*---------------------------------------------------------*/
/*---------OUR SCHOOL-----------*/
/*---------------------------------------------------------*/

.our-school {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(img/3-min.jpg);
    background-position: center;
    background-size: cover;
}

.our-school div h2 {
    color: #ececec;
}

.text-img {
    width: 20%;
    margin: 0 50% 0 30%;
}

.a-glance {
    text-align: center;
    color: #ececec;
    font-weight: bold;
}

.text-wrapper {
    padding: 10px;
    margin-top: 30px;
}

.our-school-text {
    font-size: 110%;
    font-weight: bold;
    color: #ececec;
}

.our-school-text h3 {
    font-size: 220%;
    font-weight: bold;
    margin-bottom: 15px;
}

/*---------------------------------------------------------*/
/*---------NEWS AND EVENTS-----------*/
/*---------------------------------------------------------*/

.news-and-event {
    background-position: calc(100% - 1000px);
}

.news-box-1,
.news-box-2,
.news-box-3  {
    width: 80%;
    overflow: hidden;
}

.news-img-1 {
    width: 100%;
    height: 400px;
    box-shadow: 0px 2px 5px 2px rgb(190, 190, 190);
    transform: scale(1);
    transition: transform 0.3s;
}

.news-img-2,
.news-img-3 {
    width: 100%;
    height: 614.016px;
    box-shadow: 0px 2px 5px 2px rgb(190, 190, 190);
    transform: scale(1);
    transition: transform 0.3s;
}

.news-img-2:hover,
.news-img-3:hover,
.news-img-1:hover {
    transform: scale(1.05);
}

.news-text {
    width: 85%;
    margin: -15% 7.5% 0 7.5%;
    background-color: #ffffff;
    padding: 20px;
    position: relative;
    line-height: 140%;
    z-index: 1;
}

.news-text h3 a:link,
.news-text h3 a:visited {
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
    text-align: center;
    color: #7a001a; /* Dark Red Link */
    margin-bottom: 5px;
    transition: color 0.5s;
}

.news-text h3 a:hover,
.news-text h3 a:active {
    color: #5a5854;
}

.time-date {
    display: block;
    letter-spacing: 5px;
    color: #bdbdbd;
    text-align: center;
    margin-top: 10px;
}

.event-calendar {
    padding: 20px 0 30px 30px;
    text-align: left;
    font-size: 120%;
    font-weight: bold;
    background: linear-gradient(to top right, rgba(85, 85, 85, 0.1), rgba(255, 255, 255, 0.1));
}

.event-calendar h3 span {
    display: inline-block;
    margin-bottom: 50px;
    padding-bottom: 10px;
    width: 40%;
    border-bottom: 1px solid rgb(143, 143, 143);
}

.event-calendar p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 300%;
    color: #e61919; /* Red text */
    text-align: left;
    margin-bottom: 120px;
}

.event-calendar a:link,
.event-calendar a:visited {
    color: #e61919; /* Red Link */
    text-decoration: none;
    display: block;
    text-align: left;
    width: 25%;
    font-size: 90%;
    font-weight: 400;
    padding-bottom: 8px;
    margin-left: 10px;
    border-bottom: 1px solid rgb(143, 143, 143);
    transition: color 0.2s;
}

.event-calendar a:hover,
.event-calendar a:active {
    color: #555;
}

/*---------------------------------------------------------*/
/*---------TESTIMONIALS-----------*/
/*---------------------------------------------------------*/

.testimonial {
    background-image: linear-gradient(rgba(0, 0, 0, 0.178), rgba(0, 0, 0, 0.178)), url(img/4-min.jpg);
    background-position: center;
    background-size: cover;
}

.testimonial div h2 {
    color: #ececec;
}

blockquote {
    line-height: 145%;
    padding: 30px;
    color: #ececec;
    font-style: italic;
    font-size: 120%;
    position: relative;
}

blockquote::before{
    content: "\201C";
    font-size: 400%;
    display: block;
    position: absolute;
    top: -1px;
    left: -2px;
}

cite {
    display: block;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.cite-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}

/*---------------------------------------------------------*/
/*---------FOOTER-----------*/
/*---------------------------------------------------------*/

.footer-content {
    background-color: #222; /* Darker/Black background */
    color: #cecece;
    line-height: 145%;
    padding: 30px 30px 0 30px;
    font-size: 90%;
}

.social-logo-box {
    background-color: #1a1a1a;
    color: #cecece;
    padding: 0 30px 30px 30px;
}

.copy-row {
    background-color: #1a1a1a;
    color: #cecece;
    margin-top: 0;
    padding: 0 30px;
}

.about-us a:link,
.about-us a:visited {
    display: inline-block;
    text-decoration: none;
    color: #cecece;
    transition: color 0.3s;
}

.about-us a:hover,
.about-us a:active {
    color: #e61919; /* Red hover */
}

.about-us h3,
.our-school-nav h3,
.contact-details h3,
.admission-nav h3 {
    margin-bottom: 15px;
    font-weight: bold;
    color: #e61919; /* Red footer headers */
}

.our-school-nav h3,
.admission-nav h3 {
    text-align: center;
}

.footer-nav li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-nav li a {
    text-decoration: none;
    color: #cecece;
    display: block;
    text-align: center;
    transition: color 0.4s;
}

.footer-nav li a:hover {
    color: #e61919; /* Red hover */
}

.footer-logo {
    width: 13%;
    margin: 0 43.5%;
}

.social-nav li {
    list-style: none;
    display: inline-block;
    margin-right: 30px;
}

.social-nav li a {
    text-decoration: none;
    color: #cecece;
}

.copy-width p {
    font-size: 80%;
}

.social-width {
    width: 19.2%;
    margin-left: 30%;
    margin-top: -6px;
}

/*---------------------------------------------------------*/
/*---------ANIMATIONS-----------*/
/*---------------------------------------------------------*/

.js--wp-1,
.js--wp-2,
.js--wp-3,
.js--wp-4,
.js--wp-5,
.js--wp-6,
.js--wp-7 {
    opacity: 0;
}

.js--wp-1 .animate__animated,
.js--wp-2 .animate__animated,
.js--wp-3 .animate__animated,
.js--wp-4 .animate__animated,
.js--wp-5 .animate__animated,
.js--wp-6 .animate__animated,
.js--wp-7 .animate__animated {
    opacity: 1;
}