body {
    background-color: #f0f2f5; /* Light grey background */
    font-family: 'Hind Siliguri',sans-serif;
}

/* Hero Section Styling */
.hero-section {
    background-color: #1a237e; /* Dark Blue */
    color: white;
    padding: 80px 0 120px 0;
    text-align: center;
    position: relative;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content Area */
.main-content {
    margin-top: -80px; /* Pulls content up over the curve */
    position: relative;
    z-index: 10;
}

/* Add Profile Button */
.btn-add-profile {
    background-color: #673ab7; /* Purple */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-add-profile:hover {
    background-color: #512da8; /* Darker Purple */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2) !important;
}

.btn-add-profile i {
    margin-right: 8px;
    font-size: 1.4rem;
    vertical-align: middle;
}

/* Section Title */
.section-title {
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #dc3545; /* Red */
    border-radius: 2px;
}


/* Form Card Styling */
#registrationSection {
    border: none;
    border-radius: 15px;
    margin-top: 10px;
}

/* Donor Profile Card Styling (Retained from previous design) */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

.donor-profile-card {
    cursor: pointer;
    overflow: hidden;
    height: 272px;
    transition: height 0.5s ease-in-out;
    background: white;
}

.donor-profile-card.expanded {
    height: 480px;
}

.profile-img-container {
    position: relative;
    height: 120px;
    width: 120px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blood-group {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

.profile-details {
    padding-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-in-out 0.2s, transform 0.4s ease-in-out 0.2s;
}

.donor-profile-card.expanded .profile-details {
    opacity: 1;
    transform: translateY(0);
}

.profile-actions {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    padding: 0 15px;
}

.btn-call {
    background-color: #28a745;
    color: white;
}

.btn-details {
    background-color: #0d6efd;
    color: white;
}

.btn i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-section {
        padding: 60px 0 100px 0;
    }
    .main-content {
        margin-top: -151px;
    }
}