/* IMAGE VIEWER */
.image-viewer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.news-bar {
  background-color: #4B0082;
  color: #ffffff;
  font-weight: 500;
  padding: 8px 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  text-align: center;
  border-bottom: 2px solid #ecf0f1;
}

.news-bar marquee {
  white-space: nowrap;
}

.news-bar .highlight {
  color: #B8860B;
  font-weight: bold;
}


.image-viewer img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

/* Close button */
.image-viewer .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Navigation buttons */
.image-viewer .prev,
.image-viewer .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.image-viewer .prev {
  left: 20px;
}

.image-viewer .next {
  right: 20px;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 768px) {
  .image-viewer img {
    max-width: 95%;
    max-height: 70vh;
  }

  .image-viewer .close {
    font-size: 25px;
    top: 10px;
    right: 15px;
  }

  .image-viewer .prev,
  .image-viewer .next {
    font-size: 25px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  .image-viewer img {
    max-width: 100%;
    max-height: 60vh;
  }

  .image-viewer .close {
    font-size: 22px;
    top: 8px;
    right: 12px;
  }

  .image-viewer .prev,
  .image-viewer .next {
    font-size: 22px;
    top: 50%;
    transform: translateY(-50%);
  }
}






/* Close Button Styling */
/* Close Button Styling */
.close-button {
  position: relative;
  top: 10px;
  left: 10px;
  background-color: red;
  color: white;
  border: none;
  font-size: 10px;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 1100;
  /* Ensure it is above all elements */
}

.close-button:hover {
  background-color: #B8860B;
  color: black;
}

/* Sidebar Styling (Now on the Left) */
.event-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  /* Initially hidden */
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease-in-out;
  overflow-y: auto;
  z-index: 1000;
  /* Stay above other content */
}

.event-sidebar.open {
  left: 0;
  /* Slide into view from the left */
}

/* Button to Show Sidebar */
@keyframes colorShift {
  0% {
    background-color: #4B0082;
  }

  50% {
    background-color: #B8860B;
  }

  100% {
    background-color: #4B0082;
  }
}

#show-events-button {
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  border: 2px solid #85754e;
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  animation: colorShift 3s infinite ease-in-out;
}

#show-events-button:hover {
  background-color: #B8860B;
  animation: none;
  /* Optional: stop color change on hover */
}


/* Other elements */
.incharge {
  font-weight: bold;
  color: #4B0082;
  padding-left: 0px;
}

.next,
.prev {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  margin: 10px;
  position: absolute;
}

.next {
  right: 10px;
}

.prev {
  left: 10px;
}

.next:hover,
.prev:hover {
  background-color: #45a049;
}

.event-heading {
  color: #800008;
  margin-left: 10%;
}

.event-sub {
  margin-left: 10px;
  color: #4B0082;
  font-size: 14px;
  padding-left: 3px;
}

.event-p {
  padding: 0;
  margin: 0;
  margin-left: 7px;
  font-size: 13px;
  color: #00727e;
}








body {
  margin: 0;
  padding: 0;
  background-color: white;
}

/* .header-bar1 {
  background-color: #66023c;
  width: 100%;
  height: 160px;
  border: 1.5px solid #85754e;
  z-index: -1;
} */

/* #logo {
  position: relative;
  padding-top: 0%;
  padding-left: 10%;
  width: 120px;
  /*height: 145px;*/
/* filter: brightness(0) invert(1);

  height: auto;
} */
.header-bar1 {
  display: flex;
  justify-content: center;
  /* Horizontally center the content */
  align-items: center;
  /* Vertically align the items */
  flex-direction: column;
  /* Stack the logo and text/buttons vertically */
  text-align: center;
  padding: px;
  background-color: #4B0082;
  border: 2px solid #FFD700;
}

#logo {
  width: 120px;
  filter: brightness(0) invert(1);
  height: auto;
  margin-bottom: 0px;
  transition: filter 0.3s ease;
  /* Smooth transition for color change */
}

