﻿/* General Body Styles (might be in Master Page CSS already) */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: url('https://via.placeholder.com/1500x500/8e44ad/ffffff?text=Save+Lives+Donate+Blood') no-repeat center center/cover; /* Replace with a real image path */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5); /* Overlay for readability */
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-section h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    font-weight: normal;
}

.hero-section p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #e74c3c; /* A slightly brighter red */
    color: #fff;
}

.btn-primary:hover {
    background-color: #c0392b;
}

.btn-secondary {
    background-color: #27ae60; /* Green for action */
    color: #fff;
    margin: 0 10px;
}

.btn-secondary:hover {
    background-color: #229a56;
}

/* Section Styling */
section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

.bg-light {
    background-color: #f9f9f9;
}

h3 {
    font-size: 2em;
    color: #2c3e50; /* Dark blue/grey for headings */
    text-align: center;
    margin-bottom: 40px;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.2em;
    text-align: center;
    font-style: italic;
    color: #c0392b;
}

/* Eligibility Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.criterion-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.criterion-item h4 {
    font-size: 1.5em;
    color: #34495e;
    margin-top: 15px;
    margin-bottom: 10px;
}

.criterion-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.criterion-item ul li {
    margin-bottom: 8px;
    font-size: 1em;
    position: relative;
    padding-left: 25px;
}

.criterion-item ul li::before {
    content: '✓'; /* Checkmark icon */
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Placeholder for icons - you'd replace these with actual SVG or font icons */
.criterion-item [class^="icon-"] {
    font-size: 3em;
    color: #c0392b;
    margin-bottom: 10px;
    /* You'd replace these with actual icon fonts (e.g., Font Awesome) or SVG */
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 2px solid #c0392b;
    border-radius: 50%;
    text-align: center;
    background-color: #ffe0e0;
}
/* You would define specific icon styles here if using custom SVGs or background images */
.icon-age::before { content: '👤'; } /* Unicode character for simple icons */
.icon-weight::before { content: '⚖️'; }
.icon-health::before { content: '❤️'; }
.icon-tattoo::before { content: '💉'; }
.icon-travel::before { content: '✈️'; }
.icon-medication::before { content: '💊'; }


/* Accordion for Deferral Reasons */
.accordion {
    max-width: 800px;
    margin: 0 auto 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #ecf0f1;
    color: #34495e;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #dfe6e9;
}

.accordion-header::after {
    content: '+';
    font-weight: bold;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    background-color: #fff;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
}

/* Permanent Deferral */
.permanent-deferral ul {
    list-style: disc;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.permanent-deferral ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Quiz Section */
.eligibility-quiz {
    text-align: center;
    padding-bottom: 40px; /* Adjust padding if needed */
}

.quiz-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #34495e;
}

.form-group input[type="radio"] {
    margin-right: 8px;
}

.form-group label[for] { /* Specific styling for radio labels */
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
}

