* {
    margin: 0;
    padding: 0;
    font-family: "Roboto";
}


/* Header */

/* STICKY STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-header.is-sticky {
    position: fixed;
    box-shadow: 0 5px 16px rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    backdrop-filter: blur(20px);
    animation: slideDown 0.35s ease-out;
    width: 100%;
    z-index: 1;
    background-color: #FFFFFF;
}

.page-header.is-sticky img {
    max-width: 80%;
}

.page-header.is-sticky button {
    font-size: 14px;
    padding: 7px 10px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Header */

.c-botton {
    width: auto;
    padding: 15px;
    color: white;
    background-color: #BE1E2D;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
}

.ue-botton {
    width: auto;
    padding: 15px;
    color: rgb(0, 0, 0);
    border: black solid 3px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
}

#show_bg_2 {
    background-image:
        linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0)),
        url('image/bg-image.png');
    width: 100%;
    height: 750px;
    background-size: cover;
    color: rgb(0, 0, 0);
    padding: 20px;
}

.text-c {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-2 {
    background-color: #1C2126;
    color: white;
}

.coune {
    font-size: 83px;
    font-weight: 900;
}

/* Gallery */
.gallery-container {
    padding: 50px 15px;
}

.gallery-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-image {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.modal-img {
    width: 100%;
    border-radius: 5px;
}

/* card */
.date {
    background-color: #BE1E2D;
    color: white;
    padding: 10px;
    width: 8rem;
    font-style: oblique;
}

.event {
    width: auto;
    border: 0px;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* about us */

.color-m {
    background-color: #BE1E2D;
    color: white;
}


.trustee-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.073) 0px 10px 20px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.trustee-card h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.trustee-card p {
    margin: 0;
    color: #6c757d;
}

.trustees-section {
    margin-top: 50px;
}

@media (max-width: 576px) {
    .trustee-card {
        padding: 15px;
        font-size: 0.9rem;
    }

    .trustee-card h5 {
        font-size: 1rem;
    }

    .trustee-card p {
        font-size: 0.85rem;
    }
}

/*  */

.introduction {
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;

}

.medium-image {
  max-width: 100%;       /* Ensures image never exceeds its container */
  width: 500px;          /* Default medium size */
  height: auto;          /* Maintains aspect ratio */
  display: block;        /* Removes extra space below image */
  margin: 0 auto;        /* Centers the image */
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 768px) {
  .medium-image {
    width: 90%;          /* Uses percentage on smaller screens */
  }
}

@media (max-width: 480px) {
  .medium-image {
    width: 100%;         /* Full width on mobile */
  }
}
.large-image {
  max-width: 100%;       /* Ensures image never exceeds its container */
  width: 800px;          /* Default large size */
  height: auto;          /* Maintains aspect ratio */
  display: block;        /* Removes extra space below image */
  margin: 0 auto;        /* Centers the image */
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1024px) {
  .large-image {
    width: 95%;          /* Slightly reduced on medium screens */
  }
}

@media (max-width: 768px) {
  .large-image {
    width: 90%;          /* More reduction on tablets */
  }
}

@media (max-width: 480px) {
  .large-image {
    width: 100%;         /* Full width on mobile */
  }
}

.card-img-top.rounded-0 {
  max-width: 100%;       /* Ensures image never exceeds its container */
  width: 100%;           /* Full width of its container */
  height: auto;          /* Maintains aspect ratio */
  display: block;        /* Removes extra space below image */
  border-radius: 8px !important; /* Adds rounded corners */
  object-fit: cover;     /* Covers area without distortion */
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 992px) {
  .card-img-top.rounded-0 {
    max-height: 400px;   /* Limit height on medium screens */
  }
}

@media (max-width: 768px) {
  .card-img-top.rounded-0 {
    max-height: 350px;   /* Smaller height on tablets */
  }
}

@media (max-width: 480px) {
  .card-img-top.rounded-0 {
    max-height: 250px;   /* Even smaller height on mobile */
    border-radius: 6px !important; /* Slightly smaller radius on mobile */
  }
}

.small-image {
  width: 250px;          /* Set default small size */
  height: 250px;         /* Equal height for uniformity */
  object-fit: cover;     /* Ensures image fills area without distortion */
  max-width: 100%;       /* Prevents overflow on small screens */
  display: inline-block; /* Allows images to sit side by side */
  margin: 10px;          /* Adds spacing between images */
  border-radius: 4px;    /* Optional: slightly rounded corners */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .small-image {
    width: 200px;        /* Slightly smaller on tablets */
    height: 200px;
  }
}

@media (max-width: 480px) {
  .small-image {
    width: 150px;        /* Even smaller on mobile */
    height: 150px;
    margin: 5px;         /* Reduced margin on mobile */
  }
}

/* For image container/gallery */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}