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

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --light-blue: #dbeafe;
    --primary-orange: #f97316;
    --secondary-orange: #fb923c;
    --light-orange: #fed7aa;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-orange);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-orange);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subsection-title i {
    color: var(--primary-orange);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-orange);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-orange) 100%);
    border-left: 4px solid var(--primary-blue);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p,
.info-card ul {
    color: var(--dark-gray);
    line-height: 1.8;
}

.info-card ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* Info Box */
.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
}

.info-box p {
    margin-bottom: 1rem;
}

.info-box ul {
    list-style-position: inside;
    padding-left: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-blue);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-blue);
}

.timeline-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Stations Grid */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.station-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-orange);
}

.station-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.station-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.station-card h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.station-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Museums Grid */
.museums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.museum-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-orange);
}

.museum-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.museum-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: block;
}

.museum-card h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.museum-card p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Quiz Styles */
.quiz-container {
    max-width: 900px;
    margin: 0 auto;
}

.quiz-start {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quiz-intro i {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.quiz-intro h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quiz-intro p {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.quiz-instructions {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    display: inline-block;
}

.quiz-instructions li {
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quiz-instructions i {
    color: var(--success);
}

.quiz-header {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-progress {
    flex: 1;
}

.progress-bar {
    height: 10px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.quiz-score {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.question-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.question-number {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.question-text {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.options-list {
    list-style: none;
}

.option-item {
    margin-bottom: 1rem;
}

.option-btn {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-btn:hover:not(.correct):not(.incorrect):not(.disabled) {
    background: var(--light-blue);
    border-color: var(--secondary-blue);
    transform: translateX(5px);
}

.option-btn.correct {
    background: #d1fae5;
    border-color: var(--success);
    color: var(--success);
    font-weight: 600;
}

.option-btn.incorrect {
    background: #fee2e2;
    border-color: var(--error);
    color: var(--error);
    font-weight: 600;
}

.option-btn.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    font-weight: 700;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.option-btn.correct .option-letter {
    background: var(--success);
    color: var(--white);
}

.option-btn.incorrect .option-letter {
    background: var(--error);
    color: var(--white);
}

.feedback-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}

.feedback-message.show {
    display: block;
}

.feedback-message.correct {
    background: #d1fae5;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.feedback-message.incorrect {
    background: #fee2e2;
    color: var(--error);
    border-left: 4px solid var(--error);
}

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

/* Quiz Results */
.quiz-results {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.results-icon {
    font-size: 5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.results-card h3 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.results-score {
    margin-bottom: 2rem;
}

.score-circle {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.score-total {
    font-size: 2rem;
    color: var(--medium-gray);
}

#scorePercentage {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: 600;
}

.result-message {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quiz Review */
.quiz-review {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.review-header h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--medium-gray);
}

.review-item.correct {
    background: #d1fae5;
    border-left-color: var(--success);
}

.review-item.incorrect {
    background: #fee2e2;
    border-left-color: var(--error);
}

.review-question {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.review-answer {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.review-answer.user-answer {
    background: rgba(0, 0, 0, 0.05);
}

.review-answer.correct-answer {
    background: rgba(16, 185, 129, 0.1);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid,
    .stations-grid,
    .museums-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-content {
        width: 100%;
    }

    .quiz-start,
    .quiz-results {
        padding: 2rem 1.5rem;
    }

    .question-card {
        padding: 1.5rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    .results-card h3 {
        font-size: 2rem;
    }

    .score-circle {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .quiz-header {
        flex-direction: column;
        gap: 1rem;
    }

    .results-actions {
        flex-direction: column;
    }

    .results-actions .btn {
        width: 100%;
    }
}