@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
    overflow-x: hidden;
    background-color: rgb(225, 230, 235);
}
/* code for the navbar and footer */
nav {
    text-align: right;
    background-image: linear-gradient(90deg, #EC3963, #BB67A3, #46A9D3);
    color: white;
}

.nav-link:visited{
  opacity: 1;
 }
.nav-link:hover{
color: #EC3963;
}
footer {
  background-image: linear-gradient(90deg, #EC3963, #BB67A3, #46A9D3);
  color: white;
  font-family: Kanit;
  text-align: center;
  width: 100%;
  margin-top: 5em;
}

.nav-link, .navb {
    color: white;
    text-shadow: 1px 1px 2px black;
}

.imgfix {
    min-width: 10px;
    height: 125px;
  }

  #logo{
    background-color: transparent;
    border-color: transparent;
    background-image: url("img/webdesignlogo.png");
    height: 60px;
    width: 60px;
    border-radius: 100%;
    background-size: 40px;
    background-position: center,center;
    background-repeat: no-repeat;
    color: white;
}
.navbar-brand{
    color: white;
}

/* This is the code for the landing page images for each page */
.banner{
    background: url("img/alumni/2024SeniorNight.jpg");
    height: 100vh;
    margin-top: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-blend-mode: overlay;
    background-color: #585858;    
  }
  .banner2{
    background: url("img/alumni/college-bg.jpg");
    height: 100vh;
    margin-top: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-blend-mode: overlay;
    background-color: #4b5b669c;    
  }

  h2{
    text-align: center;
    padding: .5em;
    font-family: "Kanit";
    font-size: 3em;
  }


h1.display-1{
    font-weight: 500;
    font-family: Kanit;
}
/* Beginning of the website examples */
h2.examples{
  margin-top: 3em;
}
/* Start of the overlays for each website image */
.examples {
  text-align: center;
  margin-top: 1em;
}
.pages button {
  /* Override Bootstrap defaults */
  background-color: #f8f9fa;
  border: 2px solid #ec3963;
  color: #ec3963;
  font-size: 1.1rem;
  padding: 0.5em 1em;
  margin: 0.5em;
  transition: all 0.3s ease;
  font-family: "Kanit";
  font-weight: 300;
  margin: 1em;
}

.pages button:hover {
  background-color: #ec3963;
  color: #fff;
}

.pages button.active {
  background-color: #ec3963;
  color: #fff;
}
.pages {
  text-align: center;
  margin-bottom: 3em;
}
.badge {
  margin: 0 0.5em;
  cursor: pointer;
}
.active {
  background-color: #EC3963 !important;
  color: #fff;
}
.image {
  position: relative;
}
.boxes {
  box-shadow: 7px 7px 2px rgb(187, 187, 187);
}
.image__img {
  display: block;
  width: 100%;
}
.image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #EC3963;
  color: #ffffff;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
  font-family: "Kanit";
}
.image__overlay > * {
  transform: translateY(50px);
  transition: transform 0.5s;
}
.image__overlay:hover {
  opacity: 1;
}
.image__overlay:hover > * {
  transform: translateY(0);
}
.image__title {
  font-size: 2em;
  font-weight: bold;
  font-family: "Kanit";
}
.image__description {
  font-size: 1.25em;
  margin-top: 0.25em;
  text-align: left;
}
.button-23 {
  background-color: #ffffff73;
  border: 1px solid #ffffff;
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 23px;
  text-align: center;
  text-decoration: none;
}

/* start of the card carousel for the alumni */
section.students {
  position: relative;
  height: 450px;
  padding: 15px;
  padding: 0 70px;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  margin: 0 auto;
  margin-bottom: 3em;
}


.card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.card::before {
  content: "";
  position: absolute;
  height: 40%;
  width: 100%;
  background: #46A9D3;
  border-radius: 20px 20px 0 0;
}
.card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  position: relative;
  z-index: 100;
}
section .card .image {
  height: 140px;
  width: 140px;
  border-radius: 50%;
  padding: 3px;
  background: #46A9D3;
}
section .card .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
}

