/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

/* Top Bar */
.top-bar {
    background-color: red;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    font-size: 14px;
    flex-wrap: wrap;
}

/* Contact Info (Phone + Email) */
.contact-info {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between phone and email */
}

/* Fixes blue links issue */
.contact-info a {
    color: white !important; /* Ensures text remains white */
    text-decoration: none !important; /* Removes underline */
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    font-size: 14px;
}

.contact-info a:visited,
.contact-info a:hover,
.contact-info a:active {
    color: white !important;
    text-decoration: none !important;
}

/* Icon Styling */
.contact-info i {
    font-size: 16px;
    color: white !important;
}

/* Right Side Message */
.action-message {
    font-weight: bold;
    text-align: right;
    flex: 1;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .action-message {
        text-align: center;
    }
}


/* General Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-links li {
    margin: 5px 10px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 10px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: red;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 🔹 Mobile Navbar Fix */
.menu-toggle {
    display: none; /* Hide on desktop */
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 10px;
}

/* Mobile View */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show only on mobile */
        margin-left: auto;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex; /* Show when menu toggled */
    }

    .social-icons {
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
}



/* Donate Button */
.donate-btn {
    background-color: #e63946; /* Red background */
    color: white; /* White text */
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.donate-btn:hover {
    background-color: #010101; /* Darker red on hover */
    transform: translateY(-2px);
}


/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.social-icons a {
    color: black;
    margin: 0 10px;
    font-size: 1.2em;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        left: 0;
        top: 100%;
        box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
        padding: 10px 0;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
}


/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10%;
    background: linear-gradient(to right, #2a7bff, #76b2ff);
    color: white;
}

.hero-content {
    max-width: 50%;
}

.hero h3 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0;
}

.hero p {
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-red {
    background: #d32f2f;
    color: white;
}

.btn-red:hover {
    background: #b71c1c;
}

.btn-white {
    border: 2px solid white;
    color: white;
}

.btn-white:hover {
    background: white;
    color: #2a7bff;
}

/* Hero Image */
.hero-image img {
    width: 350px; /* Adjusted for a better fit */
    max-width: 100%;
    border-radius: 10px;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-image img {
        width: 80%; /* Ensures it's not too big */
        max-width: 400px; /* Keeps it within a reasonable size */
        margin-top: 20px;
    }
}


/* Who We Are Section */
.who-we-are {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background: white;
}

.who-we-are-image img {
    width: 500px;
    border-radius: 10px;
}

.who-we-are-content {
    max-width: 50%;
    padding-left: 40px;
}

.impact-text {
    color: #0072ff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.underline {
    width: 50px;
    height: 3px;
    background: #d32f2f;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 20px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-red {
    background: #d32f2f;
    color: white;
    text-transform: uppercase;
}

.btn-red:hover {
    background: #b71c1c;
}

/* Responsive */
@media (max-width: 768px) {
    .who-we-are {
        flex-direction: column;
        text-align: center;
    }

    .who-we-are-content {
        max-width: 100%;
        padding-left: 0;
    }

    .who-we-are-image img {
        width: 100%;
        margin-bottom: 20px;
    }
}
.support-section {
    text-align: center;
    background-color: #f8fbfd;
    padding: 50px;
}

.small-title {
    color: #1d4ed8;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    color: #111;
    margin-top: 10px;
}

.description {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease; /* Transition for hover effect */
}

.card:hover {
    background-color: #e63946; /* Red background on hover */
    color: white; /* White text on hover */
}

.card:hover h2,
.card:hover p {
    color: white; /* White text on hover for headings and paragraphs */
}

.card img {
    width: 100%;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
    height: 200px;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h2 {
    font-size: 22px;
    color: #111;
    margin-bottom: 15px;
}

.card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.learn-more {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 12px 24px; /* Increased padding for better touch interaction */
    border-radius: 6px; /* Slightly more rounded for modern look */
    font-size: 16px;
    font-weight: bold; /* Makes text stand out */
    cursor: pointer;
    align-self: center;
    text-decoration: none;
    text-align: center;
    display: inline-block; /* Ensures proper button alignment */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added smooth hover effect */
}

.learn-more:hover {
    background-color: #c32f36; /* Slightly darker red for hover */
    transform: translateY(-2px); /* Subtle hover lift effect */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }
}

.commitment-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background: white;
}

.commitment-text {
    width: 50%;
}

