html,
body {
    background-color: rgba(0, 0, 0, 0.55);
}

* CONTENT */ .project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
}

.project-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
}

.project-hero {
    text-align: center;
    padding: 100px 20px 0px;
}

.project-details {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px 100px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin-bottom: 40px;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}

.project-description h2 {
    margin-top: 40px;
    margin-bottom: 10px;
}

.project-description ul {
    margin-left: 20px;
}


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

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f18, #1c1c2e);
    color: #f5f5f5;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
    color: #00f5d4;
}

.navbar a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

.navbar a:hover {
    color: #00f5d4;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.contact-icons a {
    font-size: 1.5rem;
}

.contact-icons a:hover {
    transform: scale(1.2);
}

.other-media {
    margin-top: 60px;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.media-item {
    overflow: hidden;
}

.media-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.media-item.video {
    grid-column: span 2;
}

.media-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.media-caption {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 6px;
}



.team-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member a {
    color: #00f5d4;
    text-decoration: none;
    font-weight: 500;
}

.team-member a:hover {
    text-decoration: underline;
}

.role {
    margin-left: 8px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* RESPONSIVE DESIGN */

@media (max-width: 1024px) {
    .navbar {
        padding: 20px 40px;
    }

    .projects {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {

    /* NAVBAR STACK */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* PROJECT SECTION PADDING */
    .projects {
        padding: 40px 20px;
    }

    /* GRID FULL WIDTH */
    .project-grid {
        grid-template-columns: 1fr;
    }

    /* CONTACT */
    .contact {
        padding: 60px 20px;
    }

    .hero-content {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 25px;
    }

    .hero-image {
        order: -1 !important;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .qr-section {
        justify-content: center;
    }

    .experience-card {
        flex-direction: column;
    }

    .exp-main {
        padding: 20px;
    }

    .exp-side {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
    }

    .company-logo {
        width: 120px;
        height: auto;
        margin: auto;
    }

    .navbar {
        flex-direction: row;
        /* keep horizontal */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .contact-icons {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .media-item.video {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .project-card img {
        height: 180px;
    }
}