@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Nunito:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary: #059669; /* Emerald Green */
    --primary-hover: #10b981;
    --primary-light: rgba(16, 185, 129, 0.1);
    --accent: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.onboarding-container {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 1rem auto;
    padding: 0 1.5rem;
    flex: 1;
}

/* Premium isometric Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0 4rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Nunito', sans-serif;
}

.hero-desc-1 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.hero-desc-2 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

.btn-get-started {
    background-color: #556ee6;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(85, 110, 230, 0.2);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-get-started:hover {
    background-color: #3b54d6;
    box-shadow: 0 6px 20px rgba(85, 110, 230, 0.4);
    transform: translateY(-1px);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium dotted background pattern on the right side */
.hero-image-container::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 300px;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 1;
    opacity: 0.65;
    pointer-events: none;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem 0;
    }
    
    .hero-image-container {
        order: 1;
        justify-content: flex-start;
    }
    
    .hero-content {
        order: 2;
        align-items: flex-start;
        text-align: left;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-image-container::before {
        right: auto;
        left: -10px;
        transform: translateY(-50%);
    }
}

/* Onboarding Wizard Card */
.wizard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: border-color 0.3s;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.wizard-card:hover {
    border-color: rgba(16, 185, 129, 0.2);
}

/* Wizard Step Progress Tracker */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.wizard-steps-progress {
    position: absolute;
    top: 15px;
    left: 10%;
    height: 2px;
    background-color: var(--primary);
    z-index: 1;
    transition: width 0.3s ease;
}

.wizard-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    text-align: center;
}

.wizard-step-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.wizard-step.active .wizard-step-node {
    border-color: var(--primary);
    color: #fff;
    background-color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.2);
}

.wizard-step.completed .wizard-step-node {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}

.wizard-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.wizard-step.active .wizard-step-label {
    color: var(--text-primary);
}

.wizard-step.completed .wizard-step-label {
    color: var(--primary);
}

/* Wizard Form Steps container */
.form-step-panel {
    display: none;
}

.form-step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background-color: #ffffff;
}

