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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    padding-top: 60px; /* Give space to make room for the fixed navbar */
}

header {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.8;
}

header {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

header p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.8;
}

header.thin-header {
    height: 120px;
}

nav {
    position: fixed; /* Keep the navigation at the top of the page */
    top: 0;
    left: 0;
    right: 0;
    background-color: #121212; /* Transparent background for fixed navbar */
    z-index: 1000; /* Ensure the navbar is above other content */
    padding: 15px;
    text-align: center;
}

nav ul {
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 10px;
    font-size: 1.2em;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00bcd4;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #eaeaea;
    cursor: pointer;
    position: fixed; /* Keep the navigation at the top of the page */
    top: 0;
    left: 0;
    right: 0;
    background-color: #121212; /* Transparent background for fixed navbar */
    z-index: 1000; /* Ensure the navbar is above other content */
    padding: 15px;
    text-align: center;
}

.section {
    padding: 60px 80px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 700;
}

.section p {
    font-size: 1.1em;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section a:hover {
    color: #00bcd4;
}

.justified {
    padding: 60px 80px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.6;
}

.justified h2 {
    text-align: center;
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 700;
}

.justified p {
    font-size: 1.1em;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.justified a {
    color: #05a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.justified a:hover {
    color: #00bcd4;
}

.justified ul {
    padding-left: 40px; /* Indentation for the bullets */
    list-style-type: disc; /* Use the default bullet points */
    font-size: 1.1em;
    margin-bottom: 40px;
}

.justified li {
    padding-left: 20px;
}

.circle-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.rounded-rectangle {
    width: 300px;
    height: 300px;
    overflow: hidden;        /* Ensures content does not overflow the container */
    border-radius: 20px;     /* Apply rounded corners */
    border: 1px solid #999;
    justify-content: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rounded-rectangle img {
    width: 100%;             /* Make image fill the container */
    height: 100%;            /* Make image fill the container */
    object-fit: cover;       /* Ensures the image covers the whole container without stretching */
}

footer {
    position: fixed; /* Keep the navigation at the bottom of the page */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f1f1f;
    color: #e0e0e0;
    padding: 20px 20px;
    text-align: center;
}

footer p {
    margin-bottom: 20px;
}

.social-icons a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.4em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00bcd4;
}

/* Media Queries for Mobile Responsiveness */

/* For small devices like smartphones in portrait mode */
@media (max-width: 650px) {
    body {
        padding-top: 60px; /* Adjust to account for fixed navbar */
    }

    header {
        flex-direction: column;
        align-items: center;
        height: 400px;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1.1em;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }
      
    nav ul li {
        margin: 10px 0;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .social-icons a {
        color: #e0e0e0;
        text-decoration: none;
        font-size: 1em;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

    .section {
        padding: 40px 20px;
    }
    
    .justified {
        padding: 40px 20px;
    }

    footer {
        padding: 20px 20px;
    }
}

/* For tablets and small laptops */
@media (max-width: 800px) {
    body {
        padding-top: 60px; /* Adjust to account for fixed navbar */
    }

    header h1 {
        font-size: 2.3em;
    }

    header p {
        font-size: 1.2em;
    }

    nav a {
        color: #e0e0e0;
        text-decoration: none;
        margin: 10px;
        font-size: 1.0em;
        font-weight: 500;
        display: inline-block;
        transition: color 0.3s ease;
    }
    
    .social-icons a {
        color: #e0e0e0;
        text-decoration: none;
        font-size: 1.1em;
        margin: 0 15px;
        transition: color 0.3s ease;
    }
}

/* For large desktops */
@media (min-width: 1024px) {
    body {
        padding-top: 60px; /* Adjust to account for fixed navbar */
    }

    header h1 {
        font-size: 3.5em;
    }

    header p {
        font-size: 1.5em;
    }
}

