/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3{
    font-family: Cormorant;
    font-style: italic;
    font-size: 1.8rem;
}

h4, p, span{
    font-family: 'Mulish';
}

:root {
    --bg-deep: #030a16;
    --bg-card: rgba(6, 22, 46, 0.6);
    --border-glow: rgba(0, 210, 255, 0.2);
    --text-main: #ffffff;
    --text-muted: #8fa0ba;
    --neon-blue: #00d2ff;
    --neon-glow: 0 0 15px rgba(0, 210, 255, 0.4);
}

body {
    background-color: var(--var-bg-deep, #030b18);
    color: var(--text-main);
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #082142 0%, #030b18 70%);
}

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #013d75, #007396);
  box-shadow: 0 0 10px rgba(14,165,233,0.6), 0 0 20px rgba(14,165,233,0.3);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    width: 95vw;
    border-radius: 80px;
    margin: 25px;
    margin-top: 15px;
    top: 0;
    z-index: 1000;

    background: rgba(85, 115, 160, 0.253);

    backdrop-filter: blur(8px);

    border-bottom: 2px solid rgba(255, 255, 255, 0.253);
}

.nav-container {
    height: 70px;

    padding: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
}

.nav-menu {
  display: flex;
  gap: 40px;
  margin-left: 40px;
}

.nav-menu a {
  text-decoration: none;
  font-family: 'Mulish';
  font-style: normal;

  color: #ffffff;

  transition: .3s;
}


.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--ocean);
  border-radius: 2px;
  width: 0;
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: #6cddff;
}

.nav-menu a:hover::after {
  width: calc(100% - 2rem);
}

.nav-menu a.active {
  color: #2e9ecc;
  font-weight: 600;
}

.nav-menu a.active::after {
  width: calc(100% - 2rem);
}


/* ================= SOUND ================= */
.sound-wrapper {
    position: relative;
    order: 1;
}


.sound-toggle {
    width: 110px;
    height: 44px;

    border: none;
    border-radius: 20px;
    padding: 10px;

    background: rgba(255, 255, 255, 0.795);

    color: #2e9ecc;

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition: .3s;
}

.sound-toggle:hover {
    transform: translateY(-3px);
}

.sound-popup {
    position: absolute;

    top: 70px;
    right: 0;

    width: 240px;

    padding: 18px;

    border-radius: 24px;

    background: rgba(255, 255, 255, .72);

    border: 1px solid rgba(255, 255, 255, .4);

    backdrop-filter: blur(20px);

    display: none;
    flex-direction: column;
    gap: 12px;

    box-shadow:
        0 10px 30px rgba(124, 199, 255, .18);
}

.sound-popup.active {
    display: flex;
}

.sound-header {
    padding-bottom: 8px;
}

.sound-header span {
    color: #0f4b68;
    font-weight: 600;
}

.sound-item {
    height: 48px;

    border: none;
    border-radius: 16px;

    background: rgba(255, 255, 255, .55);

    color: #21546b;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 18px;

    transition: .3s;
}

.sound-item:hover {
    background: #dff6ff;
}

.stop {
    background: #eef9ff;
}

/* ✅ STYLE POPUP KONFIRMASI */
.confirm-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.confirm-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.confirm-box {
  background: #fff;
  padding: 24px 30px;
  border-radius: 16px;
  text-align: center;
  color: #0f4b68;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.confirm-box p {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 15px;
}

.confirm-btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.confirm-btn {
  padding: 6px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.confirm-btn.yes {
  background: #2e9ecc;
  color: #fff;
}

.confirm-btn.no {
  background: #eee;
  color: #333;
}

/* ================= SOUND ================= */
.sound-wrapper {
    position: relative;
    order: 1;
}


.sound-toggle {
    width: 110px;
    height: 44px;

    border: none;
    border-radius: 20px;
    padding: 10px;

    background: rgba(255, 255, 255, 0.795);

    color: #2e9ecc;

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition: .3s;
}

.sound-toggle:hover {
    transform: translateY(-3px);
}

.sound-popup {
    position: absolute;

    top: 70px;
    right: 0;

    width: 240px;

    padding: 18px;

    border-radius: 24px;

    background: rgba(255, 255, 255, .72);

    border: 1px solid rgba(255, 255, 255, .4);

    backdrop-filter: blur(20px);

    display: none;
    flex-direction: column;
    gap: 12px;

    box-shadow:
        0 10px 30px rgba(124, 199, 255, .18);
}

.sound-popup.active {
    display: flex;
}

.sound-header {
    padding-bottom: 8px;
}

.sound-header span {
    color: #0f4b68;
    font-weight: 600;
}

.sound-item {
    height: 48px;

    border: none;
    border-radius: 16px;

    background: rgba(255, 255, 255, .55);

    color: #21546b;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 18px;

    transition: .3s;
}

.sound-item:hover {
    background: #dff6ff;
}

.stop {
    background: #eef9ff;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        flex-direction: column;

        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(18px);

        display: none;

        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 16px 20px;
        color: #0b4863;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    .hamburger {
        display: block;
        order: 2;
        border: none;
        background: transparent;
        color: whitesmoke;
        font-size: 25px;
    }

    .sound-wrapper {
        order: 1;
    }

}

