@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0284c7;
    --hover-color: #0369a1;
    --bg-color: #f0f8ff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* ================= BUBBLES ANIMATION ================= */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.bubbles span {
    position: absolute;
    bottom: -50px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 50%;
    animation: animateBubble linear infinite;
}
.bubbles span:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; }
.bubbles span:nth-child(2) { width: 60px; height: 60px; left: 30%; animation-duration: 12s; }
.bubbles span:nth-child(3) { width: 80px; height: 80px; left: 50%; animation-duration: 10s; }
.bubbles span:nth-child(4) { width: 30px; height: 30px; left: 70%; animation-duration: 6s; }
.bubbles span:nth-child(5) { width: 50px; height: 50px; left: 85%; animation-duration: 14s; }

@keyframes animateBubble {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--card-bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

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

/* ================= LOGO NAVBAR ================= */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(255,255,255,0.95);
    padding: 6px;
    border-radius: 50%;
    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.5),
        0 0 20px rgba(56, 189, 248, 0.3),
        0 4px 15px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
}

.nav-logo img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.8),
        0 0 30px rgba(56, 189, 248, 0.5),
        0 8px 20px rgba(0,0,0,0.18);
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ================= NAV USER ================= */
.nav-user {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--bg-color);
    border: 1.5px solid #e0f2fe;
    transition: var(--transition);
    user-select: none;
}

.nav-user-btn:hover {
    background: #dff6ff;
    border-color: var(--primary-color);
}

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-chevron {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.nav-chevron.open {
    transform: rotate(180deg);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1.5px solid #e0f2fe;
    min-width: 200px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999;
}

.nav-user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f0f8ff, #dff6ff);
    border-bottom: 1px solid #e0f2fe;
}

.nav-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-dropdown-header strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 700;
}

.nav-dropdown-role {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(2, 132, 199, 0.1);
    padding: 2px 8px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 2px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    font-size: 0.88rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-dropdown-item:hover {
    background: #f0f8ff;
    color: var(--primary-color);
    padding-left: 22px;
}

.nav-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #94a3b8;
}

.nav-dropdown-item:hover i {
    color: var(--primary-color);
}

.nav-dropdown-logout {
    border-top: 1px solid #f0f0f0;
    color: #ef4444;
}

.nav-dropdown-logout:hover {
    background: #fff5f5;
    color: #ef4444;
}

.nav-dropdown-logout i {
    color: #ef4444 !important;
}

.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.nav-login-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    color: white;
}

.menu { position: relative; cursor: pointer; }

.dropdown {
    position: absolute;
    top: 150%;
    left: 0;
    background: var(--card-bg);
    width: 180px;
    box-shadow: var(--shadow);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow: hidden;
}

.menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.dropdown a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
}

.dropdown a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ================= GLOBAL SECTIONS ================= */
section {
    padding: 80px 5%;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    position: absolute;
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* ================= HOME ================= */
#home {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)),
        url('../images/awal.png');

    background-size: cover; /* ubah ini */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #dff6ff;

    padding: 80px 5% 140px;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
    text-align: left;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

#home h1 {
    font-size: 3rem;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.hero-highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #38bdf8);
    border-radius: 2px;
}

#home p {
    font-size: 1.05rem;
    max-width: 520px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tag {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1.5px solid rgba(2, 132, 199, 0.25);
    transition: var(--transition);
}

.hero-tag:hover {
    background: var(--primary-color);
    color: #fff;
    cursor: default;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.hero-visual {
    flex: 0 0 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-blob-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #bae6fd, #0284c7);
    top: -30px;
    left: -20px;
    animation: blobFloat 6s ease-in-out infinite;
}

.hero-blob-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #dff6ff, #38bdf8);
    bottom: -20px;
    right: -10px;
    animation: blobFloat 8s ease-in-out infinite reverse;
}

@keyframes blobFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.05); }
}

.hero-illustration {
    position: relative;
    z-index: 1;
    width: 340px;
    height: 340px;
    animation: heroFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(2, 132, 199, 0.2));
}

