@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "DM Sans", sans-serif;

    background: #0f0f0f;

    color: white;

}


/* NAVBAR */

.navbar {

    width: 100%;

    padding: 25px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #222;

}


.logo {

    font-family: "Space Grotesk", sans-serif;

    font-size: 24px;

    font-weight: 700;

}


.logo span {

    color: #7c5cff;

}


.nav-text {

    color: #888;

    font-size: 14px;

}


/* HERO */

.hero {

    min-height: 85vh;

    display: flex;

    align-items: center;

    padding: 80px 10%;

}


.hero-content {

    max-width: 800px;

}


.hello {

    color: #7c5cff;

    font-size: 14px;

    letter-spacing: 3px;

    margin-bottom: 20px;

}


.hero h1 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 80px;

    line-height: 1.05;

    margin-bottom: 30px;

}


.hero h1 span {

    color: #7c5cff;

}


.description {

    color: #aaa;

    font-size: 18px;

    line-height: 1.7;

    max-width: 600px;

    margin-bottom: 40px;

}


/* BUTTON */

.btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 15px 25px;

    background: #7c5cff;

    color: white;

    text-decoration: none;

    border-radius: 8px;

    transition: 0.3s;

}


.btn:hover {

    transform: translateY(-3px);

    background: #6849e8;

}


/* ABOUT */

.about {

    padding: 100px 10%;

    background: #151515;

}


.section-title {

    margin-bottom: 50px;

}


.section-title p {

    color: #7c5cff;

    letter-spacing: 3px;

    font-size: 13px;

    margin-bottom: 10px;

}


.section-title h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 42px;

}


.about-content {

    max-width: 900px;

}


.about-content > p {

    color: #aaa;

    line-height: 1.8;

    font-size: 17px;

    margin-bottom: 40px;

}


/* INFO */

.info {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.info-card {

    background: #1c1c1c;

    padding: 25px;

    border-radius: 10px;

    border: 1px solid #252525;

}


.info-card span {

    display: block;

    color: #777;

    font-size: 13px;

    margin-bottom: 10px;

}


.info-card strong {

    font-size: 16px;

}


/* COURSE */

.course {

    padding: 100px 10%;

}


.course-card {

    background: #161616;

    border: 1px solid #252525;

    border-radius: 15px;

    overflow: hidden;

}


.course-header {

    padding: 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #252525;

}


.course-label {

    color: #7c5cff;

    font-size: 12px;

    letter-spacing: 2px;

}


.course-header h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 32px;

    margin: 10px 0;

}


.course-header p {

    color: #888;

}


.course-number {

    font-size: 50px;

    font-family: "Space Grotesk", sans-serif;

    font-weight: bold;

    color: #7c5cff;

    text-align: center;

}


.course-number span {

    display: block;

    font-size: 10px;

    letter-spacing: 2px;

    color: #777;

}


/* WEEK */

.week-list {

    padding: 20px;

}


.week-item {

    border-bottom: 1px solid #252525;

}


.week-button {

    width: 100%;

    padding: 22px 15px;

    background: transparent;

    border: none;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    font-size: 17px;

    text-align: left;

}


.week-button small {

    color: #7c5cff;

    margin-right: 15px;

    font-size: 13px;

}


.arrow {

    font-size: 24px;

    color: #777;

    transition: 0.3s;

}


/* DROPDOWN */

.week-content {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.4s ease;

}


.week-item.active .week-content {

    max-height: 300px;

}


.week-item.active .arrow {

    transform: rotate(45deg);

    color: #7c5cff;

}


/* TASK */

.task {

    background: #1e1e1e;

    margin: 0 15px 20px;

    padding: 20px;

    border-radius: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.task h4 {

    margin-bottom: 8px;

}


.task p {

    color: #888;

    font-size: 14px;

}


.pdf-button {

    padding: 10px 18px;

    background: #7c5cff;

    color: white;

    text-decoration: none;

    border-radius: 6px;

    font-size: 13px;

    transition: 0.3s;

}


.pdf-button:hover {

    background: #6849e8;

}


/* FOOTER */

footer {

    padding: 70px 10%;

    background: #111;

    border-top: 1px solid #222;

}


footer h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 32px;

}


footer h2 span {

    color: #7c5cff;

}


footer p {

    color: #777;

    margin-top: 10px;

}


.copyright {

    margin-top: 40px;

    font-size: 13px;

}


/* RESPONSIVE */

@media (max-width: 768px) {


    .hero h1 {

        font-size: 50px;

    }


    .info {

        grid-template-columns: 1fr;

    }


    .course-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

    }


    .course-number {

        text-align: left;

    }


    .nav-text {

        display: none;

    }


    .section-title h2 {

        font-size: 32px;

    }


    .task {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

}