body {
  margin: 0;
  font-family: 'Kadwa', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
 }
body::before {
  pointer-events: none;
    content: '';
    position: fixed;
    left: 150px; /* Adjust the horizontal position */
    width: 10px; /* Thickness of the line */
    height: 100%; /* Full height of the page */
    background: linear-gradient(to top, #C19E48, #e7be40); /* Gold gradient */
    z-index: 9; /* Ensure it stays behind all content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional shadow for effect */
   /* animation: loadingAnimation 30s infinite ease-in-out;  Add infinite animation */
}
.animate-on-scroll {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-on-scroll {
  opacity: 0;
  transition: opacity 0.7s;
}
.fade-in-on-scroll.visible {
  opacity: 1;
}

.slide-up-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.slide-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Keyframes for the loading animation */
@keyframes loadingAnimation {
  0% {
    height: 0; /* Start with no height */
    box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* No shadow */
  }
  50% {
    height: 100%; /* Full height */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Medium shadow */
  }
  100% {
    height: 100%; /* Reset to no height */
    box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* No shadow */
  }
}

html {
  scroll-behavior: smooth;
}



header{
background: transparent;
position: relative;
z-index: 1002; /*2030 Ensure it stays above the background */
}


#mainNavbar {
  position: fixed;
  top: 0;
  left: 50%; /* Position it relative to the center */
  transition: top 0.5s ease-in-out; /* Smooth hide/show effect */
  transform: translateX(-50%); /* Shift it back by half its width */
  width: 70%; /* Ensure the width is set */
  /*z-index: 2030;  Keep it above other elements */
  background: linear-gradient(to right, #012368, #000c25);
  /*background: linear-gradient(to right, #003366, #001a4d);  Optional: Add a background color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Optional: Add a shadow for better visibility */
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  }
  
/* Arrow button styles */
.arrow-btn {
  position: fixed;
  top: 0px; /* Position it 10px from the top */
  left: 17.8%; /* Center it horizontally relative to the viewport */
  transform: translateX(-20%); /* Adjust to center the button */
  z-index: 1001;
  background: linear-gradient(to right, #003366, #001a4d);
  color: white;
  border: none;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  width: 70px;
  height: 70px;
  display: flex; /* Ensure it's visible when needed */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0px 10px rgb(12, 12, 10);
  opacity: 0; /* Start invisible */
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.arrow-btn img {
  width: 80px;
  height: 100%;
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
}
.arrow-btn:hover img {
  transform: scale(1.1); /* Slightly enlarge the image on hover */
  transition: transform 0.3s ease; /* Smooth transition for hover effect */
  
}

.arrow-btn.show {
  animation: slideDown 0.9s ease forwards; /* Trigger slide-down animation when the button is shown */
}

.arrow-btn.hide {
  animation: slideUp 1s ease forwards; /* Trigger slide-up animation when the button is hidden */
}

/* Keyframes for slide-down animation */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-60px); /* Start above the viewport */
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Slide into view */
  }
}

/* Keyframes for slide-up animation */
@keyframes slideUp {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0); /* Fully visible */
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-60px); /* Slide out of view */
  }
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: linear-gradient(to right, #003366, #011020, #000000);
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.logo-section {
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.logo-section img {
  height: 50px;
  margin-right: 10px;
  margin-left: -30px;
  transition: opacity 0.3s ease;
}


.logo-text {
  line-height: 0.8;
  text-align: center;
}
.logo-text a{
  color: rgb(211, 211, 211);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.logo-text a:hover{
  color: #ffcc00;
}

.logo-text h1 {
  margin: 0;
  font-size: 18px;
}

.logo-text span {
  font-size: 14px;  
}


/* Custom navbar styles */
.navbar-wrapper {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.navbar-nav a:hover {
  color: #ffcc00;
}


.dark-mode {
  background-color: #0c0c0c;
  color: #ffffff;
  }
  .dark-mode .breakline-about{
    background-color:#121212
  }
  .dark-mode .about{
    background-color:#121212
  }
  .dark-mode .about-container p {
    color: #ffffff; /* Change text color to white or any color suitable for dark mode */
  }
  .dark-mode .news-container h1 {
    color: #ffffff;  /*Change text color to white or any color suitable for dark mode */
    text-shadow: 0 1px 0 #0d09dd;
  }
  .dark-mode .grid-column p{
    color: #616161;
  }
  .dark-mode .program-title .btn{
    color: #ffffff; /* Change text color to white or any color suitable for dark mode */
    text-shadow: 2px 2px 2px #003366;
  }
  .dark-mode .program-title:hover .btn{
    background-color:transparent;
    color: #9c820f; /* Change text color to white or any color suitable for dark mode */
    border: none;
    text-shadow: 2px 2px 2px #ffffff00;
  }
  .dark-mode .about-heading h4 {
    color: #ffffff; /* Change text color to white or any color suitable for dark mode */
  }
  .dark-mode .about-heading h1 {
    color: #abaaaa; /* Change text color to white or any color suitable for dark mode */
  }
.dark-mode .card {
  background-color: #1e1e1e;
  color: #ffffff;
}
.dark-mode .navbar-wrapper {
  background-color: #1a1a1a;
}
/* Dark mode toggle column */
.dark-mode-toggle-columnn span{
  font-size: 10px;
}
.dark-mode-toggle-columnn {
  position: fixed;
  bottom: 80px; /* Position it 10px from the top */
  left: -200%; /* Center it horizontally relative to the viewport */
  transform: translateX(-15%); /* Adjust to center the button */
  z-index: 1001;
  width:100px;
  height: 50px;
  background-color: #003366;
  color: white;
  border: rgb(0, 85, 255) 1px solid;
  border-radius: 15px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
  box-shadow: #ffcc00;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
  transition: 
  3.3s ease;
  opacity: 0;
}
/* Show class that will be added on scroll */
.dark-mode-toggle-columnn.show-toggle {
  left: -2px;
  opacity: 1;
}
.dark-mode-toggle-columnn.hiding {
  animation: slideOut 2.5s forwards;
}

@keyframes slideOut {
  0% {
    left: -2px;
    opacity: 1;
  }
  100% {
    left: -200px;
    opacity: 0;
  }
}

/* Optional: Hide when at very top of page */
.is-at-top .dark-mode-toggle-columnn {
  left: -150px !important;
}

.dark-mode-toggle-columnn:hover {
  background-color: #005dbb;
  transition: background-color 0.3s ease;
  box-shadow: 0 0px 10px rgb(164, 82, 0);
 }
.dark-mode-icon {
  position:absolute;
  width: 20px;
  height: 20px;
  filter: invert(0%);
  transition: filter 0.3s;

  margin-left: 1rem;
  margin-right: 1rem;
}
.dark-mode .dark-mode-icon {
  filter: invert(100%);
}

/* Go to Top Button */
.go-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Hidden by default */
  background: linear-gradient(to right, #001a4d, #004f9d);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

.go-to-top-btn:hover {
  background: linear-gradient(to right, #004f9d, #001a4d);
}


/*mainbanner design */
.mainbanner-fluid-container {
  width: 100%;
  height: auto;
  background-color: black;
  position: relative; /* Creates space for line */
  z-index: 10;  
  border-radius: 2%;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.mainbanner-fluid-container video {
  width: 100%;
  height: 700px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 5%;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}




.about-us::before {
  margin: 0;
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
}






/* campus banner */
.campus-page::before {
  margin: 0;
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
}

/*campus mainbanner design */
.campusbanner-fluid-container {
  width: 100%;
  height: 550px; /* Set a fixed height for the parallax effect */
  background-image: url('img/neu_main.jpg'); /* Replace with your image */
  background-size: 130%; /* Ensure the image covers the entire section */
  background-position: center 700px;/* Center the image */
  background-attachment: fixed; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 10;
}
.campusbanner-fluid-container img {
  display: none; /* Hide the <img> tag since the background image is used */
}
.parallax-banner {
  position: absolute;
  width: 550px; /* Set a fixed width for the card */
  padding: 30px; /* Inner spacing for the content */
  font-size: 25px; /* Adjust font size */
  top: 85%; /* Position vertically */
  right: 75%; /* Position horizontally */
  transform: translate(50%, -50%); /* Center the card */
  color: rgb(59, 59, 59); /* Text color */
  z-index: 11; /* Ensure it stays above the background */
  background-color: white; /* Background color for the card */
  border-radius: 0px; /* Rounded corners for the card */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow for a card effect */
  text-align: left; /* Align text to the left */
}
.parallax-banner::before {
  content: ''; /* Add a pseudo-element */
  position: absolute;
  top: 0; /* Position it at the top of the element */
  left: 0%; /* Adjust the starting position */
  width: 85%; /* Set the width of the border */
  height: 10px; /* Set the height of the border */
  background-color: #003B7D; /* Border color */
}
.parallax-banner p{
  margin-bottom: -10px;
}
/* main branch campus */
.parallax-main-campus {
    display: flex;
  width: 100%;
  height: 800px; /* Set a fixed height for the parallax effect */
  background-image: url('img/campus/mains.jfif'); /* Replace with your image */
  background-size: cover; /* Ensure the image covers the entire section */
  /*background-position: 450px 800px;  Center the image
  background-position: 400px 750px; 
  background-position: 600px 350px;*/
  background-position: 450px 800px; 
  background-attachment: relative; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 10;
}
.parallax-main-campus img {
  display: none; /* Hide the <img> tag since the background image is used */
}
.parallax-main-campus::before {
    content: ''; /* Add a pseudo-element */
    position: absolute;
    top: 0;
    left: 0; /* Start from the left */
    width: 65%; /* Cover half the width of the container */
   /* height: 63%;  Full height of the container */
    height: 63%; /* Full height of the container */
    background: linear-gradient(to top, rgba(0, 126, 230, 0.712), hsla(214, 80%, 23%, 0.89)); /* Linear gradient overlay */
    z-index: 1; /* Ensure it stays behind the content */
    clip-path: polygon(0 0, 95% 0, 82.0% 100%, 0 100%); /* Slant the right side */
  }

.main-content {
  position: relative; /* Ensure it stays above the overlay */
  padding-top: 50px; /* Inner spacing for the content */
  padding-left: 130px; /* Inner spacing for the content */
  padding-right: 80px; /* Inner spacing for the content */
  width: 55%; /* Adjust the width of the content */
  height: auto;
  color: white; /* Ensure text is visible over the overlay */
    z-index: 2; /* Ensure it stays above the overlay */
}
.main-content h1 {
  margin-bottom: 30px; /* Space below the heading */
  text-align: left; /* Align text to the left */
  text-shadow: #000000 0px 3px 1px; /* Add text shadow for better readability */
}

.custom-shape-divider-bottom-main {
  z-index: 13;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-main svg {
  position: relative;
  display: block;
  width: calc(132% + 1.3px);
  height: 296px;
  transform: rotateY(0deg);
  z-index: 12;
}

.custom-shape-divider-bottom-main .shape-fill1 {
  fill: #ffffff; 
  height: 15px; /* Set a fixed height for the parallax effect */
  z-index: 12;
}

/** For mobile devices **/
@media (max-width: 767px) {
  .custom-shape-divider-bottom-main svg {
      width: calc(203% + 1.3px);
      height: 90px;
  }
}

/** Pampanga branch **/
.parallax-pamp-branch {
    display: flex;
  top:-290px;
  width: 100%;
  height: 600px; /* Set a fixed height for the parallax effect */
  background-image: url('img/campus/neupampcampus.jpg'); /* Replace with your image */
  background-size: cover; /* Ensure the image covers the entire section */
  /*background-position: 450px 800px;  Center the image 
  background-position: 950px 120px;*/
  background-position: -90vh 650px;  
  background-attachment: relative; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 11;
  clip-path: polygon(0 0, 52.9% 0, 51.60% 11.39%, 100% 4.3%, 100% 100%, 0 100%);
}
  .parallax-pamp-branch img {
 display: none;/* Hide the <img> tag since the background image is used */
}
.parallax-pamp-branch::before {
    content: ''; /* Add a pseudo-element */
    position: absolute;
    right: 0; /* Start from the right*/
    /* width: 57.3%; Cover half the width of the container */
    width: 67.3%;
   /* height: 63%;  Full height of the container */
    height: 100%; /* Full height of the container */
    background: linear-gradient(to top, rgba(0, 126, 230, 0.712), hsla(214, 80%, 23%, 0.89)); /* Linear gradient overlay */
    z-index: 1; /* Ensure it stays behind the content */
    clip-path: polygon(28.2% 10.6%,  100% 0, 100% 100%, 0 100%, 15% 95%); /* Slant the right side */
  }

.pampanga-content {
  align-items: center; 
  justify-content: center;
  position: relative; /* Ensure it stays above the overlay */
  padding-top: 150px; /* Inner spacing for the content */
  padding-left: 80px; /* Inner spacing for the content */
  padding-right: 50px; /* Inner spacing for the content */
  width: 45%; /* Adjust the width of the content */
  height: auto;
  color: white; /* Ensure text is visible over the overlay */
  z-index: 2; /* Ensure it stays above the overlay */
  right: -50%; /* Start from the right*/

}
.pampanga-content h1 {
  right: 20%;
  margin-top: 10%;
  font-size: 50px;
  margin-bottom: 30px; /* Space below the heading */
  text-align: left; /* Align text to the left */
  text-shadow: #000000 0px 3px 1px; /* Add text shadow for better readability */
}
.pampanga-content p {
  font-size: 18px;
}

/* rizal branch campus */
.parallax-rizal-campus {
    display: flex;
  top:-290px;
  width: 100%;
  height: 800px; /* Set a fixed height for the parallax effect */
  background-image: url('img/campus/neurizalcampus.jfif'); /* Replace with your image */
  background-size: contain; /* Ensure the image covers the entire section */
  /*background-position: 450px 800px;  Center the image
  background-position: 400px 750px; 
  background-position: 600px 350px;*/
  background-position: 950px 0px; 
  background-attachment: relative; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 10;
}
.parallax-rizal-campus img {
  display: none; /* Hide the <img> tag since the background image is used */
}
.parallax-rizal-campus::before {
    content: ''; /* Add a pseudo-element */
    position: absolute;
    top: 0;
    left: 0; /* Start from the left */
    width: 65%; /* Cover half the width of the container */
   /* height: 63%;  Full height of the container */
    height: 63%; /* Full height of the container */
    background: linear-gradient(to top, rgba(0, 126, 230, 0.712), hsla(214, 80%, 23%, 0.89)); /* Linear gradient overlay */
    z-index: 1; /* Ensure it stays behind the content */
    clip-path: polygon(0 0, 95% 0, 82.0% 100%, 0 100%); /* Slant the right side */
  }

.rizal-content {
    align-items: center; 
  justify-content: center;
  position: relative; /* Ensure it stays above the overlay */
  padding-top: 60px; /* Inner spacing for the content */
  padding-left: 130px; /* Inner spacing for the content */
  padding-right: 80px; /* Inner spacing for the content */
  width: 55%; /* Adjust the width of the content */
  height: auto;
  color: white; /* Ensure text is visible over the overlay */
    z-index: 2; /* Ensure it stays above the overlay */
}
.rizal-content h1 {
  margin-bottom: 30px; /* Space below the heading */
  text-align: left; /* Align text to the left */
  text-shadow: #000000 0px 3px 1px; /* Add text shadow for better readability */
}
.rizal-content p {
  font-size: 20px;
}


/** gensan branch **/
.parallax-gensan-branch {
    display: flex;
  top:-581px;
  width: 100%;
  height: 600px; /* Set a fixed height for the parallax effect */
  background-image: url('img/campus/neugensancampus.png'); /* Replace with your image */
  background-size: contain; /* Ensure the image covers the entire section */
  /*background-position: 450px 800px;  Center the image 
  background-position: 950px 120px;
  background-position: -90vh 650px;  */
  background-size: 53.3% 100%, 100% 100%;
  background-repeat: repeat-x, no-repeat;   /* Repeat image horizontally, gradient not repeated */
  background-position: left top, left top;
  background-attachment: relative; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 11;
  clip-path: polygon(0 0, 52.9% 0, 51.60% 11.39%, 100% 4.3%, 100% 100%, 0 100%);
}
  .parallax-gensan-branch img {
 display: none;/* Hide the <img> tag since the background image is used */
}
.parallax-gensan-branch::before {
    content: ''; /* Add a pseudo-element */
    position: absolute;
    right: 0; /* Start from the right*/
    /* width: 57.3%; Cover half the width of the container */
    width: 67.3%;
   /* height: 63%;  Full height of the container */
    height: 100%; /* Full height of the container */
    background: linear-gradient(to top, rgba(0, 126, 230, 0.712), hsla(214, 80%, 23%, 0.89)); /* Linear gradient overlay */
    z-index: 1; /* Ensure it stays behind the content */
    clip-path: polygon(28.2% 10.6%,  100% 0, 100% 100%, 0 100%, 15% 95%); /* Slant the right side */
  }

.gensan-content {
  align-items: center; 
  justify-content: center;
  position: relative; /* Ensure it stays above the overlay */
  padding-top: 150px; /* Inner spacing for the content */
  padding-left: 80px; /* Inner spacing for the content */
  padding-right: 50px; /* Inner spacing for the content */
  width: 45%; /* Adjust the width of the content */
  height: auto;
  color: white; /* Ensure text is visible over the overlay */
  z-index: 2; /* Ensure it stays above the overlay */
  right: -50%; /* Start from the right*/

}
.gensan-content h1 {
  right: 20%;
  margin-top: 5%;
  font-size: 50px;
  margin-bottom: 30px; /* Space below the heading */
  text-align: left; /* Align text to the left */
  text-shadow: #000000 0px 3px 1px; /* Add text shadow for better readability */
}
.gensan-content p {
  font-size: 18px;
}


/*Lipa Branch*/
.lipa-campus {
margin-top: -590px;
  width: 100%;
  height: 600px; /* Set a fixed height for the parallax effect */
  background-image: url('img/campus/neulipacampus.jfif'); /* Replace with your image */
  background-size: contain; /* Ensure the image covers the entire section */
  /*background-position: 450px 800px;  Center the image
  background-position: 400px 750px; */
  background-position: 950px;
  background-attachment: relative; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 10;

}
.lipa-campus img {
  display: none; /* Hide the <img> tag since the background image is used */
}
.lipa-campus::before {
    content: ''; /* Add a pseudo-element */
    position: absolute;
    top: 0;
    left: 0; /* Start from the left */
    width: 65%; /* Cover half the width of the container */
   /* height: 63%;  Full height of the container */
    height: 100%; /* Full height of the container */
    background: linear-gradient(to top, rgba(0, 126, 230, 0.712), hsla(214, 80%, 23%, 0.89)); /* Linear gradient overlay */
    z-index: 1; /* Ensure it stays behind the content */
    clip-path: polygon(0 0, 95% 0, 82.0% 100%, 0 100%); /* Slant the right side */
  border-bottom: 10px solid #ffffff;
}

.lipa-content {
  position: relative; /* Ensure it stays above the overlay */
  padding-top: 70px; /* Inner spacing for the content */
  padding-left: 130px; /* Inner spacing for the content */
  padding-right: 80px; /* Inner spacing for the content */
  width: 55%; /* Adjust the width of the content */
  height: auto;
  color: white; /* Ensure text is visible over the overlay */
    z-index: 2; /* Ensure it stays above the overlay */
}
.lipa-content h1 {
  margin-bottom: 30px; /* Space below the heading */
  text-align: left; /* Align text to the left */
  text-shadow: #000000 0px 3px 1px; /* Add text shadow for better readability */
}
.lipa-content p {
  font-size: 20px;
}




.breakline-about {
  width: 100%;
  height: 50px;
  padding-top: 50px;
  margin-top: -50px;  
  align-items: center;    
  justify-content: center;
  background-color: #e7e7e7; /* Your desired background color */
}
/*brakeline*/
.line-section{
  margin-top:70px;  
  align-items: center;    
  justify-content: center;
}
.about-line {
  position: absolute;
  width: 100%;
  height: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #001a4d, #004f9d); /* Static background */
  z-index: 11; /* Ensure it stays below the content */
}
.stroke-container {
  position: absolute;
  top: -3px;
  right: 0;
  width: 100%;
  z-index: 7; /* Ensure it stays below the content */
  opacity: 0.9;
}

.stroke-line {
  
  stroke-dasharray: 1500; /* Total length of the stroke */
  stroke-dashoffset: 1500; /* Start with the stroke hidden */
  animation: loadingAnimation-stroke 5s infinite ease-in; /* Add infinite animation */
}

/* Keyframes for stroke animation */
@keyframes loadingAnimation-stroke {
  0% {
    stroke-dashoffset: -1500; /* Stroke starts hidden */
  }
  50% {
    stroke-dashoffset: 0; /* Stroke is fully drawn */
  }
  100% {
    stroke-dashoffset: 1500; /* Stroke moves off-screen */
  }
}

.about{
  background-color: #e7e7e7; /* Your desired background color */
  position: relative;
  z-index:8; /* Ensure it stays above the gold line */
 
}
/* If you need full-width background with gap for the line */

.about-row {
  display: flex;
  gap: 40px;
  align-items: right;
  padding-top: 50px;
  font-family: 'Tahoma';
  }

.about-column {
  flex: 1;
  margin-top: 100px;
  margin-bottom: 50px;
  font-family: 'Tahoma';
}
.about-heading h4,
.about-heading h1 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 1.7s cubic-bezier(0.23, 1, 0.32, 1);
}

/* When page loads, add this class with JS */
.about-heading.visible h4,
.about-heading.visible h1 {
  opacity: 1;
  transform: translateY(0);
}
.about-heading {
  padding-left:400px;
  padding-top: 10px;
  margin-top: 50px;
  margin-right: 300px;
}
.about-heading h4 {
  color: #000000; /* Gold color */
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-heading h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #000000; /* Dark blue */
}

.image-container {
  border-radius: 0px;
  overflow: hidden;
  box-shadow: -20px 20px 0px  #003B7D;
  margin-bottom: 25px;
  margin-right: -0.5px;
  transform: translateX(100px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.7s;
}

.image-container.visible {
  transform: translateX(0);
  opacity: 1;
}


.about-image {
  width: 100%;
  height: 576px;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  margin-top: 60px;
  padding-left: 50px;
  padding-right: 50px;
  white-space: pre-line; /* Preserve line breaks */
  min-height: 2em;       /* Prevent collapse before typing */
}

.about-content .btn-about {
  display: flex;          /* Enables flexbox */
  align-items: center;    /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  margin: 0 auto;         /* Additional horizontal centering */
  text-align: center;     /* Centers text as fallback */
  width: fit-content;     /* Makes button only as wide as its content */
  padding: 12px 24px;     /* Adjust padding as needed */
}

.btn-about {
  display: inline-block;
  background-color: #003B7D;
  color: white;
  padding: 12px 30px;
  border-radius: 0px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #003B7D;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 4.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-about.visible {
  opacity: 1;
  transform: translateX(0);
}

.btn-about:hover {
  background: transparent;
  color: #003B7D;
  font-weight: bold;
  border: 2px solid #ffffff00;
}

@media (max-width: 768px) {
  .about-row {
    flex-direction: column;
  }
  
  .about-heading h1 {
    font-size: 2rem;
  }
}








/*brakeline*/

.program-line {
  position: relative;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, #001a4d, #003B7D);
  margin-top: 50px;
  margin-bottom: 5%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.programs-container {
  display: grid;
  grid-template-columns: auto auto ;
  padding: 10px;
  margin-left: 20%;
}
.programs-container > .main-grid {
  grid-template-columns: 1fr; /* Single column layout */
  gap: 20px; /* Space between elements */
  background-color: transparent;
  border-bottom: 2.5px solid #004386;
  border-right: 2.5px solid #004386;
  text-align: left;
  
}
.main-grid h4{
  font-weight: bold;
  font-size: 20px;
  font-family: 'Tahoma';
    transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.main-grid h4.visible {
  opacity: 1;
  transform: translateX(0);
}
.main-grid h1{
  margin-right: 38%;
  font-weight: 400;
  font-size: 40px;
  font-family: 'Tahoma';
  
    transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.main-grid h1.visible {
  opacity: 1;
  transform: translateX(0);
}

.button-container {
  display: flex;
  justify-content: flex-end; /* Aligns button to right */
  padding-top: 50px; /* Space above button */
  padding-right: 10%;
} 
.button-container .btn{
  display: inline-block;
  background: linear-gradient(to right, #012368, #000c25);
  color: white;
  font-family: 'Tahoma';
  padding: 12px 30px;
  height:60px;
  width: 230px;
  transition: all 0.3s ease;
  border-radius: 0px;
  border: 2px solid #003B7D;
}

.btn:hover {
  transform: translateX(10px);
  transition: transform 0.3s ease;
  background: rgb(255, 255, 255);
  color: #003B7D;
  font-weight: bold;
  border: 2px solid #ffffff00;
}
.programs-container > #grid2 {
  background-color: transparent;
  border-bottom: 2.5px solid #003B7D;
  border-left: 2.5px solid #003B7D;
  padding: 20px;
  text-align: center;
}
.grid {
display: flex;
flex-direction: row;
}
.grid-row {
  margin-top: 10%;
}
.program-title .btn{ /* programs title */
  text-align: left;
  font-size: 18px;
  margin-top: 20%;
  font-weight: bold;
  border: none;
}
.program-title:hover #prog-t { /* programs title */
  text-align: left;
  font-size: 18px;
  margin-top: 20%;
  font-weight: bold;
  border: 0;
}

.grid p { /* programs description */
  font-size: 14px;
  text-align: left;
  margin-left: 5%;
}
.grid img { /* programs image */
  margin-top: 8%;
  align-items: center;
  width: 250px;
  height: auto;
  box-shadow: -10px 10px 0 #003B7D;
  margin-bottom: 20px;
}
.programs-container > #grid3 {
  background-color: transparent;
  border-top: 2.5px solid #003B7D;
  border-right: 2.5px solid #003B7D;
  padding: 20px;
  text-align: center;
}
.programs-container > #grid4 {
  background-color: transparent;
  border-top: 2.5px solid #003B7D;
  border-left: 2.5px solid #003B7D;
  padding: 20px;
  text-align: center;
}













/*brakeline*/

.news-line {
  margin-top:-1%;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, #001a4d, #004f9d);
position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.news-container {
  padding-top: 40px;
  padding-bottom: 40px;
}


.news-container h1{
    font-size: 50px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  }
  
  
  .custom-shape-divider-bottom {
    z-index: 11;
    position: absolute;
    bottom: 0;
    right: 0; /* Change from `left: 0` to `right: 0` */
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;/* Ensure the SVG itself is non-interactive */
  }
  
  .custom-shape-divider-bottom svg {
    border: none;
    position: relative;
    display: block;
    width: calc(210% + 1.3px); /* Adjust width as needed */
    height: 300px;
    transform: translateX(-50%); /* Shift the shape to the right */
    pointer-events: none;  /* Ensure the SVG itself is non-interactive */
  }

  
  
  /* Gradient fill for the SVG shape animated*/
  .shape-fill {
    stroke-dasharray: 600; /* Adjust based on the path length */
    stroke-dashoffset: 1200; /* Start with the stroke hidden */
    animation: draw 5s linear infinite, gradient-color 10s linear infinite;
  }
  
  /* Animation to draw the outline */
  @keyframes draw {
    to {
      stroke-dashoffset: 0; /* Reveal the stroke */
    }
  }
  
  /* Animation to change the gradient colors */
  @keyframes gradient-color {
    0% {
      stroke: #b18a27;
    }
    50% {
      stroke: #c79601;
    }
    100% {
      stroke: #C19E48;
    }
  }
  
  
  /* learn more event */
  .btnevent {
    z-index: 11;
    width: 200px;
    height: auto;
    bottom: 3%;
    right: -1%;
    position: absolute;
    }
/*button learn more*/
.btn-event {
  display: inline-block;
  background-color: transparent;
  color: white;
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.3s ease;
}
/*button learn more*/
.btn-event:hover {
  background-color: transparent;
  color: #0089f9;
}



#customCarousel{
  display: flex;
  position: relative; /* Acts as the parent container for positioning */
  width: 100%;
  height: 650px;
  overflow: hidden;
  background-image:  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url(img/carousel-banner.png);
  background-size: cover;
  background-position: center;
  z-index: 13; /* Lower z-index for the main container */
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.5); /* Optional shadow for effect */
}
.carousel-fluid-container {
  position: relative; /* Position it absolutely within the parent */  
  display: flex; 
  height: 100%;
  overflow: visible; /* Hide overflow */
  flex-direction: column;
}
  .banner-img {
    z-index: 11;
    width: 100%;
    height: 20px;
    position: relative; /* Position it absolutely within the parent */
    display: flex;
    align-items: center ; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
    margin-top: 50px; 
    margin-bottom: 30px; 
  }
  .banner-img img {
    position: relative;
    max-width: auto;
    height: 100px;
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for hover effects */
    filter: drop-shadow(0 0 0 rgba(193, 158, 72, 0)); /* No glow by default */
  }
  .banner-img img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 238, 2, 0.3)); /* Reduced glow */ /* Add a glowing gold light */
  }
  /*
    .thumbnail-carousel {
      position: absolute;
      z-index: 11;
    } */
    
    .thumbnail-carousel::before,
    .thumbnail-carousel::after {
      content: '';
      /* Add pseudo-elements */
      position: absolute;
      top: -40px;
      width: 100px;
      /* Width of the fade effect */
      height: 650px;
      /* Full height of the carousel */
      z-index: 15;
      /* Ensure it stays above the carousel items */
      pointer-events: none;
      /* Make sure it doesn't block interactions */
    }
    .thumbnail-carousel::before {
      left: 0;
      /* Position on the left side */
      background: linear-gradient(to right, rgba(24, 15, 117, 0.712), transparent);
      /* Fade from black to transparent */
    }
    
    .thumbnail-carousel::after {
      right: 0px;
      /* Position on the right side */
      background: linear-gradient(to left, rgba(4, 15, 117, 0.712), transparent);
      /* Fade from black to transparent */
    }
    .thumbnail-carousels::before,
    .thumbnail-carousels::after {
      content: '';
      /* Add pseudo-elements */
      position: absolute;
      top: -300px;
      width: 100px;
      /* Width of the fade effect */
      height: 100%;
      /* Full height of the carousel */
      z-index: 15;
      /* Ensure it stays above the carousel items */
      pointer-events: none;
      /* Make sure it doesn't block interactions */
    }
    .thumbnail-carousels::before {
      left: 0;
      /* Position on the left side */
      background: linear-gradient(to right, rgba(24, 15, 117, 0.712), transparent);
      /* Fade from black to transparent */
    }
    
    .thumbnail-carousels::after {
      right: 0px;
      /* Position on the right side */
      background: linear-gradient(to left, rgba(4, 15, 117, 0.712), transparent);
      /* Fade from black to transparent */
    }


        .thumbnail-carousel {
          background: transparent;
          display: flex;
          width: 100%;
          /* Full width */
          align-items: center;
          height: 500px;
          position: relative;
          z-index: 11;
          overflow: visible;
          
          /* Space from the bottom */
        }
    
        .thumbnail-carousels {
          background: transparent;
          display: flex;
          width: 100%;
          /* Full width */
          align-items: center;
          height: 100%;
          margin-top: -270px;
          position: relative;
          z-index: 11;
          overflow: visible;
          direction: rtl; /* Helps with RTL rendering */
          /* Space from the bottom */
        }

    .image-event:hover img {
      border: 2px solid rgb(241, 181, 27);
      opacity: 1;
      transform-origin: center;
      z-index: 12;
      transform: scale(1.8);    /*Scale the image when hovering over the container */
      filter: brightness(1.1); /*Optional: Brighten the image */
    }
 
    .thumbnail-carousels .btn-overlay {
      position: relative; /* Position the button relative to the container */
      background: linear-gradient(to right, #001a4d, #004f9d);
      color: rgba(255, 255, 255, 0.651); /* Button text color */
      padding: 10px 20px; /* Add padding for the button */
      margin-right: 25%; /* Center the button */
      border: black; /* Remove border */
      border-radius: 5px; /* Optional: Add rounded corners */
      cursor: pointer; /* Change cursor to pointer */
      font-size: 16px; /* Adjust font size */
      text-decoration: none; /* Remove underline from the link */
      text-align: center;
      transition: opacity 0.3s ease-in, background-color 0.3s ease; /* Smooth hover effect */
      opacity: 0; /* Hide the button by default */
      z-index: 12; /* Ensure it stays above the image */
    }
    .thumbnail-carousel .btn-overlay {
      position: relative; /* Position the button relative to the container */
      transform: translateX(0%);  /*Center the button */
      background: linear-gradient(to right, #001a4d, #004f9d);
      color: rgba(255, 255, 255, 0.651); /* Button text color */
      padding: 10px 20px; /* Add padding for the button */
      margin-left: 25%; /* Center the button */
      border: none; /* Remove border */
      border-radius: 5px; /* Optional: Add rounded corners */
      cursor: pointer; /* Change cursor to pointer */
      font-size: 16px; /* Adjust font size */
      text-decoration: none; /* Remove underline from the link */
      text-align: center;
      transition: opacity 0.3s ease-in, background-color 0.3s ease; /* Smooth hover effect */
      opacity: 0; /* Hide the button by default */
      z-index: 12; /* Ensure it stays above the image */
    }
    .image-event:hover .btn-overlay {
      opacity: 1; /* Show the button when hovering over the container */
      animation: bounceIn 0.1s ease-in-out; /* Add bounce-in animation */
    }
    
    .btn-overlay:hover {
      background-color: rgba(0, 0, 0, 1); /* Darken the button background on hover */
      color: white; /* Ensure text color remains visible */
    }
    
    .btn-overlay:hover ~ img {
      filter: brightness(0.1); /* Dim the image when hovering over the button */
    }

     .thumbnail-carousel div {
      margin-top: -60px;
      padding-top: 150px;
      height: 100%;
      z-index: 12;
      }
      .thumbnail-carousels div {
      padding-top: 40px;
      margin-bottom: 100px;
      height: 100%;
      z-index: 12;
    }
    .thumbnail-carousel img {
      width: 300px;
      height: 200px;
      margin-top: -230px;
      object-fit: cover;
      border-radius: 10px;
      border: 4px solid rgb(165, 124, 19);
      cursor: pointer;
      transition: border 0.2s;
      transition: transform 0.3s ease, filter 0.3s ease; /* Faster transition */
      z-index: 12;
    }
    .thumbnail-carousel:hover {
      z-index: 12; /* Bring the entire carousel to the top when hovered */
    }
    .thumbnail-carousels img{
      margin-top: -30px;
      width: 300px;
      height: 200px;
      object-fit: cover;
      border-radius: 10px;
      border: 4px solid rgb(165, 124, 19);
      cursor: pointer;
      transition: border 0.2s;
      transition: transform 0.3s ease, filter 0.1s ease; /* Faster transition */
      z-index: 12;
      
    }

/* .thumbnail-carousel img:hover{
    }*/
   /* .thumbnail-carousels img:hover {

    }*/

    /*.thumbnail-carousels {
         position: relative;
      z-index: 11;
   }*/











.main-slide img {
  
    filter: brightness(80%) contrast(100%);
    transition: filter 0.3s ease-in;
    
    /* Optional hover effect */
    &:hover {
      filter: brightness(100%) contrast(110%);
    }
}
  
  @keyframes glowEffect {
    0% {
      transform: scale(1);
      filter: drop-shadow(0 0 0 rgba(193, 158, 72, 0));
    }
    50% {
      transform: scale(1.05);
      filter: drop-shadow(0 0 20px rgba(255, 238, 2, 0.5));
    }
    100% {
      transform: scale(1);
      filter: drop-shadow(0 0 0 rgba(193, 158, 72, 0));
    }
  }


  


/* article page */ 
.article-page::before {
  margin: 0;
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
}
/*campus mainbanner design */
.article-fluid-container {
  width: 100%;
  height: 680px; /* Set a fixed height for the parallax effect */
  background-image: url('img/leadsum.jpg'); /* Replace with your image */
  background-size: 100%; /* Ensure the image covers the entire section */
  background-position: top 700px;/* Center the image */
  background-attachment: fixed; /* Create the parallax effect */
  background-repeat: no-repeat;
  position: relative; /* Creates space for line */
  z-index: 10;
}
.article-fluid-container::before {
  content: ''; /* Add a pseudo-element */
  position: absolute;
  bottom: 0; /* Position it at the top of the element */
  left: 0%; /* Adjust the starting position */
  width: 100%; /* Set the width of the border */
  height: 500px; /* Set the height of the border */
  background: linear-gradient(to top, rgba(0, 43, 124, 0.959), transparent);
}

.article-fluid-container img {
  display: none; /* Hide the <img> tag since the background image is used */
}

.container-event{
  color: black
}
.parallax-articlebanner {
  position: absolute;
  font-weight: bold; 
  font-size: 30px; /* Adjust font size */
  top: 75%; /* Position vertically */
  left: -10%; /* Position horizontally */
   transform: translate(50%, -50%); /* Center the card */
  color: rgb(255, 255, 255); /* Text color */
  z-index: 11; /* Ensure it stays above the background */
  background-color: transparent; /* Background color for the card */
  border-radius: 0px; /* Rounded corners for the card */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add a shadow for a card effect */
  text-align: left; /* Align text to the left */
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  word-spacing: 5px;
}

.parallax-articlebanner p{
  margin-bottom: -10px;
}

.articlecontent-container {
    width: 100%;
}


.parallax-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #e0e0e0;
}

.parallax-text {
  padding: 100px;
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    font-family: sans-serif;
    font-size: 1.3rem;
    overflow-y: auto;
    text-align: center;
       font-weight: bold;
       color:black;
}


.parallax-image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 11;
    
}


.parallax-image-inner {
  
    align-items: center;
    margin-top: -350px;
    width: 600px;
    height:700px;
    background-attachment: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    border: 4px solid goldenrod;

}

.caption {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #333;
    text-align: left;
    width: 70%; /* optional: ensures full width if inside a centered container */
}

@media (max-width: 768px) {
    .parallax-row {
        flex-direction: column;
        height: auto;
    }

    .parallax-image-inner {
        height: 250px;
        background-attachment: scroll;
    }
}

.article-container {
  position: relative;
  background: linear-gradient(to right, #001a4d, #004f9d);
  padding: 10px;
  z-index: 12;
}
.carousel-article {
      position: relative;
      max-width: 800px;
      margin: 50px auto;
      overflow: hidden;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  
    }

    .carousel-track-article {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .carousel-article-slide {
      min-width: 100%;
      height: 450px;
      background-size: cover;
      background-position: center;
    }

    .carousel-article-buttons {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
    }

    .carousel-article-button {
      background: transparent;
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      padding: 10px 20px;
      transition: background 0.3s;
      z-index: 12;
    }

    .carousel-article-button:hover {
      background: rgba(0,0,0,0.8);
    }

    .carousel-article-indicators {
      text-align: center;
      position: absolute;
      bottom: 15px;
      width: 100%;
    }

    .indicator {
      display: inline-block;
      height: 12px;
      width: 12px;
      margin: 0 5px;
      background-color: rgba(255, 255, 255, 0.7);
      border-radius: 50%;
      cursor: pointer;
    }

    .indicator.active {
      background-color: goldenrod;
    }

/*for event card article */
.textcards-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  padding-top: 50px;

  padding-left: 150px;
}
.textcards-container h2 {
  display: flex;
  flex-wrap: wrap;
 
}
    
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 120px;
  justify-content: center;
  padding: 50px;
}

.card- {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 20%;
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  height: 600px;
}

.card- img {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
  transition: 0.3s;
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  height: 400px;
}


.card-:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.5);
}

.card-:nth-child(odd) {
margin-bottom: 30px;
}

.card-:nth-child(even) {
margin-top: 30px;
}

.container-event {
  padding: 10px 16px;
    margin-top: 30px;
}

.read-more {
  display: block;
  text-align: right;
  font-size: 0.9em;
  text-decoration: none;
  color: #000;
}
.read-more:hover {
  display: block;
  text-align: right;
  font-size: 0.9em;
  text-decoration: none;
  color: #0026ff;
}
/* Responsive */
@media screen and (max-width: 1000px) {
  .card- {
    width: 45%;
  }
}

@media screen and (max-width: 600px) {
  .card- {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }
}
/*for event card article */

/*article page*/

/*news and events*/
/* 50th logo banner */
.piptigold {
  width: 100px;
  height: 150px;
  bottom: 1%;
  right: 3%;
  position: absolute;

}
.piptigold img {
  width: 150px;
  height: auto;
  bottom: 1%;
  right: 3%;
}
#banner-image {
  width: 100%;
  height: 600px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
  #banner-item {
    flex: 1; /* Allow the banner to take up available space */
    background: url('img/carousel-banner.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    height:100%;
  }
  
  .banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 5px;
  }
  .banner-column {
    flex: 1; /* Make all columns equal width */
    margin-top: 30px;
    padding:  10px 0;
  }
  

  
  .banner-column img {
    max-width: 350px;
    height: auto;
  }
  
  .banner h1 {
    font-size: 27px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: left;
  }
.goldbox-center p {
  padding: 10px;
      font-size: 12px;
      text-align: left;
}
#g-center{
    margin-left: -100px;
         align-items: center;
}
.goldbox-center{
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  width: 450px;
  height: 100px;
  background:  linear-gradient(to right, #C19E48, #E5C974);
  box-shadow: rgb(32, 32, 32) 0px 0px 10px;
}
.goldbox-left {
  width: 150px;
  height: 100px;
  background: linear-gradient(to right, #C19E48, #E5C974);
  margin-top: 50px;
  box-shadow: rgb(32, 32, 32) 0px 0px 10px;
  float: left;
  margin-left: -10%;
}

.goldbox-right {
  width: 250px;
  height: 100px;
  background: linear-gradient(to right, #C19E48, #E5C974);
  margin-top: 50px;
  box-shadow: rgb(32, 32, 32) 0px 0px 10px;
  float: right;
  margin-right: -10%;
}


.slider-banner {
  position: absolute;
  bottom: 0; /* Place it at the bottom of the carousel */
  left: 0;
  width: 100%;
  height: 100vh; /* Adjust height to fit content */
  display: flex;
  justify-content: center; /* Center the slider horizontally */
  align-items: flex-end; /* Align the slider to the bottom */
  overflow: hidden;
  z-index: 4;
  padding: 10px 0; /* Add padding for spacing */
}
#slider {
  display: flex;
  width: max-content;
  /*width: calc(220px * 10); /* Total width of all slides */
  animation: scroll 10s linear infinite;
  padding: 20px 0; /* Add padding for spacing */
  cursor: pointer; /* Change cursor to pointer on hover */
}

/* Key change: Only translate by half the width */
@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(220px * 1)); /* Move by original set only */
  }
}