.hero-illustration svg {
    width: 100%;
    height: 100%;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { align-items: center; }
    #home p { max-width: 100%; }
    .hero-visual { flex: none; width: 280px; height: 280px; }
    .hero-illustration { width: 280px; height: 280px; }
    .hero-blob-1 { width: 220px; height: 220px; }
    .hero-blob-2 { width: 160px; height: 160px; }
}

@media (max-width: 600px) {
    #home h1 { font-size: 2.1rem; }
    .btn-primary, .btn-secondary { padding: 12px 22px; font-size: 0.88rem; }
    .hero-visual { width: 240px; height: 240px; }
    .hero-illustration { width: 240px; height: 240px; }
}

.wave-divider {
    margin-top: -120px;
    pointer-events: none;
}

/* ================= SECTION SUBTITLE ================= */
.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 0;
}

/* ================= INFORMASI CARDS ================= */

/* Animasi glow berulang (breathing glow) */
@keyframes cardGlowPulse {
    0%, 100% {
        box-shadow:
            0 0 10px rgba(14, 165, 233, 0.28),
            0 0 22px rgba(14, 165, 233, 0.18),
            0 8px 24px rgba(0, 0, 0, 0.07);
    }
    50% {
        box-shadow:
            0 0 22px rgba(14, 165, 233, 0.55),
            0 0 44px rgba(14, 165, 233, 0.38),
            0 0 70px rgba(14, 165, 233, 0.18),
            0 12px 32px rgba(2, 132, 199, 0.15);
    }
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--card-bg);
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: left;
    transition: all 0.35s ease;

    /* border tipis biru untuk mempertegas efek glow */
    border: 1.5px solid rgba(14, 165, 233, 0.25);

    /* glow animasi terus-menerus */
    animation: cardGlowPulse 3s ease-in-out infinite;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.6);

    /* glow lebih kuat saat hover — override animasi */
    animation: none;
    box-shadow:
        0 0 24px rgba(14, 165, 233, 0.65),
        0 0 50px rgba(14, 165, 233, 0.40),
        0 0 80px rgba(14, 165, 233, 0.20),
        0 20px 40px rgba(2, 132, 199, 0.22);
}

/* Delay animasi agar ke-3 card tidak berdetak bersamaan */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 1s; }
.card:nth-child(3) { animation-delay: 2s; }

/* ---- Image wrapper — LEBIH KECIL ---- */
.card-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: white;

    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-img-wrapper img {
    transform: scale(1.07);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Card body */
.card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
    text-align: justify;
}

.card-link {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.card-link:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.40);
}

/* ================= BERITA — EDITORIAL LAYOUT ================= */
#berita {
    background: #f8fafc;
}

.news-layout {
    display: flex;
    gap: 24px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.news-featured {
    flex: 1 1 55%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(2, 132, 199, 0.15);
}

.news-featured-img {
    position: relative;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition);
}

.news-featured:hover .news-featured-img img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-color);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.news-featured-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.news-featured-body h3 {
    font-size: 1.35rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-featured-body p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-side {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-side-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    transition: var(--transition);
    flex: 1;
}

.news-side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}

.news-side-card img {
    width: 150px;
    min-width: 150px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-side-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    flex-grow: 1;
}

