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

body {
    font-family: Arial, sans-serif;
    background-color: #F8F9FA; /* Light Gray background */
    color: #34495E; /* Dark Gray text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #34495E;
    color: white;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Allows absolute positioning of the button */
}

header .container {
    display: flex;
    justify-content: center; /* Center the title */
    align-items: center; /* Vertically center items */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    flex-direction: column;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.back-button {
    position: fixed; /* Position the button at the top-left */
    left: 20px;
    top: 20px;
    padding: 8px 16px;
    background-color: #1ABC9C;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
}

header .back-button:hover {
    background-color: #16A085;
}


nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
    color: #1ABC9C; /* Teal color for hover */
}

nav ul li a.active {
    color: #1ABC9C;
    text-decoration: underline;
}

main {
    padding: 40px 0;
    background-color: white;
    flex: 1;
}

.intro {
    text-align: center;
    padding: 50px 0;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.intro button {
    padding: 10px 20px;
    font-size: 1.1rem;
    background-color: #1ABC9C; /* Teal button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.intro button:hover {
    background-color: #16A085; /* Slightly darker teal */
}


.features {
    padding: 40px 0;
    background-color: #F8F9FA; /* Light Gray background for features */
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.feature-box {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.feature {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

footer {
    background-color: #2C3E50; /* Dark Blue footer */
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    font-size: 1rem;
}

/* Mobile responsiveness (max-width: 768px) */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .intro h2 {
        font-size: 1.8rem;
    }

    .intro p {
        font-size: 1.1rem;
    }

    .feature-box {
        flex-direction: column;
        gap: 20px;
    }

    .feature {
        width: 100%;
    }
}

/* Tablet responsiveness (max-width: 1024px) and (min-width: 769px) */
@media (max-width: 1024px) and (min-width: 769px) {
    header h1 {
        font-size: 2.2rem;
    }

    .feature-box {
        flex-direction: row;
        justify-content: space-between;
    }

    .feature {
        width: 30%;
    }
}

/* Large screens (min-width: 1200px) */
@media (min-width: 1200px) {
    .container {
        width: 80%;
    }
}