.card .name-profession {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  color: black;
}
.name-profession .name {
  font-size: 20px;
  font-weight: 600;
}
.name-profession .profession {
  font-size: 15px;
  font-weight: 500;
}
/* this is the code for the navigation controls for the carousel */
.swiper-pagination {
  position: absolute;
}
.swiper-pagination-bullet {
  height: 7px;
  width: 26px;
  border-radius: 25px;
  background: #46A9D3;
}
.swiper-button-next,
.swiper-button-prev {
  opacity: 0.7;
  color: #46A9D3;
  transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  color: #46A9D3;
}
/* Responsive media query code for small screens */
@media (max-width: 768px) {
  section {
    padding: 15px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}
.bg-hero-image{
  background-color: #46A9D3;
}

.accordion{
  margin: 1em;
}

.accordion-body {
  padding: 20px; /* Reduce padding inside the content */
}
li{
  font-family: "Kanit";
}

.majors {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: flex-start;
}
/*Start of the majors section */
.programs {
  background-color: #EC3963;
  padding-bottom: 1.5em;
}
.container-select {
  padding: 40px;
}
.heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0em;
  text-align: center;
}
.subtext {
  margin-top: 0;
  margin-bottom: 2em;
  font-weight: 300;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  color: white;
}
.menu-item:hover, .menu-item:focus {
  outline: 2px solid white;
}
.back-button {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
  display: inline-block;
}
.back-button:hover {
  background-color: white;
  color: #c3002f;
}
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  background-color: #46A9D3; /* Set a background color */
  color: white; /* Text color */
  font-family: 'Poppins';
}

#myBtn:hover {
  background-color: #46A9D3; /* Add a dark-grey background on hover */

  color: white;
}
h1.question{
padding: 2em;
}
.accordion{
  margin-top: 2em;
  text-align: left;
  margin-right: 5em;
  margin-left: 5em;
  margin-bottom: 5em
}

.accordion-item{
  list-style: none;
  margin-bottom: 2em;
  padding: 10px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
  -6px -6px 10px -1px rgba(255, 255, 255, 0.7);

}

.accordion li label{
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: 500;
  cursor: pointer;
}

label::before{
  content: '+';
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600;
}

input[type="radio"]{
  display: none;
}

.accordion .content{
  color: #555;
  padding: 0 10px;
  line-height: 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, padding 0.5s;
}

.accordion input[type="radio"]:checked + label + .content{
  max-height: 400px;
  padding: 10px 10px 20px;
}

.accordion input[type="radio"]:checked + label::before{
  content: '-';
}
h1#change-title{
  margin: 3em;
  font-family: "Kanit";
}
.majorBtn {
  all: unset; /* Removes default button styles */

}
/* this is the code to lay out the grid for the alumni universities section */
.row{
  margin-left: 5em;
  margin-right: 5em;
}
.college-item {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.college-item:hover {
  transform: scale(1.1);
}

.college-logo {
  width: 100px; /* Adjust as needed */
  height: auto;
  object-fit: contain;
  margin: 10px; /* Adds spacing between logos */
}

.college-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
}
.grid{
  margin-bottom: 3em;
}
.college-item:hover .college-info,
.college-item.active .college-info {
  opacity: 1;
}
@media (min-width: 992px) {  
  .row {
    margin-left: 10em;
    margin-right: 10em;
  }
}

/* Remove extra margins on medium and small screens */
@media (max-width: 991px) {  
  .row {
    margin-left: 5em;
    margin-right: 5em;
  }
}

.up{
  border-color: transparent;
  background-color: var(--current-color);
  text-align: center;
  color: white;
  margin: 2rem;
  border-radius: 100%;
  width: 3rem; /* Adjust as needed */
  height: 3rem;
  background-repeat: no-repeat;
  align-items: center;
  font-size: 2rem;
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: 2px solid white;
}
.up:hover{
  background-color: grey;
 color: var(--current-color);
 border: 2px solid white;
}
.arrow{
  color: #ffffff;
  text-decoration: none;
}
.arrow:hover{
  color: var(--current-color);
}
a{
  text-decoration: none;
}

h3 {
  font-family: "Kanit";
}
.typing {
  margin-top: 6em;
}
.text-boxes {
  height: 200px; /* Maintain fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #BB67A3;
  padding: 20px;
  overflow: hidden; /* Prevent text overflow */
  max-width: 100%;
}

/* Ensure the heading remains fixed */
.text-boxes h3 {
  margin-bottom: 10px;
}

/* Typing effect for paragraph text */
.typing-text {
  font-size: 1.1rem;
  display: block;
  white-space: normal; /* Allow text wrapping */
  overflow: hidden;
  max-width: 100%;
}

/* Prevents text from getting cut off */
#typedText {
  max-height: 100px; /* Set a max height */
  overflow-y: auto; /* Add scrolling if necessary */
  padding: 5px;
}

/* Make the text box flexible for small screens */
@media (max-width: 768px) {
  .text-boxes {
      height: auto; /* Adjust height for smaller screens */
      padding: 15px;
  }

  #typedText {
      max-height: 120px; /* Allow for more space on smaller screens */
  }
}
p{
  font-family: "Kanit";
}
/*scrollbar styling (Thank you Mahek) */
::-webkit-scrollbar {
  width: 12px; 
}

::-webkit-scrollbar-track {
background-color: #808080;
}

::-webkit-scrollbar-thumb {
  background-color: #46A9D3;
    
}

::-webkit-scrollbar-thumb:hover {
  background-color: #46A9D3;
}
.randomtest{
  color:var(--current-color);
}