#slider:hover {
  animation-play-state: paused;
}
.slide-image {
  width: 230px;
  height: 150px;
  margin: 0 10px;
  transition: transform 1.3s ease;
  flex-shrink: 0; /* Prevent slides from shrinking */
}
.slider-banner img{
    width: 100%;
    height: 100%;
    border: 4px solid goldenrod;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgb(5, 5, 5);
    transition: transform 0.7s ease;
    object-fit: fill;
}
.slide-image:hover img{
  transform: scale(2.0) translateZ(2100px);
  transform-origin: bottom center; /* Scale upward from the bottom center */
  box-shadow: 0 0 1px 0px rgba(246, 205, 0, 0.3); /* Enhanced glow */
  z-index: 999;
  opacity: 1; /* Ensure full visibility */
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease; /* Add opacity animation */
}

.slide-image img.active {
  transform: scale(3.0) translateZ(100px);
  transform-origin: bottom center; /* Scale upward from the bottom center */
  box-shadow: 0 0 1px 0px rgba(246, 205, 0, 0.3); /* Enhanced glow */
  z-index: 999;
  opacity: 1; /* Ensure full visibility */
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease; /* Add opacity animation */
}
.banner2-container img{
  position: relative;
  z-index: 14;
  width: 100%;
  height: auto;
}