@media (max-width:480px) {
    .navbar {
        max-width: 92vw;
        margin: 15px;
    }

    .logo img {
        width: 130px;
    }

    .sound-toggle {
        width: 100px;
        height: 42px;
        margin-left: -20px;
    }

}

/* =========================
   HERO
========================= */

.abyssoria-shell {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 90px 7%;
    z-index: 1;
}

.abyssoria-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom,
            transparent 60%,
            #030a16 100%);
}

/* =========================
   BACKGROUND IMAGE
========================= */

.virelith-backdrop {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transition:
        background-image 1s ease,
        transform 8s ease;

    transform: scale(1.05);

    z-index: 0;
}

/* =========================
   OVERLAY
========================= */

.nythera-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to right,
            rgba(2, 6, 23, 0.753) 15%,
            rgba(2, 6, 23, 0.541) 45%,
            rgba(2, 6, 23, 0.192) 100%);

    z-index: 1;
}

/* =========================
   CONTENT
========================= */

.thalessa-copyzone {
    position: relative;
    z-index: 5;

    width: 50%;
    color: white;
    padding-top: 40px;
}

.nerion-tag {
    color: #38bdf8;

    letter-spacing: 5px;
    font-size: 0.9rem;
}

.pelagis-heading {
    margin-top: 14px;

    font-size: 4rem;
    line-height: 1.05;
}

.pelagis-heading span {
    display: block;
    color: #38bdf8;
}

.nautiline-divider {
    width: 80px;
    height: 3px;

    margin: 20px 0;

    border-radius: 999px;

    background: #38bdf8;
}

.ceruleth-text {
    max-width: 580px;

    line-height: 1.9;
    font-size: 1rem;

    color: rgba(255, 255, 255, 0.78);
}

/* =========================
   CARDS
========================= */

.orvessa-grid {
    display: flex;
    gap: 10px;

    margin-top: 30px;
    width: 760px;
    height: 200px;

    padding: 25px;

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(3px);

    border:
        1px solid rgba(255, 255, 255, 0.08);
}

.lumis-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color: #38bdf8;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.08);
}

.velmora-node h3 {
    margin-bottom: 0;
}

.velmora-node p {
    line-height: 1.7;
    width: 240px;

    color:
        rgba(255, 255, 255, 0.7);
    font-size: .9rem;
}

/* =========================
   ARROWS
========================= */

.mythara-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 62px;
    height: 62px;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    z-index: 10;

    color: white;

    background:
        rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);
}

.mythara-prev {
    left: 25px;
}

.mythara-next {
    right: 25px;
}

/* =========================
   DOTS
========================= */

.solunex-dots {
    position: absolute;

    left: 50%;
    bottom: 35px;

    transform: translateX(-50%);

    display: flex;
    gap: 12px;

    z-index: 10;
}

.solunex-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.3);

    cursor: pointer;
}

.solunex-dot.active {
    background: #38bdf8;
}

/* =========================
   RESPONSIVE
========================= */

@media(min-width:769px) and (max-width: 1024px) {

    .thalessa-copyzone {
        width: 100%;
        top: 120px;
    }

    .pelagis-heading {
        font-size: 6.5rem;
    }

    .orvessa-grid {
        width: 850px;
        height: 300px;
        gap: 30px;
    }

    .lumis-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .velmora-node h3,
    .aq-desc-text,
    .aq-why-card h3,
    .aq-why-card p,
    .aq-desc-text-short,
    .aq-do-card h3,
    .aq-timeline-year,
    .aq-timeline-box h3,
    .aq-member-card h3,
    .aq-stats-row p {
        font-size: 2rem;
    }

    .velmora-node p,
    .aq-do-card p,
    .aq-modal-txt p {
        font-size: 1.2rem;
    }

    .aq-why-container {
        display: flex;
        flex-direction: column;
    }

    .aq-main-title {
        font-size: 4.5rem;
    }

    .aq-timeline-box p {
        font-size: 1.5rem;
        width: 300px;
    }

    .aq-timeline-box {
        height: 340px;
    }

    .aq-team-container {
        display: flex;
        flex-direction: column;
    }

    .aq-role {
        margin-top: 10px;
        font-size: 1.7rem;
    }
}

