/* ==============================
   CARDS
   ============================== */

/* Base Card */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

/* Service Card */
.service-card {
    border-radius: 14px;
    padding: 22px;
    background: rgba(255, 255, 255, .35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
    transition: .3s ease;
    position: relative;
}

/* Card Types with Different Backgrounds */
.card-type-service {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff); /* Light blue for services */
}

.card-type-product {
    background: linear-gradient(135deg, #fff0f5, #ffe6e6); /* Light pink for products */
}

.card-type-info {
    background: linear-gradient(135deg, #f0fff4, #e6ffe6); /* Light green for information */
}

.card-type-promo {
    background: linear-gradient(135deg, #fffaf0, #fff5e6); /* Light orange for promotions */
}

.card-type-contact {
    background: linear-gradient(135deg, #f5f0ff, #eae6ff); /* Light purple for contact */
}

.service-item {
    padding: 12px;
    background: linear-gradient(180deg, #fff, #fffaf0);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: var(--black);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.service-card h3 {
    margin-bottom: 12px;
}

/* ==============================
   BUTTON GROUP
   ============================== */

.card-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.card-buttons .info-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, .1);
    transition: .2s;
}

.card-buttons .info-btn:hover {
    background: rgba(0, 0, 0, .2);
}

/* ==============================
   CARD INFO BOX
   ============================== */

.card-info-box {
    display: none;
    position: relative;
    margin-top: 10px;
    border-left: 15px solid #888;
    border-radius: 6px;
    padding: 15px;
    animation: slideDown .35s ease;
}

.card-info-box.show {
    display: block;
}

/* Ordered list spacing */
.card-info-box ol {
    padding-left: 24px;
    margin-top: 6px;
}

/* Info box backgrounds */
.box-style-1 {
    background-color: #E6CA9A;
}

.box-style-2 {
    background-color: #c4e5eb;
}

.box-style-3 {
    background-color: #efdcf1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   SEARCH SUGGESTIONS
   ============================== */

.search-suggestions {
    list-style: none;
    margin: 5px 0 0;
    padding: 0;
    border: 1px solid #ddd;
    background: #fff;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.search-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.search-suggestions li:hover {
    background: #f2f2f2;
}

.service-card.hidden {
    display: none !important;
}

.service-card.highlight {
    outline: 2px solid #007bff;
    transition: outline 0.3s ease;
}

/* Quick Search Styles */
.quick-search {
    margin-bottom: 30px;
}

.search-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.search-row input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.search-row .btn {
    white-space: nowrap;
}

/* Make card links clickable */
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

/* Transparent Info Button */
.transparent-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--black);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.transparent-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.1);
}

/* Service Sub List */
.service-sub-list {
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.service-sub-list li {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-sub-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.service-sub-list a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 3px 0;
    transition: all 0.2s ease;
}

.service-sub-list a:hover {
    color: var(--gold);
    padding-left: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* Make card title flex container for button alignment */
.service-card h3 {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Toggle button active state */
.toggle-list.active {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(45deg);
}

/* ==============================
   MOBILE FIRST APPROACH
   Stacked Layout for Mobile & Tablet
   ============================== */

.services-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Service Card - Mobile (Stacked) */
.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-wrapper {
    display: flex;
    flex-direction: column;
}

/* Content Area - Mobile (100% width, top) */
.card-content {
    padding: 25px;
    order: 1; /* Content comes first on mobile */
}

/* Image Area - Mobile (100% width, bottom) */
.card-image {
    width: 100%;
    height: 250px;
    order: 2; /* Image comes after content on mobile */
    position: relative;
    overflow: hidden;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
    pointer-events: none;
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold, #b8860b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Card Type Backgrounds */
.card-type-service .card-content {
    background: linear-gradient(135deg, #f0f8ff, #ffffff);
}

.card-type-info .card-content {
    background: linear-gradient(135deg, #f0fff4, #ffffff);
}

.card-type-product .card-content {
    background: linear-gradient(135deg, #fff0f5, #ffffff);
}

/* Card Header */
.card-header {
    margin-bottom: 20px;
}

.card-category {
    display: inline-block;
    background: var(--gold, #b8860b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    color: var(--black, #0b0b0b);
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--gold, #b8860b);
}

/* Description */
.card-description {
    color: var(--muted, #0d0d0e);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Service List */
.service-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.service-list li {
    margin: 0;
}

.service-list a {
    color: var(--muted, #0d0d0e);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 44px;
}

.service-list a:hover {
    color: var(--gold, #b8860b);
    background: rgba(184, 134, 11, 0.05);
    border-color: rgba(184, 134, 11, 0.2);
    transform: translateX(4px);
}

.service-list a:before {
    content: "•";
    color: var(--gold, #b8860b);
    margin-right: 8px;
    font-size: 18px;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    min-height: 48px;
    flex: 1;
    min-width: 150px;
}

.btn-primary {
    background: var(--black, #0b0b0b);
    color: white;
}

.btn-primary:hover {
    background: var(--gold, #b8860b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--black, #0b0b0b);
    border-color: rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--gold, #b8860b);
    color: var(--gold, #b8860b);
    background: rgba(184, 134, 11, 0.05);
    transform: translateY(-2px);
}

/* ==============================
   TABLET (768px - 1024px)
   Still Stacked, but with improvements
   ============================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .services-container {
        padding: 0 24px;
    }
    
    .services-grid {
        gap: 35px;
    }
    
    .card-content {
        padding: 30px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .service-list ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-list a {
        font-size: 15px;
        padding: 10px 15px;
    }
    
    .btn {
        min-height: 52px;
        font-size: 16px;
    }
}

/* ==============================
   DESKTOP (1025px and above)
   SPLIT LAYOUT - 50% CONTENT | 50% IMAGE
   ============================== */
@media (min-width: 1025px) {
    .services-container {
        padding: 0 32px;
    }
    
    .services-grid {
        gap: 40px;
    }
    
    /* DESKTOP: Change from stacked to side-by-side */
    .card-wrapper {
        flex-direction: row; /* Horizontal layout */
        min-height: 500px; /* Same height for both sides */
    }
    
    /* Content Area - Desktop (Left 50%) */
    .card-content {
        flex: 0 0 50%; /* 50% width */
        max-width: 50%;
        padding: 40px;
        order: 1; /* Content stays left */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Image Area - Desktop (Right 50%) */
    .card-image {
        flex: 0 0 50%; /* 50% width */
        max-width: 50%;
        height: auto; /* Full card height */
        order: 2; /* Image stays right */
    }
    
    .image-container img {
        height: 100%;
    }
    
    /* Desktop Enhancements */
    .card-title {
        font-size: 28px;
    }
    
    .card-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .service-list ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .service-list a {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .card-actions {
        gap: 20px;
    }
    
    /* Hover Effects - Desktop Only */
    @media (hover: hover) {
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .image-link:hover .image-container img {
            transform: scale(1.08);
        }
        
        .btn-primary:hover:after {
            transform: translateX(4px);
        }
    }
}

/* ==============================
   LARGE DESKTOP (1400px+)
   ============================== */
@media (min-width: 1400px) {
    .services-container {
        padding: 0 40px;
    }
    
    .card-content {
        padding: 50px;
    }
    
    .card-title {
        font-size: 32px;
    }
    
    .service-list ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==============================
   ANIMATIONS
   ============================== */
.service-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

/* ==============================
   TOUCH DEVICE OPTIMIZATIONS
   ============================== */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 52px;
        padding: 16px 24px;
    }
    
    .service-list a {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    /* Disable hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }
}

/* ==============================
   REDUCED MOTION SUPPORT
   ============================== */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .btn,
    .image-container img,
    .service-list a {
        animation: none !important;
        transition: none !important;
    }
    
    .service-card {
        opacity: 1;
        transform: none;
    }
}

/* ==============================
   DISCLAIMER MODAL - IMPROVED
   ============================== */

.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.disclaimer-content {
    background: white;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease forwards;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    transform: rotate(90deg);
}

.disclaimer-text {
    margin-bottom: 25px;
}

.disclaimer-text strong {
    display: block;
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.disclaimer-text p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.disclaimer-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.disclaimer-actions .btn {
    min-width: 150px;
    padding: 12px 24px;
}

.disclaimer-actions .btn-primary {
    background: #e74c3c;
    border-color: #e74c3c;
}

.disclaimer-actions .btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.disclaimer-actions .btn-secondary {
    background: transparent;
    color: #666;
    border-color: #ddd;
}

.disclaimer-actions .btn-secondary:hover {
    color: #333;
    border-color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .disclaimer-content {
        padding: 25px 20px;
        width: 95%;
    }
    
    .disclaimer-actions {
        flex-direction: column;
    }
    
    .disclaimer-actions .btn {
        width: 100%;
    }
}

/* ==============================
   CARD INFO BOX FIXES
   ============================== */

.card-info-box {
    display: none;
    position: relative;
    margin-top: 15px;
    padding: 20px;
    border-radius: 18px;
    animation: slideDown 0.3s ease;
}

.card-info-box.show {
    display: block;
}

/* Different box styles */

.box-style-1 {
    background-color: #e4e1d0;
    border-left: 14px solid #671c0c;
}

.box-style-2 {
    background-color: #baa8a4;
    border-left: 14px solid #f6941e;
}

.box-style-3 {
    background-color: #c0c2d1;
    border-left: 14px solid #FFD700;
}

/* Disclaimer icon inside boxes */

.card-info-box .disclaimer-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #e74c3c;
    font-size: 20px;
    cursor: pointer;
    background: rgba(231, 76, 60, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.card-info-box .disclaimer-icon:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: scale(1.1);
}

/* Animations */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-desc {
    animation: slideFromLeft 0.4s ease;
}

.animate-cond {
    animation: fadeUp 0.4s ease;
}

.animate-terms {
    animation: zoomIn 0.35s ease;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Don't intercept animations */

.card-info-box.show {
    animation-fill-mode: both;
}

.animate-desc,
.animate-cond,
.animate-terms {
    animation-fill-mode: both;
}


/* ==============================
   ANIMATIONS
   ============================== */

.animate-desc {
    animation: slideFromLeft 0.4s ease;
}

.animate-cond {
    animation: fadeUp 0.4s ease;
}

.animate-terms {
    animation: zoomIn 0.35s ease;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==============================
   FORM ELEMENTS
   ============================== */

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 8px;
}

.form-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.login-panel {
    max-width: 420px;
    margin: 0 auto;
}

/* ==============================
   QUESTIONNAIRE
   ============================== */

.questionnaire-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 40px;
}

.questionnaire-header h2 {
    font-size: 32px;
    color: var(--black);
    margin-bottom: 10px;
}

.questionnaire-header .subtitle {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 25px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 4px;
    width: 5.56%; /* 1/18 of 100% */
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* Question Slides */
.question-slides {
    position: relative;
    min-height: 300px;
    margin-bottom: 40px;
}

.question-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.question-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.question-slide.exit {
    opacity: 0;
    transform: translateX(-50px);
}

.question-content {
    text-align: center;
    padding: 30px;
}

.question-number {
    font-size: 14px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.question-text {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 40px;
    line-height: 1.4;
    font-weight: 500;
}

/* Options Container */
.options-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.option-group {
    position: relative;
}

.option-input {
    display: none;
}

.option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 40px;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.option-label:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.1);
}

.option-input:checked + .option-label {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.2);
}

.option-input:checked + .option-label .option-text {
    color: white;
}

.option-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.3s ease;
}

/* Navigation Buttons */
.questionnaire-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.questionnaire-navigation .btn {
    min-width: 150px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

#prevBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#prevBtn:disabled:hover {
    transform: none;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Results Section */
.results-section {
    text-align: center;
    padding: 50px 30px;
    animation: fadeIn 0.8s ease;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-20px);
    }
}

.result-title {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 15px;
}

.result-message {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.result-actions .btn {
    min-width: 180px;
    padding: 15px 35px;
    font-size: 16px;
}

/* Question Indicators */
.question-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.question-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.question-indicator.active {
    background: var(--gold);
    transform: scale(1.2);
}

.question-indicator.answered {
    background: rgba(184, 134, 11, 0.5);
}

/* Timer (Optional) */
.question-timer {
    text-align: center;
    margin-bottom: 20px;
}

.timer-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .questionnaire-container {
        padding: 20px;
        margin: 20px;
    }
    
    .questionnaire-header h2 {
        font-size: 26px;
    }
    
    .question-text {
        font-size: 20px;
    }
    
    .options-container {
        gap: 15px;
    }
    
    .option-label {
        padding: 20px 25px;
        min-width: 130px;
    }
    
    .option-text {
        font-size: 18px;
    }
    
    .questionnaire-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .questionnaire-navigation .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .question-text {
        font-size: 18px;
    }
    
    .options-container {
        flex-direction: column;
        align-items: center;
    }
    
    .option-label {
        width: 100%;
        max-width: 250px;
    }
    
    .result-title {
        font-size: 28px;
    }
    
    .result-message {
        font-size: 16px;
    }
}

/* Animation for question change */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auto-advance after selection */
.auto-advance-notice {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
}