@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background: #ffffff; 
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #4B0082, #6A0DAD);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    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%;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200vh;
    padding: 50px;
    margin-top: 50px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-text {
    max-width: 1100px;
    color: #666;
    background: rgba(106, 13, 173, 0.08); 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(106, 13, 173, 0.3); 
    text-align: center;
    margin-top: 20px;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #EE82EE; 
    animation: slideIn 1s ease-in-out;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #555; 
}

.btn {
    background: linear-gradient(135deg, #4B0082, #8B008B); 
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 15px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #6A0DAD, #EE82EE);
    transform: scale(1.05);
}

.module-header {
    background: rgba(75, 0, 130, 0.15);
    color: #4B0082;
    padding: 20px;
    text-align: center;
    margin-top: 90px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(106, 13, 173, 0.2);
    width: 90%;
    max-width: 1000px;
}

.module-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4B0082;
}

.module-header p {
    font-size: 18px;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 40px 20px;
    }

    .hero-text {
        width: 100%;
    }

    nav {
        flex-direction: column;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }

    .module-header {
        width: 95%;
    }
}