@media(max-width:768px) {

    .pelagis-heading {
        font-size: 2.6rem;
        width: 250px;
    }


    .thalessa-copyzone {
        width: 100%;
        padding-top: 0;
    }

    .orvessa-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        scroll-snap-type: x mandatory;
        width: 310px;
    }

    .orvessa-grid::-webkit-scrollbar {
        display: none;
    }

    .orvessa-grid {
        scrollbar-width: none;
    }

    .velmora-node {
        min-width: 78%;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 20px;
        padding-top: 0;
    }

    .mythara-arrow {
        top: unset;
        bottom: 75px;
        transform: none;
    }

    .mythara-prev {
        right: 50%;
        transform: translateX(85px);
    }

    .mythara-next {
        right: 50%;
        transform: translateX(65px);
    }
}

/* GLOBAL REUSABLE TYPOGRAPHY */
.aq-sub-title {
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
    text-shadow: var(--neon-glow);
}

.aq-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.aq-desc-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* SECTION 1: WHY WE EXIST */
.aq-why-section {
    padding: 6rem 5% 4rem 5%;
    background-image: url(whysection.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.aq-why-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
       #030a16, #00060e91, #030a16
    );
    pointer-events: none;
    z-index: 1;
}

.aq-why-container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.aq-why-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.aq-why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 7px #0aa9da62;
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.aq-why-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.aq-card-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.aq-why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.aq-why-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* SECTION 2: WHAT WE DO */
.aq-do-section {
    padding: 6rem 5%;
    position: relative;
    background: #061830;
}

.aq-do-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, transparent, #030a16);
}

.aq-do-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.aq-desc-text-short {
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.aq-do-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.aq-do-card {
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-glow);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.aq-do-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.aq-do-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    z-index: 2;
}

.aq-do-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aq-do-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

.aq-more-btn {
    display: inline-flex;
    margin-top: 1rem;
    width: 35px;
    height: 35px;
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    transition: all 0.3s;
}

.aq-do-card:hover .aq-do-card-bg {
    transform: scale(1.08);
}

.aq-do-card:hover {
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.aq-do-card:hover .aq-more-btn {
    background: var(--neon-blue);
    color: var(--bg-deep);
}

/* MODAL SYSTEM */
.aq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 10, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.aq-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.aq-modal-wrapper {
    background: #061830;
    border: 1px solid var(--neon-blue);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--neon-glow);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.aq-modal-overlay.active .aq-modal-wrapper {
    transform: scale(1);
}

.aq-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.aq-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 350px;
}

.aq-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aq-modal-txt {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aq-modal-txt h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.aq-modal-txt p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* SECTION 3: OUR JOURNEY */
.aq-journey-section {
    padding: 6rem 5%;
    position: relative;
}

.aq-journey-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, transparent 80%, #061830);
}

.aq-journey-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.aq-journey-header {
    text-align: right;
    margin-bottom: 4rem;
}

.aq-timeline-track {
    position: relative;
    padding: 2rem 0;
}

.aq-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--border-glow), var(--neon-blue), var(--border-glow));
    transform: translateX(-50%);
}

.aq-timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 50%;
}

.aq-timeline-item.aq-right {
    left: 50%;
    justify-content: flex-start;
}

.aq-timeline-dot {
    position: absolute;
    right: -6px;
    top: 15px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: var(--neon-glow);
    z-index: 2;
}

.aq-timeline-item.aq-right .aq-timeline-dot {
    left: -8px;
}

.aq-timeline-box {
    width: 100%;
    height: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(5px);
    margin: 30px;
}

.aq-timeline-year {
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.aq-timeline-box h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.aq-timeline-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    width: 200px;
}

/* SECTION 4: PEOPLE BEHIND AQUARIA */
.aq-team-section {
    padding: 6rem 5%;
}

.aq-team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.aq-stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.aq-stats-row strong {
    font-size: 2rem;
    color: var(--neon-blue);
    display: block;
}

