/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(220, 38, 127, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    color: #e31616;
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff1313;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: #dc267f;
    background-color: rgba(220, 38, 127, 0.1);
}

/* Main Content */
.main {
    min-height: calc(100vh - 120px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffe5f1 0%, #ffffff 100%);
    padding: 4rem 0;
    text-align: center;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc267f;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.cta-button {
    display: inline-block;
    background-color: #dc267f;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
}

.cta-button:hover {
    background-color: #b8205a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 127, 0.4);
}

.cta-button.secondary {
    background-color: white;
    color: #dc267f;
    border: 2px solid #dc267f;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.1);
}

.cta-button.secondary:hover {
    background-color: #dc267f;
    color: white;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #ffffff;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}

.features-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #fafafa;
    border-radius: 12px;
    border-left: 4px solid #dc267f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.1);
}

.feature-icon {
    color: #dc267f;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: #333;
}

/* Form Styles */
.form-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffe5f1 0%, #ffffff 100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 127, 0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #dc267f;
    text-align: center;
    margin-bottom: 1rem;
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #dc267f;
    box-shadow: 0 0 0 3px rgba(220, 38, 127, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background-color: #dc267f;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
}

.submit-button:hover {
    background-color: #b8205a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 127, 0.4);
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffe5f1 0%, #ffffff 100%);
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 127, 0.1);
    text-align: center;
}

.thank-you-icon {
    color: #28a745;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.thank-you-title {
    font-size: 2rem;
    font-weight: 700;
    color: #dc267f;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.thank-you-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

.thank-you-details p {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.thank-you-details ul {
    list-style: none;
    padding-left: 0;
}

.thank-you-details li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.thank-you-details li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.home-button {
    display: inline-block;
    background-color: #dc267f;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
}

.home-button:hover {
    background-color: #b8205a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 127, 0.4);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

.footer p {
    font-size: 0.9rem;
}

/* Donor Benefits Styles */
.donor-benefits {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #dc267f;
}

.donor-benefits h3 {
    color: #dc267f;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.donor-benefits ul {
    list-style: none;
    padding: 0;
}

.donor-benefits li {
    padding: 0.5rem 0;
    color: #333;
    font-weight: 500;
}

/* Profile Styles */
.profile-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffe5f1 0%, #ffffff 100%);
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 127, 0.1);
}

.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(220, 38, 127, 0.1);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc267f;
    margin-bottom: 0.5rem;
}

.profile-details {
    display: flex;
    gap: 1rem;
}

.blood-group {
    background-color: #dc267f;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.location {
    color: #666;
    font-weight: 500;
}

.credits-display {
    text-align: center;
}

.credits-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc267f;
    line-height: 1;
}

.credits-label {
    color: #666;
    font-weight: 500;
    margin-top: 0.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-button {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-button.primary {
    background-color: #dc267f;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 127, 0.3);
}

.action-button.primary:hover {
    background-color: #b8205a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 127, 0.4);
}

.action-button.secondary {
    background-color: #f8f9fa;
    color: #dc267f;
    border: 2px solid #dc267f;
}

.action-button.secondary:hover {
    background-color: #dc267f;
    color: white;
    transform: translateY(-2px);
}

.cancel-button {
    width: 100%;
    background-color: #6c757d;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cancel-button:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* History Styles */
.history-section {
    margin-top: 3rem;
}

.history-section h3 {
    color: #dc267f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.history-list {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #dc267f;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-date {
    font-weight: 600;
    color: #666;
    min-width: 100px;
}

.history-details {
    flex: 1;
    margin-left: 1rem;
}

.credits-earned {
    background-color: #28a745;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

.credits-used {
    background-color: #dc3545;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

.status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status.pending {
    background-color: #ffc107;
    color: #212529;
}

.status.approved {
    background-color: #17a2b8;
    color: white;
}

.status.fulfilled {
    background-color: #28a745;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-list {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features-title {
        font-size: 1.5rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .form-container,
    .thank-you-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .form-title,
    .thank-you-title {
        font-size: 1.5rem;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .profile-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .profile-actions {
        flex-direction: column;
    }

    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .history-details {
        margin-left: 0;
    }

    .donor-benefits {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .features {
        padding: 2rem 0;
    }

    .form-section,
    .thank-you-section {
        padding: 2rem 0;
    }

    .cta-button,
    .submit-button,
    .home-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}
