* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background-color: #030712;
    color: #ffffff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}


/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #2b007b;
    padding: 15px 40px;
    padding-left: 180px;
    clip-path: polygon(
        0% 0%,
        180px 100%,
        100% 100%,
        100% 0%
    );
}


/* =====================================================
   NAVIGATION LINKS
   ===================================================== */

.nav_list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    gap: clamp(20px, 3vw, 50px);
}

.nav_link {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav_link:hover {
    opacity: 0.8;
}

.nav_item {
    color: #ffffff;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 16px;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
}


/* Vertical separator lines */

.nav_item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(
        -1 * (
            clamp(20px, 3vw, 50px) / 2
        )
    );
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 18px;
    background-color: #ffffff;
}


/* =====================================================
   LOGIN BUTTON
   ===================================================== */

.login-btn {
    margin-left: auto;
    background-color: #c2d1e0;
    color: #2b007b;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.login-btn:hover {
    background-color: #ffffff;
}


/* =====================================================
   SHARED SECTION LAYOUT
   ===================================================== */

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
}

.section-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 3px solid #a855f7;
    padding-bottom: 0.5rem;
}

.section-subtitle {
    color: #9ca3af;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}


/* =====================================================
   HOME / HERO
   ===================================================== */

.home-section {
    text-align: center;

    background:
        linear-gradient(
            rgba(3, 7, 18, 0.85),
            rgba(3, 7, 18, 0.85)
        ),
        url('../images/homepage/home.jpg')
        center / cover
        no-repeat;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.hero-logo-img {
    width: 400%;
    height: 400%;
    object-fit: contain;
}

.home-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-text {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
}


/* =====================================================
   ABOUT
   ===================================================== */

.about-section {
    background:
        linear-gradient(
            to bottom,
            #0f172a,
            #030712
        );
}

.about-card {
    background: rgba(30, 58, 138, 0.2);
    border: 1px solid rgba(30, 64, 175, 0.4);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.5);
}

.about-card p {
    font-size: 1.15rem;
    color: #dbeafe;
    line-height: 1.8;
}


/* =====================================================
   TEAM
   ===================================================== */

.team-section {
    background:
        linear-gradient(
            rgba(3, 7, 18, 0.9),
            rgba(3, 7, 18, 0.9)
        ),
        url('../images/homepage/ourteam.png')
        center / cover
        no-repeat;
}

.supervisor-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.supervisor-card {
    background: rgba(88, 28, 135, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 320px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #c084fc;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #9ca3af;
}

.avatar-large {
    width: 95px;
    height: 95px;
    border-width: 3px;
    color: #e9d5ff;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.role-badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e9d5ff;
}

.supervisor-card h3 {
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.role-desc {
    font-size: 0.85rem;
    color: #9ca3af;
}

.team-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(200px, 1fr)
        );
    gap: 1.5rem;
}

.team-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(126, 34, 206, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
}

.team-card h4 {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.2rem;
}

.student-id {
    font-size: 0.8rem;
    color: #c084fc;
}

.member-role {
    font-size: 0.8rem;
    color: #c084fc;
}


/* =====================================================
   OBJECTIVES
   ===================================================== */

.objectives-section {
    background:
        linear-gradient(
            rgba(3, 7, 18, 0.88),
            rgba(15, 23, 42, 0.88)
        ),
        url('../images/homepage/objective.png')
        center / cover
        no-repeat;
}

.grid-container {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );
    gap: 1.5rem;
}

.info-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.card-icon {
    font-size: 2rem;
    color: #c084fc;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #000000;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    border-top: 1px solid #111827;
}