/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Variables */
:root {
    --primary-color: #003366;
    /* Deep Navy */
    --accent-color: #FF6600;
    /* Safety Orange */
    --accent-hover: #e65c00;
    --text-color: #333;
    --light-bg: #F5F7FA;
    --white: #fff;
    --gray: #666;
    --container-width: 1000px;
    --header-height: 70px;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

.text-orange {
    color: var(--accent-color);
}

.text-blue {
    color: var(--primary-color);
}

.mt-4 {
    margin-top: 2rem;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-title span {
    /* Removed generic border-bottom to avoid duplication with marker highlight */
    position: relative;
    z-index: 1;
}

/* ... existing button styles ... */

.hero-form-item {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s;
}

.hero-form-item:hover {
    border-color: var(--accent-color);
    background-color: #fff7ed;
}

.hero-form-item i {
    margin-right: 8px;
    color: #cbd5e1;
    width: 16px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 102, 0, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    min-width: 250px;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 1.25rem;
    width: 100%;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 900;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
    margin-left: 10px;
    font-weight: normal;
    display: inline-block;
}

/* Mobile responsive for tagline */
@media (max-width: 768px) {
    .tagline {
        display: block;
        margin-left: 0;
        margin-top: 2px;
        font-size: 0.7rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    color: var(--white);
    background-color: #001a33;
    /* Fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.7)), url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Marker Highlight (Hand-drawn, rising style) */
.hero-title .highlight,
.marker-highlight {
    background: linear-gradient(transparent 60%, rgba(255, 102, 0, 0.3) 60%);
    /* Use rgba of #FF6600 for consistency but transparency */
    display: inline-block;
    padding: 0 5px;
    transform: rotate(-1deg);
    /* Rise from left-bottom to right-top */
    color: inherit;
    border-bottom: none;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Hero Mock Form */
.hero-form-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    color: #333;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    margin: 0 auto;
}

.hero-form-title {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 6px solid var(--primary-color);
    line-height: 1.4;
    color: #111;
}

.hero-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-form-item {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s;
}

.hero-form-item:hover {
    border-color: var(--accent-color);
    background-color: #fff7ed;
}

.hero-form-item i {
    margin-right: 8px;
    color: #94a3b8;
    width: 16px;
    text-align: center;
}

.hero-form-btn {
    display: block;
    width: 100%;
    background: var(--accent-color);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 16px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-form-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.4);
}

/* Sticky Footer CTA (Mobile Only) */
.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.sticky-footer-btn {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@media (min-width: 768px) {
    .sticky-footer-cta {
        display: none;
    }

    .hero-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        max-width: 1100px;
    }

    .hero-text {
        flex: 1;
        padding-right: 40px;
    }

    .hero-cta {
        flex: 0 0 400px;
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-title {
        text-align: left;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.intro-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.intro-item:hover {
    transform: translateY(-5px);
}

.intro-icon {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.intro-item p {
    font-weight: 700;
    color: var(--primary-color);
}

.solution-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color);
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Jobs Section */
/* Jobs Section */
.job-slider {
    padding-bottom: 50px;
    /* Space for pagination */
    padding-left: 5px;
    /* Prevent box-shadow cut-off */
    padding-right: 5px;
}

.swiper-slide {
    height: auto;
    /* For equal height cards */
}

.job-card {
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
    /* Fill slide height */
    background: #fff;
    display: flex;
    flex-direction: column;
}

.job-card h4 {
    flex-grow: 1;
    /* Push meta and req down */
}

.job-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.job-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.job-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.job-meta {
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.job-meta li {
    margin-bottom: 5px;
}

.job-meta i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

.job-req {
    font-size: 0.9rem;
    color: #333;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

/* Voice Section */
.voice-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.voice-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.voice-avatar {
    width: 60px;
    height: 60px;
    background-color: #ddd;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #004d99);
}

.voice-info h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.voice-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.voice-body {
    position: relative;
    padding: 0 20px;
}

.voice-body p {
    font-style: italic;
    color: #444;
}

/* Flow Section */
.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

.flow-step {
    position: relative;
    z-index: 1;
    background: var(--white);
    text-align: center;
    width: 200px;
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    margin: 0 auto 15px;
    border: 4px solid var(--white);
}

.flow-step h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.95)), url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.register-form {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
    text-align: left;
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #ccc;
}

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

.copyright {
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* Multi-step Form */
.multistep-form-container {
    background: var(--white);
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    /* Fix white text on white bg */
    text-align: left;
    /* Reset alignment from text-center parent */
    overflow: hidden;
}

.multistep-form {
    padding: 30px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

/* Option Grid (Step 1) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-content {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: 0.2s;
    font-weight: 500;
    color: #555;
    background: #f9f9f9;
}

.option-content i {
    margin-right: 10px;
    color: #999;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Checked State */
.option-card input:checked+.option-content {
    border-color: var(--accent-color);
    background-color: #fff5eb;
    /* Light Orange */
    color: var(--accent-color);
    font-weight: 700;
}

.option-card input:checked+.option-content i {
    color: var(--accent-color);
}

/* Option List (Step 2, 3) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-list-item {
    cursor: pointer;
    position: relative;
}

.option-list-item input {
    position: absolute;
    opacity: 0;
}

.option-list-item .option-content {
    display: block;
    width: 100%;
}

.option-list-item input:checked+.option-content {
    border-color: var(--accent-color);
    background-color: #fff5eb;
    color: var(--accent-color);
    font-weight: 700;
}

/* Result Step (Step 4) */
.diagnosis-result {
    padding: 20px 0;
}

.result-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.result-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.result-count {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-count span {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 900;
    margin: 0 5px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.required {
    color: red;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.text-link {
    color: var(--gray);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
}

.text-link:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .multistep-form-container {
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }

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


/* Achievements Section */
.achievements {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.achievement-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.achievement-item {
    flex: 1;
    min-width: 200px;
}

.achievement-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 5px;
}

.achievement-value {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.unit {
    font-size: 1rem;
    margin-left: 5px;
    font-weight: 700;
    color: var(--text-color);
}

/* Rich Flow Section */
.flow-steps-rich {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.flow-step-rich {
    flex: 1;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.flow-step-rich .step-num {
    position: absolute;
    top: -25px;
    left: 20px;
    margin: 0;
    background: var(--accent-color);
    width: 50px;
    height: 50px;
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    text-align: center;
    border: 4px solid var(--white);
}

.step-content {
    margin-top: 25px;
}

.flow-step-rich h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.flow-step-rich p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.faq-answer {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
    .achievement-grid {
        flex-direction: column;
    }

    .achievement-item {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .achievement-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .flow-steps-rich {
        flex-direction: column;
    }

    .flow-step-rich {
        margin-bottom: 30px;
    }
}

/* --- Refined Design Updates --- */

/* 1. Feature/Merit Height Alignment */
.feature-card h4 {
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Job Card Updates */
.swiper-slide {
    height: auto;
}

.job-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 35px;
    /* Space for badge if inside, but badge is absolute */
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3d00;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* 3. Flow Visual Section */
.flow-steps-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.flow-icon-circle {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
    border: 3px solid var(--accent-color);
}

.flow-icon-circle .step-label {
    font-size: 0.7rem;
    font-weight: bold;
    margin-top: 5px;
    color: #333;
}

.flow-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    transform: rotate(90deg);
    /* Downward for mobile */
    margin: -10px 0;
    z-index: 1;
}

@media (min-width: 900px) {
    .flow-steps-visual {
        flex-direction: row;
        align-items: stretch;
    }

    .flow-step-arrow {
        transform: rotate(0deg);
        /* Right for PC */
        margin: auto 0;
        padding: 0 10px;
        align-self: center;
    }
}

/* 4. Footer Refinements */
.footer-info-group {
    font-size: 0.75rem !important;
    opacity: 0.7;
    font-weight: 300;
}

/* --- Missing Core Styles --- */

/* Voice Grid */
.voice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .voice-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FAQ Accordion Logic */
.faq-question {
    cursor: pointer;
    position: relative;
    padding-right: 40px;
}

.faq-question::after {
    content: '\f078';
    /* chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.9em;
    color: var(--accent-color);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-top: 10px !important;
    margin-top: 10px !important;
    border-top: 1px dashed #eee !important;
}

/* Footer Flex Layout */
.footer-info-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-bottom: 25px;
}

.footer-info-group a,
.footer-info-group span {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 5. FAQ Fixes */
.faq-item {
    cursor: pointer;
}