html,
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
    margin: 0;
    padding: 0;
}

/* ========================= NAVBAR GLOBAL ========================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: visible !important;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.75rem;
    position: relative;
    z-index: 2;
}

/* Logo */
.logo-section img {
    height: 80px;
}

/* Glass Navbar Style */
.glass-nav {
    position: relative;
    overflow: visible !important;
    border-radius: 24px;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: liquidMove 14s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.nav-content {
    position: relative;
    z-index: 2;
}

@keyframes liquidMove {
    0% {
        transform: translate3d(-8%, -4%, 0) scale(1);
    }

    50% {
        transform: translate3d(6%, 4%, 0) scale(1.05);
    }

    100% {
        transform: translate3d(-4%, 2%, 0) scale(1.02);
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-menu a {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.075rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #0e586d;
}

.nav-links {
    position: relative;
}

/* Hover Highlight */
.nav-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 34px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.16);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.2),
        0 14px 30px rgba(15, 23, 42, 0.18);
    pointer-events: none;
    opacity: 0;
    transition:
        left 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
        width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.18s ease-out;
    z-index: 0;
}

.nav-links a {
    position: relative;
    z-index: 1;
}

/* Login Button */
.glass-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 2.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    background: radial-gradient(circle at 0% 0%, #42c0dd, #0e586d);
    box-shadow:
        0 10px 25px rgba(14, 88, 109, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(5, 34, 49, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        filter 0.2s ease;
    position: relative;
    z-index: 10;
}

.glass-btn-login:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 16px 35px rgba(14, 88, 109, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    filter: brightness(1.05);
}

.glass-btn-login:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 18px rgba(14, 88, 109, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* ===== AVATAR & DROPDOWN - FIXED VERSION ===== */
.avatar-wrapper-about {
    position: relative !important;
    z-index: 10005 !important;
}

/* Avatar Button */
.avatar-btn {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(14, 88, 109, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 10;
}

.avatar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(14, 88, 109, 0.5);
}

.avatar-btn:active {
    transform: scale(0.95);
}

/* Dropdown menu - TANPA ANIMASI */
#userMenu {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    margin-top: 12px !important;
    width: 160px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 0 6px !important;
    z-index: 99999 !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition: none !important;
    transform: none !important;
}

#userMenu.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dropdown-label {
    padding: 4px 14px 2px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
}

.dropdown-item {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 14px !important;
    background: transparent !important;
    font-size: 14px !important;
    cursor: pointer !important;
    border: none !important;
    color: #334155 !important;
    transition: background-color 0.2s ease !important;
}

.dropdown-item:hover {
    background-color: #f1f5f9 !important;
}

/* ========================= HERO SECTION ========================= */
.hero-section {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    text-align: center;
    background-color: #0f172a;
    background-image: url('../images/riauport-logoabout.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.about-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 600;
    max-width: 900px;
    color: #fff;
    margin: 0 auto;
}

/* ========================= CONTENT SECTION ========================= */
.content-section {
    max-width: 1200px;
    margin: 30px auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-column h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2d3748;
}

.content-column p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.highlight-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #2d3748;
    box-shadow: 0 10px 30px rgba(14, 88, 109, 0.08);
}

/* ========================= OUR TEAM MODERN SECTION ========================= */
.team-section-modern {
    background: #ffffff;
    padding: 3rem 1rem 3rem;
    width: 100%;
}

.team-modern-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.team-modern-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-modern-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.team-modern-subtitle {
    font-size: 1rem;
    color: #718096;
    font-weight: 400;
    margin: 0;
}

.team-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: end;
}

.team-modern-card {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.team-modern-card:nth-child(2) {
    margin-bottom: 20px;
}

.team-modern-card:hover {
    transform: translateY(-2px);
}

.team-modern-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
}

.team-modern-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Foto khusus untuk kartu pertama (Nurvia) */
.team-modern-card:nth-child(1) .team-modern-avatar img {
    transform: scale(1.1);
}

/* Foto khusus untuk kartu kedua (Handal) */
.team-modern-card:nth-child(2) .team-modern-avatar img {
    object-position: center 53%;
    transform: scale(1.25);
}

/* Foto khusus untuk kartu ketiga (Nur Lela) */
.team-modern-card:nth-child(3) .team-modern-avatar img {
    object-position: center 20%;
}

.team-modern-content {
    padding: 1rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    align-items: center;
    min-height: 190px;
}

.team-modern-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    text-align: center;
}

.team-modern-role {
    font-size: 0.75rem;
    color: #000000 !important;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
}

.team-modern-position {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    text-align: center;
}

/* Social Media Buttons */
.team-social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    justify-content: center;
    padding-top: 0.5rem;
}

.team-social-btn {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.team-social-btn.facebook:hover {
    background: linear-gradient(45deg, #d17d2d 0%, #c75a34 25%, #b92139 50%, #a91d5a 75%, #9a1573 100%);
}

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

.team-social-btn.twitter {
    background-color: #1da1f2;
}

.team-social-btn.twitter:hover {
    background-color: #0c85d0;
}

.team-social-btn.twitter:active {
    background-color: #1da1f2;
}

.team-social-btn.linkedin {
    background-color: #0077b5;
}

.team-social-btn.linkedin:hover {
    background-color: #005885;
}

.team-social-btn.linkedin:active {
    background-color: #0077b5;
}

.team-social-btn svg {
    width: 0.875rem;
    height: 0.875rem;
    fill: #ffffff;
}

.team-modern-info {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.team-modern-info p {
    font-size: 1rem;
    line-height: 1.65;
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: center;
}

.team-modern-info p:last-child {
    margin-bottom: 0;
}

/* ========================= FOOTER ========================= */
footer {
    margin-top: 0;
    padding-top: 80px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.social-links a:hover {
    background: #0e586d;
    transform: translateY(-1px);
}

.social-links a:hover svg {
    fill: #fff;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
    font-size: 14px;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) {
    .team-modern-grid {
        gap: 1.5rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .content-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
        margin: 40px auto;
    }

    .team-section-modern {
        padding: 2rem 1rem;
    }

    .team-modern-header {
        margin-bottom: 2rem;
    }

    .team-modern-title {
        font-size: 1.75rem;
    }

    .team-modern-subtitle {
        font-size: 0.9375rem;
    }

    .team-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .team-modern-info p {
        font-size: 0.9375rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* NAVBAR MOBILE */
    .navbar-container {
        padding: 1.25rem 1rem;
    }

    .nav-content {
        padding: 6px 16px;
        border-radius: 20px;
        height: 50px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        column-gap: 8px;
        align-items: center;
    }

    .glass-nav::before {
        content: none;
    }

    .logo-section img {
        height: 30px;
    }

    .nav-menu {
        justify-content: center;
        gap: 1.2rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .glass-btn-login {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        padding: 0;
        font-size: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
        background: #0e586d;
        box-shadow: 0 8px 20px rgba(14, 88, 109, 0.4);
    }

    .glass-btn-login::before {
        content: "In";
        font-size: 0.75rem;
        font-weight: 600;
    }

    .avatar-btn {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        justify-self: end;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .team-modern-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}