#logo:hover {
  filter: brightness(1.2) sepia(1) saturate(10000%) hue-rotate(15deg) contrast(1.2);
  transition: filter 0.3s ease-in-out;
}




.overlay-text1 {
  position: absolute;
  top: 6%;
  /* left: 18%;*/
  padding: 8px;

  font-family: Segoe UI;
  font-style: italic;
  color: white;
  font-size: 17px;
  font-weight: bold;
  margin-left: 1px;
  z-index: -1;

}

.header-texts-container {
  position: absolute;
  top: 9%;
  left: 75%;
  padding: 8px;
  z-index: 1;
  font-family: Segoe UI;
  font-style: italic;
  color: white;
  font-size: 17px;
  font-weight: bold;

  margin-left: 10px;
  /* Push the container to the right on larger screens */
}

.btn-outline-light {
  font-size: 20px;
  margin-left: 0;
  padding: 8px;
}


.header-texts {
  font-size: 20px;
  margin-left: 0;
  transition: background-color 0.3s ease-in-out, font-size 0.3s ease-in-out;
  padding: 8px;
  text-decoration: none;

}

.header-texts:hover {
  /*font-size: 24px; */
  color: #ffc107;
}

.social-icons {
  position: absolute;
  top: 9.8%;
  left: 75%;
  padding: 8px;
  z-index: 1;
  font-family: Segoe UI;
  font-style: italic;
  color: white;
  font-size: 17px;
  font-weight: bold;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  justify-content: end;
  display: grid;
  margin-left: 240px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.social-icons a {
  display: inline-block;
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
  margin-right: 15px;
  /* Space between icons */
}

.social-icons a:hover {
  transform: scale(1.2);
  /* Slight enlargement */
  text-shadow: 3px 3px 10px rgba(255, 215, 0, 0.9);
  /* Glowing effect */
}

/* Facebook Specific Hover Effect */
.social-icons a:nth-child(1):hover {
  color: #1877F2;
  /* Facebook blue */
}

/* Email (Envelope) Specific Hover Effect */
.social-icons a:nth-child(2):hover {
  color: #FFD700;
  /* Gold for email */
}



@media (max-width: 768px) {
  .header-bar1 {
    flex-direction: column;
    /* Stack elements vertically on smaller screens */
    align-items: center;

    z-index: -1;
  }

  .header-texts-container,
  .social-icons {
    margin: 10px 0;
    top: 20px;
    /* Add some space between elements */
  }
}

.social-icons i {
  color: antiquewhite;

}

#navbar {
  background-color: #B8860B;
  height: 30px;
  text-align: center;
  width: 100%;
  margin-top: 0px;
  padding-top: 10px;
  padding-bottom: 5px;
  overflow: hidden;
  border: 2px solid whitesmoke;

}

#nav-link {

  color: white;
  text-decoration: none;
  font-size: 15px;
  font-family: Century Gothic;
  padding: 25px;
  transition: box-shadow 0.3s ease-in-out;
}

#nav-link:hover {
  box-shadow: 0 0 10px white;
}


/*a.header-texts[href="donate.html"] {
    color: antiquewhite;
    display: inline-block;
  padding: 10px 20px;   
  border: 2px solid antiquewhite; 
  
  font-weight: bold;
  text-decoration: none;
  }*/

#head-bar {
  background-color: #fff;
  width: 100%;
  height: 4px;
}

/*.....................................*/
/*.....................................*/


/* Main photo styles */
/* Main photo styles */

/* Slider Container */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  display: block;
  opacity: 1;
  z-index: 1;
}

/* Dimmed overlay for the background */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Adjust the transparency */
  z-index: 1;
  /* Ensure it stays behind the text */
}

/* Centered overlay text */
.overlay-text2 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 40px;
  color: white;
  font-family: Century Gothic;
  font-weight: bold;
  text-align: center;

  /* Transparent gradient background */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.5));
  padding: 20px 40px;
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* Optional: add some depth */
  transition: color 0.3s ease-in-out, background 0.3s ease-in-out;

}

