* {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section {
    scroll-margin-top: 130px;
}


/* Navbar section Start */
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav1 {
    display: none;
}

.navbar .logo {
    width: 40%;
    position: fixed;
    top: 0;
    left: 7vw;
}

.nav1>span {
    display: flex;
}

.nav1 p {
    padding: 10px;
}

.nav1 a {
    text-decoration: none;
    color: white;
}

.emergency_phone {
    background-color: red;
}

.main_nav ul {
    display: none;
}

.main_nav {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: end;
    align-items: end;
    background-color: white;
    box-shadow: 2px 2px 5px gray;
    position: sticky;
    top: 0;
}

.menu {
    width: 30px;
    padding-right: 20px;
}

.main_nav li {
    padding: 20px;
    list-style: none;
}

.main_nav a {
    text-decoration: none;
    color: black;
}

.main_nav a:hover {
    color: #20D34A;
}

/* Navbar section End */

/* Hero Section Start */
.hero {
    width: 100%;
    height: 90vh;
    background-image: url(../images/background/home_background_1.jpg);
    background-position: center;
    border-bottom: 4px solid #20D34A;
}

.hero_content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    line-height: 1.5;
}

.hero_content>h1 {
    font-weight: 800;
}

.hero_content>p {
    opacity: 0.6;
}

.hero_content a {
    width: 100px;
    background-color: #283290;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-bottom: 3px solid #20D34A;
    font-size: 12px;
    text-align: center;
    font-size: 16px;
}

.hero_content a:hover {
    background-color: #20D34A;
}

/* Hero Section End */


/* Important details Section Start */
.necessary_details {
    padding: 100px 0 70px 0;
}

.cards {
    height: 230px;
    background-color: #283290;
    border-bottom: 6px solid #20D34A;
    padding: 20px;
    margin: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 2px 2px 5px gray;
    border-radius: 10px 10px 0 0 ;
}

.cards:hover {
    box-shadow: 5px 7px 5px gray;
}

.cards img {
    width: 30px;
    height: 30px;
}

.cards ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cards li {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

/* Important details Section End */



/* About us Section Start */
.about {
    padding: 50px 15px;
}

.about_content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0 30px;
    border-top: 4px solid #20D34A;
}

.about_content>p {
    opacity: 0.7;
}

.about_content a {
    width: 100px;
    background-color: #283290;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-bottom: 3px solid #20D34A;
    font-size: 12px;
    text-align: center;
}

.about_content a:hover {
    background-color: #20D34A;
}

.about_image img {
    width: 100%;
    height: 100%;
}

/* About us Section End */


/* Department Details section Start */
.departments {
    padding: 50px 12px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    background-color: #283290;
    margin-bottom: 50px;
}

.departments h2 {
    color: white;
    border-top: 4px solid #20D34A;
    padding-top: 10px;
}

.department_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.department_details {
    background-color: white;
    border-bottom: 3px solid #20D34A;
}

.department_details img {
    width: 100%;
}

.department_details figcaption {
    text-align: center;
    padding: 30px;
    line-height: 2;
}

.department_details p {
    text-decoration: none;
    opacity: 0.6;
}

.department_summary {
    color: white;
    line-height: 1.7;
}

.department_summary a {
    width: 100px;
    background-color: white;
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    border-bottom: 3px solid #20D34A;
    font-size: 12px;
    text-align: center;
}

.department_summary a:hover {
    background-color: #20D34A;
    color: white;
}

/* Department Details section End */


/* Services section Start */
.services {
    padding: 100px 15px;
}

.services h2 {
    border-top: 4px solid #20D34A;
    padding-top: 20px;
}

.all_services {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 70px;
}

.services_list img {
    width: 60px;
    height: 60px;
    padding-bottom: 30px;
    border-bottom: 4px solid #20D34A;
}

.services_list {
    padding: 60px 30px;
    text-align: center;
    background-color: #f5f7fa;
}

.services_list h3 {
    padding: 20px 0 20px;
}

/* Services section End */