select.form-control option {
    background-color: #ffffff;
    color: var(--text-primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .wizard-card {
        padding: 1.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

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

/* Document upload blocks */
.upload-row {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.upload-info {
    flex: 2;
}

.upload-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
}

.upload-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.upload-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.upload-status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-missing {
    background-color: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.status-ready {
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

/* Hidden file inputs but styled buttons */
.file-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.file-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    font-size: 100px;
    cursor: pointer;
}

/* Alert Boxes */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Government Scheme Header Styles */
.gov-header {
    background-color: #24357c; /* Deep navy blue matching your UI */
    color: #fff;
    width: 100%;
    border-bottom: none;
    padding: 0.6rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.gov-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.gov-emblem-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.emblem-img {
    height: 46px;
    object-fit: contain;
}

.emblem-svg {
    opacity: 0.95;
    animation: rotateMarker 10s linear infinite;
}

.gov-text-details {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: center;
}

.gov-title {
    font-size: 0.72rem;
    font-weight: 300;
    color: #60a5fa;
    letter-spacing: 0.01em;
}

.gov-sub-title {
    font-size: 0.62rem;
    font-weight: 300;
    color: #e2e8f0;
}

.gov-gov {
    font-size: 0.54rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* Navigation Links */
.gov-nav {
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .gov-nav {
        margin-left: 2.5rem;
        margin-right: auto;
    }
}

.gov-nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    list-style: none;
}

.gov-nav-item {
    font-size: 0.85rem;
    font-weight: 300;
    color: #cbd5e1;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.gov-nav-item:hover, .gov-nav-item.active {
    color: #fff;
}

.gov-nav-item .chevron-svg {
    width: 10px;
    height: 6px;
    margin-left: 0.35rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}
/* Chevron rotation on hover (desktop) / open state */
.dropdown.open .chevron-svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu CSS */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 0.5rem 0;
    list-style: none;
    min-width: 230px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 200;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f8fafc;
    color: #24357c;
}

.status-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.badge-new-alert {
    background-color: #fef08a;
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1;
}
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .dropdown:hover .chevron-svg {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* CSC Official Logo Mock Box */
.gov-logo-block {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 3px !important;
    border-radius: 4px;
    overflow: hidden;
}

.logo-img {
    height: 34px;
    object-fit: contain;
    display: block;
}

.csc-logo-mock {
    background-color: #ffffff;
    padding: 0.25rem 0.85rem;
    border-radius: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.csc-logo-mock .c-blue {
    color: #00458c; /* Navy Blue */
}

.csc-logo-mock .s-orange {
    color: #e65c00; /* Saffron */
}

.csc-logo-mock .c-green {
    color: #007a3d; /* Dark Green */
}

/* Gov Header Burger Menu Toggle */
.gov-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
}

.gov-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gov-nav-toggle.open span {
    background-color: #0f172a;
}

.gov-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.gov-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.gov-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    .gov-header {
        padding: 0.85rem 1.25rem;
    }
    .gov-header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .gov-nav {
        order: 1;
        margin-right: 0.5rem;
    }
    .gov-emblem-block {
        order: 2;
        margin-right: auto;
        gap: 0.5rem;
    }
    .gov-logo-block {
        order: 3;
    }
    .gov-nav-toggle {
        display: flex;
    }
    .gov-nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        border-right: 1px solid var(--border-color);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 7rem 2rem 2rem 2rem;
        gap: 1.25rem;
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 101;
    }
    .gov-nav-links.active {
        left: 0;
    }
    .gov-nav-item {
        display: block;
        padding: 0.8rem 1.25rem;
        width: 100%;
        color: #334155 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .gov-nav-item:hover, .gov-nav-item.active {
        color: #24357c !important;
        background-color: rgba(36, 53, 124, 0.04);
    }
    .dropdown-menu {
        position: static;
        display: none;
        background-color: rgba(0,0,0,0.03);
        box-shadow: none;
        border: none;
        padding: 0.25rem 0 0.25rem 1rem;
        margin-top: 0.25rem;
        min-width: unset;
    }
    .dropdown-menu.open {
        display: block;
    }
    .dropdown-menu li a {
        color: #475569 !important;
        font-weight: 300;
        padding: 0.5rem 1rem;
    }
    .dropdown-menu li a:hover {
        background-color: transparent;
        color: #24357c !important;
    }
    
    /* Responsive sizing adjustments for small mobile viewports */
    .gov-text-details {
        text-align: left;
    }
    .emblem-img {
        height: 34px;
    }
    .emblem-svg {
        width: 28px;
        height: 28px;
    }
    .gov-title {
        font-size: 0.60rem;
    }
    .gov-sub-title {
        font-size: 0.50rem;
    }
    .gov-gov {
        font-size: 0.44rem;
    }
    .csc-logo-mock {
        padding: 0.2rem 0.5rem;
        font-size: 0.95rem;
        border-radius: 4px;
    }
    .logo-img {
        height: 26px;
    }
    .gov-footer-row-1 {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        align-items: flex-start;
    }
    .gov-footer-row-2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        text-align: left;
    }
    .gov-footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .gov-sub-title, .gov-gov {
        display: block !important;
    }
    .emblem-img {
        height: 28px !important;
    }
}

/* Government Scheme Footer Styles */
.gov-footer {
    background-color: #ffffff;
    color: #8094ae;
    width: 100%;
    align-self: stretch;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 2rem;
    font-size: 0.85rem;
    margin-top: auto;
    box-sizing: border-box;
}

.gov-footer-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.gov-footer-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.gov-footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gov-footer-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8094ae;
    text-decoration: none;
    transition: color 0.2s;
}

.gov-footer-link:hover {
    color: #24357c;
}

.gov-footer-divider {
    color: #cbd5e1;
}

.gov-footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.gov-footer-social-icon {
    color: #8094ae;
    transition: color 0.2s;
}

.gov-footer-social-icon:hover {
    color: #24357c;
}

.gov-footer-row-2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: #8094ae;
    font-size: 0.75rem;
}

.gov-footer-info-block {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gov-footer-icon {
    width: 14px;
    height: 14px;
    color: #8094ae;
    vertical-align: middle;
}

/* Interactive Q&A Section (Overlapping Grid Layout) */
.qna-section {
    background-color: #f8fafc; /* Very light grey */
    padding: 6rem 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.qna-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-width: 1100px;
    width: 100%;
    align-items: center; /* Center-align items to allow height variation */
    position: relative;
}

.qna-info-card {
    background-color: #24357c; /* Match deep navy blue */
    color: #ffffff;
    padding: 3.5rem 4.5rem 3.5rem 3.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.qna-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.qna-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.qna-bullet {
    color: #fbbf24; /* Yellow bullet text */
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.qna-bullet .bullet-dot {
    margin-right: 0.35rem;
    font-size: 1.2rem;
    vertical-align: middle;
}

.qna-actions {
    display: flex;
    gap: 1rem;
}

.btn-qna-register {
    background-color: #556ee6;
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(85, 110, 230, 0.2);
    text-align: center;
}

.btn-qna-register:hover {
    background-color: #3b54d6;
    box-shadow: 0 6px 18px rgba(85, 110, 230, 0.4);
    transform: translateY(-1px);
}

.btn-qna-faq {
    background-color: #ef4444; /* Orange/Red */
    color: #ffffff !important;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
    text-align: center;
}

.btn-qna-faq:hover {
    background-color: #dc2626;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.qna-form-card {
    background-color: #ffffff;
    padding: 4.5rem 4rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Premium shadow */
    z-index: 2;
    margin-left: -3.5rem; /* Dynamic overlap */
    border: 1px solid #f1f5f9;
    box-sizing: border-box;
    align-self: center;
}

.form-group-qna {
    margin-bottom: 1.5rem;
}

.qna-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.qna-input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: #0f172a;
    transition: all 0.25s;
    box-sizing: border-box;
}

.qna-input::placeholder {
    color: #94a3b8;
    opacity: 0.85;
}

.qna-input:focus {
    outline: none;
    border-color: #556ee6;
    box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.15);
}

.qna-textarea {
    resize: none;
}

.btn-qna-submit {
    background-color: #556ee6;
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(85, 110, 230, 0.2);
}

.btn-qna-submit:hover {
    background-color: #3b54d6;
    box-shadow: 0 6px 18px rgba(85, 110, 230, 0.4);
    transform: translateY(-1px);
}

/* Alert styles for Q&A success */
.qna-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
    background-color: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #047857;
}