/*academic*/


.acad::before {
  margin: 0;
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
}
/* campus banner */
.academic-page::before {
  margin: 0;
  font-family: 'Tahoma', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: white;
  position: relative;
}

/*campus mainbanner design */
.academicbanner-fluid-container {
  width: 100%;
  height: 550px; /* Set a fixed height for the parallax effect */
  background-image: url('img/academic/academic-banner.png'); /* Replace with your image */
  background-size: 100%; /* Ensure the image covers the entire section */
  background-position: center ;/* Center the image */
  background-attachment: fixed; /* Create the parallax effect */
  position: relative; /* Creates space for line */
  z-index: 10;
}
.academicbanner-fluid-container img {
  display: none; /* Hide the <img> tag since the background image is used */
}
.line-academic{
  height: 10px;
  width: 100%;
  position: relative;
  background-color: goldenrod;
 box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.9); /* Enhanced glow */
}












/* Footer Styles */
footer  {
  display: flex;
  background: linear-gradient(to left, rgb(1, 30, 88), rgb(1, 6, 16));
  color: white;
  text-align: left;
  padding: 50px 50px;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: #c99017 5px solid;
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
  height: auto;
  padding-bottom: 50px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  z-index: 11;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('img/campus/neucampus.png') center center no-repeat;
  background-size: cover; 
  opacity: 0.20; /* Adjust for desired overlay strength */
  z-index: 0;
  pointer-events: none; /* Allow clicks through overlay */
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  margin: 80px 50px 50px 50px;
  max-width: 100%;
  width: 100%;
  justify-content: center; /* Center all columns horizontally */
}
.footer-column {
  flex: 1;
  min-width: 100px;
  margin: 10px;
  text-align: left;
}
.footer-column span {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-column h3 {
  margin-bottom: 25px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul a {
  margin-bottom: 5px;
}

.footer-column ul a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul a:hover {
  background: transparent;
  color: #ffcc00;
}

/* Center the Quick Links column content */
.footer-column.center {
  text-align: center;
}
.footer-column.center ul {
  text-align: center;
  padding-left: 0;
}
.footer-column.center li {
  display: block;
  margin: 0 auto;
}

/* DPO column styles */
.footer-column-dpo {
  margin-top: -10px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.footer-column-dpo img {
  z-index: 1;
  height: 350px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-column-dpo img:active {
  transform: scale(0.95); /* Slightly shrink the image */
  /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);  Add a shadow effect */
}

/* Responsive: Stack columns on small screens */
@media (max-width: 900px) {
  .footer-row {
    flex-direction: column;
    margin: 30px 10px 10px 10px;
    align-items: center;
  }
  .footer-column,
  .footer-column.center,
  .footer-column-dpo {
    min-width: 200px;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}

/* Add animation for modal popup */
.modal.fade .modal-dialog {
  transform: scale(0.8); /* Start smaller */
  opacity: 0; /* Start invisible */
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  z-index: 1001; /* Ensure it stays above other elements */
}

.modal.fade.show .modal-dialog {
  transform: scale(1); /* Full size */
  opacity: 1; /* Fully visible */
}
  .modal-body img {
    max-width: 70%;
    height: auto;
    border: 2px solid #003366;
    border-radius: 20px;
  }
  .modal-header h5{
    color: black;
  }
  .modal-body p {
    font-size: 16px;
    color: #333;
  }