.commitment-text h4 {
    color: #1d4ed8;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

.commitment-text h1 {
    font-size: 36px;
    margin-top: 10px;
    color: #333;
}

.red-line {
    width: 50px;
    height: 3px;
    background: #e63946;
    border: none;
    margin: 10px 0;
}

.commitment-text p {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}

.commitment-image {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.commitment-image img {
    width: 90%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .commitment-section {
        flex-direction: column;
        text-align: center;
    }
    
    .commitment-text, .commitment-image {
        width: 100%;
    }
    
    .commitment-image img {
        width: 100%;
    }
}

.ways-to-help {
    text-align: center;
    background-color: #1d4ed8;
    color: white;
    padding: 50px 20px;
}

.ways-header h1 {
    font-size: 36px;
}

.ways-header p {
    font-size: 18px;
    margin-top: 10px;
}

.ways-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.way {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px; /* Reduced padding */
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px; /* Reduced font size */
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.way:hover {
    background-color: #e84c4c;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    width: 30%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Changed to contain */
    object-position: center; /* Added object-position */
}

.card h2 {
    font-size: 20px;
    margin: 15px 0;
    color: #333;
}

.card-button {
    display: inline-block;
    background: #e63946;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #c22e38;
}

@media (max-width: 768px) {
    .ways-list {
        flex-direction: column;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 80%;
    }

    .card img {
        height: auto;
    }
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #1d4ed8, rgba(29, 78, 216, 0.2));
    color: white;
    padding: 50px 8%;
}

.hero-content {
    max-width: 50%;
}

.hero-tag {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.hero h1 {
    font-size: 40px;
    margin: 10px 0;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #e63946;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
}

.hero-image img {
    width: 550px;
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image img {
        width: 100%;
        margin-top: 20px;
    }
}

/* Request or Donate Blood Section */
.blood-donate-section {
    background-color: #f9f9f9; /* Light background for the section */
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.request-donate-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    gap: 20px; /* Space between cards */
    max-width: 1200px; /* Limit container width for larger screens */
    margin: 0 auto; /* Center the container */
}

.blood-donation-section {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.donate-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.donate-card {
    background: #ddd; /* Default gray */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 22%;
    min-width: 250px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.donate-card:hover {
    background: #c82333; /* Red on hover */
    color: white;
    transform: translateY(-5px);
}

.donate-card img {
    width: 50px;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
}

.donate-card:hover img {
    filter: brightness(0) invert(1); /* Makes icons white */
}

.donate-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.donate-card p {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .donation-container {
        flex-direction: column;
        align-items: center;
    }

    .donation-card {
        width: 90%;
    }
}

/* Screenshot Section */
.screenshot-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.screenshot-section {
    background-color: white; /* White background for the section */
    padding: 50px 0;
    text-align: left; /* Align text to the left */
}

.screenshot-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-content {
    flex: 1;
    max-width: 50%; /* Limit text width */
}

.text-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.text-content hr {
    width: 50px;
    border: 2px solid #e91e63;
    margin-bottom: 20px;
    margin-left: 0; /* Align hr to the left */
}

.text-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.phone-images {
    flex: 1;
    text-align: right;
}

.phone-images img {
    max-width: 45%; /* Adjust as needed */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 10px; /* Space between images */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .screenshot-container {
        width: 95%;
    }

    .screenshot--content {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        max-width: 100%;
        text-align: center;
    }

    .text-content hr {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-images {
        text-align: center;
        margin-top: 20px;
    }

    .phone-images img {
        max-width: 80%;
        margin-left: 0;
    }
}/* Responsive adjustments */
@media (max-width: 768px) {
    .screenshot-container {
        width: 95%;
    }

    .screenshot-content {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        max-width: 100%; /* Full width for text */
        text-align: center;
    }

    .text-content hr {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-images {
        text-align: center;
        margin-top: 30px; /* More space between text and image */
    }

    .phone-images img {
        max-width: 90%; /* Make image take up more width */
        margin-left: 0;
    }
}

/* YouTube Section */
.youtube-section {
    background-color: #f9f9f9; /* Light background for the section */
    padding: 50px 20px;
    text-align: center;
}

.youtube-container {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
}

.youtube-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-container {
        max-width: 100%; /* Full width on smaller screens */
    }
}

/* Blood Facts Section */
.blood-facts-section {
    background-color: white; /* White background for the section */
    padding: 50px 20px; /* Padding around the content */
    text-align: center; /* Center the text */
    max-width: 1200px; /* Limit the width of the section */
    margin: 0 auto; /* Center the section horizontally */
}

.blood-facts-section h2 {
    font-size: 2.5em; /* Larger font size for the heading */
    color: #333; /* Dark color for the heading */
    margin-bottom: 30px; /* Space between heading and paragraph */
}

.blood-facts-section p {
    font-size: 1.1em; /* Normal font size for the paragraph */
    color: #666; /* Slightly lighter color for the paragraph */
    line-height: 1.6; /* Line height for better readability */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blood-facts-section {
        padding: 30px 10px; /* Adjust padding for smaller screens */
    }

    .blood-facts-section h2 {
        font-size: 2em; /* Slightly smaller font size for heading on smaller screens */
        margin-bottom: 20px; /* Adjust margin for smaller screens */
    }

    .blood-facts-section p {
        font-size: 1em; /* Slightly smaller font size for paragraph on smaller screens */
    }
}

/* Transfusion Section */
.transfusion-section {
    background-color: white; /* White background for the section */
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; /* Align text to the left */
}

.transfusion-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    text-align: center; /* Center the heading */
}

.transfusion-section p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.transfusion-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 20px;
}

.transfusion-section li {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .transfusion-section {
        padding: 30px 10px;
    }

    .transfusion-section h2 {
        font-size: 2em;
    }

    .transfusion-section p,
    .transfusion-section li {
        font-size: 1em;
    }
}

/* Blood Details */
.tab-container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
}

/* Tabs Navigation */
.tabs {
    display: flex;
    justify-content: space-around;
    background-color: #111;
    padding: 10px;
    border-radius: 10px;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    transition: 0.3s;
    border-radius: 10px 10px 0 0;
    border-bottom: 4px solid transparent;
}

.tab-btn:hover {
    opacity: 0.8;
}

.tab-btn.active {
    border-bottom: 4px solid white;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #b30000;
    color: white;
    flex-direction: row; /* Ensures text and image stay side by side */
}

/* Show Active Content */
.tab-content.active {
    display: flex;
}

/* Image Styling */
.tab-content img {
    width: 120px;
    height: auto;
    margin-left: 20px; /* Keeps spacing between text and image */
    border-radius: 10px;
}

/* Content Section */
.content {
    max-width: 600px;
    flex: 1; /* Allows text to take available space */
}

/* Headings */
h2 {
    font-size: 28px;
    font-weight: bold;
}

/* 🔹 Responsive Design (Mobile-Friendly) */
@media (max-width: 768px) {
    .tab-content {
        flex-direction: row; /* Keep side-by-side layout */
        align-items: center;
    }

    .tab-content img {
        width: 100px;
        margin-left: 15px;
    }

    .tab-btn {
        font-size: 16px;
        padding: 12px;
    }
}

/* Container Section */
.blood-donation-section {
    max-width: 100%; /* Ensure full responsiveness */
    margin: auto;
    background-color: black;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    overflow-x: hidden; /* Prevents unnecessary horizontal scrolling */
}

/* Title */
.donation-title {
    color: red;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

/* Donor Information */
.donor-details {
    width: 48%;
    text-align: left;
    max-width: 100%;
}

.donor-details h2 {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.donor-details h2 span {
    color: red;
}

.donor-details p {
    font-size: 14px;
    color: white;
}

.donor-details h3 {
    color: red;
    font-size: 16px;
    font-weight: bold;
}

.donor-details ul {
    list-style-type: none;
    padding: 0;
}

.donor-details ul li {
    font-size: 14px;
    margin-bottom: 5px;
    color: white;
}

/* Compatibility Chart Section */
.compatibility-chart {
    width: 48%;
    max-width: 100%;
    overflow-x: auto; /* Allow scrolling only if necessary */
}

/* Table Styles */
.blood-chart-table {
    border-collapse: collapse;
    width: 100%;
    min-width: unset;
    table-layout: fixed; /* Ensures uniform column width */
    font-size: 12px; /* Reduce font size for better fit */
}

/* Reduce padding to make table compact */
.blood-chart-table th,
.blood-chart-table td {
    border: 1px solid white;
    padding: 6px; /* Reduce padding for better fit */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
}

.blood-chart-table th {
    background-color: red;
    color: white;
    font-size: 14px; /* Slightly bigger font for headers */
}

.blood-chart-table td {
    background-color: #222;
    color: white;
}

/* 🔹 Responsive Design for Mobile */
@media (max-width: 768px) {
    .blood-donation-section {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    /* Make both sections full-width */
    .donor-details, .compatibility-chart {
        width: 100%;
    }

    .donor-details {
        text-align: left;
        margin-bottom: 20px;
    }

    /* Ensure table fits screen */
    .compatibility-chart {
        order: 2;
        overflow-x: auto; /* Enables scrolling only if necessary */
    }

    .blood-chart-table {
        font-size: 10px; /* Reduce font size for small screens */
        min-width: unset;
        display: table;
    }

    /* Reduce cell padding further for mobile */
    .blood-chart-table th,
    .blood-chart-table td {
        padding: 4px;
    }
}

/* Donation Benefits Section */
.donation-benefits-section-wrapper {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}

/* Section Title */
.donation-benefits-section-title {
    text-align: center;
    color: #d9534f;
    margin-bottom: 20px;
    width: 100%;
}

/* Flexbox Container for Each Text-Image Pair */
.donation-benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 40px;
    gap: 20px;
}

/* Text Section */
.donation-benefits-section-list {
    width: 48%;
    box-sizing: border-box;
    text-align: left;
}

/* Image Section */
.donation-benefits-section-image {
    width: 48%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-benefits-section-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 🔹 Responsive Design - Stack on Small Screens */
@media (max-width: 768px) {
    .donation-benefits-container {
        flex-direction: column;
        align-items: center;
    }

    .donation-benefits-section-list, 
    .donation-benefits-section-image {
        width: 100%;
        text-align: center;
    }

    .donation-benefits-section-image img {
        max-width: 80%;
    }
}

/* Eligibility Section Styles */
.donation-eligibility-wrapper {
    background-color: #222; /* Dark background */
    color: white; /* White text */
    padding: 40px;
    text-align: left;
    font-family: sans-serif;
    width: 100%;
  }
  
  /* Eligibility Heading */
  .donation-eligibility-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  /* Eligibility Paragraph */
  .donation-eligibility-paragraph {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  /* Eligibility List */
  .donation-eligibility-list {
    list-style-type: disc;
    padding-left: 20px;
  }
  
  /* Eligibility List Items */
  .donation-eligibility-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  /* Contact Button */
  .donation-eligibility-contact {
    text-align: center;
    margin-top: 30px;
  }
  
  .donation-eligibility-button {
    background-color: #d9534f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  /* Reset image styles */
  .donation-eligibility img {
    border: none;
    outline: none;
    display: block;
    max-width: 100%;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .donation-eligibility-wrapper {
      padding: 20px;
    }
  
    .donation-eligibility-title {
      font-size: 24px;
    }
  
    .donation-eligibility-paragraph,
    .donation-eligibility-list li {
      font-size: 14px;
    }
  }


        /* Blood Donation Info Section */
    .blood-info-section {
      background-color: white;
      color: black;
      font-family: sans-serif;
      padding: 20px; /* Reduced padding for mobile */
      display: flex;
      flex-direction: column; /* Stack columns on mobile */
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Main Columns */
    .main-column-left, .main-column-right {
      width: 100%; /* Full width on mobile */
      box-sizing: border-box;
      margin-bottom: 30px; /* Added spacing between columns */
    }

    /* Section Headings */
    .info-heading {
      color: red;
      font-size: 1.2em; /* Adjusted font size for mobile */
      border-bottom: 2px solid red;
      padding-bottom: 8px;
      margin-bottom: 15px;
    }

    /* Section Paragraphs */
    .info-paragraph {
      line-height: 1.6; /* Adjusted line height for mobile */
      font-size: 1em;
      margin-bottom: 20px;
    }

    /* Responsive adjustments for larger screens */
    @media (min-width: 900px) {
      .blood-info-section {
        flex-direction: row; /* Side-by-side columns on larger screens */
        justify-content: space-between;
        padding: 30px; /* Increased padding on larger screens */
      }

      .main-column-left {
        width: 40%;
      }

      .main-column-right {
        width: 58%;
      }
    }

    /* Adjust font size on very small screens */
    @media (max-width: 480px) {
      .info-paragraph {
        font-size: 0.95em;
      }
    }

/* Footer */
.footer {
    background-color: #111;
    color: white;
    padding: 50px 8%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px;
}

.logo-section {
    max-width: 350px;
}

.footer-logo {
    width: 50px;
    margin-bottom: 10px;
}

.footer h2 {
    font-size: 24px;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-phone {
    display: block;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e63946;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.locations li {
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 14px;
}

.footer-bottom strong {
    color: #e63946;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}
.donor-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 10%;
    background: white;
    color: black;
}

.donor-content {
    max-width: 50%;
}

.donor-tag {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.donor-content h1 {
    font-size: 40px;
    font-weight: bold;
    margin: 10px 0;
}

.donor-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.donor-button {
    padding: 12px 20px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    background: #d32f2f;
    color: white;
}

.donor-button:hover {
    background: #b71c1c;
}

.donor-image img {
    width: 450px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .donor-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .donor-content {
        max-width: 100%;
    }

    .donor-image img {
        width: 100%;
        margin-top: 20px;
    }
}

.join-us {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: space-between;
    align-items: center;
    padding: 50px 10%;
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: white;
    text-align: left;
    border-radius: 15px;
    margin: 50px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.2s ease-in-out;
}

.join-content {
    flex: 1;
    max-width: 50%;
}

.join-us h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.join-us h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.join-us p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2rem;
    color: #fff;
    background: #e60000;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.cta-button:hover {
    background: #ff3333;
    transform: scale(1.05);
}

.join-image {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers image */
    align-items: center;
}

.join-image img {
    width: 100%;
    max-width: 350px; /* Adjust size */
    animation: float 3s ease-in-out infinite;
}

.highlight {
    background-color: transparent;
    color: #FFD700; /* Gold */
    font-weight: bold;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .join-us {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .join-content {
        max-width: 100%;
    }

    .join-image img {
        max-width: 200px;
        margin-top: 15px;
    }
}


/* volunteer-section */
.highlight {
    color: black;
    background-color: yellow;
    padding: 3px 6px;
    border-radius: 5px;
}


/* General Styles */

/* Header */
.guidelines-header {
    background-color: #e63946;
    color: white;
    text-align: center;
    padding: 20px 10px;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

/* Guidelines Section */
.guidelines-section {
    padding: 30px 5%;
    max-width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.guidelines-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    width: 100%;
}

/* Headings */
.guidelines-section h2, 
.guidelines-section h3 {
    color: #e63946;
}

.guidelines-section h2 {
    font-size: 22px;
    margin-top: 25px;
}

.guidelines-section h3 {
    font-size: 18px;
    margin-top: 15px;
}

/* Text Styling */
.guidelines-section p,
.guidelines-section ul li {
    font-size: 16px;
    line-height: 1.6;
}

/* List Styling */
.guidelines-section ul {
    padding-left: 20px;
}

.guidelines-section ul li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .guidelines-section {
        padding: 20px 3%;
    }

    .guidelines-container {
        padding: 20px;
        width: 100%;
    }

    .guidelines-section h2 {
        font-size: 20px;
    }

    .guidelines-section h3 {
        font-size: 16px;
    }

    .guidelines-section p,
    .guidelines-section ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .guidelines-header {
        font-size: 20px;
        padding: 15px;
    }

    .guidelines-section {
        padding: 15px 2%;
    }

    .guidelines-container {
        padding: 15px;
        width: 100%;
    }

    .guidelines-section h2 {
        font-size: 18px;
    }

    .guidelines-section h3 {
        font-size: 15px;
    }

    .guidelines-section p,
    .guidelines-section ul li {
        font-size: 14px;
    }
}

/* General Styles */



/* General Styles */
/* Headings */
.terms-wrapper h1, 
.terms-wrapper h2 {
    color: #e63946;
    text-align: center;
}

.terms-wrapper h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.terms-wrapper h2 {
    font-size: 22px;
    margin-top: 20px;
    border-bottom: 2px solid #e63946;
    padding-bottom: 5px;
}

/* Text Styles */
.terms-wrapper p, 
.terms-wrapper ul {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 10px;
}

.terms-wrapper ul {
    padding-left: 30px;
}

/* Effective Date */
.effective-date {
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}

/* Links */
.terms-wrapper a {
    color: #e63946;
    text-decoration: none;
}

.terms-wrapper a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-wrapper {
        padding: 15px;
    }

    .terms-wrapper h1 {
        font-size: 24px;
    }

    .terms-wrapper h2 {
        font-size: 20px;
    }

    .terms-wrapper p, 
    .terms-wrapper ul {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .terms-wrapper {
        padding: 10px;
    }

    .terms-wrapper h1 {
        font-size: 22px;
    }

    .terms-wrapper h2 {
        font-size: 18px;
    }

    .terms-wrapper p, 
    .terms-wrapper ul {
        font-size: 13px;
    }
}

