: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;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.toast {
    background: #FFFFFF;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #00223B;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #27ae60;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

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;
}

.faq-frame-1::-webkit-scrollbar {
    display: none;
}

.faq-frame-1 {
    scrollbar-width: none;
}

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

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
        background: transparent;
        /* Reset to transparent to allow overlap */
        box-shadow: none;
    }
}

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

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        width: auto;
    }
}

.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;
}

@media (max-width: 768px) {
    .faq-frame {
        /* Keep parallax effect on mobile */
        position: fixed;
        height: 100vh;
        min-height: 100vh;
        overflow: visible;
    }
}

.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: left;
    /* Left align for readability */
}

@media (max-width: 768px) {
    .faq-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 80px;
        /* Space for fixed header */
    }

    .faq-title {
        font-size: 56px;
        letter-spacing: -2px;
        line-height: 1;
    }

    .faq-subtitle {
        font-size: 14px;
        line-height: 1.6;
        color: #7d7d7d;
        text-align: left;
        text-wrap: balance;
    }
}

.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-frame-1 {
        padding: 0 20px 60px;
        /* Adjust padding */
        position: fixed;
        min-height: 100vh;
        height: 100vh !important;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .faq-list {
        margin-top: 40px;
        gap: 20px;
        padding-bottom: 0;
        margin-bottom: 60px;
    }

    .faq-card {
        min-height: auto;
        padding: 20px 20px;
        border-radius: 12px;
        border: 1px solid #E6E9EB;
    }

    .faq-question {
        font-size: 15px;
        line-height: 1.4;
        max-width: 90%;
    }

    /* Contact Section Mobile Override */
    .faq-frame-2 {
        position: fixed;
        background-image: url('assets/Contact BG Wrap → MNaTdWhKQ4PCxwtMgQRe9ROUJo.jpg.png') !important;
        background-size: cover !important;
        background-position: center bottom !important;
        padding: 60px 20px 40px !important;
        z-index: 200;
        height: auto !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
    }

    .faq-contact-overlay {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq-contact-pill {
        border-color: rgba(255, 255, 255, 0.8);
        padding: 5px 12px;
        font-size: 9px;
    }

    .faq-contact-title {
        font-size: 28px;
        line-height: 1.1;
        white-space: normal;
        text-align: center;
        letter-spacing: -0.5px;
        margin-bottom: 10px;
    }

    .faq-contact-wrapper {
        font-size: 12px;
        line-height: 1.4;
        margin: 0 auto 20px;
        max-width: 340px;
        text-align: center;
        text-wrap: balance;
    }

    .faq-contact-form {
        margin: 0;
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .faq-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-contact-form input,
    .faq-contact-form textarea {
        font-size: 13px;
        padding: 8px 0;
    }

    .faq-contact-form button {
        height: 44px;
        font-size: 14px;
        background: #001A2F;
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.toast {
    background: #FFFFFF;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #00223B;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #27ae60;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Toast Adjustments */
@media (max-width: 768px) {
    .toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: 0;
        width: 100%;
        padding: 12px 16px;
    }
}