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

        :root {
            --primary-red: #dc143c;
            --dark-red: #8b0000;
            --light-red: #ff6b6b;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --dark-gray: #333;
        }

        body {
            font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            overflow-x: hidden;
        }

        /* Navigation */
        nav {
            position: fixed;
            width: 100%;
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            transition: all 0.3s;
        }

        nav.scrolled {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
        }

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

        .logo i {
            font-size: 2rem;
            animation: pulse 2s infinite;
        }

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

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-gray);
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary-red);
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary-red);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .blood-drops {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .drop {
            position: absolute;
            width: 20px;
            height: 20px;
            background: rgba(255,255,255,0.1);
            border-radius: 50% 50% 50% 0;
            transform: rotate(45deg);
            animation: fall linear infinite;
        }

        @keyframes fall {
            to {
                transform: translateY(100vh) rotate(45deg);
            }
        }

        .hero-content {
            text-align: center;
            color: var(--white);
            z-index: 1;
            padding: 2rem;
        }

        .hero-content h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s;
        }

        .hero-content p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            animation: fadeInUp 1s 0.3s backwards;
        }

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

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

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
            color: var(--white);
            box-shadow: 0 4px 16px rgba(220, 20, 60, 0.15);
            border: none;
        }

        .btn-primary:hover {
            background: linear-gradient(90deg, var(--dark-red) 0%, var(--primary-red) 100%);
            color: var(--white);
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 10px 30px rgba(220,20,60,0.25);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

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

        /* Toggle tabs (professional-looking) */
        .toggle-tabs {
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            background: var(--white);
            padding: 0.5rem;
            border-radius: 14px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.07);
        }

        .toggle-tab-btn {
            border-radius: 10px;
            padding: 0.6rem 1.25rem;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.2px;
            transition: all 0.22s ease;
            box-shadow: none;
        }

        /* When toggle buttons are inside the toggle-tabs container, override the default "secondary" styling so it looks professional */
        .toggle-tabs .btn-secondary {
            background: transparent;
            color: var(--dark-gray);
            border: 1px solid rgba(0,0,0,0.08);
        }

        .toggle-tabs .btn-primary {
            background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
            color: var(--white);
            box-shadow: 0 6px 20px rgba(220,20,60,0.18);
        }

        .toggle-tabs .btn-secondary:hover {
            background: rgba(220,20,60,0.03);
            transform: translateY(-2px);
        }

        .toggle-tabs .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
        }

        @media (max-width: 480px) {
            .toggle-tabs {
                gap: 0.5rem;
                padding: 0.4rem;
            }

            .toggle-tab-btn {
                padding: 0.5rem 0.9rem;
                font-size: 0.95rem;
            }
        }

        /* Wrapper to align toggle buttons with other centered content */
        .form-toggle-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: center;
        }

                /* New section to group the toggle with the forms visually */
                .forms-toggle-section {
                    background: var(--light-gray);
                    padding: 2rem 0;
                    margin-top: 1.5rem;
                    margin-bottom: 1.5rem;
                }

        /* Stats Section */
        .stats {
            background: var(--light-gray);
            padding: 4rem 2rem;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

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

        .stat-card:hover {
            transform: translateY(-10px);
        }

        .stat-card i {
            font-size: 3rem;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

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

        /* About Section */
        .about {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-image {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .about-image:hover img {
            transform: scale(1.1);
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        /* Blood Types */
        .blood-types {
            background: var(--primary-red);
            color: var(--white);
            padding: 5rem 2rem;
        }

        .blood-types h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
        }

        .blood-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        @media (max-width: 1024px) {
            .blood-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .blood-grid {
                grid-template-columns: 1fr;
            }
        }

        .blood-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            border: 2px solid rgba(255,255,255,0.2);
            transition: all 0.3s;
        }

        .blood-card:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.05);
        }

        .blood-type {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        /* Process Section */
        .process {
            padding: 5rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .process h2 {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 3rem;
        }

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

        .step {
            text-align: center;
            padding: 2rem;
            position: relative;
        }

        .step-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--primary-red), var(--light-red));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2.5rem;
            color: var(--white);
            box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
        }

        .step h3 {
            margin-bottom: 1rem;
            color: var(--primary-red);
        }

        /* Request Form */
        .request-section {
            background: var(--light-gray);
            padding: 5rem 2rem;
        }

        .request-container {
            max-width: 800px;
            margin: 0 auto;
            background: var(--white);
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .request-container h2 {
            text-align: center;
            color: var(--primary-red);
            margin-bottom: 2rem;
            font-size: 2.5rem;
        }

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

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

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s;
            font-family: inherit;
        }

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

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .checkbox-group {
            display: flex;
            align-items: center;
        }

        .checkbox-group label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            cursor: pointer;
        }

        /* Donors Section */
        .donors-section {
            padding: 5rem 2rem;
            background: var(--white);
        }

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

        .donors-container h2 {
            text-align: center;
            color: var(--primary-red);
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

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

        .search-filters {
            display: flex;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 15px;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

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

        .filter-group input,
        .filter-group select {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
        }

        #searchBtn {
            align-self: flex-end;
            white-space: nowrap;
        }

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

        .donor-card {
            background: var(--light-gray);
            border-radius: 15px;
            padding: 2rem;
            border-left: 5px solid var(--primary-red);
            transition: all 0.3s;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }

        .donor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
        }

        .donor-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #ddd;
        }

        .donor-avatar {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-red), var(--light-red));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.5rem;
            font-weight: bold;
        }

        .donor-name {
            font-size: 1.3rem;
            font-weight: bold;
            color: var(--dark-gray);
        }

        .donor-info {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .donor-info-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: var(--dark-gray);
        }

        .donor-info-item i {
            color: var(--primary-red);
            width: 20px;
        }

        .blood-badge {
            display: inline-block;
            background: var(--primary-red);
            color: var(--white);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-weight: bold;
            font-size: 1.1rem;
        }

        .contact-donor-btn {
            width: 100%;
            margin-top: 1rem;
            padding: 0.8rem;
            background: var(--primary-red);
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .contact-donor-btn:hover {
            background: var(--dark-red);
            transform: translateY(-2px);
        }

        .no-donors {
            text-align: center;
            padding: 4rem 2rem;
            color: var(--dark-gray);
        }

        .no-donors i {
            font-size: 4rem;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

        .no-donors p {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        /* Become Donor Section */
        .become-donor-section {
            background: var(--light-gray);
            padding: 5rem 2rem;
        }

        /* Testimonials */
        .testimonials {
            padding: 5rem 2rem;
            background: var(--white);
        }

        .testimonials h2 {
            text-align: center;
            font-size: 2.5rem;
            color: var(--primary-red);
            margin-bottom: 3rem;
        }

        .testimonial-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .testimonial-card {
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 15px;
            border-left: 4px solid var(--primary-red);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            background: var(--primary-red);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: bold;
            font-size: 1.2rem;
        }

        /* Footer */
        footer {
            background: var(--dark-red);
            color: var(--white);
            padding: 3rem 2rem 1rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: var(--light-red);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            font-size: 1.5rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .mobile-menu {
                display: block;
            }

            .nav-links {
                position: fixed;
                left: -100%;
                top: 70px;
                flex-direction: column;
                background: var(--white);
                width: 100%;
                text-align: center;
                transition: left 0.3s;
                box-shadow: 0 10px 27px rgba(0,0,0,0.1);
                padding: 2rem 0;
            }

            .nav-links.active {
                left: 0;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 1.1rem;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

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

            .request-container {
                padding: 2rem 1.5rem;
            }

            .search-filters {
                flex-direction: column;
            }

            #searchBtn {
                align-self: stretch;
            }
        }

        /* Loading Animation */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .blood-drop-loader {
            width: 50px;
            height: 50px;
            background: var(--primary-red);
            border-radius: 50% 50% 50% 0;
            /* rotate 90deg to the right relative to the original 45deg (45 + 90 = 135deg) */
            transform: rotate(135deg);
            animation: drop-bounce 1s infinite;
        }

        /* Animate vertical movement in viewport coordinates (margin-top) so rotation doesn't skew the direction */
        @keyframes drop-bounce {
            0%, 100% { margin-top: 0; }
            50% { margin-top: 20px; }
        }
  