/* ========================================
   Global Styles & Variables
   ======================================== */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50C878;
    --accent-color: #FFB347;
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --white: #FFFFFF;
    --gray: #7F8C8D;
    --danger: #E74C3C;
    --success: #27AE60;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-birds {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.bird-icon {
    position: absolute;
    font-size: 3rem;
    animation: fly 20s infinite;
    opacity: 0.3;
}

.bird-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bird-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.bird-icon:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: 10s;
}

.bird-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 15s;
}

@keyframes fly {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-5deg); }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

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

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

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* ========================================
   Species Section
   ======================================== */
.species-section {
    background: var(--light-color);
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.species-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.species-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.species-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.species-stats {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 2px solid var(--light-color);
    border-bottom: 2px solid var(--light-color);
}

.stat {
    font-size: 0.9rem;
    color: var(--gray);
}

.species-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.difficulty {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.difficulty.beginner {
    background: #d4edda;
    color: #155724;
}

.difficulty.intermediate {
    background: #fff3cd;
    color: #856404;
}

.difficulty.advanced {
    background: #f8d7da;
    color: #721c24;
}

/* ========================================
   Care Section
   ======================================== */
.care-section {
    background: var(--white);
}

.care-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--light-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--dark-color);
}

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

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

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.care-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.care-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.care-item h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.care-item ul {
    list-style: none;
}

.care-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.care-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========================================
   Tools Section
   ======================================== */
.tools-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.tools-section .section-title,
.tools-section .section-subtitle {
    color: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tool-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.tool-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tool-content {
    padding: 2rem;
    color: var(--dark-color);
}

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

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

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.result-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    display: none;
}

.result-box.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Weight & Health Tracker Specific Styles */
.weight-tracker-card {
    grid-column: 1 / -1; /* Full width */
}

.weight-tracker-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.weight-tracker-info p {
    margin: 0;
    color: var(--dark-color);
    line-height: 1.7;
}

.weight-tracker-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.weight-tracker-buttons button {
    flex: 1;
}

.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    resize: vertical;
}

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

/* Weight Alert */
.weight-alert {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: none;
}

.weight-alert.show {
    display: block;
    animation: slideIn 0.5s ease;
}

.weight-alert.warning {
    background: #fff3e0;
    color: #e65100;
    border-left: 5px solid var(--warning);
}

.weight-alert.danger {
    background: #ffebee;
    color: #c62828;
    border-left: 5px solid var(--danger-color);
}

.weight-alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 5px solid #4caf50;
}

/* Weight Statistics */
.weight-stats {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.weight-stats h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Weight Chart */
.weight-chart-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.weight-chart-container h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.3rem;
}

#weight-chart {
    width: 100% !important;
    max-height: 300px;
}

/* Weight History Table */
.weight-history-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.weight-history-container h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.3rem;
}

.weight-history-table {
    overflow-x: auto;
}

#weight-history-table {
    width: 100%;
    border-collapse: collapse;
}

#weight-history-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

#weight-history-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

#weight-history-table tbody tr:hover {
    background: #f8f9fa;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem !important;
}

.weight-change-positive {
    color: #2e7d32;
    font-weight: 600;
}

.weight-change-negative {
    color: #c62828;
    font-weight: 600;
}

.weight-change-neutral {
    color: #666;
}

.delete-entry-btn {
    background: var(--danger-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.delete-entry-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* Weight Reference */
.weight-reference {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 50%, #ffecb3 100%);
    border-radius: 10px;
    border-left: 5px solid var(--warning);
}

.weight-reference h4 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
    font-size: 1.3rem;
}

.weight-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.ref-item {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
}

.ref-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.weight-reference-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Responsive for Weight Tracker */
@media (max-width: 768px) {
    .weight-tracker-buttons {
        flex-direction: column;
    }

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

    .weight-reference-grid {
        grid-template-columns: 1fr;
    }

    #weight-history-table {
        font-size: 0.9rem;
    }

    #weight-history-table th,
    #weight-history-table td {
        padding: 0.7rem;
    }
}

/* ========================================
   Fun Section
   ======================================== */
.fun-section {
    background: var(--light-color);
}

.fun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.fact-card:hover {
    transform: scale(1.05);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fact-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.fact-card p {
    color: var(--gray);
    line-height: 1.8;
}

.did-you-know {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
}

.did-you-know h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.random-fact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Resources Section
   ======================================== */
.resources-section {
    background: var(--white);
}

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

.resource-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid var(--primary-color);
}

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

.resource-card p {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.resource-card ul {
    list-style: none;
}

.resource-card li {
    padding: 0.5rem 0;
    color: var(--gray);
}

.resource-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.resource-card a:hover {
    color: var(--secondary-color);
}

.emergency-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.emergency-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.emergency-box p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* ========================================
   Species Comparison Tool
   ======================================== */
.comparison-tool {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.comparison-container {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
    gap: 1rem;
}

.comparison-select {
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.comparison-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comparison-result {
    display: none;
    animation: fadeIn 0.5s ease;
}

/* ========================================
   Behavior Decoder Section
   ======================================== */
.behavior-section {
    background: var(--white);
}

.behavior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.behavior-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

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

.behavior-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.behavior-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.behavior-meaning {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.behavior-meaning.happy {
    background: #d4edda;
    color: #155724;
}

.behavior-meaning.neutral {
    background: #d1ecf1;
    color: #0c5460;
}

.behavior-meaning.warning {
    background: #fff3cd;
    color: #856404;
}

.behavior-meaning.danger {
    background: #f8d7da;
    color: #721c24;
}

.behavior-card p {
    line-height: 1.8;
    color: var(--gray);
}

/* ========================================
   Checklist Styles
   ======================================== */
.checklist-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.checklist-item:hover {
    background: #e0e7ea;
}

.care-checkbox {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checklist-item label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
}

.symptom-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.symptom-checkboxes label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.symptom-checkboxes label:hover {
    background: #e0e7ea;
}

.symptom-check {
    margin-right: 0.5rem;
    cursor: pointer;
}

/* ========================================
   Practical Guides Section
   ======================================== */
.guides-section {
    background: var(--light-color);
}

.guides-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.guide-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--light-color);
}

.guide-card h4 {
    color: var(--dark-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.guide-card ul,
.guide-card ol {
    margin-left: 1.5rem;
    line-height: 2;
}

.guide-card li {
    margin: 0.5rem 0;
    color: var(--gray);
}

.emergency-scenarios,
.diy-ideas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenario,
.diy-item {
    padding: 1rem;
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    line-height: 1.8;
}

.season-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--light-color);
}

.season-section:last-child {
    border-bottom: none;
}

/* ========================================
   Myths vs Facts Section
   ======================================== */
.myths-section {
    background: var(--white);
}

.myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.myth-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.myth-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.myth-label {
    display: inline-block;
    padding: 8px 16px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.myth-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.fact-label {
    display: inline-block;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
}

.myth-card p {
    line-height: 1.8;
    color: var(--gray);
}

/* ========================================
   Enrichment Section
   ======================================== */
.enrichment-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.enrichment-section .section-title,
.enrichment-section .section-subtitle {
    color: var(--dark-color);
}

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

.enrichment-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.enrichment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.enrichment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.enrichment-icon {
    font-size: 2rem;
}

.enrichment-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
}

.enrichment-list {
    list-style: none;
    padding: 0;
}

.enrichment-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--gray);
}