/* Responsive Design */
@media (max-width: 1024px) {
  .overlay-text2 {
    font-size: 50px;
    padding: 15px 30px;

  }
}

@media (max-width: 768px) {
  .overlay-text2 {
    font-size: 25px;
    padding: 12px 25px;
    top: 40%;


    /* Adjust position for better visibility */
  }

  /* Ensure "Diocese of Faisalabad" is on a single line */
  .overlay-text2 span {
    display: block;
    font-size: 35px;

    /* Optional: Change the size of the second line */
  }
}

@media (max-width: 480px) {
  .overlay-text2 {
    font-size: 15px;
    padding: 10px 20px;
    top: 15%;

    /* Adjust position for better centering */
  }

  /* Ensure "Diocese of Faisalabad" stays on a single line */
  .overlay-text2 span {
    display: block;
    font-size: 15px;
    /* Further adjust size for smaller screens */
  }
}

/* Hover effect for glassmorphism */
.overlay-text2:hover {
  color: #B8860B;
  /* Change text color to deep burgundy */

  /* Create a glassmorphism effect */
  background-color: rgba(255, 255, 255, 0.2);
  /* Light, transparent white */
  backdrop-filter: blur(10px) saturate(150%);
  /* Blur the background and add saturation for a glassy effect */
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  /* Add support for Safari */

  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Light border to enhance glass effect */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  /* Optional: subtle shadow for depth */
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

/* Adjust animation delay for each slide */
.slides .slide:nth-child(1) {
  animation-delay: 0s;
}

.slides .slide:nth-child(2) {
  animation-delay: 3s;
}

.slides .slide:nth-child(3) {
  animation-delay: 6s;
}

.slides .slide:nth-child(4) {
  animation-delay: 9s;
}

.slides .slide:nth-child(5) {
  animation-delay: 12s;
}

.slides .slide:nth-child(6) {
  animation-delay: 15s;
}

.slides .slide:nth-child(7) {
  animation-delay: 18s;
}

.slides .slide:nth-child(8) {
  animation-delay: 21s;
}

.slides .slide:nth-child(9) {
  animation-delay: 24s;
}

.slides .slide:nth-child(10) {
  animation-delay: 27s;
}


/*.....................................*/
/*.....................................*/

#quote {
  font-family: Century Gothic;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: white;
  background-color: #4B0082;
  padding-top: 30px;
  padding-bottom: 30px;
  text-decoration: none;
  /* Remove the default underline */
  border: 5px solid #B8860B;
  transition: box-shadow 0.3s ease-in-out;
}

#quote:hover {
  box-shadow: 0 0 10px 5px #B8860B;
}


.photo-container {

  display: flex;
  align-items: center;
  /* Vertically center content */
  justify-content: center;
  /* Horizontally center content */
  gap: 20px;
  /* Add space between image and text */
  padding: 20px;
}

/* Limit the size of images inside .photo-container */
.photo-container img {
  width: 100%;
  max-width: 450px;
  /* Adjust as needed */
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  /* Shows it's clickable */
  transition: transform 0.3s ease-in-out;
}

/* Hover effect for desktop users */
.photo-container img:hover {
  transform: scale(1.05);
}

/* Responsive Fix for Mobile Screens */
@media (max-width: 768px) {
  .photo-container img {
    max-width: 250px;
    /* Adjust for smaller screens */
  }
}

