:root {
    --sand: #efede9;
    --ink: #141411;
    --muted: #7d7d7d;
    /* Base font size scales with viewport */
    font-size: clamp(12px, 1vw, 16px);
}

/* HK Gothic fonts from local fonts folder */
@font-face {
    font-family: 'HK Gothic';
    src: url('fonts/hk-gothic/HK Gothic Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HK Gothic';
    src: url('fonts/hk-gothic/HK Gothic SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

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

body {
    font-family: 'HK Gothic', sans-serif;
    font-weight: 600;
    background: #ffffff;
    color: var(--ink);
    min-height: 200vh;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: clamp(14px, 1.2vw, 16px);
}

body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 50px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.logo-image {
    height: 80px;
    width: 232px;
}

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

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #000;
    transition: all 0.3s ease;
}

.faq-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.faq-frame-1 {
    background: #ffffff;
    padding: clamp(100px, 10.42vw, 140px) clamp(20px, 3.65vw, 70px) clamp(80px, 8.33vw, 120px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 100;
    align-items: stretch; /* let content stretch full available width */
    min-height: 100vh;
    height: auto !important;
    max-height: none;
    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.faq-frame-2 {
    z-index: 200;
}

.faq-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.faq-title {
    font-size: 120px;
    font-weight: 600;
    letter-spacing: -4px;
    color: var(--ink);
    flex: 0 0 auto;
}

.faq-subtitle {
    max-width: 680px;
    font-size: 20px;
    font-weight: 300;
    line-height: 32px;
    word-spacing: 0.005em;
    color: var(--muted);
    text-align: justify; /* justify subtitle text */
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: clamp(60px, 6.25vw, 100px);
    margin-bottom: clamp(40px, 4.17vw, 60px);
}

.faq-card {
    width: 100%;
    min-height: clamp(50px, 3.65vw, 70px);
    padding: clamp(12px, 1.25vw, 24px) clamp(25px, 2.6vw, 50px);
    border-radius: clamp(7px, 0.73vw, 14px);
    background: #fff;
    border: 1px solid #E6E9EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.faq-question {
    font-size: clamp(14px, 1.04vw, 20px);
    font-weight: 600;
    color: #141414;
    opacity: 0.9;
}

.faq-icon {
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 3px;
    background: #1b1139;
    opacity: 0.8;
    border-radius: 20px;
}

.faq-icon::after {
    transform: rotate(90deg);
}

.faq-frame-2 {
    background: url('assets/FAQ.png') center/cover no-repeat;
    background-position: center 10%;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(50px, 5.21vw, 100px) 0 clamp(20px, 2.08vw, 40px);
    z-index: 200;
}

.faq-contact-overlay {
    width: min(1280px, 92%);
    padding: 20px 0 0;
    text-align: center;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.faq-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6px, 0.63vw, 12px) clamp(12px, 1.25vw, 24px);
    border: 1px solid #fff;
    border-radius: clamp(15px, 1.56vw, 30px);
    font-size: clamp(10px, 0.63vw, 12px);
    letter-spacing: clamp(0.5px, 0.05vw, 1px);
    color: #fff;
    text-transform: uppercase;
    margin-bottom: clamp(10px, 1.04vw, 20px);
}

.faq-contact-title {
    font-size: clamp(32px, 5vw, 96px);
    font-weight: 520;
    color: #ffffff;
    letter-spacing: clamp(-4px, -0.42vw, -8px);
    margin-bottom: clamp(6px, 0.63vw, 12px);
    white-space: nowrap;
}

.faq-contact-wrapper {
    color: #ffffff;
    max-width: clamp(530px, 55.21vw, 1060px);
    width: 100%;
    text-align: center;
    margin: clamp(-10px, -1.04vw, -20px) auto clamp(28px, 2.86vw, 55px);
    font-size: clamp(14px, 0.94vw, 18px);
    font-weight: 300;
    line-height: clamp(20px, 1.56vw, 30px);
    letter-spacing: clamp(-0.5px, -0.05vw, -1px);
}

.faq-contact-form {
    background: #ffffff;
    border-radius: clamp(18px, 1.88vw, 36px);
    padding: clamp(12px, 1.25vw, 24px) clamp(25px, 2.6vw, 50px) clamp(20px, 2.08vw, 40px) clamp(25px, 2.6vw, 50px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.04vw, 20px);
    border: 1px solid #e6e9eb;
    margin: clamp(-15px, -1.56vw, -30px) auto 0;
    width: 100%;
    max-width: clamp(400px, 41.67vw, 800px);
    min-height: clamp(200px, 16.67vw, 320px);
    height: auto;
}

.faq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 1.25vw, 24px);
}

@media (max-width: 768px) {
    .faq-form-row {
        grid-template-columns: 1fr;
    }
}

.faq-contact-form input,
.faq-contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #E6E9EB;
    padding: clamp(10px, 1.04vw, 20px) 0;
    font-size: clamp(14px, 0.83vw, 16px);
    font-family: 'HK Gothic', sans-serif;
    font-weight: 500;
    background: transparent;
    color: #000000;
    outline: none;
}

.faq-contact-form input::placeholder,
.faq-contact-form textarea::placeholder {
    color: #C7C7C7;
}

.faq-contact-form input:focus,
.faq-contact-form textarea:focus {
    border-bottom-color: #00223B;
}

.faq-contact-form textarea {
    min-height: clamp(60px, 5vw, 100px);
    resize: vertical;
    grid-column: 1 / -1;
}

.faq-contact-form button {
    padding: clamp(12px, 1.25vw, 24px) clamp(24px, 2.5vw, 48px);
    border-radius: clamp(6px, 0.63vw, 12px);
    border: none;
    background: #00223B;
    color: #FFFFFF;
    font-size: clamp(14px, 0.94vw, 18px);
    font-family: 'HK Gothic', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: clamp(300px, 38.33vw, 736px);
    height: clamp(36px, 3vw, 56px);
    margin-top: clamp(6px, 0.63vw, 12px);
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-contact-form button:hover {
    background: #003a5f;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .faq-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-contact-title {
        white-space: normal;
    }

    .faq-frame-1 {
        padding-bottom: clamp(100px, 10.42vw, 140px);
    }
}

@media (max-width: 768px) {
    .faq-contact-form {
        margin: clamp(20px, 2.08vw, 40px) auto 0;
    }

    .faq-frame-1 {
        padding: clamp(80px, 8.33vw, 100px) clamp(15px, 2.08vw, 20px) clamp(120px, 12.5vw, 160px);
        height: auto !important;
    }

    .faq-list {
        gap: clamp(16px, 2.5vw, 24px);
        padding-bottom: clamp(80px, 8.33vw, 120px);
    }

    .faq-title {
        font-size: clamp(48px, 6.25vw, 120px);
    }
}

@media (max-width: 480px) {
    .faq-frame-1 {
        padding: clamp(70px, 7.29vw, 90px) clamp(15px, 2.08vw, 20px) clamp(160px, 16.67vw, 200px);
        height: auto !important;
    }

    .faq-list {
        gap: clamp(12px, 2.5vw, 18px);
        padding-bottom: clamp(120px, 12.5vw, 160px);
    }
}