.enrichment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.enrichment-tips {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.enrichment-tips h3 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.tip-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================
   Molting Guide Section
   ======================================== */
.molting-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 50%, #fab1a0 100%);
}

.molting-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #fdcb6e;
}

.molting-intro h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.molting-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin: 0;
}

/* Molt Categories */
.molt-category {
    margin-bottom: 4rem;
}

.molt-category-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #fdcb6e;
    text-align: center;
}

/* Molt Reasons Grid */
.molt-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.molt-reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #fdcb6e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.molt-reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.molt-reason-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.molt-reason-card p {
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
}

/* Molt Timeline Grid */
.molt-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.molt-timeline-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #fdcb6e;
}

.molt-timeline-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
}

.molt-timeline-card p {
    margin: 0.7rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-color);
}

.molt-timeline-card strong {
    color: var(--primary-color);
}

/* Normal vs Abnormal Molting */
.molt-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.molt-normal,
.molt-abnormal {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.molt-normal {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-left: 6px solid #4caf50;
}

.molt-abnormal {
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
    border-left: 6px solid var(--danger-color);
}

.molt-normal h4,
.molt-abnormal h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.molt-normal h4 {
    color: #2e7d32;
}

.molt-abnormal h4 {
    color: #c62828;
}

.molt-signs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.molt-signs-list li {
    padding: 0.7rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.abnormal-warning {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3e0;
    border-radius: 8px;
    border-left: 5px solid var(--warning);
}

.abnormal-warning strong {
    color: #e65100;
    display: block;
    margin-bottom: 0.5rem;
}

/* Molt Care Grid */
.molt-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.molt-care-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.molt-care-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.care-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.molt-care-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.molt-care-card p {
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.molt-care-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.molt-care-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--dark-color);
}

.molt-care-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Molt Vet Warning */
.molt-vet-warning {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.molt-vet-warning h3 {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.vet-warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.vet-warning-item {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vet-warning-item.urgent {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left: 6px solid var(--danger-color);
}

.vet-warning-item.moderate {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 6px solid var(--warning);
}

.vet-warning-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.vet-warning-item.urgent h4 {
    color: #c62828;
}

.vet-warning-item.moderate h4 {
    color: #e65100;
}

.vet-warning-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vet-warning-item ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--dark-color);
}

.vet-warning-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.vet-warning-item.urgent ul li::before {
    color: var(--danger-color);
}

.vet-warning-item.moderate ul li::before {
    color: var(--warning);
}

/* Molt FAQs */
.molt-faqs {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.molt-faqs h3 {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design for Molting Section */
@media (max-width: 768px) {
    .molt-reasons-grid,
    .molt-timeline-grid,
    .molt-care-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .molt-comparison {
        grid-template-columns: 1fr;
    }

    .vet-warning-grid {
        grid-template-columns: 1fr;
    }

    .molt-vet-warning,
    .molt-faqs {
        padding: 1.5rem;
    }
}

/* ========================================
   Bird-Safe Plants Database Section
   ======================================== */
.plants-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #c3fae8 0%, #a7f3d0 50%, #6ee7b7 100%);
}

.plants-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #10b981;
}

.plants-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin: 0;
}

/* Search and Filter Section */
.plants-search-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plant-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.plant-search-input:focus {
    outline: none;
    border-color: #10b981;
}

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

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: var(--white);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.filter-btn.active {
    background: #10b981;
    color: var(--white);
    border-color: #10b981;
}

.search-count {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-top: 1rem;
    font-weight: 500;
}

/* Plant Category Sections */
.plant-category-section {
    margin-bottom: 4rem;
}

.plant-category-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
    text-align: center;
}

.safe-title {
    color: #10b981;
    border-bottom-color: #10b981;
}

.caution-title {
    color: var(--warning);
    border-bottom-color: var(--warning);
}

.toxic-title {
    color: var(--danger-color);
    border-bottom-color: var(--danger-color);
}

.category-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Plants Grid */
.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.plant-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid;
}

.plant-card.safe {
    border-top-color: #10b981;
}

.plant-card.caution {
    border-top-color: var(--warning);
}

.plant-card.toxic {
    border-top-color: var(--danger-color);
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plant-card.hidden {
    display: none;
}

.plant-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.plant-scientific {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.plant-status {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plant-status.safe {
    background: #d1fae5;
    color: #065f46;
}

.plant-status.caution {
    background: #fef3c7;
    color: #92400e;
}

.plant-status.toxic {
    background: #fee2e2;
    color: #991b1b;
}

.plant-notes {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Safety Guidelines */
.plants-safety-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.plants-safety-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.safety-guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guideline-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-5px);
}

.guideline-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.guideline-card p {
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
}

/* Beneficial Plants */
.beneficial-plants {
    background: linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.beneficial-plants h3 {
    color: #10b981;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.beneficial-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.beneficial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.beneficial-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #10b981;
    transition: transform 0.3s ease;
}

.beneficial-card:hover {
    transform: translateY(-5px);
}

.beneficial-card h4 {
    color: #10b981;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.beneficial-card p {
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.beneficial-card strong {
    color: var(--primary-color);
}

/* Responsive Design for Plants Section */
@media (max-width: 768px) {
    .filter-buttons {
        flex-direction: column;
    }

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

    .safety-guidelines-grid,
    .beneficial-grid {
        grid-template-columns: 1fr;
    }

    .plants-safety-info,
    .beneficial-plants {
        padding: 1.5rem;
    }
}

/* ========================================
   Sleep Schedule Calculator Section
   ======================================== */
.sleep-calculator-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 50%, #9fa8da 100%);
    padding: 6rem 0;
}

.sleep-calculator-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.sleep-calculator-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #424242;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.sleep-calculator-tool {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 4rem;
    border-top: 6px solid #5c6bc0;
}

.sleep-calculator-tool h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.calculator-form select,
.calculator-form input[type="time"],
.calculator-form input[type="number"] {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.calculator-form select:focus,
.calculator-form input:focus {
    outline: none;
    border-color: #5c6bc0;
    box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.1);
}

.calculator-form button {
    grid-column: 1 / -1;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #5c6bc0 0%, #3f51b5 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(92, 107, 192, 0.3);
}

.calculator-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 107, 192, 0.4);
}

.sleep-results {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    display: none;
}

.sleep-results.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.sleep-results h4 {
    color: #2e7d32;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sleep-schedule-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.schedule-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.schedule-item .time-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.schedule-item .time-value {
    font-size: 2rem;
    font-weight: 700;
    color: #5c6bc0;
}