/* Responsive Overlapping Layout */
@media (max-width: 991px) {
    .qna-section {
        padding: 4rem 1.5rem;
    }
    
    .qna-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .qna-info-card {
        border-radius: 12px;
        padding: 3rem 2rem;
        position: relative;
        z-index: 2;
    }
    
    .qna-form-card {
        padding: 3rem 2rem;
        margin: -10px 15px 0 15px;
        width: auto;
        position: relative;
        z-index: 1;
    }
}

@media (min-width: 992px) {
    .qna-info-card {
        min-height: 482px; /* Exactly 18px less than the form card height */
    }
    .qna-form-card {
        min-height: 500px;
    }
}

/* Testimonials Section (What VLE's Says) */
.testimonials-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.testimonials-container {
    max-width: 1300px; /* Matched to footer container width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary); /* Matched to Hero title color */
    margin-bottom: 3.5rem;
    text-align: center;
    font-family: 'Nunito', sans-serif; /* Matched to Hero title */
}

.testimonial-wrapper {
    width: 100%;
    max-width: 1300px; /* Matched to footer container width */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-box {
    background-color: #eef2f6; /* Premium light grey/blue */
    padding: 2.5rem 3.5rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #475569;
    font-style: italic;
    line-height: 1.6;
    display: inline;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Matched to Hero description */
    font-weight: 400; /* Matched weight 400 */
}

.quote-mark {
    font-size: 1.6rem;
    color: #24357c;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

.quote-open {
    margin-right: 0.5rem;
}

.quote-close {
    margin-left: 0.5rem;
}

.testimonial-author-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2rem;
    margin-top: -2.2rem; /* Overlap avatar onto the box bottom edge */
    z-index: 10;
    position: relative;
}

.author-avatar-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid #ffffff; /* White circular border */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.75rem;
    background-color: #ffffff;
}

.author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 0.25rem;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.author-location {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.author-tag {
    font-size: 0.78rem;
    font-weight: 700;
    color: #3b82f6; /* Muted light blue tag */
    text-decoration: none;
}

/* Help Page FAQ & Sidebar Styles */
.help-page-wrapper {
    background-color: #f8fafc;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
}

.help-page-wrapper,
.help-page-wrapper * {
    font-family: 'Roboto', sans-serif !important;
}

.help-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 25px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3.5rem;
    align-items: start;
    box-sizing: border-box;
}

.faq-left-column {
    display: flex;
    flex-direction: column;
}

.faq-section {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3.5rem 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.faq-header-tag {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

.faq-main-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-align: center;
}

.faq-subtitle {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 2.5rem;
    text-align: center;
}

.faq-subtitle a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.faq-subtitle a:hover {
    text-decoration: underline;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.5rem 0;
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: #24357c; /* Blue color for active/hover */
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.faq-toggle-icon {
    font-size: 1.15rem;
    font-weight: 500;
    color: #3b82f6;
    width: 14px;
    display: inline-block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 0.5rem 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0.5rem 0.5rem 1rem 1.5rem;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-answer-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.65;
}

/* Sidebar Styles */
.help-sidebar {
    position: sticky;
    top: calc(80px + 2rem);
}

.support-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.support-illustration-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.support-text {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
}

.support-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}
.support-text a:hover {
    text-decoration: underline;
}

/* Responsive Styles for Help Page */
@media (max-width: 991px) {
    .help-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 25px 15px;
        margin: 0;
    }
    .faq-section {
        padding: 2.5rem 1.5rem;
    }
    .support-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Hero illustration placeholder styles */
.hero-placeholder-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 360px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.placeholder-bg-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #3b82f6;
    filter: blur(80px);
    opacity: 0.3;
    top: 20%;
    left: 20%;
}

.placeholder-mockup-screen {
    width: 85%;
    height: 75%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    height: 28px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mockup-dot.red { background-color: #ef4444; }
.mockup-dot.yellow { background-color: #f59e0b; }
.mockup-dot.green { background-color: #10b981; }

.mockup-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-title-bar {
    height: 12px;
    width: 40%;
    background-color: #e2e8f0;
    border-radius: 6px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}

.mockup-item {
    height: 45px;
    background-color: #f1f5f9;
    border-radius: 6px;
}
.mockup-item.large {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    opacity: 0.85;
}

.mockup-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.mockup-bar {
    width: 25px;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    animation: placeholderChartGrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes placeholderChartGrow {
    from { transform: scaleY(0.9); }
    to { transform: scaleY(1.1); }
}

/* Avatar Initials Placeholder */
.avatar-initials-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
    text-transform: uppercase;
}
