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

html {
    scroll-behavior: smooth;
    background-color: white;
    overflow-x: hidden;
}

body {
    text-align: center;
    font-family: 'Poppins', system-ui, sans-serif;
    overflow-x: hidden;
}

h2, h3 {
    font-family: 'SourceSerif';
    font-style: italic;
    font-weight: 500;
}

/* ==============================================================
   TITLE — "Frequently / Asked Questions" with script capitals
   ============================================================== */
.title-logo {
    margin-top: clamp(100px, 12vw, 140px);
    padding-inline: 16px;
    color: #1c2b4b;
}

.faq-title {
    display: inline-flex;
    flex-direction: column;
    font-family: 'Kantumruy Pro', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.3rem, 7.5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.5px;
}

.faq-title__line {
    display: block;
    white-space: nowrap;
}

.faq-title__line:first-child {
    padding-left: 1.4em;   /* "Frequently" sits a little to the right, like the mockup */
}

.bigletter {
    font-family: 'Kapakana', cursive;
    font-weight: 400;
    font-size: 1.9em;
    line-height: 0.8;
    letter-spacing: 0;
}

/* ==============================================================
   QUESTIONS & ANSWERS
   ============================================================== */
.FAQs {
    width: min(90%, 760px);
    margin: clamp(36px, 5vw, 60px) auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 22px;
    background-color: #ff99cc;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(0.8rem, 1.6vw, 1.05rem);
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-question:hover {
    background-color: #ff85c2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 204, 0.4);
}

.faq-question:focus-visible {
    box-shadow: 0 0 0 3px #1c2b4b;
}

.icon-circle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.faq-question:hover .icon-circle {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* chevron points down when closed, up when open */
.chevron {
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-right: 3px solid #ff99cc;
    border-bottom: 3px solid #ff99cc;
    transform: rotate(45deg);
}

.faq-question.active .icon-circle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin-top: 8px;
    padding: 14px 22px;
    background-color: #cfe3fb;
    color: #1c2b4b;
    border-radius: 16px;
    font-style: italic;
    font-size: clamp(0.78rem, 1.4vw, 0.95rem);
    line-height: 1.5;
    text-align: left;
}

.faq-answer ol {
    padding-left: 1.2em;
}

.faq-question.active + .faq-answer {
    display: block;
    animation: slideDown 0.35s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   CONTACT FORM
   ============================================================== */
.contact-form-section {
    width: min(90%, 520px);
    margin: clamp(56px, 8vw, 96px) auto clamp(56px, 8vw, 96px);
}

.partner-text {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    color: #1c2b4b;
}

.email-text {
    font-family: 'Source Serif 4', serif;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    color: #0f1d36;
    line-height: 1.15;
}

.help-text {
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: #1c2b4b;
    margin-bottom: 22px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 11px 18px;
    border: 1.5px solid #1c2b4b;
    border-radius: 14px;
    background: #ffffff;
    color: #1c2b4b;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #2d79ba;
    box-shadow: 0 0 0 3px rgba(45, 121, 186, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9aa6b8;
}

.form-textarea {
    min-height: 140px;
    resize: none;
}

.submit-btn {
    margin-top: 6px;
    padding: 9px 46px;
    background-color: #1c2b4b;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    background-color: #a7c7e7;
    color: #1c2b4b;
    box-shadow: 0 6px 16px rgba(167, 199, 231, 0.45);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2em;
}

.form-status--success { color: #2e7d4f; }
.form-status--error   { color: #d1293d; }

/* ==============================================================
   DARK MODE
   ============================================================== */
html.dark-mode body {
    background-color: #0f172a;
    color: #e5e7eb;
}

html.dark-mode .title-logo,
html.dark-mode .partner-text,
html.dark-mode .email-text,
html.dark-mode .help-text {
    color: #e5e7eb;
}

html.dark-mode .faq-answer {
    background-color: #1c2b4b;
    color: #cbd5e1;
}

html.dark-mode .form-input,
html.dark-mode .form-textarea {
    background-color: #1c2b4b;
    color: #ffffff;
    border-color: #3a5a82;
}

/* --- Hover lift on the Submit button --- */
.submit-btn {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover:not(:disabled),
.submit-btn:focus-visible {
    transform: translateY(-2px);
}