/* Enquire section Start */
.help {
    height: 300px;
    margin-top: 80px;
    padding: 20px 15px;
    background-image: url(../images/background/cta.jpg);
    background-position: center;
    color: white;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.help a {
    width: 100px;
    background-color: #283290;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-bottom: 4px solid #20D34A;
    font-size: 12px;
}

.help a:hover {
    background-color: #20D34A;
}

/* Enquire section End */


/* Footer section Start */
.footer {
    background-color: #060B3A;
    color: #b2b2b2;
    padding: 0 50px;
}

.footer li {
    list-style: none;
}

.footer img {
    width: 100%;
}

.essential_details p {
    line-height: 1.5;
    padding: 20px 0;
}

.address {
    display: flex;
    gap: 5px;
}

.footer_content a {
    text-decoration: none;
    color: #b2b2b2;
}

.footer_content a:hover {
    color: #20D34A;
}

.contact li {
    display: flex;
    align-items: center;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 50px;
}

.links h3 {
    color: white;
}

.links_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.usefull_links li {
    padding: 10px;
}

.usefull_links {
    padding: 50px 0;
}

.links_dated li {
    padding: 20px 0;
}

.links_dated {
    padding-bottom: 100px;
}

.links_dated p {
    padding: 5px 0;
}

.date {
    color: #20D34A;
}

/* Footer section End */


/* Copyright Section Start */
.copyright {
    color: #b2b2b2;
    text-align: center;
    background-color: #020523;
}

/* Copyright Section End */


/* 768px and up view */
@media(min-width:768px) {
    .nav1 {
        height: 40px;
        display: flex;
        padding-left: 30vw;
        justify-content: space-evenly;
        background-color: #283290;
        color: white;
        font-size: 12px;
    }

    .main_nav .logo {
        width: 25%;
    }

    .hero_content {
        width: 70%;
        gap: 25px;
    }

    .hero_content h1 {
        font-size: 46px;
        line-height: 1;
    }

    .necessary_details {
        padding: 50px 100px ;
    }

    .cards {
        gap: 30px;
        padding: 20px 40px;
    }

    .about {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about_content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .about_image {
        text-align: center;
    }

    .about_image img {
        width: 60%;
    }

    .about_content p {
        line-height: 1.7;
    }

    .department_details {
        width: 45%;
    }

    .department_summary {
        width: 45%;
    }

    .department_list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .services {
        padding: 80px 20px;
    }

    .services_list {
        width: 35%;
    }

    .all_services {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .help {
        padding: 20px;
    }

    .help h2 {
        font-size: 36px;
    }

    .links {
        width: 70%;
    }

    .copyright {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        align-items: center;
    }
}


/* 992px and up view */
@media(min-width:992px) {
    .main_nav ul {
        display: flex;
        padding-right: 50px;
    }

    .menu {
        display: none;
    }

    .main_nav .logo {
        width: 250px;
    }

    .main_nav {
        height: 80px;
        align-items: center;
    }

    .hero {
        height: 85vh;
    }

    .hero_content {
        width: 55%;
        padding-left: 50px;
    }

    .hero_content h1 {
        font-size: 58px;
    }

    .hero_content p {
        line-height: 2;
    }

    .cards {
        width: 30%;
        height: 280px;
    }

    .necessary_details {
        padding: 10px 0 70px 0;
        display: flex;
    }

    .about_content {
        width: 60%;
    }

    .about_image {
        width: 40%;
        height: 100%;
    }

    .about_image img {
        width: 100%;
    }

    .about {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 50px 20px;
    }

    .about h2 {
        font-size: 34px;
    }

    .departments {
        padding: 100px 20px;
    }

    .department_details {
        width: 20%;
    }

    .department_summary {
        width: 20%;
    }

    .departments h2 {
        padding-top: 50px;
    }

    .services_list {
        width: 25%;
    }

    .services_list p {
        line-height: 1.5;
    }

    .help h2 {
        font-size: 44px;
    }

    .essential_details .logo_footer {
        width: 300px;
    }

    .footer_content {
        display: flex;
        justify-content: space-between;
    }

    .footer_content div {
        width: 30%;
    }

    .links_list {
        display: flex;
        justify-content: space-between;
    }

    .links_list li {
        width: 100%;
    }

    .links {
        padding-top: 130px;
    }
}