.dintroimg {
  float: right;
  margin-left: 15px;
  width: 50%
}

ul {
  list-style-position: outside;
  list-style-type: disc;
}

.indentp p {
  text-indent: 50px;
}

.h-link {
  color: rgba(86, 86, 240, 0.904);
}

.event-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.4fr 1fr 1.6fr;
  gap: 5px 5px;
  grid-auto-flow: row;
  grid-template-areas:
    "Event-Images Event-Title Event-Title"
    "Event-Images Event-Detail Event-Detail"
    "Event-Images Event-Galary Event-Galary";
}

.Event-Images {
  grid-area: Event-Images;
  padding: 5px;
}

.Event-Images>img {
  border: 1px solid black;
  border-radius: 5px;
}


.Event-Title {
  grid-area: Event-Title;
  text-align: center;
}

.Event-Title>h1 {
  margin-top: 0px;
}

.Event-Detail {
  grid-area: Event-Detail;
}

.Event-Galary {
  grid-area: Event-Galary;
}


.hello {
  opacity: 1 !important;
}

.full {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.full .content {
  background-color: rgba(0, 0, 0, 0.75) !important;
  height: 100%;
  width: 100%;
  display: grid;
}

.full .content img {
  left: 50%;
  transform: translate3d(0, 0, 0);
  animation: zoomin 1s ease;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.byebye {
  opacity: 0;
}

.byebye:hover {
  transform: scale(0.2) !important;
}

.eventgallery {
  display: grid;
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 8px;
}

.eventgallery img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 16px #333;
  transition: all 1.5s ease;
}

.eventgallery img:hover {
  box-shadow: 0 0 32px #333;
}

.eventgallery .content {
  padding: 4px;
}

.eventgallery .galleryitem {
  transition: grid-row-start 300ms linear;
  transition: transform 300ms ease;
  transition: all 0.5s ease;
  cursor: pointer;
}

.eventgallery .galleryitem:hover {
  transform: scale(1.025);
}

@media (max-width: 600px) {
  .eventgallery {
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
  }
}

@media (max-width: 400px) {
  .eventgallery {
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
  }
}

@-moz-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }

  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }

  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }

  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}

@-webkit-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }

  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }

  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }

  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}

@-o-keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }

  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }

  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }

  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}

@keyframes zoomin {
  0% {
    max-width: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
  }

  30% {
    filter: blur(4px);
    transform: rotate(-80deg);
  }

  70% {
    max-width: 50%;
    transform: rotate(45deg);
  }

  100% {
    max-width: 100%;
    transform: rotate(0deg);
  }
}

@font-face {
  font-family: JameelNori;
  src: url(/fonts/Jameel-Noori-Nastaleeq.ttf);
}


.urdu-font {
  font-family: JameelNori;
  font-size: large;
  text-align: justify;
  direction: rtl;
}


.pagination {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center the pagination */
    margin-top: 20px;
}

.pagination a {
    display: inline-block; /* Make links behave like blocks */
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth hover effect */
}

.pagination a:hover:not(.active) {
    background-color: #f1f1f1;
}

.pagination a.active {
    background-color: #333; /* Green */
    color: white;
    border: 1px solid #333;
}
.pagination span{
    display: inline-block; /* Make links behave like blocks */
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #777;
    border-radius: 4px; /* Rounded corners */
}
        

/* Homepage notification modal (responsive) */
#notificationModal.modal {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Center modal vertically + horizontally (Bootstrap 3/4 compatible) */
#notificationModal.modal.in,
#notificationModal.modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#notificationModal.modal.in::before,
#notificationModal.modal.show::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 0;
}

#notificationModal .modal-dialog {
  width: calc(100% - 32px);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#notificationModal .modal-content {
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: none;
}

#notificationModal .modal-header {
  background: linear-gradient(135deg, #0078D7, #0056b3);
  color: #fff;
  padding: 16px 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#notificationModal .modal-title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
}

#notificationModal .modal-body {
  padding: 28px 32px;
  background: #fff;
  color: #2c3e50;
  font-family: "Segoe UI", Arial, sans-serif;
}

#notificationModal .uoj-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

#notificationModal .uoj-notice-card {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin-top: 20px;
  background: #E9F2FF;
  padding: 15px 20px;
  border-radius: 8px;
}

#notificationModal .uoj-notice-cta {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  background: linear-gradient(135deg, #0078D7, #0056b3);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

#notificationModal .modal-footer {
  background: #f0f4f8;
  padding: 12px 24px;
  border-top: 1px solid #dee2e6;
}

#notificationModal .uoj-notice-close {
  background: #0056b3;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 576px) {
  #notificationModal .modal-dialog {
    width: calc(100% - 20px);
  }

  #notificationModal .modal-header {
    padding: 14px 16px;
  }

  #notificationModal .modal-title {
    font-size: 17px;
  }

  #notificationModal .modal-body {
    padding: 18px 16px;
  }

  #notificationModal .uoj-notice-card {
    padding: 12px 14px;
  }

  #notificationModal .uoj-notice-cta {
    width: 100%;
    padding: 12px 16px;
  }
}