/* =========================================
   RESET & DASAR
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #48b6e9;
    color: #222;
    line-height: 1.7;
}

/* =========================================
   HEADER / NAVIGASI
========================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 6%;
    background: #111111;
    border-bottom: 3px solid #3b82f6;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    padding: 10px 14px;
    border-radius: 6px;

    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
    background: #2563eb;
    transform: translateY(-2px);
}

/* =========================================
   HERO / BANNER
========================================= */

.hero {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background:
        linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.80)),
        url("kegiatan-lab.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.35),
            rgba(0, 0, 0, 0.75)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 30px;
    animation: fadeUp 1s ease;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 60px);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero-content h1:nth-child(2) {
    color: #3b82f6;
}

.hero-content p {
    max-width: 750px;
    margin: 25px auto 0;

    font-size: 16px;
    color: #eeeeee;
}

/* =========================================
   CONTAINER / SECTION
========================================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 6%;
}

.container h2 {
    position: relative;

    margin-bottom: 45px;

    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #111111;
}

.container h2::after {
    content: "";

    display: block;
    width: 70px;
    height: 4px;

    margin: 12px auto 0;

    background: #2563eb;
    border-radius: 10px;
}

.bg-light {
    max-width: none;
    background: #f5f5f5;
}

.bg-light > h2,
.bg-light > .profile-card,
.bg-light > .video-container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   PROFILE CARD
========================================= */

.profile-card {
    display: flex;
    align-items: center;
    gap: 50px;

    background: #ffffff;
    padding: 35px;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    border-left: 6px solid #2563eb;

    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.13);
}

.profile-card.reverse {
    border-left: none;
    border-right: 6px solid #2563eb;
}

.profile-img {
    width: 35%;
    height: 35%;
    flex-shrink: 0;

    object-fit: cover;

    border-radius: 15px;

    border: 5px solid #eeeeee;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    margin-bottom: 5px;

    font-size: 27px;
    color: #111111;
}

.title-role {
    margin-bottom: 18px;

    font-weight: 600;
    color: #2563eb;
}

.profile-text p:last-child {
    color: #555555;
    text-align: justify;
}

/* =========================================
   GALERI KEGIATAN
========================================= */

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    overflow: hidden;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);

    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 240px;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item p {
    padding: 20px;

    font-size: 15px;
    font-weight: 600;
    color: #333333;

    text-align: center;
}

/* =========================================
   VIDEO
========================================= */

.video-container {
    position: relative;

    width: 100%;
    max-width: 1000px;

    margin: auto;

    overflow: hidden;

    border-radius: 15px;

    background: #000000;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.20);

    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: none;
}

/* =========================================
   FOOTER
========================================= */

footer {
    position: relative;

    padding: 70px 6% 25px;

    background: #111111;
    color: #ffffff;

    text-align: center;
}

footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #2563eb;
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-content h3 {
    margin-bottom: 15px;

    font-size: 28px;
    color: #ffffff;
}

.footer-content > p {
    color: #bbbbbb;
}

.contact-info {
    margin: 30px 0;

    padding: 25px;

    background: #1c1c1c;

    border-radius: 12px;

    border: 1px solid #333333;
}

.contact-info p {
    margin: 10px 0;
    color: #dddddd;
}

.contact-info strong {
    color: #3b82f6;
}

.copyright {
    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid #333333;

    font-size: 13px;
    color: #777777 !important;
}

/* =========================================
   ANIMASI
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 900px) {

    header {
        flex-direction: column;
        gap: 12px;
        padding: 12px 4%;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .hero {
        min-height: 550px;
    }

    .profile-card,
    .profile-card.reverse {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-right: none;
        border-top: 5px solid #2563eb;
    }

    .profile-text p:last-child {
        text-align: center;
    }

    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   RESPONSIVE HP
========================================= */

@media (max-width: 600px) {

    header {
        position: relative;
    }

    .logo {
        width: 48px;
        height: 48px;
    }

    nav ul {
        gap: 4px;
    }

    nav ul li a {
        font-size: 11px;
        padding: 7px 8px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .container {
        padding: 55px 5%;
    }

    .container h2 {
        font-size: 25px;
        margin-bottom: 30px;
    }

    .profile-card {
        padding: 25px 20px;
        gap: 25px;
    }

    .profile-img {
        width: 190px;
        height: 190px;
    }

    .profile-text h3 {
        font-size: 22px;
    }

    .profile-text p {
        font-size: 14px;
    }

    .grid-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    footer {
        padding: 55px 5% 20px;
    }

    .footer-content h3 {
        font-size: 22px;
    }

    .contact-info {
        padding: 20px 15px;
    }

    .contact-info p {
        font-size: 13px;
    }
}p