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

:root {
    --primary: #e74c3c;
    --secondary: #3498db;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;
}

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
    font-family: 'Special Elite', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header h1 span {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f1f1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.question, .exercise {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.question p, .exercise p {
    font-weight: 500;
    margin-bottom: 1rem;
}

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

.option {
    display: flex;
    align-items: center;
}

.option input {
    margin-right: 10px;
}

.scenario-description {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.vocabulary-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #9b59b6;
}

.vocabulary-sentence {
    font-size: 1.1rem;
    line-height: 1.8;
}

.vocabulary-sentence select {
    padding: 0.5rem;
    border: 2px dashed #9b59b6;
    border-radius: 4px;
    background-color: white;
    font-family: inherit;
    font-size: inherit;
    margin: 0 0.3rem;
    min-width: 180px;
}

.vocabulary-sentence select:focus {
    outline: none;
    border-color: #8e44ad;
}

.btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #c0392b;
}

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

.correct {
    background-color: rgba(46, 204, 113, 0.2);
    color: #27ae60;
}

.incorrect {
    background-color: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.guide-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guide-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
}

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

.icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.guide-item h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.guide-item p {
    font-size: 0.9rem;
    color: #555;
}

.office-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.office-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f1f1;
}

.glossary-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.glossary-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
    transition: transform 0.2s;
}

.glossary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.glossary-item h3 {
    color: #e67e22;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.glossary-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark);
    color: white;
    font-size: 0.9rem;
}

.btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-pdf {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pdf:hover {
    background-color: #2980b9;
}

.btn-pdf svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .guide-container {
        grid-template-columns: 1fr;
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    .print-section, .print-section * {
        visibility: visible;
    }
    .print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
    .btn, .btn-pdf, .results {
        display: none !important;
    }
}