:root {
    --primary-color: #ff69b4; /* Hot pink */
    --secondary-color: #32cd32; /* Lime green */
    --background-color: #f4f4f4;
    --text-color: #333;
    --header-footer-color: #000; /* Black */
    --header-height: 60px;
    --title-font-size: 10vw;
    --paragraph-font-size: 1.2rem;
    --overlay-background-color: rgba(255, 105, 180, 0.8); /* Hot pink with opacity */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    position: fixed;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-footer-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

h1 {
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#intro {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

.intro-content {
    position: relative;
    width: 100%;
    z-index: 1;
   
    align-items: center;
}

.intro-dialog {
    
    position: relative;
    width: 50%;
    margin: 20px auto ;
    background-color: var(--primary-color);
    padding: 3rem ;
    font-size: 30px!important;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
   
    font-size: var(--paragraph-font-size);
}

.intro-dialog p {
    margin: 0;
}

#intro h1 {
    font-size: var(--title-font-size);
    line-height: 150px;
    
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
}



.student-section {
    background-color: #f9f9f9; /* Off-white */
    color: var(--text-color);
    padding: 20px;
    border-bottom: 2px solid var(--primary-color); /* Highlight border */
    margin: 20px 0;
}

.student-section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.student-section article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.student-section p {
    margin: 10px 0;
    font-size: var(--paragraph-font-size);
}

.student-section img {
    margin-top: 10px;
    border: 2px solid var(--primary-color); /* Highlight border */
    border-radius: 5px;
}

hr {
    border: 1px solid var(--primary-color); /* Highlight horizontal rule */
    margin: 20px 0;
}

.student-content {
    width:80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.student-section p {
    width: 50%;
    text-align: left;
}

.student-images {
        flex: 1;
        width: 70%;
        display: grid;
        margin: auto;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
        gap: 10px;
    }

.student-images img {
    width: 100%;
    height: auto;
}

.student-images img:hover {
   border: solid 8px var(--primary-color);
   transform: scale(1.05);
   transition: transform 0.3s ease-in-out;
}

@media (min-width: 769px) {
    .student-content {
        flex-direction: row;
        text-align: left;
    }

    .student-images {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .student-content p {
        flex: 1;
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: var(--header-height);
        left: 0;
        background-color: var(--header-footer-color);
    }

    .nav-list li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-list.active {
        display: flex;
    }

    #intro {
        flex-direction: column;
        padding: 10px;
    }

    .intro-content {
        width: 100%;
        padding: 10px;
    }

    #intro h1 {
        font-size: 8vw; /* Adjust title size for smaller screens */
        line-height: 1.2;
        text-align: center;
    }

    .intro-dialog {
        width: 90%; /* Reduce dialog width for better fit */
        margin: 10px auto;
        padding: 1.5rem;
        font-size: 1rem; /* Adjust font size for readability */
    }

    .intro-dialog p {
        text-align: center;
        line-height: 1.5; /* Improve line spacing */
    }
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
}

nav a:hover {
    background: #e8491d;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

footer {
    background: #35424a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}