.sleep-tips-list {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-top: 1.5rem;
}

.sleep-tips-list h5 {
    color: #e65100;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sleep-tips-list ul {
    list-style: none;
    padding: 0;
}

.sleep-tips-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #424242;
    line-height: 1.6;
}

.sleep-tips-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
}

.sleep-requirements {
    margin: 4rem 0;
}

.sleep-requirements h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.sleep-req-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-top: 5px solid #5c6bc0;
    opacity: 0;
    transform: translateY(30px);
}

.sleep-req-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sleep-req-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.sleep-req-card h4 {
    color: #5c6bc0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sleep-req-card .hours {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 1rem 0;
    text-align: center;
}

.sleep-req-card p {
    color: #666;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.sleep-req-card .special-note {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #1565c0;
}

.sleep-environment {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid #ab47bc;
}

.sleep-environment h3 {
    color: #6a1b9a;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sleep-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.sleep-tip-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.sleep-tip-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sleep-tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.sleep-tip-card .tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sleep-tip-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.sleep-tip-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.sleep-deprivation {
    margin: 4rem 0;
}

.sleep-deprivation h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.sleep-deprivation > p {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.deprivation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.deprivation-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.deprivation-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.deprivation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.deprivation-card.behavioral {
    border-top: 5px solid #ff9800;
}

.deprivation-card.physical {
    border-top: 5px solid #f44336;
}

.deprivation-card.psychological {
    border-top: 5px solid #9c27b0;
}

.deprivation-card.hormonal {
    border-top: 5px solid #e91e63;
}

.deprivation-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deprivation-card.behavioral h4 {
    color: #f57c00;
}

.deprivation-card.physical h4 {
    color: #d32f2f;
}

.deprivation-card.psychological h4 {
    color: #7b1fa2;
}

.deprivation-card.hormonal h4 {
    color: #c2185b;
}

.deprivation-card ul {
    list-style: none;
    padding: 0;
}

.deprivation-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #424242;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.deprivation-card li:last-child {
    border-bottom: none;
}

.deprivation-card li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.sleep-faqs {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
}

.sleep-faqs h3 {
    color: var(--dark-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.sleep-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sleep-faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.sleep-faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.sleep-faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.sleep-faq-item h4 {
    color: #5c6bc0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.sleep-faq-item p {
    color: #424242;
    line-height: 1.7;
}

/* Responsive Design for Sleep Calculator */
@media (max-width: 768px) {
    .sleep-calculator-tool {
        padding: 2rem 1.5rem;
    }

    .calculator-form {
        grid-template-columns: 1fr;
    }

    .sleep-schedule-display {
        grid-template-columns: 1fr;
    }

    .sleep-req-grid,
    .sleep-tips-grid,
    .deprivation-grid,
    .sleep-faq-grid {
        grid-template-columns: 1fr;
    }

    .sleep-calculator-section .section-title {
        font-size: 2.2rem;
    }

    .sleep-requirements h3,
    .sleep-deprivation h3,
    .sleep-faqs h3 {
        font-size: 1.6rem;
    }
}

/* ========================================
   Breeding Basics Section
   ======================================== */
.breeding-section {
    background: linear-gradient(135deg, #ffe0e0 0%, #ffd4b3 50%, #ffc4a3 100%);
    padding: 6rem 0;
}

.breeding-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.breeding-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #424242;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Important Notice */
.breeding-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
    border: 3px solid #ff9800;
    border-left: 8px solid #ff9800;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 5px 20px rgba(255, 152, 0, 0.2);
}

.breeding-notice h3 {
    color: #e65100;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breeding-notice p {
    color: #424242;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Should You Breed Section */
.breeding-considerations {
    margin: 4rem 0;
}

.breeding-considerations h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.breeding-considerations > p {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.consideration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.consideration-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.consideration-card.green {
    border-top: 6px solid #4caf50;
}

.consideration-card.red {
    border-top: 6px solid var(--danger-color);
}

.consideration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.consideration-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.consideration-card.green h4 {
    color: #2e7d32;
}

.consideration-card.red h4 {
    color: #c62828;
}

.consideration-card ul {
    list-style: none;
    padding: 0;
}

.consideration-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #424242;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.consideration-card li:last-child {
    border-bottom: none;
}

.consideration-card.green li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.consideration-card.red li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

/* Prerequisites Section */
.breeding-prerequisites {
    margin: 4rem 0;
}

.breeding-prerequisites h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.prerequisite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prereq-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-top: 5px solid #ff7043;
}

.prereq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.prereq-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.prereq-card h4 {
    color: #d84315;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.prereq-card ul {
    list-style: none;
    padding: 0;
}

.prereq-card li {
    padding: 0.5rem 0;
    color: #424242;
    line-height: 1.6;
    font-size: 0.95rem;
}

.prereq-card li strong {
    color: var(--dark-color);
}

/* Breeding Pairs Section */
.breeding-pairs {
    margin: 4rem 0;
}

.breeding-pairs h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.pairing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pairing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 6px solid #ff7043;
}

.pairing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pairing-card h4 {
    color: #d84315;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.pairing-card ul {
    list-style: none;
    padding: 0;
}

.pairing-card li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.pairing-card li:last-child {
    border-bottom: none;
}

.pairing-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff7043;
    font-weight: bold;
    font-size: 1.3rem;
}

.pairing-card li strong {
    color: var(--dark-color);
}

/* Nesting Setup Section */
.nesting-setup {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid #ba68c8;
}

.nesting-setup h3 {
    color: #7b1fa2;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.nesting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nesting-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.nesting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.nesting-card h4 {
    color: #7b1fa2;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.nesting-card p {
    color: #424242;
    line-height: 1.7;
    margin: 0.75rem 0;
}

.nesting-card ul {
    list-style: none;
    padding: 0;
}

.nesting-card li {
    padding: 0.5rem 0;
    color: #424242;
    line-height: 1.6;
}

.nesting-card li strong {
    color: var(--dark-color);
}

/* Breeding Timeline */
.breeding-timeline {
    margin: 4rem 0;
}

.breeding-timeline h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff7043 0%, #ff5722 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7043 0%, #ff5722 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid #ff7043;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.timeline-content h4 {
    color: #d84315;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #424242;
    line-height: 1.8;
    margin: 0.75rem 0;
}

.timeline-content strong {
    color: var(--dark-color);
}

/* Nutrition Section */
.breeding-nutrition {
    margin: 4rem 0;
}