.news-side-body h4 {
    font-size: 0.98rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-side-body p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

.berita-link-text {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.berita-link-text:hover {
    color: var(--hover-color);
    letter-spacing: 0.3px;
}

@media (max-width: 820px) {
    .news-layout { flex-direction: column; }
    .news-featured-img img { height: 220px; }
    .news-side { flex-direction: row; flex-wrap: wrap; }
    .news-side-card { flex: 1 1 260px; flex-direction: column; }
    .news-side-card img { width: 100%; height: 150px; min-width: unset; }
}

/* ================= ABOUT TEAM ================= */
#about {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.member-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 50px;
}

/* Animasi glow berulang untuk member card */
@keyframes memberGlowPulse {
    0%, 100% {
        box-shadow:
            0 0 8px  rgba(14, 165, 233, 0.22),
            0 0 18px rgba(14, 165, 233, 0.14),
            0 6px 20px rgba(0, 0, 0, 0.07);
    }
    50% {
        box-shadow:
            0 0 18px rgba(14, 165, 233, 0.48),
            0 0 36px rgba(14, 165, 233, 0.30),
            0 10px 28px rgba(2, 132, 199, 0.14);
    }
}

.member-card {
    background: var(--card-bg);
    width: 220px;
    padding: 32px 20px 24px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;

    /* border biru tipis, TANPA border-bottom tebal */
    border: 1.5px solid rgba(14, 165, 233, 0.22);

    /* glow breathing */
    animation: memberGlowPulse 3.5s ease-in-out infinite;
}

.member-card:nth-child(1) { animation-delay: 0s; }
.member-card:nth-child(2) { animation-delay: 0.9s; }
.member-card:nth-child(3) { animation-delay: 1.8s; }
.member-card:nth-child(4) { animation-delay: 2.7s; }

.member-card:hover {
    transform: translateY(-10px);
    animation: none;
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow:
        0 0 22px rgba(14, 165, 233, 0.55),
        0 0 44px rgba(14, 165, 233, 0.32),
        0 18px 38px rgba(2, 132, 199, 0.18);
}

/* Ring foto — glow lembut biasa */
.member-img-ring {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    padding: 3px;
    margin-bottom: 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.45),
        0 0 22px rgba(56, 189, 248, 0.22);
    transition: box-shadow 0.35s ease;
}

.member-card:hover .member-img-ring {
    box-shadow:
        0 0 16px rgba(56, 189, 248, 0.65),
        0 0 32px rgba(56, 189, 248, 0.35);
}

.member-img-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    display: block;
}

.member-card h4 {
    font-size: 0.98rem;
    margin-bottom: 4px;
    color: var(--text-color);
    text-align: center;
    font-weight: 700;
}

.member-card .nim {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 0;
    flex-grow: 1;
    text-align: center;
}

.social-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

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

.social-btn.wa {
    background: #25d366;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* ================= CONTACT ================= */
.contact-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.contact-info-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 48px 52px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.15);
    border: 2px solid #e0f2fe;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-icon-large {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.contact-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-header p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.contact-method-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
    border-color: var(--primary-color);
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.contact-method-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-method-info strong {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 700;
}

.contact-method-info span {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
}

.contact-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
}

@media (max-width: 768px) {
    .contact-info-card { padding: 32px 24px; }
    .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .contact-header h3 { font-size: 1.5rem; }
    .contact-icon-large { font-size: 3rem; }
}

/* Legacy contact styles */
.contact-info-only {
    max-width: 780px;
    margin: 50px auto 0;
    background: linear-gradient(145deg, var(--primary-color), #0369a1);
    border-radius: 24px;
    padding: 48px 52px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.2);
    text-align: left;
    color: white;
}

.contact-info-only h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.contact-info-only > p {
    font-size: 0.95rem;
    color: #bae6fd;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-list li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-list li strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bae6fd;
}

.contact-list li span {
    font-size: 0.92rem;
    color: white;
    font-weight: 500;
}

@media (max-width: 600px) {
    .contact-info-only { padding: 32px 24px; }
    .contact-list { grid-template-columns: 1fr; }
}

/* ================= SUB PAGE (Hidung/Telinga dll) ================= */
.custom-table {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.custom-table th, .custom-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.custom-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover {
    background-color: var(--bg-color);
}

/* ================= UTILITY & RESPONSIVE ================= */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

@media (max-width: 768px) {
    nav { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    .card img { height: 180px; }
}

/* ================= FOOTER ================= */
footer {
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%);
    color: white;
    padding: 0;
    margin-top: 60px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.footer-top {
    width: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.footer-top img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
    object-fit: scale-down;
}

.footer-bottom {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.footer-logo {
    width: 400px;
    height: 80px;
    padding: 8px;
    flex-shrink: 0;
}

.footer-text {
    text-align: left;
}

.footer-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.footer-text p {
    font-size: 0.82rem;
    color: #bae6fd;
    line-height: 1.6;
}

.footer-text p a {
    color: inherit;
    text-decoration: none;
}
