/* ========================
   BLAST TOP UP — HOMEPAGE
   ======================== */

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --red: #cc2929;
    --red-light: #e63333;
    --red-dark: #8b1a1a;
    --gold: #d4a017;
    --white: #ffffff;
    --text: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    --border: rgba(255, 255, 255, 0.08);
    --font: 'Kanit', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ======================== RESET ======================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
    background: none;
}

ul { list-style: none; }

/* ======================== PRELOADER ======================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo img {
    height: 36px;
    width: auto;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    border-radius: var(--radius);
    animation: loadBar 1s ease forwards;
}

@keyframes loadBar {
    0% { width: 0; }
    60% { width: 80%; }
    100% { width: 100%; }
}

/* ======================== UTILITIES ======================== */

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

.text-red {
    color: var(--red);
}

.text-white {
    color: var(--white);
}

.italic {
    font-style: italic;
}

.center {
    text-align: center;
}

.gap-10{
    gap: 10px;
}

/* ======================== SECTION COMMON ======================== */

.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.section-header .center{
    display: flex;
    align-items: center;
}

.section-header .line{
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.50);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.section-title.center {
    justify-content: center;
}

.title-line {
    display: inline-block;
    width: 80px;
    height: 2px;
    background: var(--red);
    vertical-align: middle;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--text-sub);
    font-weight: 400;
}

.section-subtitle.center {
    text-align: center;
}

/* ======================== NAVBAR ======================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    height: 24px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-menu a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-sub);
    transition: var(--transition);
    letter-spacing: 0.03em;
}

.navbar-menu a.active {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.navbar-menu a:hover {
    color: var(--white);
}

.navbar-actions {
    display: flex;
    align-items: center;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--red);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--red-light);
}

.btn-login i {
    font-size: 0.9rem;
}

/* User Profile Navbar Item */
.btn-user-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 16px 4px 4px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-user-profile:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.nav-ava {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-user-profile-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 16px 4px 4px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 12px 20px;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-sub);
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--white);
}

.btn-login-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--red);
    color: var(--white) !important;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 24px;
    margin-top: 8px;
}

.btm-right{
    position: absolute;
    bottom: 0;
    right: 0;
    
}
.top-left{
    position: absolute;
    top: 0;
    left: 0;
    
}

/* ======================== HERO ======================== */

.hero {
    position: relative;
    overflow: hidden;
    margin-top: 64px;
}

.hero .inner {
    position: relative;
}

.hero-bg {
    position: relative;
    width: 100%;
}

.hero-bg img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    ); */
    z-index: 1;
}

