* {
    margin: 0;
    padding: 0;
    color: rgb(12, 12, 12);
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(./images/bg1.avif );
    background-position: center;
    background-size: cover;
    position: relative;
}

.switch-btn {
    display: inline-block;
    cursor: pointer;
    margin-left: 30px;
    position: relative;
}
.focused-icon {
    transform: scale(1.2);
    opacity: 0; /* Hide the icon, but maintain the space */
  }

  /* Add transition for smoother scaling and opacity change */
  .switch-btn i {
    transition: transform 0.3s, opacity 0.3s;
  }

/* Animation for day icon slide-in */
@keyframes slideInDay {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation for night icon slide-out */
@keyframes slideOutNight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-30px);
        opacity: 0;
    }
}
.fa-sun{
    color: white;
}

nav {
    display: flex;
    padding: 1% 4%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 200px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
}

.nav-links ul li ::after {
    /*Hover effect */
    content: '';
    width: 0;
    height: 2px;
    background: #13A7E3;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.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: 65px;
    color: #080808;
}

.text-box p {
    font-size: 15px;
    margin: 10px 0 40px;
    color: #fff;
}

.h-btn {
    /* To design the know more content*/
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 12px 40px;
    font-size: 15px;
    position: relative;
    background: transparent;
    cursor: pointer;
    color: #13A7E3;
}

.h-btn:hover {
    background: #13A7E3;
    border: 1px solid #13A7E3;
    transition: 1.5s;
    color: #fff;
}

nav .fa {
    display: none;
}

/* For Small screen */
@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        background: rgb(19, 167, 227);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        /* color: #fff; */
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 40px;
    }
}

/* -----------course-------------- */
.course {
    width: 80%;
    margin: auto;
    text-align: center;
    color: #000000;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #13A7E3;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin: 4%;
    display: flex;
    justify-content: space-between;
}

.course-column {
    flex-basis: 31%;
    background: #e4d7d7;
    border-radius: 12px;
    margin-bottom: 5%;
    padding: 20px 10px;
    box-sizing: border-box;
    transition: 0.5s;

}

h3 {
    text-align: center;
    font-weight: 700;
    margin: 10px 0;
}

.course-column:hover {
    box-shadow: 0 0 20px 0px rgba(4, 9, 30, 0.7);
}

@media(max-width:700px) {
    .row {
        flex-direction: column;
        /* to show the content in the column*/
    }
}

/* ----------Campus-------- */
.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.campus-column {
    flex-basis: 32%;
    border-radius: 15px;
    margin-bottom: 5%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px 0px rgba(67, 90, 185, 0.7);
}

.campus-column img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(40, 40, 43, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 600;
    color: rgb(19, 167, 227);
    /*#13a7e3 -----rgb(19, 167, 227)*/
    font-size: 25px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
    cursor: pointer;
}

/* ---------Facilities-------------- */
.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}

.facilities-col {
    flex-basis: 31%;
    border-radius: 15px;
    margin-bottom: 5%;
    text-align: left;

}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px 0px rgba(4, 9, 30, 0.7);
}

.facilities-col p {
    padding: 0;

}

.facilities-col h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}

/* ---------------testimonials------------------------- */
.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.testimonials-col {
    flex-basis: 42%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonials-col img {
    height: 50px;
    margin-left: 7px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonials-col p {
    padding: 0;
}

.testimonials-col h3 {
    margin-top: 15px;
    text-align: left;
}

@media(max-width:700px) {
    .testimonials-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}

/* -------Call to action------ */
.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(./images/bg3.avif);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    box-shadow: 0 0 12px 0;

}

.cta:hover {
    filter: drop-shadow(3px 5px 2px rgb(19, 167, 227, 0.4));
}

.cta h1 {
    color: white;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 700px) {
    .cta h1 {
        font-size: 25px;
    }
}


/* ---------footer------- */
.footer {
    width: 80%;
    text-align: center;
    padding: 30px 0;
    margin: 1px auto;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 700;
}

.icons .fa {
    margin: 1px 10px;
    cursor: pointer;
    padding: 18px 0;
    background-color: rgb(206, 198, 198);
    height: 15px;
    width: 50px;
    border-radius: 50px;
    filter: drop-shadow(3px 5px 2px rgba(96, 102, 102, 0.4));
}

.fa:hover {
    color: rgb(19, 167, 227);
    background: #ffffff;
    filter: drop-shadow(3px 5px 2px rgba(19, 167, 227, 0.4));
}

.fa-solid:hover {
    color: rgb(19, 167, 227);
    cursor: pointer;
}

/* ----------------About us----------------- */
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(32, 22, 5, 0.7), rgba(121, 168, 214, 0.7)), url(./images/bg2.avif);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #ffffff;
}

.sub-header h1 {
    color: white;
    margin-top: 100px;
}

/* --------------about us content---------- */
.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 100%;
}

.about-col h1 {
    padding-top: 10px;
}

.about-col p {
    padding: 18px 0 20px;
}

.ab {
    border: 1px solid black;
    background: transparent;
    color: rgb(112, 100, 100);
}

/* ----------------Blog content------------ */
.blog-content {
    width: 80%;
    margin: auto;
    padding: 65px 0;
}

.blog-left {
    flex-basis: 60%;
}

.blog-left img {
    background-size: cover;
    width: 100%;
}

.blog-left h3 {
    font-weight: 600;
    margin: 10px;

}

.blog-left p {
    color: #725c5c;
    padding: 0;
}

.blog-right {
    flex-basis: 30%;
}

.blog-right h3 {
    background: crimson;
    padding: 5px 0;
    margin-bottom: 10px;
    color: #fff;
}

.blog-right div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    box-sizing: border-box;
}

/* ---comment box--------- */
.comment-box {
    border: 1px solid #bbaeae;
    margin: 40px 0;
    padding: 10px 20px;
}

.comment-box h3 {
    text-align: center;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    margin: 15px 0;
    padding: 10px 10px;
    box-sizing: border-box;
    outline: none;
    border: none;
    background: #e4d7d7;
}

.h-btn1 {
    /* To design the know more content*/
    display: inline-block;
    text-decoration: none;
    border: 1px solid crimson;
    padding: 12px 40px;
    font-size: 15px;
    position: relative;
    background: crimson;
    cursor: pointer;
    color: #c3cccf;
}

.h-btn1:hover {
    background: #13A7E3;
    border: 1px solid #13A7E3;
    transition: 1.5s;
    color: #fff;
}

@media(max-width:700px) {
    .sub-header h1 {
        font-size: 23px;
    }
}

/* ---------------contact us ----------- */
.location {
    width: 80%;
    margin: auto;
    padding: 150px 0;
}

.location iframe {
    width: 100%;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex-basis: 42%;
    margin-bottom: 25px;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-col div .fa {
    font-size: 25px;
    color: #f32e20;
    margin: 10px;
    margin-right: 25px;
}

.contact-col div p {
    padding: 0;
    display: flex;
}

.contact-col div h5 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #6d6666;
    font-weight: 500;
    display: flex;
}

.contact-col input,
.contact-col textarea {
    width: 90%;
    padding: 14px;
    border: 1px solid #aaa333;
    margin-bottom: 15px;
    outline: none;
    box-sizing: border-box;
}