#cont-img {
  width: 400px;
  height: 500px;
  padding-left: 10%;
  filter: drop-shadow(10px 10px 10px #4B0082);
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

#cont-img:hover {
  transform: scale(1.05);
  /* Slightly enlarge the image */
  filter: drop-shadow(15px 15px 15px #FFD700);
  /* Golden glow effect */
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center items horizontally */
  justify-content: center;
  /* Center items vertically */
  text-align: center;
  /* Ensure text is centered */
  flex: 1;
  /* Take remaining space */
  height: 100%;
  /* Full height of container */
}

.text-heading1 {
  font-family: Segoe UI;
  font-style: italic;
  color: #B8860B;
  font-size: 17px;
  font-weight: bold;
}

.text-heading2 {
  color: #4B0082;
  font-size: 30px;
  font-weight: bold;
  font-family: Segoe UI;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease-in-out;
}

.text-paragraph {
  font-size: 16px;
  color: #333;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4B0082;
  color: white;
  text-decoration: none;
  border-radius: 0px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  border: 3px solid #B8860B;
}


.button1 {
  position: relative;
  border: 2px solid antiquewhite;
  padding: 5px 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 16px;
  background-color: #B8860B;
  color: antiquewhite;

}

.button1:hover {
  background-color: hwb(41 7% 7%);
  color: white;
  cursor: pointer;
}

.button:hover {
  background-color: #B8860B;
  /* Change the background color on hover (optional) */
  color: white;
  /* Set the text color to white on hover (optional) */
  cursor: pointer;
  /* Show a pointer cursor on hover (optional) */
}


/*.........................................................................*/
/*..................P a s t o r a l     M i n i s t r y...................*/


.text-heading3 {
  color: darkblue;
  font-size: 30px;
  font-weight: bold;
  font-family: Segoe UI;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  text-align: center;
}

.text-heading4 {
  text-align: center;
  font-style: italic;
  color: #B8860B;
  font-size: 17px;
  font-weight: bold;
}

.paragraph-2 {
  font-size: 15px;
  color: #4B0082;
  text-align: center;
  width: 90%;
  margin: 0 auto;
  padding: 15px;
}

table {
  border-collapse: collapse;
  width: 80%;
  font-family: Arial, sans-serif;
  margin: 0 auto;
  padding: 10px;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

/*.........................................................................*/
/*..................Y o u t h   M i n i s t r y...................*/
/* Main container */
.left-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 7%;
  flex-wrap: wrap;
}

/* Left text content */
.left-content {
  flex: 1;
  max-width: 50%;
}

.left-heading {
  margin: 0;
  color: #4B0082;
  font-size: 32px;
  padding: 0px;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: underline;
}

.left-heading2 {
  margin: 0px 0;
  color: #800000;
  font-size: 19px;
}

.left-paragraph {
  text-align: justify;
  line-height: 1.7;
  font-size: 15px;
}

/* Right Images Container */
.right-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 50%;
}

/* Images */
.right-image {
  width: 100%;
  max-width: 350px;
  /* Adjust to fit better on mobile */
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  /* Indicates clickable images */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@media (hover: hover) {
  .right-image:hover {
    transform: scale(1.1);
    box-shadow: 5px 5px 15px rgba(218, 165, 32, 0.6);
  }
}

/* Hover effect (only for screens larger than 768px) */
@media (min-width: 769px) {
  .right-image:hover {
    transform: scale(1.1);
    box-shadow: 5px 5px 15px rgba(218, 165, 32, 0.6);
  }
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

/* Show lightbox when active */
.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
}

/* Larger navigation buttons for better touch experience */
@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 70vh;
  }

  .lightbox .prev,
  .lightbox .next {
    font-size: 25px;
  }
}

.prev {
  left: 5%;
}

.next {
  right: 5%;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .left-container {
    flex-direction: column;
    text-align: center;
  }

  .left-content {
    max-width: 90%;
  }

  .right-images {
    grid-template-columns: repeat(2, 1fr);
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .right-image {
    max-width: 90%;
    /* Make images larger on mobile */
  }

  .lightbox img {
    max-width: 95%;
    max-height: 70vh;
  }

  .prev,
  .next {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .left-content {
    max-width: 100%;
  }

  .right-images {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    max-width: 100%;
    text-align: center;
  }

  .right-image {
    max-width: 100%;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    cursor: pointer;
    /* Makes images clickable */
    border-radius: 8px;
  }

  /* Hover Effect */
  .right-image:hover {
    transform: scale(1.05);
    opacity: 0.8;
  }
}


/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
  .right-images {
    grid-template-columns: repeat(1, 1fr);
    /* Ensures single-column layout */
    gap: 5px;
  }

  .right-image {
    max-width: 95%;
    border-radius: 5px;
  }

  .right-image:hover {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

/* Very Small Screens (Older or Compact Phones) */
@media (max-width: 320px) {
  .right-images {
    gap: 3px;
  }

  .right-image {
    max-width: 90%;
    border-radius: 4px;
  }

  .right-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
  }
}







.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  padding: 20px;
}

.gallery img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.1);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  transition: opacity 0.3s ease-in-out;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
}

