/* ===================================
   Custom Properties / CSS Variables
   =================================== */
:root {
    /* Color Palette - Cybercrime Theme */
    --color-primary: #0A1628;        /* Deep Navy - Security/Digital Depth */
    --color-danger: #DC143C;         /* Crimson Red - Warning/Alerts */
    --color-accent: #00D9FF;         /* Electric Cyan - Tech Feel */
    --color-secondary: #64748B;      /* Slate Gray - Professional */
    --color-light-bg: #F8FAFC;       /* Off-white Background */
    --color-white: #FFFFFF;
    --color-dark: #1E293B;
    --color-success: #10B981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0A1628 0%, #1E3A8A 100%);
    --gradient-danger: linear-gradient(135deg, #DC143C 0%, #B91C1C 100%);
    --gradient-accent: linear-gradient(135deg, #00D9FF 0%, #0EA5E9 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--color-danger);
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: var(--gradient-primary);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white) !important;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    color: var(--color-accent) !important;
    transform: translateY(-2px);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

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

.navbar-toggler {
    border-color: var(--color-accent);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 217, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d9ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
}

.hero-section h1 {
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-underline {
    width: 120px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.hero-section .lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.hero-section .btn-danger {
    background: var(--gradient-danger);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
}

.hero-section .btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ===================================
   Content Sections
   =================================== */
.content-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.content-section.bg-light {
    background-color: var(--color-light-bg);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-danger);
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
}

.first-paragraph {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.9;
}

/* ===================================
   Statistics Cards
   =================================== */
.stat-card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
    border-top: 4px solid var(--color-danger);
}

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

.stat-icon {
    font-size: 3rem;
    color: var(--color-danger);
}

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

.stat-label {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* ===================================
   Process Diagram
   =================================== */
.process-step {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--color-accent);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--color-danger);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

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

.process-step p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* ===================================
   Quote Box
   =================================== */
.quote-box {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border-left: 6px solid var(--color-accent);
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    text-align: right;
    margin-bottom: 0;
}

/* ===================================
   Video Embeds
   =================================== */
.video-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-top: 1rem;
}

/* ===================================
   Image Placeholders
   =================================== */
.image-placeholder img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.image-placeholder img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Phishing Lifecycle
   =================================== */
.lifecycle-step {
    padding: 1.5rem;
}

.lifecycle-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-bounce);
}

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

.lifecycle-step:hover .lifecycle-icon {
    transform: rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.lifecycle-step h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.lifecycle-step p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* ===================================
   Accordion Styles
   =================================== */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--color-light-bg);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===================================
   Comparison Table
   =================================== */
.comparison-table-container {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    margin-bottom: 0;
}

.comparison-table thead {
    background: var(--gradient-primary);
}

.comparison-table thead th {
    color: var(--color-white);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.comparison-table tbody tr {
    transition: var(--transition-smooth);
}

.comparison-table tbody tr:hover {
    background: var(--color-light-bg);
    transform: scale(1.01);
}

.comparison-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* ===================================
   Bot Comparison Cards
   =================================== */
.bot-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition-smooth);
}

.bot-card.good-bot {
    border-top: 4px solid var(--color-success);
}

.bot-card.bad-bot {
    border-top: 4px solid var(--color-danger);
}

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

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

.bot-card.good-bot .bot-icon {
    color: var(--color-success);
}

.bot-card.bad-bot .bot-icon {
    color: var(--color-danger);
}

.bot-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

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

.bot-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.bot-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.bot-card.good-bot ul li::before {
    color: var(--color-success);
}

.bot-card.bad-bot ul li::before {
    color: var(--color-danger);
}

/* ===================================
   Red Flags Grid
   =================================== */
.red-flag-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--color-danger);
}

.red-flag-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.flag-icon {
    font-size: 2.5rem;
    color: var(--color-danger);
    margin-bottom: 1rem;
}

.red-flag-card h5 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.red-flag-card p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* ===================================
   Tech Solutions
   =================================== */
.solution-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
    text-align: center;
    transition: var(--transition-smooth);
    border-top: 4px solid var(--color-accent);
}

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

.solution-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

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

.solution-card p {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

/* ===================================
   Prevention Tables
   =================================== */
.prevention-table-wrapper {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.prevention-table {
    margin-bottom: 0;
}

.prevention-table thead {
    background: var(--gradient-primary);
}

.prevention-table thead th {
    color: var(--color-white);
    font-weight: 600;
    padding: 1.25rem;
    border: none;
    font-size: 1.1rem;
}

.prevention-table tbody td {
    padding: 1.5rem;
    vertical-align: top;
    border-right: 1px solid #e2e8f0;
}

.prevention-table tbody td:last-child {
    border-right: none;
}

.prevention-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.prevention-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.prevention-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-success);
    position: absolute;
    left: 0;
    top: 0.75rem;
}

