/* === RESET & VARIABEL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #0ea5e9;
    /* Ocean Cyan */
    --primary-dark: #0284c7;
    /* Deep Sea Blue */
    --primary-light: rgba(14, 165, 233, 0.12);

    --bg-light: #f0f9ff;
    /* Fresh Seafoam */
    --bg-dark: #021526;
    /* Deep Ocean Navy */
    --bg-dark-alt: #032b44;
    /* Underwater Navy Card */

    --text-main-light: #0f172a;
    /* Mariana Trench Dark Blue/Gray */
    --text-main-dark: #f8fafc;
    /* Light slate */
    --text-muted-light: #475569;
    /* Ocean mist gray */
    --text-muted-dark: #cbd5e1;

    --accent-cyan: #00f0ff;
    /* Bioluminescent Cyan */

    /* Default to Light Theme */
    --bg-color: var(--bg-light);
    --bg-alt: #ffffff;
    --text-main: var(--text-main-light);
    --text-muted: var(--text-muted-light);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* === THEME SYSTEM === */
.theme-light {
    --bg-color: var(--bg-light);
    --bg-alt: #ffffff;
    --text-main: var(--text-main-light);
    --text-muted: var(--text-muted-light);
    background-color: var(--bg-color);
    color: var(--text-main);
}

.theme-dark {
    --bg-color: var(--bg-dark);
    --bg-alt: var(--bg-dark-alt);
    --text-main: var(--text-main-dark);
    --text-muted: var(--text-muted-dark);
    background-color: var(--bg-color);
    color: var(--text-main);
}

/* === NAVIGASI === */
nav {
    position: fixed;
    top: 15px;
    left: 5%;
    width: 90%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(3, 43, 68, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main-light);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* === STRUKTUR SECTION UMUM === */
section {
    padding: 120px 10% 160px 10%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2c3 0 3-2 6-2s3 2 6 2 3-2 6-2 3 2 6 2' fill='none' stroke='%230ea5e9' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 24px 12px;
}

/* === 1. PROFIL & DESKRIPSI === */
#profil {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    min-height: 100vh;
    background: linear-gradient(180deg, #010a15 0%, #021a30 50%, #03203c 100%);
    padding: 180px 10% 180px 10%;
    position: relative;
    overflow: hidden;
}

.profile-img-container {
    position: relative;
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dekorasi frame gradient berputar saat hover */
.profile-img-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), #38bdf8, #0284c7, #7dd3fc);
    border-radius: 24px;
    transform: rotate(-6deg);
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25);
}

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid white;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover effects */
.profile-img-container:hover .profile-img {
    transform: scale(1.02) translate(-4px, -4px);
}

.profile-img-container:hover::before {
    transform: rotate(4deg) scale(1.04);
    filter: brightness(1.1);
}

.profile-text {
    max-width: 650px;
    text-align: left;
    z-index: 2;
}

.profile-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(to right, #00f0ff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.profile-text p {
    color: var(--text-muted-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Efek cursor mengetik berkedip */
.profile-desc.typing-active::after {
    content: '|';
    animation: blink-caret 0.75s step-end infinite;
    color: var(--accent-cyan);
    font-weight: bold;
    margin-left: 3px;
}

@keyframes blink-caret {

    from,
    to {
        color: transparent
    }

    50% {
        color: var(--accent-cyan);
    }
}


/* === 2. BIDANG KEAHLIAN === */
.keahlian-container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    width: 100%;
}

.keahlian-kolom {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sub-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.skills-stack {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.skill-card-v2 {
    background: var(--bg-alt);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.skill-card-v2.favorite-field {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-alt) 100%);
    border-left: 5px solid var(--primary-color);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    gap: 15px;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.skill-header .skill-icon {
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.skill-card-v2 h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
}

.skill-card-v2 p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.skill-card-v2.favorite-field:hover .skill-icon {
    transform: scale(1.15) rotate(5deg);
}

.skill-card-v2.favorite-field:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.15);
}

/* Keahlian Teknis Column Stack */
.tech-skills-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    background: #ffffff;
    border-color: var(--primary-color);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding-bottom: 10px;
}

.tech-icon {
    font-size: 1.6rem;
}

.tech-card h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.tech-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    font-weight: 500;
}

.tech-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.3rem;
    position: absolute;
    left: 5px;
    top: -3px;
}

/* === 3. PENGALAMAN ORGANISASI === */
#organisasi {
    position: relative;
    background-color: var(--bg-color);
    padding: 120px 10% 180px 10%;
    overflow: hidden;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 3px solid var(--primary-color);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding: 30px;
    border-radius: 16px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 33px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.timeline-item span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-item p {
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Gallery Foto Organisasi */
.org-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.org-photo-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.org-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.org-photo-wrapper:hover .org-photo {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* === 4. PORTOFOLIO KOMPETISI === */
.section-desc {
    text-align: center;
    max-width: 700px;
    margin: -35px auto 55px auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.theme-dark .section-desc {
    color: var(--text-muted-dark);
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.portfolio-card {
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 1px solid rgba(226, 232, 240, 0.6);
    border-right: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 5px;
    flex: 0 1 300px;
}

/* Gradient Aksen Garis Atas Dinamis untuk Vibes Semangat Kompetisi */
.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), #0284c7);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
}

.theme-dark .portfolio-card:hover {
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.2);
}

/* Badge Kompetisi */
.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
}

.badge-gold {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
}

.badge-cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.25);
}

.badge-purple {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}