.go-back {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #333;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.go-back:hover {
  background-color: #555;
}






.container {
  width: 85%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.container .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container .content .left-side {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}

.content .left-side::before {
  content: '';
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}

.content .left-side .details {
  margin: 14px;
  text-align: center;
}

.content .left-side .details i {
  font-size: 30px;
  color: #3e2093;
  margin-bottom: 10px;
}

.content .left-side .details .topic {
  font-size: 18px;
  font-weight: 500;
}

.content .left-side .details .text-one,
.content .left-side .details .text-two {
  font-size: 14px;
  color: #66023c;
}

.container .content .right-side {
  width: 75%;
  margin-left: 75px;
}

.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 600;
  color: #3e2093;
}

.right-side .input-box {
  height: 50px;
  width: 100%;
  margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}

.right-side .message-box {
  min-height: 110px;
}

.right-side .input-box textarea {
  padding-top: 6px;
}

.right-side .button {
  display: inline-block;
  left: 26%;
  margin-top: 16px;

}

.right-side .button input[type="button"] {
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 0px;
  background: #1d1219;
  cursor: pointer;
  transition: all 0.3s ease;

}

@media (max-width: 950px) {
  .container {
    width: 90%;
    padding: 30px 40px 40px 35px;
  }

  .container .content .right-side {
    width: 75%;
    margin-left: 55px;
  }
}

@media (max-width: 820px) {
  .container {
    margin: 40px 0;
    height: 100%;
  }

  .container .content {
    flex-direction: column-reverse;
  }

  .container .content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .container .content .left-side::before {
    display: none;
  }

  .container .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}

/*            E d u c a t i o n                         */


/* Left Container */
.left-container1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}

/* Text Section */
.left-content1 {
  max-width: 100%;
  padding: 0px 15px;
  /* Adds small padding on left & right */
  text-align: center;
  /* Aligns text to the left */
}


.left-heading1 {
  font-size: 2rem;
  font-weight: bold;
  color: #4B0082;
  text-decoration: underline;
}

.left-heading2 {
  font-size: 1.2rem;
  font-weight: normal;

}

.left-paragraph1 {
  width: 100%;
  /* Makes paragraph span full width */
  padding: 10px 15px;
  /* Adds small padding around text */
  margin: 0;
  /* Removes extra margin */
  line-height: 1.6;
  /* Improves readability */
  text-align: justify;
  /* Makes text justified */
}

@media (max-width: 768px) {
  .left-paragraph1 {
    padding: 8px 1px;
    /* Slightly reduce padding */
    font-size: 10px;
    /* Slightly smaller font */

  }
}

@media (max-width: 480px) {
  .left-paragraph1 {
    padding: 5px 10px;
    /* Less padding for smaller screens */
    font-size: 14px;
    /* Smaller font size */
    line-height: 1.5;
    /* Adjust line height for readability */
  }
}

@media (max-width: 360px) {
  .left-paragraph1 {
    padding: 5px;
    /* Minimal padding */
    font-size: 13px;
    /* Smallest font for very small screens */
  }
}

/* Image Gallery */
.right-images1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 100%;
  text-align: center;
  margin-top: 20px;
}

.right-image1 {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  cursor: pointer;
}