/* ===================================
   Brushing Prevention Card
   =================================== */
.brushing-prevention-card {
    background: var(--gradient-primary);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    color: var(--color-white);
}

.brushing-prevention-card h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.brushing-prevention-card .prevention-list li {
    color: rgba(255, 255, 255, 0.95);
}

.brushing-prevention-card .prevention-list li::before {
    color: var(--color-accent);
}

.brushing-prevention-card a {
    color: var(--color-accent);
    text-decoration: underline;
}

.brushing-prevention-card a:hover {
    color: var(--color-white);
}

/* ===================================
   References Section
   =================================== */
.references-section {
    background: var(--color-light-bg);
}

.reference-item {
    padding-left: 2rem;
    text-indent: -2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.reference-item em {
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */
.footer-section {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 3rem 0;
    margin-top: 0;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .prevention-table tbody td {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .prevention-table tbody td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .quote-box {
        padding: 2rem;
    }
    
    .quote-text {
        font-size: 1rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-primary {
    color: var(--color-primary) !important;
}

.text-danger {
    color: var(--color-danger) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-danger {
    background-color: var(--color-danger) !important;
}

.final-statement {
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-light-bg);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

/* ===================================
   Interactive Quiz Styles
   =================================== */
.quiz-container {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

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

.quiz-header h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.quiz-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.quiz-body {
    padding: 2.5rem;
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.quiz-option {
    background: var(--color-light-bg);
    border: 2px solid transparent;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.quiz-option:hover {
    background: var(--color-white);
    border-color: var(--color-accent);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.quiz-option.selected {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.quiz-progress {
    margin-top: 2rem;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: var(--color-light-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-accent);
    transition: width 0.3s ease-out;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.quiz-results {
    text-align: center;
    padding: 2rem;
}

.results-content {
    max-width: 600px;
    margin: 0 auto;
}

.results-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.risk-meter {
    width: 100%;
    height: 40px;
    background: var(--color-light-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.risk-bar {
    height: 100%;
    transition: width 0.8s ease-out, background 0.5s;
    border-radius: 20px;
}

.risk-bar.low {
    background: var(--color-success);
}

.risk-bar.medium {
    background: #F59E0B;
}

.risk-bar.high {
    background: var(--color-danger);
}

.results-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 2rem;
}

/* ===================================
   Prevention Tabs
   =================================== */
.prevention-tabs-container {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.prevention-nav-tabs {
    background: var(--color-light-bg);
    border-bottom: none;
    padding: 1rem 1rem 0;
    flex-wrap: wrap;
}

.prevention-nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--color-dark) !important;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
    transition: var(--transition-smooth);
    margin: 0 0.25rem 0 0;
}

.prevention-nav-tabs .nav-link:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--color-accent) !important;
}

.prevention-nav-tabs .nav-link.active {
    background: var(--color-white);
    color: var(--color-primary) !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.prevention-nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

.prevention-tab-content {
    padding: 2.5rem;
}

/* ===================================
   Prevention Checklist
   =================================== */
.prevention-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    background: var(--color-light-bg);
    padding: 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.checklist-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-left-color: var(--color-accent);
}

.checklist-item.checked {
    background: rgba(16, 185, 129, 0.05);
    border-left-color: var(--color-success);
}

.prevention-checkbox {
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--color-success);
}

.checklist-item label {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    cursor: pointer;
    margin-bottom: 0;
}

.checklist-item.checked label {
    color: var(--color-secondary);
}

/* ===================================
   Prevention Progress Tracker
   =================================== */
.prevention-progress-tracker {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

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

.progress-header h5 {
    color: var(--color-white);
    margin-bottom: 0;
    font-size: 1.2rem;
}

.progress-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.prevention-progress-tracker .progress {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.prevention-progress-tracker .progress-bar {
    transition: width 0.5s ease-out;
}

.progress-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ===================================
   Responsive Adjustments for Interactive Elements
   =================================== */
@media (max-width: 767px) {
    .quiz-header h3 {
        font-size: 1.4rem;
    }
    
    .quiz-body {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.05rem;
    }
    
    .quiz-option {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .prevention-nav-tabs {
        padding: 0.5rem;
    }
    
    .prevention-nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .prevention-nav-tabs .nav-link i {
        display: block;
        margin: 0 0 0.25rem 0;
        font-size: 1.2rem;
    }
    
    .prevention-tab-content {
        padding: 1.5rem;
    }
    
    .checklist-item {
        padding: 1rem;
    }
    
    .prevention-progress-tracker {
        padding: 1.5rem;
    }
    
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

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

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

/* Add subtle parallax effect on scroll */
[data-aos] {
    transition-property: transform, opacity;
}