/* General Styles */
:root {
    --primary-color: #dc3545;
    --primary-hover: #bb2d3b;
    --secondary-color: #6c757d;
    --light-gray: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.1)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--dark);
    padding: 100px 0;
    position: relative;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Icons */
.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Search Form */
.search-form .form-control,
.search-form .form-select {
    height: 56px;
    border-radius: 50px 0 0 50px;
    border-right: none;
    padding: 0 20px;
}

.search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 25px;
}

/* Tables */
.table th {
    font-weight: 600;
    background-color: var(--light-gray);
}

/* Badges */
.badge {
    padding: 8px 12px;
    font-weight: 500;
    border-radius: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .search-form .form-control,
    .search-form .form-select,
    .search-form .btn {
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .search-form .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Utility Classes */
.rounded-lg {
    border-radius: 15px;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bb2d3b;
}


/* Banner Section CSS */
.blood-banner {
  background: linear-gradient(135deg, #ff4b5c, #ff758c);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.blood-banner h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.blood-banner .highlight {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.blood-banner p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blood-banner .reasons,
.blood-banner .steps {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 800px;
  text-align: left;
}

.blood-banner ul, .blood-banner ol {
  margin-left: 20px;
}

.blood-banner .cta {
  font-size: 1.3em;
  margin: 20px 0;
  font-weight: bold;
}

.btn-donate {
  background-color: #fff;
  color: #ff4b5c;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-donate:hover {
  background-color: #ff4b5c;
  color: #fff;
}
@media (max-width: 768px){
  .blood-banner h1{
    font-size: 2em;
  }
  .blood-banner .highlight{
    font-size: 1.3em;
  }
}


/* Reset small elements for the section (you can remove if you already have a global reset) */
.ist-hero .container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

/* Hero Card */
.ist-hero .hero-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Left column */
.ist-hero h1 {
  margin: 0 0 6px 0;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  text-align: center;
}
.ist-hero h1 .accent { color: #d32f2f; font-weight: 800; }

.ist-hero h2 {
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  color: #333;
}

.ist-hero .lead {
  margin: 0 0 16px 0;
  color: #4a4a4a;
  line-height: 1.6;
}

.ist-hero .features { list-style: none; padding: 0; margin: 0 0 18px 0; color: #444; }
.ist-hero .features li { margin: 8px 0; }

/* CTA buttons */
.ist-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.btn-primary { background: linear-gradient(90deg, #ff4b5c, #ff758c); color: #fff; box-shadow: 0 6px 18px rgba(255,75,92,0.22); }
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline { border: 2px solid #d32f2f; color: #d32f2f; background: transparent; }
.btn-outline:hover { background: rgba(211,47,47,0.06); }

/* Right column illustration */
.ist-hero .hero-right { display: flex; align-items: center; justify-content: center; }
.blood-illustration { width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; font-size: 72px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff0f2, #ffdfe4); box-shadow: 0 8px 30px rgba(211,47,47,0.12); }

/* Responsive adjustments */
@media (max-width: 880px) {
  .ist-hero .hero-card { grid-template-columns: 1fr; text-align: center; }
  .ist-hero .hero-right { order: -1; }
  .ist-hero .hero-left { padding: 6px 12px; }
  .ist-hero h1 { font-size: 1.4rem; }
}

@media (max-width: 420px) {
  .blood-illustration { width: 140px; height: 140px; font-size: 56px; }
  .btn { padding: 10px 14px; }
}