.breeding-nutrition h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.breeding-nutrition > p {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.nutrition-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-top: 5px solid #66bb6a;
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nutrition-card h4 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.nutrition-card ul {
    list-style: none;
    padding: 0;
}

.nutrition-card li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.nutrition-card li:last-child {
    border-bottom: none;
}

.nutrition-card li strong {
    color: var(--dark-color);
}

/* Breeding Problems Section */
.breeding-problems {
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid #ef5350;
}

.breeding-problems h3 {
    color: #c62828;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid #ef5350;
}

.problem-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.problem-card h4 {
    color: #c62828;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.problem-severity {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    font-weight: 600;
    color: #856404;
    font-size: 0.9rem;
}

.problem-card p {
    color: #424242;
    line-height: 1.7;
    margin: 0.75rem 0;
}

.problem-card strong {
    color: var(--dark-color);
}

/* Hand-Feeding Guide */
.hand-feeding-guide {
    margin: 4rem 0;
}

.hand-feeding-guide h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1rem;
}

.hand-feeding-guide > p {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.hand-feeding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hf-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 5px solid #42a5f5;
}

.hf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hf-card h4 {
    color: #1565c0;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.hf-card ul {
    list-style: none;
    padding: 0;
}

.hf-card li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.hf-card li:last-child {
    border-bottom: none;
}

.hf-card li strong {
    color: var(--dark-color);
}

.hf-card.danger-box {
    border-left: 5px solid var(--danger-color);
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
}

.hf-card.danger-box h4 {
    color: var(--danger-color);
}