.quiz-result-message {
    margin-top: 25px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Next Steps */
.next-steps {
    text-align: center;
}

.action-buttons {
    margin-top: 30px;
    margin-bottom: 40px;
}

.action-buttons .btn {
    margin: 15px;
    min-width: 250px; /* Ensure buttons have a decent width */
}

.important-note {
    font-size: 1em;
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

.contact-section {
    background-color: #ecf0f1;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-section h4 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 10px;
}

.contact-section a.link-text {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.contact-section a.link-text:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section h2 {
        font-size: 1.4em;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        margin: 10px 0;
        width: 80%; /* Adjust for better stacking */
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 1.6em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .quiz-form,
    .contact-section {
        padding: 20px;
    }
}

/* General Layout & Colors (You might have some of these already) */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

    section:last-of-type {
        border-bottom: none;
    }

.bg-light {
    background-color: #f4f4f4;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
}

.btn-primary {
    background-color: #e74c3c; /* Red */
    color: #fff;
}

    .btn-primary:hover {
        background-color: #c0392b;
        transform: translateY(-2px);
    }

.btn-secondary {
    background-color: #27ae60; /* Green */
    color: #fff;
}

    .btn-secondary:hover {
        background-color: #229a56;
        transform: translateY(-2px);
    }

h1, h2, h3, h4 {
    color: #2c3e50; /* Dark blue/grey */
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 3.2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 2.5em;
    margin-top: 0;
}

h4 {
    font-size: 1.6em;
}

/* Hero Section */
.hero-section {
    background: url('https://via.placeholder.com/1500x600/8e44ad/ffffff?text=Give+Blood+Save+Lives') no-repeat center center/cover; /* Replace with your hero image */
    color: #fff;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5); /* Dark overlay */
        z-index: 0;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

    .hero-section h1, .hero-section h2 {
        color: #fff;
    }

    .hero-section p {
        font-size: 1.1em;
        max-width: 800px;
        margin: 0 auto 40px;
    }

/* Impact Section (Infographic Grid) */
.impact-section .infographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.infographic-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

    .infographic-item .icon-large {
        font-size: 4em;
        color: #e74c3c;
        margin-bottom: 15px;
    }

    .infographic-item .statistic {
        font-size: 2.2em;
        font-weight: bold;
        color: #c0392b;
        margin-bottom: 5px;
    }

    .infographic-item .description {
        font-size: 1em;
        color: #555;
        margin-top: 0;
    }

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

    .needs-grid h4 {
        grid-column: 1 / -1; /* Span across all columns */
        font-size: 1.8em;
        color: #34495e;
        margin-bottom: 30px;
    }

.needs-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

    .needs-item i {
        font-size: 2em;
        color: #27ae60;
        flex-shrink: 0;
        margin-top: 5px; /* Align icon better with text */
    }

    .needs-item p {
        margin: 0;
    }

/* Blood Types Section */
.blood-types-section {
    background-color: #fbfbfb;
}

.blood-type-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.blood-type-chart {
    display: flex;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.chart-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.blood-type-header {
    background-color: #34495e; /* Dark blue/grey */
    color: #fff;
    font-weight: bold;
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
    font-size: 1.1em;
}

.type-cell {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    font-size: 1em;
}

.chart-column:not(:last-child) .type-cell,
.chart-column:not(:last-child) .blood-type-header {
    border-right: 1px solid #ddd;
}

.type-cell:last-child {
    border-bottom: none;
}

/* Specific type colors (optional) */
.type-O-neg {
    background-color: #ffebeb;
    font-weight: bold;
}

.type-AB-pos {
    background-color: #ebffe0;
    font-weight: bold;
}

.donation-list, .receive-list {
    font-size: 0.95em;
    color: #555;
}

.chart-note {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
    color: #666;
}

    .chart-note i {
        color: #3498db;
        margin-right: 5px;
    }

/* Process Section */
.process-section {
    background-color: #f4f4f4;
}

.process-steps {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    flex: 0 0 18%; /* Approx 5 items per row, adjust as needed */
    max-width: 200px; /* Max width for each step */
    text-align: center;
    background-color: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

    .step-item:hover {
        transform: translateY(-5px);
    }

.step-icon {
    font-size: 3.5em;
    color: #e74c3c;
    margin-bottom: 15px;
}

.step-item h4 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 0;
}

.process-time {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555;
}

    .process-time i {
        color: #e67e22; /* Orange for time */
        margin-right: 8px;
    }

/* Myth vs. Fact Section */
.myths-facts-section {
    background-color: #fff;
}

.myth-fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.myth-fact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card-side {
    padding: 25px;
}

.myth-side {
    background-color: #f7e1e1; /* Light red */
    color: #c0392b;
    border-bottom: 2px solid #e74c3c;
}

    .myth-side i {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .myth-side h4 {
        color: #c0392b;
        margin-bottom: 0;
    }

.fact-side {
    background-color: #e0f2f2; /* Light blue-green */
    color: #2c3e50;
    flex-grow: 1; /* Make fact side fill remaining space */
}

    .fact-side i {
        font-size: 2.5em;
        color: #27ae60;
        margin-bottom: 10px;
    }

    .fact-side h4 {
        color: #27ae60;
        margin-bottom: 10px;
    }

    .fact-side p {
        font-size: 0.95em;
        color: #555;
    }

/* Final Call to Action */
.final-cta {
    background-color: #2c3e50; /* Dark background */
    color: #fff;
    text-align: center;
}

    .final-cta h3 {
        color: #fff;
        margin-bottom: 20px;
    }

    .final-cta p {
        max-width: 800px;
        margin: 0 auto 40px;
    }

.cta-buttons .btn {
    margin: 0 15px 20px;
    min-width: 220px;
}

.contact-info {
    margin-top: 40px;
    font-size: 1.1em;
}

    .contact-info p {
        margin-bottom: 10px;
    }

    .contact-info i {
        color: #3498db; /* Blue for contact icons */
        margin-right: 10px;
    }

    .contact-info a {
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }

        .contact-info a:hover {
            text-decoration: underline;
        }

/* Responsive Design */
@media (max-width: 992px) {
    .infographic-grid, .needs-grid, .process-steps, .myth-fact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        width: 80%; /* Adjust width for stacked items */
        max-width: 350px;
    }

    .blood-type-chart {
        flex-direction: column;
    }

    .chart-column {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

        .chart-column:last-child {
            border-bottom: none;
        }

        .chart-column:not(:last-child) .type-cell,
        .chart-column:not(:last-child) .blood-type-header {
            border-right: none; /* Remove vertical borders when stacked */
        }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 2em;
    }

    section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 20px;
    }

    .infographic-item {
        padding: 20px;
    }

        .infographic-item .icon-large {
            font-size: 3em;
        }

        .infographic-item .statistic {
            font-size: 1.8em;
        }

    .cta-buttons .btn {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1.7em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .infographic-grid, .needs-grid, .myth-fact-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        max-width: none; /* Allow full width for step items */
    }
}

.video-hero-container {
    position: relative; /* Essential for absolute positioning of the button */
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    /* ... other existing styles ... */
}

.video-play-button {
    position: absolute; /* Take it out of the normal flow */
    top: 50%; /* Move it down 50% from the top */
    left: 50%; /* Move it right 50% from the left */
    transform: translate(-50%, -50%); /* Adjust for the button's own size */
    /* ... other existing styles ... */
}

/* Vision & Mission Section Specific Styles */

.vision-mission-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.vision-mission-section .section-title {
    font-size: 3em;
    color: #e74c3c; /* Red color for main heading */
    margin-bottom: 60px;
    position: relative;
}

.vision-mission-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e74c3c;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Vision Section */
.vision-section {
    margin-bottom: 80px;
}

.vision-section h4 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.vision-section .highlight-text {
    font-size: 1.4em;
    font-style: normal; /* Override italic if present */
    color: #c0392b;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.vision-graphics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.vision-graphics .graphic-item {
    flex: 0 0 calc(33% - 20px); /* Three items per row with gap */
    max-width: 350px;
    text-align: center;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-graphics .graphic-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.vision-graphics .graphic-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vision-graphics .graphic-description {
    font-size: 1em;
    color: #555;
    font-style: italic;
    margin: 0;
}

/* Mission Section */
.mission-section {
    margin-top: 80px;
}

.mission-section h4 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 40px;
}

.mission-item {
    display: flex;
    align-items: flex-start; /* Align icon and content at the top */
    gap: 25px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: transform 0.2s ease;
}
