body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin-left: 20px;
}

nav {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    width: 100%;
    background: linear-gradient(135deg, #4B0082, #6A0DAD);
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    margin-left: auto;
}

nav ul li {
    margin: 0 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.2em;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #EE82EE;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #EE82EE;
}

nav ul li a:hover::after {
    width: 100%;
}

.main-content {
    padding: 40px;
    max-width: 1000px;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(75, 0, 130, 0.1);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(106, 13, 173, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
}

.module-header {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    background: rgba(75, 0, 130, 0.15);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(106, 13, 173, 0.2);
}

.module-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #4B0082;
}

.module-header p {
    font-size: 1.2em;
    color: #666;
}

.section {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(106, 13, 173, 0.1);
    box-shadow: 0px 4px 10px rgba(106, 13, 173, 0.1);
}

.section-text {
    width: 70%;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #4B0082;
}

.section p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}

.section a {
    text-decoration: none;
    font-weight: 600;
    color: #6A0DAD;
    transition: color 0.3s ease;
}

.section a:hover {
    color: white;
}

.more-button {
    background: linear-gradient(135deg, #6A0DAD, #EE82EE);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.2s ease;
}

.more-button:hover {
    background: #4B0082;
    transform: scale(1.05);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .main-content {
        padding: 20px;
        margin-left: 20px;
    }

    .module-header h1 {
        font-size: 2.2em;
    }

    .section h2 {
        font-size: 1.7em;
    }
}