.body {
    background-color: #f8f8f8;
}

.header {
    background-color: #d32f2f;
    color: white;
    /* padding: 15px; */
    text-align: center;
}

.main {
    padding: 20px;
}

.content, .admin{
font-family:'Merriweather',serif;
}
/*form */
.form-section{
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: #740404;
}
.section {
    background-color: white;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.form-section h1{
    font-weight: 600;
    text-align: center;
}

.c{color:#442be4;}
.o{color: rgb(174, 10, 19);}
.n{color: rgb(223, 117, 17);}
.t{color: rgb(240, 123, 123);}
.a{color: rgb(84, 42, 183);}
.c2{color: rgb(255, 247, 16);}
.t2{color: rgb(203, 138, 18);}
.u{color: rgb(196, 5, 5);}
.s{color: rgb(41, 168, 168);}
.space {margin: 0 4px;}
/*form */


/*accordion */
.accordion-item{
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #bd0404;
}

.accordion-button{
    background-color: #f7ad90;
    text-decoration: none;
    font-weight:bold;
    color: #570101;
}

.accordion-button:not(.collapsed){
color: #570101;
background-color: #f7ad90;
}

.accordion-button:focus{
    box-shadow: none;
    background-color: #f7ad90 ;
}

.accordion-body a{
text-decoration: none;
color:rgb(88, 17, 2);
}

.accordion-body a:hover{
    text-decoration: underline;
    text-decoration-color:rgb(98, 26, 4) ;
}

/* accordion */

/* HOME PAGE CSS */
        .hero .carousel-item img{
        min-height:100px;
        width: 100px;
        object-fit:cover;
    }
  /* style.css */

section {
  font-family: Arial, sans-serif;
  background: #ffe5e5;
  margin: 0;
  padding: 0;
}

.donation-process {
  text-align: center;
  padding: 40px 20px;
}

.donation-process h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.highlight {
  color: #d81b60;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
}

.icon {
  font-size: 24px;
  margin-bottom: 15px;
}

.step h3 {
  color: #d81b60;
  margin-bottom: 10px;
}

.arrow {
  font-size: 30px;
  color: #d81b60;
}
/* learn about section start  */
section{
  font-family: Arial, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
}

.container {
  text-align: center;
  padding: 0px 20px;
}

h1 {
  color: #9d0e24;
  margin-bottom: 10px;
}

.subtitle {
  margin-bottom: 20px;
  font-weight: bold;
}

.blood-buttons button {
  padding: 10px 20px;
  margin: 5px;
  border: 2px solid #c41c1c;
  background-color: white;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

.blood-buttons button.active {
  background-color: #c41c1c;
  color: white;
}

.info-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  align-items: center;
}

.info-box {
  width: 220px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.orange {
  background-color: #fdd8a4;
}

.blue {
  background-color: #5851c2;
}

.image-box {
  width: 400px;
  height:500px;
}

.image-box img {
  width: 100%;
  border-radius: 10px;
}

.caption {
  margin-top: 10px;
  font-size: 14px;
}

.highlight {
  color: red;
  font-weight: bold;
}

/* learn about section end  */
/* type of donation start*/

    .nav-pills .nav-link {
        border-radius: 0;
        text-align: left;
        padding: 15px;
        color: #333;
        border-left: 3px solid transparent;
        background-color: #f8f9fa;
    }

    .nav-pills .nav-link.active {
        background-color: #fcecec;
        border-left: 3px solid #dc3545;
        color: #dc3545;
    }
    #v-pills-tabContent {
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }
/* END HOME PAGE CSS */

/* ABOUT PAGE CSS START */
.eRaktkosh .eRaktkosh-content h2{
    letter-spacing: 50px;

}
/* ABOUT PAGE CSS END */
/* blood bank page css */
.header-bar {
      background-color: #d32f2f; 
      color: white;
      padding: 10px;
    }
    .search-bar {
      background-color: #f5f5f5;
      padding: 15px;
      border-bottom: 1px solid #ccc;
    }
    .table-header {
      background-color: #009062;
      color: white;
    }
    .form-select {
      margin-bottom: 10px;
      color:#d32f2f
    }
    .alert-custom {
      background-color: #e0e0e0;
      padding: 10px;
      margin-top: 10px;
    }
    .text-black {
      height:45px;
      width:100%;
      border:1px solid #000;
    }
    
    .text-black .text-black-left{
      height:45px;
      width:50%;
      
      float:left;
      
    }
    .text-black .text-black-right{
      height:45px;
      width:50%;
      
      
      float:left;
    }
    .text-black .text-black-right .text-black-rightL{
        height:45px;
      width:55%;
      
      text-align:center; 
      float:left;  
    }
     .text-black .text-black-right .text-black-rightR{
        height:45px;
      width:45%;
      
      float:left;
      text-align:center;  
    }
/* blood bank page css end */

/* availability page css */
   h1{ 
    padding:30px;
    margin-top:50px;
    border-radius:10px;
    color:brown;
 }
 .header-bar {
      background-color: #d32f2f; /* Red header */
      color: white;
      padding: 10px;
    }
    .search-bar {
      background-color: #efdddd;
      padding: 20px;
      border-bottom: 1px solid #ccc;
      
    }
    .table-header {
      background-color: #d32f2f;
      color: white;
    }
    .form-select {
      margin-bottom: 10px;
    }
    .alert-custom {
      background-color: #e0e0e0;
      padding: 10px;
      margin-top: 10px;
      text-align: center;
      
    }
/* availability page css */

/* donor registration page css */
.right {
            padding: 40px; 
            width:600px;
            background: rgb(246, 244, 244, .7);
            border: 1px solid #ccc;
            border-radius: 20px; 
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .right:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
        }
        .title {
            text-align: center;
            font-size: 26px; 
            margin-bottom: 10px;
            font-weight: 600;
            color: #2c3e50;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .title i {
            color: #ff0000;
            font-size: 28px;
        }
        .colorful-line {
            height: 5px;
            background: linear-gradient(to right, #ff6b6b, #4ecdc4, #45b7d1);
            width: 60%;
            margin: 0 auto 15px; 
            animation: slideIn 1s ease-in-out;
        }
        .form-group {
            margin-bottom: 15px; 
            width: 580px;
        }
        label {
            font-weight: bold;
            color: #333;
            display: block;
            margin-bottom: 4px; 
        }
        input, textarea, select {
            width: 100%;
            padding: 8px; 
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 15px; 
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
        }
        input:valid, textarea:valid, select:valid {
            border-color: #28a745;
        }
        input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
            border-color: #dc3545;
        }
        .error-message {
            color: #dc3545;
            font-size: 13px; 
            display: none;
            margin-top: 4px;
        }
        textarea {
            resize: vertical; 
            max-height: 80px;
        }
        button {
            background: linear-gradient(to right, #ff0000, #ff4d4d);
            color: white;
            padding: 10px 20px; 
            border-radius: 5px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            transition: background 0.3s ease, transform 0.3s ease;
            display: block;
            margin: 0 auto;
        }
        button:hover {
            background: linear-gradient(to right, #cc0000, #ff3333);
            transform: scale(1.05);
        }
        button:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        @keyframes slideIn {
            0% { width: 0; }
            100% { width: 60%; }
        }
        .donor-form.container{
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 400px;
            padding: 15px;
        }
/* donor registration page css end */
/* gallery page css */
.gallery-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 15px;
      padding: 20px;
      overflow: auto;
    }

    .gallery-container img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border: 3px solid black;
      background-color: black;
    }

    .logo {
      width: 150px;
      margin-bottom: 10px;
    }
    /* gallery page css end */
/* notification page css start */
.notification-box{
     padding:30px;
    margin-top:50px;
    border-radius:10px;
    color:rgb(246, 16, 16);    
}
.notification-item{
    height:50px;
  
}
/* notification page end */

/* video page css start */
.gallery {
      display: flex;
      flex-direction: column;
      gap: 30px;
      max-width: 700px;
      margin: auto;
    }

    .video-card {
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .video-card iframe {
      width: 100%;
      height: 315px;
      border: none;
      border-radius: 5px;
    }

    .video-title {
      margin-top: 10px;
      font-weight: bold;
      font-size: 18px;
      text-align: center;
    }
    /* video page css end */