.portfolio-category {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.theme-dark .portfolio-category {
    color: var(--text-muted-dark);
}

.portfolio-info {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.portfolio-card:hover h3 {
    color: var(--primary-dark);
}

.theme-dark .portfolio-card:hover h3 {
    color: var(--accent-cyan);
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.theme-dark .portfolio-info p {
    color: var(--text-muted-dark);
}

/* Tech Tags */
.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.theme-dark .portfolio-tags {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.portfolio-tags .tag {
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    transition: all 0.2s ease;
}

.theme-dark .portfolio-tags .tag {
    background: rgba(0, 240, 255, 0.06);
    color: var(--accent-cyan);
    border-color: rgba(0, 240, 255, 0.15);
}

.portfolio-card:hover .tag {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.theme-dark .portfolio-card:hover .tag {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-color: var(--accent-cyan);
}

#contact {
    position: relative;
    background-color: var(--bg-color);
    text-align: center;
    padding: 120px 10% 180px 10%;
    overflow: hidden;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-container p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
}

.contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
}

.btn-ig:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #f09433 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

/* === SCROLL REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variasi Slide dari Kiri dan Kanan */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* === FOOTER === */
/* === FOOTER === */
footer {
    background-color: #010a13;
    /* Deep Deep Navy */
    color: var(--text-muted-dark);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

/* === BUBBLE EFFECT === */
#ocean-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.25);
    animation: float-up 12s infinite linear, sway-bubble 4s infinite ease-in-out;
}

@keyframes float-up {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-110vh);
        opacity: 0;
    }
}

@keyframes sway-bubble {

    0%,
    100% {
        margin-left: 0;
    }

    50% {
        margin-left: 30px;
    }
}

/* === ANIMATED SAILBOAT === */
.ship-container {
    position: absolute;
    bottom: 50px;
    /* Sits right on the waves */
    left: -80px;
    width: 60px;
    height: 60px;
    z-index: 6;
    /* Just above waves */
    pointer-events: none;
    transform-origin: bottom center;
    animation: ship-bob 3s infinite ease-in-out, ship-sail 45s infinite linear;
}

/* === WHALE ANIMASI (seperti kapal layar, di section organisasi) === */
.whale-container {
    position: absolute;
    bottom: 60px;
    left: -120px;
    width: 100px;
    height: 100px;
    z-index: 1;
    pointer-events: none;
    transform-origin: center center;
    animation: whale-bob 4s infinite ease-in-out, whale-sail 50s infinite linear;
}

.whale-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    opacity: 0.7;
}

/* Whale ke-2: lebih kecil, lebih tinggi, lebih lambat */
.whale-container--2 {
    bottom: 200px;
    width: 70px;
    height: 70px;
    animation: whale-bob 5s infinite ease-in-out, whale-sail 70s 10s infinite linear;
}

.whale-container--2 .whale-img {
    opacity: 0.45;
}

/* Bobbing naik-turun seperti kapal */
@keyframes whale-bob {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

/* Berlayar dari kiri ke kanan seperti kapal */
@keyframes whale-sail {
    0% {
        left: -120px;
    }

    100% {
        left: 105%;
    }
}

/* Ensure organisasi content stays ON TOP of whales */
#organisasi .section-title,
#organisasi .timeline {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .whale-container {
        width: 70px;
        height: 70px;
        bottom: 40px;
        animation: whale-bob 4s infinite ease-in-out, whale-sail 35s infinite linear;
    }

    .whale-container--2 {
        width: 50px;
        height: 50px;
        bottom: 140px;
        animation: whale-bob 5s infinite ease-in-out, whale-sail 50s 8s infinite linear;
    }
}


.ship {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes ship-bob {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-6px) rotate(5deg);
    }
}

@keyframes ship-sail {
    0% {
        left: -80px;
    }

    100% {
        left: 105%;
    }
}

/* === WAVE SYSTEM === */
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.waves {
    position: relative;
    width: 100%;
    height: 80px;
    min-height: 50px;
    max-height: 100px;
    display: block;
}

.parallax>use {
    animation: move-forever 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.parallax>use:nth-child(2) {
    animation-delay: -4s;
    animation-duration: 12s;
}

.parallax>use:nth-child(3) {
    animation-delay: -6s;
    animation-duration: 16s;
}

.parallax>use:nth-child(4) {
    animation-delay: -8s;
    animation-duration: 22s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* === GLASSMORPHISM & CARD STYLINGS === */
.theme-dark .skill-card-v2,
.theme-dark .tech-card,
.theme-dark .portfolio-card,
.theme-dark .timeline-item {
    background: rgba(3, 43, 68, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.theme-dark .skill-card-v2:hover,
.theme-dark .tech-card:hover,
.theme-dark .portfolio-card:hover,
.theme-dark .timeline-item:hover {
    background: rgba(3, 43, 68, 0.6);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.theme-dark .timeline-item::before {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.theme-dark .sub-title {
    border-left-color: var(--accent-cyan);
}

/* === RESPONSIVE STRATEGY === */
@media (max-width: 768px) {
    nav {
        width: 94%;
        left: 3%;
        padding: 10px 20px;
    }

    nav ul {
        display: none;
        /* Hide menu text on mobile */
    }

    section {
        padding: 100px 5% 120px 5%;
    }

    #profil {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        min-height: auto;
        padding: 140px 5% 120px 5%;
    }

    .profile-img-container {
        width: 260px;
        height: 260px;
        margin: 0 auto 10px auto;
    }

    .profile-img {
        border-radius: 20px;
    }

    .profile-text {
        text-align: center;
    }

    .profile-text h1 {
        font-size: 2rem;
    }

    .keahlian-container {
        flex-direction: column;
        gap: 35px;
    }

    .waves {
        height: 50px;
    }

    .ship-container {
        bottom: 30px;
        /* Sits lower on smaller waves */
        width: 40px;
        height: 40px;
        animation: ship-bob 3s infinite ease-in-out, ship-sail 30s infinite linear;
    }
}