.hero .container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.hero-content {
    max-width: 550px;
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-title-italic {
    display: block;
    text-shadow: 0 10px 4px rgba(0, 0, 0, 0.25);
    font-size: 5.625rem;
    font-weight: 700;
    font-style: italic;
    color: var(--red);
    line-height: 1.1;

    background: linear-gradient(178deg, #E50913 23.85%, #A10101 96.49%, rgba(161, 1, 1, 0.40) 266.19%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.hero-title-bold {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.6;
    max-width: 480px;
    text-align: center;
}

/* ======================== LAYANAN TOPUP ======================== */

.layanan-topup {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.game-card {
    position: relative;
    text-align: center;
    transition: var(--transition);

    display: flex;
    padding: 12px 12px 24px 12px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1 0 0;

    border-radius: 8px;
    border: 0.7px solid #E50913;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card-img {
    position: relative;
    aspect-ratio: 262 / 221;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}

.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    /* padding: 6px 18px; */
    border-radius: 8px;
    background: linear-gradient(179deg, #E50913 0.48%, #7F050B 182.07%);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
    z-index: 2;
    transition: var(--transition);
    white-space: nowrap;

    display: flex;
    /* width: 127px;x */
    /* height: 60px; */
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.game-card-btn:hover {
    background: var(--red-light);
}

.game-card-name {
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.game-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ======================== ALASAN ======================== */

.alasan {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.alasan .inner {
    position: relative;
    z-index: 2;
}

.alasan-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.alasan-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.alasan-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to bottom,
        var(--bg-dark) 0%,
        rgba(13, 13, 13, 0.85) 30%,
        rgba(13, 13, 13, 0.85) 70%,
        var(--bg-dark) 100%
    ); */
    z-index: 1;
}

.alasan .container {
    position: relative;
    z-index: 2;
}

.alasan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.alasan-card {
    border-radius: 23.262px;
background: rgba(161, 1, 1, 0.40);
    padding: 28px 20px;
    transition: var(--transition);
}

.alasan-card:hover {
    border-color: rgba(204, 41, 41, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(204, 41, 41, 0.15);
}

.alasan-icon {
    margin-bottom: 16px;
    border-radius: 2928.572px;
    /* opacity: 0.1; */
    background: #c1d1952d;
    width: 70.286px;
    height: 70.286px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alasan-icon img {
    width: 36px;
    height: 36px;
}

.alasan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.alasan-desc {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.5;
}

/* ======================== PAYMENT ======================== */

.payment {
    background: var(--bg-dark);
    padding: 80px 0;
}

.payment .inner {
    position: relative;
}

.payment-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 64px;
    transition: var(--transition);
}

.payment-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

.payment-card img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ======================== FOOTER ======================== */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
}

.footer .inner {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-desc {
    font-size: 0.78rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--red);
    color: var(--white);
}

.footer-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-sub);
    font-weight: 300;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links i {
    color: var(--red);
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ======================== RESPONSIVE — TABLET (1024px) ======================== */

@media (max-width: 1024px) {
    .hero-bg img {
        height: 400px;
    }

    .hero-title-italic {
        font-size: 2rem;
    }

    .hero-title-bold {
        font-size: 1.8rem;
    }

    .alasan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ======================== RESPONSIVE — TABLET SMALL (768px) ======================== */

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-bg img {
        height: 340px;
    }

    .hero-content {
        padding-top: 64px;
        width: 350px;
        gap: 10px;
    }
    .hero-content .line{
        width: 50%
    }

    .hero-title-italic {
        font-size: 1.6rem;
    }

    .hero-title-bold {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layanan-topup {
        padding: 60px 0;
    }

    .alasan {
        padding: 60px 0;
    }

    .alasan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment {
        padding: 60px 0;
    }

    .payment-card {
        min-width: 120px;
        padding: 14px 20px;
    }

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

/* ======================== RESPONSIVE — MOBILE (480px) ======================== */

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar-inner {
        padding: 0 16px;
    }

    .hero-bg img {
        height: 280px;
    }

    .hero-content {
        padding-top: 0px;
        max-width: 200px;
    }

    .hero-title-italic {
        text-align: center;
        font-size: 1.2rem;
    }

    .hero-title-bold {
        font-size: 1.1rem;
        margin-bottom: 10px;
        text-align: center;
    }

    .hero-desc {
        font-size: 0.5em;
        max-width: 240px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .game-card-btn {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .game-card-name {
        font-size: 0.78rem;
    }

    .game-card-desc {
        font-size: 0.65rem;
    }

    .layanan-topup {
        padding: 48px 0;
    }

    .alasan {
        padding: 48px 0;
    }

    .alasan-grid {
        grid-template-columns: 1fr;
    }

    .alasan-card {
        padding: 20px 16px;
    }

    .payment {
        padding: 48px 0;
    }

    .payment-grid {
        gap: 10px;
    }

    .payment-card {
        min-width: 70px;
        padding: 12px 16px;
        min-height: 48px;
    }

    .payment-card img {
        height: 20px;
    }

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

    .footer {
        padding: 36px 0 0;
    }

    .footer-bottom {
        padding: 16px 0;
    }
}

/* ======================== ABOUT PAGE ======================== */

.hero-about {
    position: relative;
    overflow: hidden;
    margin-top: 64px;
}

.hero-about-bg {
    position: absolute;
    inset: 0;
    width: 100%;
}

.hero-about-bg img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.hero-about-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.3) 0%,
        var(--bg-dark) 100%
    ); */
    z-index: 1;
}

.hero-about-container {
    position: relative;
    z-index: 2;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px; /* offset navbar */
}

.hero-about-content {
    max-width: 600px;
    padding: 0 20px;
}
.hero-about-content img{
    margin: auto;
    margin-top: 30px;

}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.about-section {
    background: var(--bg-dark);
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-section .inner {
    position: relative;
    z-index: 2;
}

.about-vector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    max-width: 1200px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-main-img {
    width: 100%;
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
    display: block;
}

.floating-icon {
    position: absolute;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.icon-top-left {
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.icon-top-left img {
    width: 80px;
    height: auto;
}

.icon-bottom-right {
    bottom: -15px;
    right: -10px;
    animation-delay: 2s;
}

.icon-bottom-right img {
    width: 72px;
    height: auto;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.about-description {
    font-size: 0.95rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 32px;
}


.about-description p {
    margin-bottom: 16px;
}



.about-description p:last-child {
    margin-bottom: 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-card {
    background: linear-gradient(135deg, rgba(140, 20, 20, 0.15), rgba(40, 10, 10, 0.4));
    border: 1px solid rgba(204, 41, 41, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(204, 41, 41, 0.15);
    border-color: rgba(204, 41, 41, 0.4);
}

.about-stat-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1.1;
}

.about-stat-card p {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
}

/* responsive overrides for about */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-about-bg img {
        height: 340px;
    }
    
    .hero-about-container {
        height: 340px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-about-content img{
        margin-top: 20px;
        width: 50%;

    }
    
    .about-image-wrapper {
        max-width: 80%;
        margin: 0 auto;
        padding: 10px;
    }
    
    .about-section {
        padding: 20px 0 80px;
    }
    
    .about-stat-card h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-about-bg img {
        height: 280px;
    }
    
    .hero-about-container {
        height: 280px;
    }
    
    .about-image-wrapper {
        max-width: 100%;
    }
    
    .icon-top-left img {
        width: 60px;
    }

    .icon-bottom-right img {
        width: 52px;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-stat-card {
        padding: 16px;
    }
}

/* ======================== FAQ PAGE ======================== */

.hero-faq {
    position: relative;
    overflow: hidden;
}

.hero-faq-bg {
    position: absolute;
    inset: 0;
    width: 100%;
}

.hero-faq-bg img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    display: block;
}

.hero-faq-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.4) 0%,
        var(--bg-dark) 100%
    ); */
    z-index: 1;
}

.hero-faq-container {
    position: relative;
    z-index: 2;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px; /* navbar offset */
}

.hero-faq-content {
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-faq-subtitle-wrapper {
    position: relative;
}
.hero-faq-subtitle-wrapper img{
    margin-top: 30px;
}

.faq-section {
    background: var(--bg-dark);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.faq-header {
    margin-bottom: 60px;
}

.faq-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
}

.faq-section-subtitle{
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    max-width: 400px;
    margin-top: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.faq-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.faq-img {
    max-width: 65%;
    border-radius: var(--radius);
    display: block;
}

.faq-accordion-wrapper {
    width: 100%;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
}

.accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-minus {
    display: none;
}

.accordion-item.active {
    background: var(--red);
    border-color: var(--red);
}

.accordion-item.active .accordion-header {
    color: var(--white);
}

.accordion-item.active .icon-plus {
    display: none;
}

.accordion-item.active .icon-minus {
    display: block;
}

.accordion-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-body {
    padding: 20px 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* responsive overrides for FAQ */
@media (max-width: 1024px) {
    .faq-section-title {
        font-size: 1.8rem;
    }
    .faq-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-faq-bg img,
    .hero-faq-container {
        height: 380px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-img {
        max-width: 60%;
    }
    
    .faq-section-title {
        text-align: center;
        font-size: 1.6rem;
    }

    .faq-header {
        margin-bottom: 40px;
    }
 

    .hero-faq-subtitle-wrapper img{
        margin-top: 20px;
        width: 50%;
    }
}

@media (max-width: 480px) {
    .hero-faq-bg img,
    .hero-faq-container {
        height: 320px;
    }

    .faq-img {
        max-width: 80%;
    }
    
    .faq-section-title {
        font-size: 1.4rem;
    }

    .accordion-header {
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .accordion-body {
        padding: 16px 20px;
        font-size: 0.85rem;
    }
}

/* ======================== CONTACT PAGE ======================== */

.hero-contact {
    position: relative;
    overflow: hidden;
}

.hero-contact-bg {
    position: absolute;
    inset: 0;
    width: 100%;
}

.hero-contact-bg img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    display: block;
}

.hero-contact-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        to bottom,
        rgba(13, 13, 13, 0.4) 0%,
        var(--bg-dark) 100%
    ); */
    z-index: 1;
}

.hero-contact-container {
    position: relative;
    z-index: 2;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px; /* navbar offset */
}
.hero-contact-subtitle-wrapper img{
    margin-top: 30px;
}

/* Contact layout */
.contact-section {
    background: var(--bg-dark);
    padding: 60px 0 100px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Form Area */
.contact-form-wrapper {
    order: 1;
}

.contact-info-wrapper {
    order: 2;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-card-header {
    margin-bottom: 24px;
}

.contact-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card-header p {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-bottom: 16px;
}

.header-line {
    height: 1px;
    background: var(--border);
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    background: #111111;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--white);
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.input-group {
    display: flex;
    align-items: center;
    background: #111111;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.3);
}

.input-group-text {
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    border-right: 1px solid var(--border);
}

.input-group .form-control {
    border: none;
    background: transparent;
    border-radius: 0;
}

.textarea-msg {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: var(--red);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
    margin-top: 8px;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--red-light);
}

/* Info Area */
.info-header {
    margin-bottom: 32px;
}

.info-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
}

.info-header p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    max-width: 400px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: linear-gradient(90deg, rgba(80, 10, 10, 0.8), rgba(40, 5, 5, 0.9));
    border: 1px solid rgba(204, 41, 41, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(204, 41, 41, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #c1d19535;/* Or a slightly adjusted gold #d4a017 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Apply specific colors for each card if they differ in mockup?
   Wait, they all have a golden colored icon circle in the design.
   Actually, the Whatsapp icon has a green/yellow tint or just yellow? 
   The mockup shows all of them with a golden icon background circle. */
.info-icon img {
    width: 24px;
    height: auto;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-contact-bg img,
    .hero-contact-container {
        height: 380px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        order: 2;
    }

    .contact-info-wrapper {
        order: 1;
    }

    .info-header {
        /* Not centered in user tablet mockup, let's keep it left-aligned */
        margin-bottom: 24px;
    }

    .hero-contact-subtitle-wrapper img{
        margin-top: 20px;
        width: 50%;
    }
}

@media (max-width: 480px) {
    .hero-contact-bg img,
    .hero-contact-container {
        height: 320px;
    }
    
    .contact-card {
        padding: 20px;
    }

    .info-card {
        padding: 16px;
        gap: 16px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .info-icon img {
        width: 20px;
    }

    .info-content h4 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.85rem;
    }
}

/* Logout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.logout-modal-box {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 90%;
    max-width: 400px;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.logout-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.logout-icon-circle i {
    font-size: 2.5rem;
    color: var(--red);
}

.logout-modal-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.logout-modal-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.logout-modal-actions {
    display: flex;
    gap: 12px;
}

.btn-logout-cancel {
    flex: 1;
    background: #333333;
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout-cancel:hover {
    background: #444444;
}

.btn-logout-confirm {
    flex: 1;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-logout-confirm:hover {
    background: #cc0000;
}
