/* ============================================
   Modern Professional Law Firm Website
   Yishai Levi Law - Full RTL Support
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary-color: #1e3a8a;        /* Deep blue */
    --primary-dark: #1e293b;         /* Darker blue */
    --primary-light: #3b82f6;        /* Light blue */
    --secondary-color: #d4af37;      /* Professional gold */
    --secondary-dark: #b8961e;       /* Dark gold */

    --text-color: #1f2937;           /* Dark gray */
    --text-light: #6b7280;           /* Light gray */
    --white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    --container-width: 1200px;

    /* Typography */
    --font-family: 'Heebo', sans-serif;
    --h1-size: 3rem;
    --h2-size: 2.25rem;
    --h3-size: 1.5rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family);
    font-size: var(--normal-size);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   REUSABLE CLASSES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: var(--small-size);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: var(--h2-size);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: var(--normal-size);
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

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

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

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 100;
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav__logo i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__cta {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    background: var(--secondary-dark);
    color: var(--white);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero__title-accent {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.hero__title-main {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.1;
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.stat__label {
    font-size: var(--small-size);
    color: rgba(255, 255, 255, 0.8);
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero__image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--white);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about__image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--secondary-color);
}

.about__image-placeholder i {
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.about__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about__highlights {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border-right: 3px solid var(--secondary-color);
}

.highlight i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight span {
    font-weight: 500;
    color: var(--text-color);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-light);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.service-card--featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fef3c7 0%, var(--white) 100%);
}

.service-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: var(--small-size);
    font-weight: 600;
}

.service-card__icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-card__icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card__title {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card__description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: var(--small-size);
}

.service-card__list i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    background: var(--white);
}

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

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '\f060';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 3rem;
    left: -1.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
    opacity: 0.3;
}

.process-step__number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1rem;
}

.process-step__icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.process-step__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.process-step__description {
    color: var(--text-light);
    font-size: var(--small-size);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-card__text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-gray);
}

.testimonial-card__avatar {
    width: 3rem;
    height: 3rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.testimonial-card__info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-card__info span {
    font-size: var(--small-size);
    color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--white);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact__detail {
    display: flex;
    gap: 1rem;
}

.contact__detail-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact__detail-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact__detail-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact__detail-content a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact__detail-content a:hover {
    color: var(--primary-light);
}

.contact__detail-content p {
    color: var(--text-light);
    font-size: var(--small-size);
}

.contact__cta {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border-right: 3px solid var(--secondary-color);
}

.contact__cta p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Form Styles */
.contact__form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--bg-gray);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: var(--normal-size);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__logo i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: var(--small-size);
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a,
.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-size);
    transition: var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--secondary-color);
    padding-right: 0.25rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-size);
}

.footer__contact i {
    color: var(--secondary-color);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--small-size);
    margin-bottom: 0.5rem;
}

.footer__disclaimer {
    font-size: 0.75rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.floating-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn--whatsapp {
    background: #25d366;
    color: var(--white);
}

.floating-btn--whatsapp:hover {
    background: #20ba5a;
}

.floating-btn--phone {
    background: var(--primary-color);
    color: var(--white);
}

.floating-btn--phone:hover {
    background: var(--primary-light);
}

.floating-btn--top {
    background: var(--secondary-color);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
}

.floating-btn--top.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2.25rem;
        --h2-size: 1.75rem;
        --h3-size: 1.25rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 100;
    }

    .nav__menu.show-menu {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        left: 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__image {
        order: -1;
    }

    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

    .services__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after,
    .process-step:last-child::after {
        display: none;
    }

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

    .contact__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    :root {
        --h1-size: 1.75rem;
        --h2-size: 1.5rem;
        --h3-size: 1.125rem;
        --section-padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav__menu {
        width: 100%;
        left: -100%;
    }

    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero__image-placeholder {
        max-width: 300px;
    }

    .hero__image-placeholder i {
        font-size: 5rem;
    }

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

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

    .process-step::after {
        display: none;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact__form {
        padding: 1.5rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .floating-buttons {
        bottom: 1rem;
        left: 1rem;
    }

    .floating-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}

/* ============================================
   QUIZ SECTION
   ============================================ */
.quiz-section {
    background: var(--bg-light);
}

.quiz-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

/* Progress Bar */
.quiz-progress-wrapper {
    margin-bottom: 3rem;
}

.quiz-progress-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
    width: 25%;
}

.quiz-progress-text {
    text-align: center;
    font-size: var(--small-size);
    color: var(--text-light);
    font-weight: 500;
}

/* Quiz Steps */
.quiz-steps {
    position: relative;
    min-height: 400px;
}

.quiz-step {
    display: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.quiz-step__title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    text-align: center;
}

.quiz-step__description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Quiz Options */
.quiz-options {
    display: grid;
    gap: 1rem;
}

.quiz-option {
    background: var(--white);
    border: 2px solid var(--bg-gray);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.quiz-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateX(-5px);
}

.quiz-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    box-shadow: var(--shadow-md);
}

.quiz-option i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.quiz-option span {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quiz-option small {
    font-size: var(--small-size);
    color: var(--text-light);
    font-weight: 400;
}

/* Quiz Form */
.quiz-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Quiz Navigation */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-gray);
}

.quiz-navigation .btn {
    min-width: 120px;
}

/* Quiz Results */
.quiz-results__success {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-results__success i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.quiz-results__success h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.quiz-results__success p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.quiz-results__summary {
    background: var(--bg-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.quiz-results__summary h4 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.quiz-results__summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-gray);
}

.quiz-results__summary-item:last-child {
    border-bottom: none;
}

.quiz-results__summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.quiz-results__summary-value {
    color: var(--text-color);
    font-weight: 600;
}

.quiz-results__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Quiz */
@media screen and (max-width: 768px) {
    .quiz-container {
        padding: 2rem 1.5rem;
    }

    .quiz-step__title {
        font-size: 1.5rem;
    }

    .quiz-option {
        padding: 1.25rem;
    }

    .quiz-option i {
        font-size: 1.5rem;
    }

    .quiz-navigation {
        flex-direction: column-reverse;
    }

    .quiz-navigation .btn {
        width: 100%;
    }

    .quiz-results__actions {
        flex-direction: column;
    }

    .quiz-results__actions .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .header,
    .floating-buttons {
        display: none;
    }
}