/* Hover Effect */
.right-image1:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* IMAGE VIEWER */
.image-viewer1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-viewer1 img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.image-viewer1 .close1 {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.image-viewer1 .prev1,
.image-viewer1 .next1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.image-viewer1 .prev1 {
  left: 20px;
}

.image-viewer1 .next1 {
  right: 20px;
}

/* MEDIA QUERIES */

/* Tablets */
@media (max-width: 768px) {
  .right-images1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .right-image1 {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .right-images1 {
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
  }

  .right-image1 {
    max-width: 95%;
  }
}

/* Very Small Screens */
@media (max-width: 320px) {
  .right-images1 {
    gap: 3px;
  }

  .right-image1 {
    max-width: 90%;
  }
}




.fb-link {
  display: inline-block;
  color: #ffffff;
  /* White text */
  background-color: #4B0082;
  /* Facebook Blue */
  padding: 8px 15px;
  /* Adds space inside the box */
  border: 2px solid #B8860B;
  /* Red rectangular border */
  border-radius: 6px;
  /* Rounded corners */
  /* font-weight: bold; */
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.fb-link:hover {
  background-color: #B8860B;
  /* Fill box with red */
  border-color: #4B0082;
  /* Ensure border remains red */
  text-decoration: none;
  transform: scale(1.05);
  /* Slight zoom effect */
  color: white;
  /* Keep text white */
}









/*.....................................*/
/*.....................................*/
footer {
  background-color: #66023c;

}


* {
  font-family: Open Sans;
}


.footer-distributed {
  background: #4B0082;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 55px 50px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 40%;
}

/* The company logo */

.footer-distributed h3 {
  color: #ffffff;
  font: normal 18px 'Open Sans', cursive;
  margin: 0;
}

.footer-distributed h3 span {
  color: lightseagreen;
}

/* Footer links */

.footer-links a {
  text-decoration: none;
  color: #B8860B;
  /* Default color */
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.footer-links a:hover {
  color: #FFD700;
  /* Bright gold */
  text-shadow: 4px 4px 10px rgba(255, 215, 0, 1);
  /* Strong glow effect */
  transform: scale(1.1);
  /* Slight enlargement */
}



.footer-distributed .footer-links {
  color: #ffffff;
  margin: 20px 0 12px;
  padding: 0;
}

.footer-distributed .footer-links a {
  display: inline-block;
  line-height: 1.8;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-company-name {
  color: #222;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 35%;
}

.footer-distributed .footer-center i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  font-weight: 400;
  vertical-align: middle;
  margin: 0;
}

.footer-distributed .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}

.footer-distributed .footer-center p a {
  color: lightseagreen;
  text-decoration: none;
  ;
}

.footer-distributed .footer-links a:before {
  content: "|";
  font-weight: 300;
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

/* Footer Right */

.footer-distributed .footer-right {
  width: 20%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer-distributed .footer-company-about span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-distributed .footer-icons {
  margin-top: 25px;
}

.footer-distributed .footer-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color: #92999f;
  border-radius: 2px;

  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;

  margin-right: 3px;
  margin-bottom: 5px;
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {

  .footer-distributed {
    font: bold 14px sans-serif;
  }

  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer-distributed .footer-center i {
    margin-left: 0;
  }

}

@media (max-width: 660px) {
  .photo-container {
    flex-direction: column;

  }



  #cont-img {
    width: 200px;
    height: 250px;
    padding: 0;
  }

  .button1 {

    font-size: 7px;
    left: 10px;
    top: 31px;

  }

  .content-container {
    display: flex;
    flex-direction: column;

  }

  .text-heading1 {
    padding-top: 10px;
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }

  .text-heading2 {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }

  .text-paragraph {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }




  #navbar {
    background-color: #B8860B;
    height: 45px;
  }

  #nav-link {
    position: relative;
    margin: 0;
    top: 0;
    font-size: 10px;
    gap: 0;
    padding: 0;

  }

  #nav-link::before {
    content: "|";
    margin: 0 10 px;
    color: #4B0082;
  }

  .header-texts {
    font-size: 8px;
    margin: 0;
    padding: 0px;
    position: relative;
    top: 40px;
    border: 2px solid antiquewhite;
    left: 10%;
  }

  .social-icons {
    position: absolute;
    display: flex;
    margin-top: 0;
    padding-top: 0px;
    top: 10px;
    right: 10px;
  }

  .container {
    width: auto;
  }

  .event-sidebar {
    width: 220px;

  }

  .event-sidebar.open {
    left: 0;
    position: fixed;
    top: 0;
    z-index: 1;
  }

  .show-events-button {
    z-index: 4;
    right: 0;

  }

  table {

    width: 0%;
    margin: 0 auto;
    padding: 0px;
  }

  th,
  td {
    border: 1px solid black;
    padding: 0px;

    font-size: 13px;
    text-align: justify;

  }

  th {
    background-color: #f2f2f2;
    font-size: 12px;
    width: 30px;
  }

  .text-heading3 {

    font-size: 15px;

    text-align: center;
  }

  .text-heading4 {
    text-align: center;

    font-size: 12px;

  }



  .left-heading {
    font-size: 15px;
    padding-left: 10px;
  }

  .left-heading2 {
    font-size: 12px;
    padding-left: 10px;
  }

  .right-image {


    flex-direction: column;

    width: 300px;
    height: 300px;

    padding: 0px;
    position: relative;
    top: 0;
    margin: 0;

  }

  .button {



    top: 0;
    margin: 0;
    text-align: center;
    font-size: 16px;
    padding: 10px 20px;

  }

  .incharge {

    padding-left: 0px;
  }

  .left-content {
    flex-direction: column;
    font-size: 9px;

    position: relative;
    top: 0;
    margin: 10px;
    text-align: center;
    z-index: -1;
  }

  .left-container {
    flex-direction: column;
    font-size: 9px;

    position: relative;
    top: 0;
    margin: 0px;
    text-align: center;
    z-index: -1;
  }

  .bottom-paragraph {
    flex-direction: column;
    font-size: 9px;
    position: relative;
    top: 0;
    text-align: center;
    z-index: -1;
    margin: 0 10%;
    /* Adds space based on the screen width */
  }



}


/*--------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------*/

@media (max-width: 880px) {
  .photo-container {
    flex-direction: column;
  }

  #cont-img {
    width: 200px;
    height: 250px;
    padding: 0;
  }

  .content-container {}

  .text-heading1 {
    padding-top: 5px;
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }

  .text-heading2 {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }

  .text-paragraph {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
    z-index: -1;
  }



  .text-heading1 {
    padding-top: 10px;
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
  }

  .text-heading2 {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
  }

  .text-paragraph {
    position: relative;
    top: 0;
    margin: 0;
    text-align: center;
  }


  #quote {
    font-size: 13px;
  }




  #navbar {
    background-color: #B8860B;
    height: 45px;
  }

  #nav-link {
    position: relative;
    margin: 0;
    top: 0;
    font-size: 10px;
    gap: 0;
    padding: 0;

  }

  #nav-link::before {
    content: "|";
    margin: 0 10 px;
    color: #4B0082;
  }

  .header-texts {
    font-size: 8px;
    margin: 0;
    padding: 0px;
    position: relative;
    top: 40px;
    border: 2px solid antiquewhite;
    left: 0%;
  }

  .social-icons {

    position: absolute;
    display: flex;
    margin-top: 0;
    padding-top: 0px;
    top: 10px;
    right: 0px;
    left: 20px;
  }
}


#sheraz {
  padding: 10px;
  background-color: #4B0082;
  /* Initial background color */
  color: #FFFFFF;
  /* Initial text color */
  border-radius: 8px;
  transition: all 0.3s ease;
  /* Smooth transition for hover effect */
}

#sheraz:hover {
  background-color: #B8860B;
  /* Change background to gold on hover */
  color: white;
  /* Change text color to purple on hover */
  transform: scale(1.05);
  /* Slightly enlarge the element */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  /* Add shadow effect */






}