* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

header {
    background: #f8f8f8;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav .logo {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    max-width: 200px; /* Fixed width for the logo */
    overflow: hidden; /* Hide overflow if text is too long */
    text-overflow: ellipsis; /* Show ellipsis (...) if text overflows */
    white-space: nowrap; /* Prevent text wrapping */
}

nav .menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 10px 0;
}

nav .nav-links li a:hover {
    color: #007BFF;
}

.responsive-section {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            background-color: lightgray;
            padding: 20px;
        }
        .responsive-section .text {
            flex: 1 1 50%;
            padding: 20px 20px 20px 40px;
        }
        .responsive-section .photo {
            flex: 1 1 50%;
            padding: 15px 0 10px 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .responsive-section .photo img {
            max-width: 100%;
            max-height: 250px;
            width: auto;
            height: auto;
            border-radius: 50%; /* Ensures the image is a perfect circle */
            clip-path: circle(40%);
        }
section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: padding 0.3s ease;
}

section h1 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
}

section h1::after {
    content: '';
    width: 50px;
    height: 2px;
    background: #007BFF;
    display: block;
    margin: 10px auto 0;
}

section h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
}

section h2::after {
    content: '';
    width: 50px;
    height: 2px;
    background: #007BFF;
    display: block;
    margin: 10px auto 0;
}

section p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
}

ul.degrees {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

ul.degrees li {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

ul.degrees li strong {
    display: block;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

ul.degrees li span {
    display: block;
    font-size: 16px;
    font-weight: 300;
    color: #666;
}

ul.degrees li .additional-info {
            color: #999; /* Even lighter color for more emphasis */
            font-style: italic; /* Italic text */
}

.link-span {
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 4px; /* Adjust the underline offset */
}

.link-span:hover {
    font-weight: bold;
    color: #333;
}

footer {
    background: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e7e7e7;
}

footer p {
    font-size: 14px;
    font-weight: 300;
}


@media (min-width: 768px) {
    nav .logo {
        max-width: none;
        width: auto;
    }
}

@media (max-width: 768px) {
.responsive-section {
                flex-direction: column;
            }
            .responsive-section .text, .responsive-section .photo {
                flex: 1 1 100%;
            }    

nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav .nav-links.active {
        display: flex;
    }

    nav .menu-icon {
        display: block;
    }

    nav .nav-links li {
        margin: 10px 0;
    }

    nav .nav-links li a {
        font-size: 18px;
    }

    section h2 {
        font-size: 28px;
    }

    section p {
        font-size: 16px;
    }

    ul.degrees li {
        font-size: 16px;
    }

    ul.degrees li strong {
        font-size: 18px;
    }

    ul.degrees li span {
        font-size: 14px;
    }

    nav .logo.hidden {
    display: none;
}
}