.aq-stats-row p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.aq-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.aq-member-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.aq-avatar-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 2px solid var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.aq-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aq-member-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    font-style: normal;
}

.aq-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.aq-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.aq-social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.aq-social-links a:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: var(--neon-glow);
    background: rgba(0, 210, 255, 0.05);
}

.aq-member-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
}

/* SECTION 5: OUTRO */
.aq-outro-section {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.aq-outro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.aq-outro-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.aq-outro-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.aq-outro-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.aq-outro-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.join-btn,
.invite-btn {
    padding: 14px 26px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    margin: 5px;
    font-weight: 500;
}

.join-btn {
    background: linear-gradient(135deg, #5fd4f8, #448efc);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
    color: #fff;
}

.join-btn:hover {
    transform: scale(1.05);
}

.invite-btn {
    border: 1px solid #f3bacd;
    background: linear-gradient(135deg, #ff8bcb, #4c8fe7);
    color: #fff;
}

.invite-btn:hover {
    transform: scale(1.05);
}

/* =====================================
         MODAL DASAR
         ===================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  padding: 20px;
}

.hidden {
  display: none;
}

/* =====================================
         FORM MODAL - DESAIN 2 PANEL
         ===================================== */
.form-modal-box {
  width: 820px;
  height: 520px;
  background: #c9e5ff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid #95cfff;
}

/* Panel Kiri - Gambar */
.form-left-panel {
  width: 40%;
  background: linear-gradient(135deg, #2d2b55, #1e1b4b);
  position: relative;
  overflow: hidden;
}

.form-left-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.form-left-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(51, 96, 133, 0.4);
}

/* Panel Kanan - Form */
.form-right-panel {
  width: 60%;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.form-title {
  font-size: 2.5rem;
  font-weight: 600;
  font-family: Cormorant;
  font-style: italic;
  color: #1e5275;
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Upload Foto */
.photo-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.photo-upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f0f4f8;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #475569;
  transition: all 0.2s;
}

.photo-upload-btn:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.photo-upload-btn i {
  font-size: 16px;
  color: #1c94cc;
}

#userPhoto {
  display: none;
}

/* Grid Input 3x3 */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  font-family: 'Mulish';
  color: #475569;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Mulish';
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
  background: #fff;
}

/* Gaya khusus dropdown */
.form-group select {
  cursor: pointer;
}

.form-group select option:checked {
  background: #7dd3fc;
  color: #0c4a6e;
}

/* Tombol Aksi */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.btn-back {
  padding: 10px 24px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-style: italic;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #f1f5f9;
}

.btn-submit {
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #2e93c2, #0284c7);
  font-size: 14px;
  font-style: italic;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* =====================================
         ID CARD MODAL (Tetap seperti sebelumnya)
         ===================================== */
.id-card {
  width: 480px;
  background: #fff;
  color: #222;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #333;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
  z-index: 10;
}

.close-btn:hover {
  opacity: 1;
}

.card-header {
  background: #013851;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
}

.card-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.card-logo {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #073b52;
  font-weight: bold;
  font-size: 14px;
}

.card-body {
  display: flex;
  gap: 25px;
  padding: 20px 18px;
  background: #fff;
  background-image: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 70%);
}

.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card-photo {
  width: 150px;
  height: 190px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #0ea5e9;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barcode {
  width: 100px;
  height: 30px;
  background: linear-gradient(90deg, #000 0%, #000 20%, transparent 20%, transparent 25%, #000 25%, #000 40%, transparent 40%, transparent 48%, #000 48%, #000 60%, transparent 60%, transparent 72%, #000 72%, #000 80%, transparent 80%, transparent 100%);
}

.card-right {
  flex: 1;
}

.card-title {
  font-family: 'Times New Roman', serif;
  font-size: 26px;
  font-weight: bold;
  font-style: italic;
  color: #0369a1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.data-row {
  font-size: 14px;
  margin: 4px 0;
  line-height: 1.6;
  font-style: italic;
}

.data-label {
  font-weight: 600;
  color: #475569;
  display: inline-block;
  width: 110px;
  font-size: 13px;
}

.quote {
  margin-top: 16px;
  font-size: 12px;
  color: #64748b;
  font-style: italic;
  line-height: 1.4;
}

/* =====================================
         INVITATION MODAL
         ===================================== */
.modal-box {
  width: 340px;
  background: #fff;
  color: #222;
  position: relative;
  padding: 28px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

.modal-box h2 {
  font-size: 20px;
  font-style: italic;
  color: #0369a1;
  text-align: center;
}

.modal-box input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
  background: #f8fafc;
  font-size: 14px;
  font-style: italic;
}

.modal-box input:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}

.submit-btn {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  cursor: pointer;
  font-weight: 500;
  font-style: italic;
  transition: 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* =====================================
   RESPONSIVE MOBILE
===================================== */
@media (max-width: 768px) {

  /* FORM MODAL */
  .modal {
    padding: 12px;
    align-items: center;
  }

  .form-modal-box {
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;

    flex-direction: column;
  }

  /* Panel gambar pindah ke atas */
  .form-left-panel {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
  }

  .form-right-panel {
    width: 100%;
    padding: 20px;
  }

  .form-title {
    font-size: 1.8rem;
    margin-bottom: 18px;
    text-align: center;
  }

  .photo-upload-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Tetap 2 kolom supaya tidak terlalu panjang */
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .form-group {
    width: 140px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group select {
    font-size: 13px;
    padding: 9px 10px;
  }

  .form-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .btn-back,
  .btn-submit {
    flex: 1;
  }

  /* =========================
     ID CARD
  ========================= */

  .id-card {
    width: 100%;
    max-width: 480px;

    /* Rasio tetap seperti desktop */
    aspect-ratio: 4 / 3;
  }

  .card-header {
    font-size: 10px;
    padding: 8px 12px;
  }

  .card-body {
    gap: 12px;
    padding: 12px;
  }

  .card-photo {
    width: 110px;
    height: 140px;
  }

  .barcode {
    width: 75px;
    height: 22px;
  }

  .card-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .data-row {
    font-size: 11px;
    line-height: 1.35;
  }

  .data-label {
    width: 72px;
    font-size: 10px;
  }

  .quote {
    margin-top: 10px;
    font-size: 9px;
  }

  .close-btn {
    font-size: 16px;
    top: 8px;
    right: 8px;
  }
}


/* ANIMASI */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width:768px) {
    .join-content {
        width: 350px;
    }

    .join-content h1 {
        width: 350px;
        font-size: 3rem;
    }

    .join-btn,
    .invite-btn {
        padding: 14px 10px;
    }
}


.aq-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.aq-btn-secondary:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: var(--neon-glow);
}

.aq-mini-footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE DESIGN (MOBILE & TABLET) */
@media (max-width: 992px) {
    .aq-why-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .aq-why-visual {
        min-height: 300px;
        height: 350px;
    }

    .aq-team-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .aq-timeline-box {
        margin: 0;
    }

    .aq-why-cards-grid {
        grid-template-columns: 1fr;
    }

    .aq-main-title {
        font-size: 2rem;
    }

    /* What We Do -> Responsive 2x2 */
    .aq-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aq-do-card {
        height: 320px;
    }

    /* Our Journey -> Responsive Center */
    .aq-journey-header {
        text-align: center;
    }

    .aq-timeline-line {
        left: 20px;
        transform: none;
    }

    .aq-timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 45px;
        padding-bottom: 2rem;
    }

    .aq-timeline-item.aq-right {
        left: 0;
    }

    .aq-timeline-dot {
        left: 14px !important;
        right: auto !important;
    }

    .aq-timeline-box {
        width: 100%;
        height: 200px;
    }

    /* People Behind -> Responsive 2x2 */
    .aq-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Outro */
    .aq-outro-title {
        font-size: 2.5rem;
    }

    .aq-outro-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    /* Modal Responsive */
    .aq-modal-body {
        grid-template-columns: 1fr;
    }

    .aq-modal-img {
        height: 200px;
    }

    .aq-modal-txt {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {

    .aq-do-grid,
    .aq-team-grid {
        grid-template-columns: 1fr;
        /* Full width di layar hp kecil */
    }
}

/* ================= FOOTER ================= */
.footer {
    padding: 90px 7% 30px;

    background: #00060e;
    margin-top: -40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 50px;
}

.footer-brand h3 {
    color: #0d4b66;

    margin-bottom: 18px;
}

.footer-brand p {
    color: #5f7d8d;

    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 18px;

    color: #0b4863;
}

.footer-links a {
    display: block;

    margin-bottom: 12px;

    color: #63808f;

    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icons a {
    font-size: 20px;

    color: #53cfff;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, .05);

    padding-top: 25px;

    text-align: center;

    color: #6f8d9b;
}

@media (max-width:768px){
    .footer-container{
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}