body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 767px) {
    .body-container {
        width: 100%;
        /* Ensures full width on small screens */
    }
}

@media only screen and (max-width: 767px) {
    .timeline-item {
        width: 100%;
        /* Ensures full width on small screens */
        display: block;
        flex-direction: column;
    }
}

@media only screen and (max-width: 767px) {
    .hero-content {
        flex-direction: column;
        /* Ensure vertical layout on small screens */
    }
    .hero-image {
        margin-bottom: 20px;
        /* Add space below the image */
    }
    .hero-text {
        text-align: center;
        /* Center align text on small screens */
    }
}

@media only screen and (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        /* Horizontal layout on larger screens */
        justify-content: center;
    }
    .hero-image {
        margin-right: 20px;
        /* Space between image and text */
        margin-bottom: 0;
        /* Remove bottom margin */
    }
    .hero-text {
        text-align: left;
        /* Align text left on larger screens */
    }
}


/* CSS Code for dropdown functionality */

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
    display: inline-block;
}

.main-nav ul li a {
    text-decoration: none;
    margin-bottom: 10px;
    padding: 5px 5px;
    display: block;
}

.main-nav ul li:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #009edf;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    padding: 10px;
    font-size: 10px;
    text-decoration: none;
    display: block;
}

.dropdown-content p {
    color: #d5eceffd;
    font-size: 15px;
    font-family: poppins;
    margin-bottom: 0;
}

.dropdown-content p:hover {
    color: white;
}

.apply-button {
    background-color: blue;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

.apply-button:hover {
    background-color: white;
    color: green;
}

header {
    width: 100%;
}


/* Top bar */

.top-bar {
    background-color: #b51212;
    color: white;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: poppins;
}

.top-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-nav ul li {
    margin: 0 10px;
}

.top-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.social-icons {
    margin: 0px 100px 0px 10px;
}

.social-icons a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
    font-size: 16px;
}

@media only screen and (max-width: 767px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 100px;
    }
    .top-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    .top-nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .social-icons {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .main-navigation {
        margin-top: 10px;
        /* Example margin top */
        margin-left: 0;
        /* Remove left margin */
    }
    .main-navigation nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        /* Remove left margin */
    }
    .main-navigation nav ul.open {
        display: flex;
    }
}

@media only screen and (max-width: 767px) {
    .main-header {
        flex-direction: column;
        padding: 10px;
    }
    .main-header .main-nav {
        margin: 0;
    }
    .main-header .apply-button {
        margin-top: 10px;
    }
    .main-header .main-nav ul {
        flex-direction: column;
    }
    .main-header .main-nav ul li {
        width: 100%;
        margin-bottom: 5px;
    }
    .main-header .main-nav ul li .dropdown-content {
        position: static;
        display: none;
        background-color: #202020;
        box-shadow: none;
        margin-top: 5px;
    }
    .main-header .main-nav ul li:hover>.dropdown-content {
        display: block;
    }
}


/* Main header */

.main-header {
    background-color: #8ac441;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: book antiqua;
}

.logo {
    height: 80px;
}

.main-nav {
    margin-left: 500px;
}

@media only screen and (max-width: 600px) {
    .main-nav {
        margin-left: 0px;
    }
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 23px;
}

.apply-button {
    background-color: #009edf;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

.pagecontent {
    width: 100%;
    height: 2000px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #000;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
}

.footer-section {
    flex: 1;
    margin: 30px;
}

.footer-section h3 {
    margin-bottom: 30px;
    font-family: Book Antiqua;
    /* Serif font for headers */
    font-size: 25px;
    /* Font size for headers */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    /* Smooth transition */
    font-family: Arial, sans-serif;
    /* Sans-serif font for list items */
    font-size: 16px;
    /* Font size for list items */
}

.footer-section ul li a:hover {
    color: grey;
    /* Green color on hover */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    padding: 10px 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

.social-icons {
    display: flex;
}

.social-icons a {
    color: #28a745;
    /* Green color */
    margin: 0 5px;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
    /* Smooth transition */
}

.social-icons a:hover {
    color: white;
    /* Turn white on hover */
}