.blog-hero .cap{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 25%;
    padding: 5px;
    background: white;
}

.blog-hero .cap img{
    width: 100%;
    height: 100%;
    padding: 25px;
    object-fit: contain;
}


.bg-added {
     background: #af1232;
     color: white;
 }

 .bg-added h1, .bg-added h3 {
     color: white;
 }

 .bg-added .bi{
    font-size: 30px;
 }

 h1, h2, h3, h4, h5, h6 {
     font-weight: bold;
 }


 .linkcolor a{
    background-color: #800000;
    color: white;
    border: none;
 }

  .linkcolor a:hover{
    background-color: #800000a4;
 }

 #footer a, #footer p{
    font-weight: 450;
 }









 /* About Us */

 .headers{
    height: 500px;
    width: 100%;
    background-image: url('../images/about/header/about.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}

.headers .bg, .headersproject .bg{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 0.5;
}

.headers .head, .headersproject .head{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    width: 100%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}

.head h1{
    text-align: center;
    color: white;
}



.member-img{
    width: 100%;
    object-fit: cover;
}


.member-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info{
    width: 100%;
}

.leftalign h4, .leftalign p{
    text-align: left;
}



.mission{
    /* border: 10px solid #1f0000; */
    background-image: url('../images/about/body/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.mission h1{
    color: #800000;
    background-color: #ffffff;
}


.centertext h3, .centertext p{
    text-align: center;
}

.centertext img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.imagess img{
    border-radius: 10%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.frame{
    /* background-color: #ffffff; */
    padding: 5px;
    border-radius: 10%;
    padding: 20px;
    margin:0px;
}
.frame h4, .frame p{
    padding: 10px;
    color: #ffffff;
    text-align: center;
    margin: 0px;
}

.frame p{
    padding: 10px;
    color: #ffffff;
    text-align: center;
    margin: -20px;
}


.headersproject{
    height: 500px;
    width: 100%;
    background-image: url('../images/project/header/blood.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}


.bgdoc{
    height: 500px;
    width: 100%;
    background-image: url('../images/documentaries/header/doc.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}


.bggall{
    height: 500px;
    width: 100%;
    background-image: url('../images/gallery/header/16.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}




table {
    border-collapse: collapse;
    width: 80%;
    margin: 100px auto;
    border: 1px solid #ff5252;
    color: #000;
    font-size: 20px;
}

th, td {
    border: 1px solid #fff;
    text-align: left;
    padding: 20px;
    border: 0.5px solid #1b1b1b;
}

th {
    background-color: #ff5252;
    padding: 13px;
    color: #fff;
    font-size: 25px;
}

tr:nth-child(even) {
    background-color: #fff;
}










@media (max-width: 800px){
    table {
        width: 98%;
        font-size: 14px;
    }
    
    th, td {
        border: 1px solid #fff;
        text-align: left;
        padding: 13px;
        border: 0.5px solid #1b1b1b;
    }
    
    th {
        background-color: #ff5252;
        padding: 10px;
        color: #fff;
        font-size: 15px;
    }
    
    tr:nth-child(even) {
        background-color: #fff;
    }
    
}


@media (max-width: 550px){    
    table {
        width: 100%;
        font-size: 10px;
    }
    
    th, td {
        border: 1px solid #fff;
        text-align: left;
        padding: 5px;
        border: 0.5px solid #1b1b1b;
    }
    
    th {
        font-size: 12.5px;
    }
}



/* .size{
    width: 90vw;
} */































    
.order-btn {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 5;

}

.order-btn button {
  display: inline-block;
  background-color: #d32f2f; /* red tone - adjust as needed */
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
   font-size: 25px;
}

.order-btn button:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .order-btn {
    right: 10px;
  }
  .order-btn a {
    padding: 10px 16px;
    font-size: 14px;
  }
}














/* Overlay */
    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      padding: 1rem;
      text-align: center;
    }
    .popup-overlay.visible { display: flex; }

    /* Modal */
    .popup-modal {
      background: white;
      width: 100%;
      max-width: 620px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(2,6,23,0.2);
      padding: 1.25rem;
      position: relative;
    }

    .popup-modal h2 { margin: 0 0 0.5rem 0; font-size: 1.25rem; }
    .popup-modal p { margin: 0 0 1rem 0; color: #6b7280; font-size: .95rem; }

    /* Close button */
    .popup-close-btn {
      position: absolute;
      right: 10px;
      top: 10px;
      background: transparent;
      border: none;
      font-size: 2.5rem;
      cursor: pointer;
      color: #18b300;
    }

    /* Form layout */
    form.popup-grid {
      display: grid;
      gap: 0.75rem;
      grid-template-columns: 1fr 1fr;
    }
    form.popup-grid .full-width { grid-column: 1 / -1; }
    label { display: block; font-size: .85rem; margin-bottom: .35rem; color:#374151; }
    input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select {
      width: 100%;
      padding: .6rem .7rem;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-size: .95rem;
    }
    .popup-actions {
      display:flex;
      gap:.5rem;
      justify-content: flex-end;
      margin-top: .5rem;
    }
    input.popup-primary {
      background: #0ea5a4;
      color: white;
      border: none;
      padding: .6rem .9rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
    }
    input.popup-secondary {
      background: transparent;
      border: 1px solid #d1d5db;
      padding: .55rem .8rem;
      border-radius: 8px;
      cursor: pointer;
    }

    /* Open Popup Button */
    #btnOpenPopup {
      background: #0ea5a4;
      color: white;
      border: none;
      padding: .7rem 1.2rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      margin: 2rem;
    }

    @media (max-width: 520px) {
      form.popup-grid { grid-template-columns: 1fr; }
      .popup-modal { padding: 1rem; }
    }

    .error-text { color: #dc2626; font-size: .85rem; margin-top: .25rem; display:none; }
    .field-invalid { border-color: #dc2626; }




    #popupBackdrop .imagelogo{
        width: 50%;
        /* border: 9px solid red; */
        align-items: center;
        margin: 25px auto;
    }

    .imagelogo img{
        width: 100%;
    }
/* 
      #popupBackdrop  #popupTitle{
        margin-top: 20px;
      } */



      #popupBackdrop{
        background-image: url('../images/form/back.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }










#loadingOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  color: #333;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}










.scroll {
	width: 90vw;
	height: 70vh;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: center;
	padding: 20px;
}