/* ================= GLOBAL RESET & BASE ================= */
body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9e0e6;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #222;
}

a {
  text-decoration: none;
  color: #0d6efd;
}
a:hover {
  color: #0a58ca;
}

/* Centered container wrapper */
.container,
body > div {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* ================= FORMS ================= */
form {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

form label {
  font-weight: 500;
  margin-bottom: 6px;
  display: inline-block;
}

form input[type="text"],
form input[type="file"],
form textarea,
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  transition: border-color 0.2s;
}

form input:focus,
form textarea:focus {
  border-color: #0d6efd;
  outline: none;
}

form button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover {
  background: #0a58ca;
}

form .btn-secondary {
  background: #6c757d;
}
form .btn-secondary:hover {
  background: #5a6268;
}

/* ================= ALERTS ================= */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.alert-success {
  background: #d1e7dd;
  color: #0f5132;
}
.alert-danger {
  background: #f8d7da;
  color: #842029;
}

/* ================= CARDS (Activities, Gallery, Homepage) ================= */
.card {
  border-radius: 12px;
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-img-top{
    width:270px;
    height:200px;
}
.card img {
  object-fit: cover;
  width: 100%;
  height: 200px;
}
@media screen and (max-width: 600px) {
  .card-img-top{
        height:150px;
        width:250px;
        
    }
}
@media screen and (max-width: 600px) {
  .card img{
        height:auto;
        width:100%;
        
    }
}
.card-body {
  padding: 15px;
}
.card-body h5 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card-body p {
  font-size: 14px;
  color: #555;
}

.card-footer {
  background: #f8f9fa;
  padding: 10px;
}
.card-footer .btn {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
}

/* ================= GALLERY ================= */
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-img-wrapper {
  height: 200px;
  overflow: hidden;
}
.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}

/* Lightbox Effect */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox img {
  max-height: 800px;
  max-width: 800px;
  border: 2px solid #fff;
  border-radius: 4px;
}
.lightbox button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  color: #fff;
}
.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ================= HEADER ================= */
header {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

header .fw-bold {
  color: #222;
}
header .small {
  color: #555;
  font-size: 0.9rem;
}
header img {
  max-height: 55px;
  border-radius: 6px;
}

/* Navigation */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #444;
  padding: 0.75rem 1rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: #0d6efd;
  background: rgba(13,110,253,0.08);
  border-radius: 6px;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler {
    border-color: rgba(0,0,0,.1);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Header Buttons */
header .btn {
  font-weight: 500;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  transition: all 0.2s ease;
}
header .btn-primary {
  background: linear-gradient(45deg, #0d6efd, #0b5ed7);
  border: none;
}
header .btn-primary:hover {
  background: linear-gradient(45deg, #0b5ed7, #094db3);
}
header .btn-success {
  background: linear-gradient(45deg, #198754, #157347);
  border: none;
}
header .btn-success:hover {
  background: linear-gradient(45deg, #157347, #115c39);
}
header .btn-outline-dark:hover {
  background: #333;
  color: #fff;
}

/* ================= FOOTER ================= */
footer {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.95rem;
}
footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
footer p {
  margin-bottom: 0.5rem;
}
footer small {
  color: #9ca3af;
  font-size: 0.85rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  header .fw-bold {
    font-size: 1.25rem;
  }
  header .small {
    font-size: 0.8rem;
  }
  footer {
    font-size: 0.85rem;
  }
  .card img {
    height: 160px;
  }
  form {
    padding: 15px;
  }
}
/*==================container header===============*/
.container-fluid{
    max-width: 93% !important;
}
/*=============keyupdates and donor count=====================*/

/* Info Section Layout */
.info-section {
  display: flex;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  flex-wrap: wrap; /* allow wrapping */
}

/* Stats Column */
.stats-column {
  flex: 1;
  background: #e60000;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.stat-box {
  text-align: center;
  flex: 1 1 100px; /* shrink/grow nicely */
  margin: 10px 0;
}
.stat-box h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.stat-box .counter {
  font-size: 32px;
  font-weight: bold;
}

/* Highlights Column */
.updates-column {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.updates-column h3 {
  margin-bottom: 15px;
  color: #333;
}
.ticker {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 120px;
  overflow: hidden;
  position: relative;
}
.ticker li {
  padding: 8px 0;
  font-size: 15px;
}
.ticker li a {
  color: #007bff;
  text-decoration: none;
}
.ticker li a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .info-section {
    flex-direction: column;
  }
  .stats-column, .updates-column {
    flex: 1 1 100%;
  }
  .stats-column {
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .stat-box h3 {
    font-size: 14px;
  }
  .stat-box .counter {
    font-size: 24px;
  }
  .updates-column h3 {
    font-size: 16px;
  }
}

/*==============Footer style==========================*/

.footer-links {
    column-count: 2;              /* Split into 2 columns automatically */
    column-gap: 30px;             /* Space between columns */
}
.footer-links a {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 6px;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
    color: #dc3545; /* red hover */
}
/*============banner image size and style================*/
.carousel-item img {
    width: 100%;
    height:auto;
    }
.carousel-item  {
    width: 1160px;
    height:400px;
    
    }
/* Mobile & Tablet */
@media screen and (max-width: 570px) {
  .carousel-item{
        height:250px;
        width:500px;
       
        
    }
}
@media screen and (max-width: 600px) {
  .carousel-item img{
        height:auto;
        width:100%;
        
    }
}