/* When NOT to Breed Section */
.do-not-breed {
    background: linear-gradient(135deg, #ffcdd2 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 3px solid var(--danger-color);
}

.do-not-breed h3 {
    color: var(--danger-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.dont-breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dont-breed-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid var(--danger-color);
}

.dont-breed-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.dont-breed-card h4 {
    color: var(--danger-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.dont-breed-card ul {
    list-style: none;
    padding: 0;
}

.dont-breed-card li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.dont-breed-card li:last-child {
    border-bottom: none;
}

/* Breeding FAQs */
.breeding-faqs {
    margin: 4rem 0;
}

.breeding-faqs h3 {
    color: var(--dark-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.breeding-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.breeding-faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid #ff7043;
}

.breeding-faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.breeding-faq-item h4 {
    color: #d84315;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.breeding-faq-item p {
    color: #424242;
    line-height: 1.8;
}

.breeding-faq-item strong {
    color: var(--dark-color);
}

/* Final Note */
.breeding-final-note {
    background: linear-gradient(135deg, #e1f5fe 0%, #ffffff 100%);
    border: 2px solid #0288d1;
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(2, 136, 209, 0.15);
}

.breeding-final-note h3 {
    color: #01579b;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.breeding-final-note p {
    color: #424242;
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 1.5rem 0;
}

.breeding-final-note strong {
    color: var(--dark-color);
    font-weight: 600;
}

.breeding-final-note .emphasis {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #01579b;
    margin-top: 2rem;
}

/* Responsive Design for Breeding Section */
@media (max-width: 768px) {
    .breeding-section {
        padding: 4rem 0;
    }

    .breeding-section .section-title {
        font-size: 2.2rem;
    }

    .breeding-notice {
        padding: 1.5rem;
    }

    .consideration-grid,
    .prerequisite-grid,
    .pairing-grid,
    .nesting-grid,
    .nutrition-grid,
    .problems-grid,
    .hand-feeding-grid,
    .dont-breed-grid,
    .breeding-faq-grid {
        grid-template-columns: 1fr;
    }

    .timeline-container {
        padding-left: 40px;
    }

    .timeline-container::before {
        left: 10px;
    }

    .timeline-marker {
        left: -50px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .breeding-requirements h3,
    .breeding-pairs h3,
    .breeding-timeline h3,
    .breeding-nutrition h3,
    .breeding-problems h3,
    .hand-feeding-guide h3,
    .do-not-breed h3,
    .breeding-faqs h3 {
        font-size: 1.6rem;
    }
}

/* ========================================
   DIY Toy Ideas Gallery Section
   ======================================== */
.diy-toys-section {
    background: linear-gradient(135deg, #b2dfdb 0%, #80cbc4 50%, #4db6ac 100%);
    padding: 6rem 0;
}

.diy-toys-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.diy-toys-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #424242;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

/* Why DIY Toys Section */
.diy-intro {
    margin: 4rem 0;
}

.diy-intro h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.diy-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 5px solid #00897b;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: #00695c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #424242;
    line-height: 1.7;
}

/* Safety Guidelines Section */
.diy-safety {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid #ffc107;
}

.diy-safety h3 {
    color: #f57c00;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.safety-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.safety-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.safety-card.safe {
    border-left: 6px solid #4caf50;
}

.safety-card.unsafe {
    border-left: 6px solid var(--danger-color);
}

.safety-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.safety-card.safe h4 {
    color: #2e7d32;
}

.safety-card.unsafe h4 {
    color: var(--danger-color);
}

.safety-card ul {
    list-style: none;
    padding: 0;
}

.safety-card li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.safety-card li:last-child {
    border-bottom: none;
}

.safety-rules {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.safety-rules h4 {
    color: #f57c00;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.safety-rules ul {
    list-style: none;
    padding: 0;
}

.safety-rules li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.7;
}

.safety-rules li strong {
    color: var(--dark-color);
}

/* Toy Gallery Section */
.toy-gallery {
    margin: 4rem 0;
}

.toy-gallery > h3 {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 4rem;
}

.toy-category {
    margin: 4rem 0;
}

.category-title {
    font-size: 2rem;
    color: #00695c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4db6ac;
}

.category-desc {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.toy-ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.toy-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-top: 5px solid #00897b;
}

.toy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.toy-header h5 {
    color: #00695c;
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.difficulty-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.easy {
    background: #4caf50;
    color: var(--white);
}

.difficulty-badge.medium {
    background: #ff9800;
    color: var(--white);
}

.difficulty-badge.hard {
    background: var(--danger-color);
    color: var(--white);
}

.toy-time {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.toy-materials {
    background: #e0f2f1;
    border-left: 4px solid #00897b;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.toy-materials strong {
    color: #00695c;
    display: block;
    margin-bottom: 0.5rem;
}

.toy-materials p {
    color: #424242;
    margin: 0;
}

.toy-instructions {
    margin: 1.5rem 0;
}

.toy-instructions strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.toy-instructions ol {
    padding-left: 1.5rem;
    color: #424242;
}

.toy-instructions li {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.toy-tips {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
    color: #e65100;
    font-size: 0.95rem;
    line-height: 1.6;
}

.toy-tips strong {
    color: #e65100;
}

/* Toy Rotation Tips Section */
.toy-rotation {
    background: linear-gradient(135deg, #f3e5f5 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid #ba68c8;
}

.toy-rotation h3 {
    color: #7b1fa2;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.rotation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rotation-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid #9c27b0;
}

.rotation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.rotation-card h4 {
    color: #7b1fa2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.rotation-card p {
    color: #424242;
    line-height: 1.7;
}

/* DIY FAQs Section */
.diy-faqs {
    margin: 4rem 0;
}

.diy-faqs h3 {
    color: var(--dark-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.diy-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.diy-faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid #00897b;
}

.diy-faq-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.diy-faq-item h4 {
    color: #00695c;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.diy-faq-item p {
    color: #424242;
    line-height: 1.8;
}

.diy-faq-item strong {
    color: var(--dark-color);
}

/* Final Note Section */
.diy-final-note {
    background: linear-gradient(135deg, #e1f5fe 0%, #ffffff 100%);
    border: 2px solid #0288d1;
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(2, 136, 209, 0.15);
}

.diy-final-note h3 {
    color: #01579b;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.diy-final-note p {
    color: #424242;
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 1.5rem 0;
}

.diy-reminder {
    background: #fff8e1;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-top: 2rem;
    color: #e65100;
    font-weight: 500;
}

.diy-reminder strong {
    color: #d84315;
}

/* Responsive Design for DIY Toys Section */
@media (max-width: 768px) {
    .diy-toys-section {
        padding: 4rem 0;
    }

    .diy-toys-section .section-title {
        font-size: 2.2rem;
    }

    .diy-benefits-grid,
    .safety-grid,
    .toy-ideas-grid,
    .rotation-grid,
    .diy-faq-grid {
        grid-template-columns: 1fr;
    }

    .diy-safety,
    .toy-rotation {
        padding: 2rem 1.5rem;
    }

    .toy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .toy-gallery > h3 {
        font-size: 2rem;
    }
}

/* ========================================
   Lifetime Cost Calculator Section
   ======================================== */
.cost-calculator-section {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 50%, #fff176 100%);
    padding: 6rem 0;
}

.cost-calculator-section .section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.cost-calculator-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #424242;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.cost-intro {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cost-intro h3 {
    color: #f57f17;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cost-intro ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.cost-intro li {
    padding: 0.75rem 0;
    color: #424242;
    line-height: 1.8;
    font-size: 1.05rem;
}

.cost-warning {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-top: 2rem;
    color: #e65100;
}

.cost-calculator-tool {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 6px solid #fbc02d;
}

.cost-calculator-tool h3 {
    color: var(--dark-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group select:focus {
    outline: none;
    border-color: #fbc02d;
    box-shadow: 0 0 0 3px rgba(251, 192, 45, 0.1);
}

.cost-results {
    margin-top: 2rem;
    display: none;
}

.cost-results.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.select-prompt {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 10px;
}

.cost-summary {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border: 2px solid #66bb6a;
    border-radius: 15px;
    padding: 2.5rem;
}

.cost-summary h4 {
    color: #2e7d32;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.care-level-desc {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.cost-breakdown-summary {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-label {
    color: #424242;
    font-size: 1.05rem;
}

.cost-value {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.total-cost-display {
    margin: 2rem 0;
}

.total-cost-card {
    background: linear-gradient(135deg, #fbc02d 0%, #f9a825 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(251, 192, 45, 0.3);
}

.total-label {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.total-detail {
    font-size: 0.95rem;
    opacity: 0.9;
}

.cost-range {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.range-label {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.3rem;
}

.range-min, .range-max {
    color: #2e7d32;
    font-weight: 700;
}

.range-separator {
    color: #666;
}

.cost-breakdown-details {
    margin-top: 2rem;
}

.detail-section {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.detail-section h5 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.annual-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f5f5f5;
    border-radius: 5px;
}

.emergency-section {
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
    border-left: 5px solid #f44336;
}

.emergency-section h5 {
    color: #c62828;
}

.included-costs {
    list-style: none;
    padding: 0;
}

.included-costs li {
    padding: 0.5rem 0;
    color: #424242;
    line-height: 1.6;
}

.cost-comparison {
    background: #e3f2fd;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.cost-comparison h5 {
    color: #1565c0;
}

.perspective-note {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

.cost-tips-callout {
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
    border: 2px solid #ff9800;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.cost-tips-callout h5 {
    color: #e65100;
    margin-bottom: 0.75rem;
}

.cost-tips-callout a {
    color: #f57c00;
    font-weight: 600;
    text-decoration: underline;
}

.cost-breakdown {
    margin: 4rem 0;
}

.cost-breakdown h3 {
    font-size: 2.5rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.cost-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cost-category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-top: 5px solid #fbc02d;
}

.cost-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cost-category-card.emergency {
    border-top-color: #f44336;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h4 {
    color: #f57f17;
    font-size: 1.4rem;
    margin: 0;
}

.cost-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-badge.one-time {
    background: #4caf50;
    color: var(--white);
}

.cost-badge.recurring {
    background: #2196f3;
    color: var(--white);
}

.cost-badge.periodic {
    background: #ff9800;
    color: var(--white);
}

.cost-badge.emergency {
    background: #f44336;
    color: var(--white);
}

.cost-badge.optional {
    background: #9c27b0;
    color: var(--white);
}

.category-desc {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cost-items {
    margin: 1.5rem 0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.item-name {
    color: #424242;
    flex: 1;
}

.item-range {
    color: #f57f17;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.category-total {
    background: #fff8e1;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #f57f17;
}

.emergency-note {
    background: #ffebee;
    color: #c62828;
}

.cost-saving-tips {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid #66bb6a;
}

.cost-saving-tips h3 {
    color: #2e7d32;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip-card h4 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.tip-card p {
    color: #424242;
    line-height: 1.7;
}

.realistic-expectations {
    margin: 4rem 0;
}

.realistic-expectations h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 3rem;
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expectation-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 5px solid #fbc02d;
}

.expectation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expectation-card h4 {
    color: #f57f17;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.expectation-card ul {
    list-style: none;
    padding: 0;
}

.expectation-card li {
    padding: 0.5rem 0;
    color: #424242;
    line-height: 1.7;
}

.expectation-card strong {
    color: var(--dark-color);
}

.warning-text {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 5px;
    color: #c62828;
    font-weight: 500;
}

.cost-final-note {
    background: linear-gradient(135deg, #e1f5fe 0%, #ffffff 100%);
    border: 2px solid #0288d1;
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(2, 136, 209, 0.15);
}

.cost-final-note h3 {
    color: #01579b;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.cost-final-note p {
    color: #424242;
    line-height: 1.9;
    font-size: 1.05rem;
    margin: 1.5rem 0;
}

.final-encouragement {
    text-align: center;
    font-size: 1.2rem;
    color: #2e7d32;
    font-weight: 500;
    margin-top: 2rem;
}

/* Responsive Design for Cost Calculator */
@media (max-width: 768px) {
    .cost-calculator-section {
        padding: 4rem 0;
    }

    .cost-calculator-section .section-title {
        font-size: 2.2rem;
    }

    .cost-intro, .cost-calculator-tool, .cost-saving-tips {
        padding: 2rem 1.5rem;
    }

    .calculator-inputs, .cost-category-grid, .tips-grid, .expectations-grid {
        grid-template-columns: 1fr;
    }

    .total-amount {
        font-size: 2.2rem;
    }

    .range-values {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cost-breakdown h3, .cost-saving-tips h3, .realistic-expectations h3 {
        font-size: 1.8rem;
    }
}

/* ========================================
   Compatibility Quiz Section
   ======================================== */
.compatibility-quiz-section {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 50%, #81c784 100%);
    padding: 6rem 0;
}

.quiz-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: center;
    border-left: 6px solid #4caf50;
}

.quiz-intro p {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-dark);
}

/* Quiz Container */
.quiz-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 6px solid #4caf50;
    margin-bottom: 3rem;
}

/* Quiz Questions */
.quiz-questions {
    min-height: 350px;
    margin-bottom: 2rem;
}

.quiz-question {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.quiz-question.active {
    display: block;
}

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

.quiz-question h3 {
    color: #4caf50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.question-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

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

.quiz-option {
    display: block;
    background: #f5f5f5;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quiz-option:hover {
    background: #e8f5e9;
    border-color: #81c784;
    transform: translateX(5px);
}

.quiz-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.quiz-option input[type="radio"]:checked + .option-content {
    background: transparent;
}

.quiz-option input[type="radio"]:checked ~ .option-content {
    color: var(--text-dark);
}

.quiz-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-color: #388e3c;
    color: var(--white);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.quiz-option:has(input[type="radio"]:checked) .option-content {
    color: var(--white);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Quiz Navigation */
.quiz-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.quiz-nav-btn {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.quiz-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.quiz-nav-btn:disabled {
    background: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: none;
}

.quiz-submit-btn {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.quiz-submit-btn:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
}

/* Progress */
.quiz-progress {
    flex: 1;
    text-align: center;
}

.quiz-progress-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Quiz Results */
.quiz-results {
    animation: fadeIn 0.5s ease-in;
}

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

.results-header h3 {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.results-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.result-card {
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 6px solid #4caf50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-card.top-match {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: var(--white);
    border-left: 6px solid #2e7d32;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.result-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.result-title h4 {
    font-size: 1.8rem;
    margin: 0;
}

.match-badge {
    background: #4caf50;
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.result-card.top-match .match-badge {
    background: #ffa726;
}

.match-score {
    font-size: 2rem;
    font-weight: 700;
    color: #4caf50;
}

.result-card.top-match .match-score {
    color: #fff59d;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.result-detail-icon {
    font-size: 1.2rem;
}

.result-description {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.result-why {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 1rem;
}

.result-card.top-match .result-why {
    background: rgba(255, 255, 255, 0.2);
}

.result-why h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2e7d32;
}

.result-card.top-match .result-why h5 {
    color: var(--white);
}

.result-why ul {
    margin: 0;
    padding-left: 1.5rem;
}

.result-why li {
    margin-bottom: 0.3rem;
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.reset-btn, .explore-btn {
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.reset-btn {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.reset-btn:hover {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.explore-btn {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.2);
}

.explore-btn:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.3);
}

/* Quiz Info Grid */
.quiz-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.quiz-info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quiz-info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quiz-info-card h3 {
    color: #4caf50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.quiz-info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Quiz Disclaimer */
.quiz-disclaimer {
    background: linear-gradient(135deg, #fff59d 0%, #fff176 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 6px solid #fbc02d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quiz-disclaimer h3 {
    color: #f57f17;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.quiz-disclaimer p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

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

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

    .quiz-option {
        padding: 1.2rem;
    }

    .option-icon {
        font-size: 1.5rem;
    }

    .option-text {
        font-size: 1rem;
    }

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

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

    .quiz-submit-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

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

    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .result-details {
        grid-template-columns: 1fr;
    }

    .results-actions {
        flex-direction: column;
        width: 100%;
    }

    .reset-btn, .explore-btn {
        width: 100%;
    }

    .quiz-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Diseases Section
   ======================================== */
.diseases-section {
    background: var(--white);
}

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

.disease-card {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--danger);
}

.disease-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.disease-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.disease-info p {
    margin: 0.75rem 0;
    line-height: 1.8;
    color: var(--gray);
}

.disease-info strong {
    color: var(--dark-color);
}

.disease-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.disease-warning h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.disease-warning ul {
    list-style: none;
    padding: 0;
}

.disease-warning li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.disease-warning li:last-child {
    border-bottom: none;
}

.disease-warning li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

/* ========================================
   Bird-Proofing Checklist
   ======================================== */
.birdproofing-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #80deea 100%);
    padding: 4rem 20px;
}

.birdproofing-intro {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--warning);
}

.birdproofing-intro p {
    margin: 0;
    line-height: 1.6;
}

.checklist-progress {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-header h3 {
    margin: 0;
    color: var(--primary-color);
}

#progress-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.progress-bar-container {
    width: 100%;
    height: 30px;
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    width: 0%;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.progress-text {
    text-align: center;
    color: var(--gray);
    margin: 0;
}

.room-checklists {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.room-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.room-header {
    background: var(--light-color);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.room-header:hover {
    background: linear-gradient(135deg, var(--light-color), #e8f5e9);
}

.room-header h3 {
    margin: 0;
    color: var(--primary-color);
    flex: 1;
}

.room-count {
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.room-checklist {
    padding: 1.5rem;
    display: none;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.checklist-item:hover {
    background: var(--light-color);
}

.checklist-item input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checklist-item span {
    flex: 1;
    line-height: 1.6;
}

.checklist-item input[type="checkbox"]:checked + span {
    text-decoration: line-through;
    color: var(--gray);
}

.safety-tips {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.safety-tips h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.tips-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.safety-tip-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.safety-tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.safety-tip-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--dark-color);
}

/* ========================================
   Vocalization Guide
   ======================================== */
.vocalizations-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 4rem 20px;
}

.vocal-intro {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px var(--shadow);
    text-align: center;
}

.vocal-intro p {
    margin: 0;
    line-height: 1.8;
    color: var(--dark-color);
}

.vocalizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vocal-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.vocal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vocal-card.happy {
    border-left: 5px solid #4caf50;
}

.vocal-card.warning {
    border-left: 5px solid var(--warning);
}

.vocal-card.danger {
    border-left: 5px solid var(--danger);
}

.vocal-card.neutral {
    border-left: 5px solid var(--gray);
}

.vocal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vocal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.mood-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.happy-badge {
    background: #4caf50;
    color: var(--white);
}

.warning-badge {
    background: var(--warning);
    color: var(--dark-color);
}

.danger-badge {
    background: var(--danger);
    color: var(--white);
}

.neutral-badge {
    background: var(--gray);
    color: var(--white);
}

.vocal-sound {
    background: var(--light-color);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.vocal-meaning, .vocal-response {
    margin-bottom: 1rem;
}

.vocal-meaning h4, .vocal-response h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.vocal-meaning p, .vocal-response p {
    margin: 0;
    line-height: 1.6;
    color: var(--dark-color);
}

.vocal-tips {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 2rem;
}

.vocal-tips h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.vocal-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.vocal-tip {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.vocal-tip h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.vocal-tip p {
    margin: 0;
    line-height: 1.6;
}

.vocal-warning {
    background: linear-gradient(135deg, #ffccbc 0%, #ff8a65 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.vocal-warning h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vocal-warning ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vocal-warning li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.vocal-warning li:last-child {
    border-bottom: none;
}

.vocal-warning li::before {
    content: '🩺';
    position: absolute;
    left: 0;
}

/* ========================================
   First-Time Bird Owner Guide
   ======================================== */
.first-time-section {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    padding: 4rem 20px;
}

.welcome-message {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.welcome-message h3 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
}

.welcome-message p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ftb-sections {
    display: grid;
    gap: 2rem;
}

.ftb-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    overflow: hidden;
}

.ftb-card.warning-card {
    border: 3px solid var(--warning);
}

.ftb-card.success-card {
    border: 3px solid #4caf50;
}

.ftb-header {
    background: var(--light-color);
    padding: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.ftb-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.ftb-subtitle {
    margin: 0.5rem 0 0 0;
    color: var(--gray);
    font-size: 0.95rem;
    font-style: italic;
}

.ftb-content {
    padding: 2rem;
}

.question-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--light-color);
}

.question-section:last-child {
    border-bottom: none;
}

.question-section h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.question-section p {
    margin: 0;
    line-height: 1.8;
    color: var(--dark-color);
}

.shopping-category {
    margin-bottom: 2rem;
}

.shopping-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.shopping-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shopping-category li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid var(--light-color);
}

.shopping-category li:last-child {
    border-bottom: none;
}

.shopping-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-color);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.timeline-item p {
    margin: 0.5rem 0;
    font-weight: 600;
    color: var(--secondary-color);
}

.timeline-item ul {
    margin: 0.5rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.mistake-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--warning);
}

.mistake-item:last-child {
    margin-bottom: 0;
}

.mistake-item h4 {
    color: var(--danger);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.mistake-item p {
    margin: 0;
    line-height: 1.8;
}

.success-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.success-tip {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #4caf50;
}

.success-tip h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.success-tip p {
    margin: 0;
    line-height: 1.6;
    color: var(--dark-color);
}

.ftb-final-message {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    border: 3px solid var(--accent-color);
}

.ftb-final-message h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.ftb-final-message p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

/* ========================================
   Training Techniques
   ======================================== */
.training-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    padding: 4rem 20px;
}

.training-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

.training-intro h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.training-intro p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.training-fundamentals {
    margin-bottom: 3rem;
}

.training-fundamentals h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.fundamentals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fundamental-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.fundamental-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fundamental-card p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.training-techniques {
    margin-bottom: 3rem;
}

.training-techniques > h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.technique-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
}

.technique-card.problem-card {
    border-left: 5px solid var(--danger);
}

.technique-header {
    background: var(--light-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.technique-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.difficulty {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty.easy {
    background: #4caf50;
    color: var(--white);
}

.difficulty.medium {
    background: var(--warning);
    color: var(--dark-color);
}

.difficulty.hard {
    background: var(--danger);
    color: var(--white);
}

.technique-content {
    padding: 2rem;
}

.technique-why,
.technique-steps,
.technique-tips {
    margin-bottom: 1.5rem;
}

.technique-content h5 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.technique-content h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.technique-content p {
    line-height: 1.7;
    margin: 0.5rem 0;
}

.technique-content ol,
.technique-content ul {
    line-height: 1.8;
    margin-left: 1.5rem;
}

.technique-content li {
    margin: 0.5rem 0;
}

.trick-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.trick-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.trick-item h6 {
    margin-bottom: 0.5rem;
}

.trick-item p {
    margin: 0;
    line-height: 1.6;
}

.problem-behaviors {
    display: grid;
    gap: 1.5rem;
}

.problem-item {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--danger);
}

.problem-item h6 {
    color: var(--danger);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.problem-item p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.problem-item ul {
    margin: 0.8rem 0 0 1.5rem;
    line-height: 1.8;
}

.training-resources {
    margin-bottom: 2rem;
}

.training-resources h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

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

.resource-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border-top: 4px solid var(--accent-color);
}

.resource-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.resource-item p {
    margin: 0;
    line-height: 1.6;
}

.training-final {
    background: linear-gradient(135deg, #ba68c8 0%, #9c27b0 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
}

.training-final h3 {
    margin: 0 0 1rem 0;
    font-size: 1.6rem;
}

.training-final p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   Species Comparison Chart
   ======================================== */
.comparison-chart-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    padding: 4rem 20px;
}

.comparison-intro {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow);
}

.comparison-intro p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

.table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--white);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-color);
    text-align: center;
    font-size: 0.9rem;
}

.comparison-table tbody tr:hover {
    background: var(--light-color);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.sticky-col {
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 2;
    border-right: 2px solid var(--light-color);
    text-align: left !important;
}

.comparison-table thead .sticky-col {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: 3;
}

.comparison-table tbody tr:hover .sticky-col {
    background: var(--light-color);
}

.species-name {
    min-width: 150px;
}

.table-species {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-icon {
    font-size: 1.5rem;
}

.table-species strong {
    color: var(--primary-color);
}

.sub {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.2rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge.very-low {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge.low {
    background: #c8e6c9;
    color: #1b5e20;
}

.badge.medium {
    background: #fff3e0;
    color: #e65100;
}

.badge.high {
    background: #ffe0b2;
    color: #e65100;
}

.badge.very-high {
    background: #ffccbc;
    color: #bf360c;
}

.badge.extreme {
    background: #ef9a9a;
    color: #b71c1c;
}

.badge.none {
    background: #f5f5f5;
    color: #616161;
}

.badge.limited {
    background: #fff9c4;
    color: #f57f17;
}

.badge.good {
    background: #c5e1a5;
    color: #33691e;
}

.badge.excellent {
    background: #81c784;
    color: #1b5e20;
}

.badge.easy {
    background: #a5d6a7;
    color: #1b5e20;
}

.chart-legend {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 2rem;
}

.chart-legend h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.legend-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.legend-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.legend-item p {
    margin: 0;
    line-height: 2;
    font-size: 0.9rem;
}

.comparison-tips {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.comparison-tips h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.tips-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.comparison-tip-card {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.comparison-tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.comparison-tip-card p {
    margin: 0.5rem 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.comparison-tip-card strong {
    color: var(--secondary-color);
}

/* Responsive table */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .table-icon {
        font-size: 1.2rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
}

/* ========================================
   Emergency First Aid Guide
   ======================================== */
.emergency-section {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    padding: 4rem 20px;
}

.emergency-warning {
    background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3);
    border: 3px solid #b71c1c;
}

.emergency-warning h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.emergency-warning p {
    margin: 0.5rem 0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.emergency-decision {
    margin-bottom: 3rem;
}

.emergency-decision h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.decision-tree {
    display: grid;
    gap: 1.5rem;
}

.emergency-level {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.emergency-level.critical {
    border-left: 8px solid #d32f2f;
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
}

.emergency-level.urgent {
    border-left: 8px solid var(--warning);
    background: linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
}

.emergency-level.monitor {
    border-left: 8px solid #4caf50;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.emergency-level h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.emergency-level.critical h4 {
    color: #d32f2f;
}

.emergency-level.urgent h4 {
    color: #e65100;
}

.emergency-level.monitor h4 {
    color: #2e7d32;
}

.emergency-level ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    line-height: 2;
}

.emergency-level li {
    margin: 0.5rem 0;
}

.emergency-action {
    margin: 1rem 0 0 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 1.05rem;
}

.first-aid-procedures {
    margin-bottom: 3rem;
}

.first-aid-procedures h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.procedure-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
    border-left: 5px solid #ef5350;
}

.procedure-header {
    background: #ffebee;
    padding: 1.5rem;
    border-bottom: 2px solid #ffcdd2;
}

.procedure-header h4 {
    margin: 0;
    color: #c62828;
    font-size: 1.4rem;
}

.procedure-content {
    padding: 2rem;
}

.procedure-steps,
.procedure-supplies,
.procedure-warning {
    margin-bottom: 1.5rem;
}

.procedure-content h5 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.procedure-content ol,
.procedure-content ul {
    line-height: 1.9;
    margin-left: 1.5rem;
}

.procedure-content li {
    margin: 0.8rem 0;
}

.procedure-supplies {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
}

.procedure-supplies p {
    margin: 0.5rem 0 0 0;
    line-height: 1.6;
}

.procedure-warning {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning);
}

.procedure-warning p {
    margin: 0;
    line-height: 1.7;
    color: var(--dark-color);
}

.emergency-kit {
    margin-bottom: 3rem;
}

.emergency-kit h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.kit-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--gray);
}

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

.kit-category {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border-top: 4px solid #ef5350;
}

.kit-category h4 {
    color: #c62828;
    margin-bottom: 1rem;
}

.kit-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kit-category li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid var(--light-color);
}

.kit-category li:last-child {
    border-bottom: none;
}

.kit-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: 700;
}

.emergency-transport {
    margin-bottom: 3rem;
}

.emergency-transport h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.transport-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.transport-tip {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    border-left: 5px solid var(--primary-color);
}

.transport-tip h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.transport-tip p {
    margin: 0;
    line-height: 1.7;
}

.emergency-prevention {
    margin-bottom: 3rem;
}

.emergency-prevention h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.prevention-card {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid #4caf50;
    box-shadow: 0 4px 12px var(--shadow);
}

.prevention-card h4 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

.prevention-card p {
    margin: 0;
    line-height: 1.7;
}

.emergency-final-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    border: 3px solid var(--warning);
}

.emergency-final-warning h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.emergency-final-warning p {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

/* ========================================
   Body Language Visual Guide Section
   ======================================== */
.body-language-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

.body-language-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.body-language-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.bl-tip {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--warning);
    margin-top: 1.5rem;
}

.bl-tip strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

/* Body Language Categories */
.bl-category {
    margin-bottom: 4rem;
}

.bl-category-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    text-align: center;
}

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

.bl-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.bl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.bl-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
}

.bl-card-header.excited {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
}

.bl-card-header.relaxed {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 5px solid #4caf50;
}

.bl-card-header.alert {
    background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
    border-left: 5px solid var(--warning);
}

.bl-card-header.aggressive {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left: 5px solid var(--danger-color);
}

.bl-card-header.happy {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    border-left: 5px solid var(--primary-color);
}

.bl-card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--dark-color);
}

/* Body Language Badges */
.bl-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.excited-badge {
    background: #ff9800;
    color: var(--white);
}

.relaxed-badge {
    background: #4caf50;
    color: var(--white);
}

.alert-badge {
    background: var(--warning);
    color: var(--dark-color);
}

.aggressive-badge {
    background: var(--danger-color);
    color: var(--white);
}

.happy-badge {
    background: var(--primary-color);
    color: var(--white);
}

/* Visual Display */
.bl-visual {
    font-size: 2rem;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

/* Description */
.bl-description {
    padding: 1.5rem;
}

.bl-description p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--dark-color);
}

.bl-description strong {
    color: var(--primary-color);
}

/* Posture Grid (for complete body postures) */
.bl-posture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.bl-posture-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bl-posture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.bl-posture-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.relaxed-posture {
    border-left: 6px solid #4caf50;
}

.playful-posture {
    border-left: 6px solid var(--primary-color);
}

.scared-posture {
    border-left: 6px solid #9e9e9e;
}

.aggressive-posture {
    border-left: 6px solid var(--danger-color);
}

.hormonal-posture {
    border-left: 6px solid #e91e63;
}

.sick-posture {
    border-left: 6px solid var(--warning);
}

/* Posture Signals */
.posture-signals {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.signal {
    padding: 0.6rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.95rem;
    border-left: 3px solid var(--primary-color);
}

.bl-posture-card p {
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
}

.bl-posture-card p strong {
    color: var(--primary-color);
}

/* Quiz Section */
.bl-quiz-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.quiz-intro {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.quiz-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.quiz-question {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.quiz-question.correct {
    border-color: #4caf50;
    background: linear-gradient(135deg, #e8f5e9 0%, #f8f9fa 100%);
}

.quiz-question.incorrect {
    border-color: var(--danger-color);
    background: linear-gradient(135deg, #ffebee 0%, #f8f9fa 100%);
}

.question-header h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.scenario {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quiz-option {
    padding: 1rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quiz-option:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.quiz-option.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.quiz-option.correct {
    background: #4caf50;
    color: var(--white);
    border-color: #4caf50;
}

.quiz-option.incorrect {
    background: var(--danger-color);
    color: var(--white);
    border-color: var(--danger-color);
}

.quiz-option:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

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

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

.quiz-feedback.correct {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.quiz-feedback.incorrect {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid var(--danger-color);
}

.quiz-score-container {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.quiz-score-container h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

#quiz-score {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.reset-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Final Tips Section */
.bl-final-tips {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bl-final-tips h3 {
    font-size: 2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
}

.context-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.context-tip {
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.context-tip:hover {
    transform: translateY(-5px);
}

.context-tip h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.context-tip p {
    line-height: 1.7;
    color: var(--dark-color);
    margin: 0;
}

/* Responsive Design for Body Language Section */
@media (max-width: 768px) {
    .bl-grid {
        grid-template-columns: 1fr;
    }

    .bl-posture-grid {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        grid-template-columns: 1fr;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .context-tips-grid {
        grid-template-columns: 1fr;
    }

    .bl-quiz-section {
        padding: 1.5rem;
    }

    .bl-final-tips {
        padding: 1.5rem;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

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

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

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

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

    .care-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
    }

    .guides-container {
        grid-template-columns: 1fr;
    }

    .comparison-container {
        flex-direction: column;
    }

    .comparison-result > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* ========================================
   Accessibility
   ======================================== */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
