body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.hero,
body,
html {
  background: none;
}

body,
html {
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;

}

/*header*/

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-nav {
  background-color: rgba(0, 94, 174, 1);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 100px;
}

.top-nav-left,
.top-nav-right {
  display: flex;
  gap: 20px;
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  position: relative;
}

.main-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid #e0e0e0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  padding: 15px 0;
  color: rgba(59, 59, 59, 1);
  font-size: 19px;
  font-weight: 500;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
}

.main-nav img {
  height: 95px;
  padding-top: 40px;
  z-index: 99;
  position: absolute;
  display: block;
  margin: auto;
}

.main-nav a:hover {
  background-color: #f0f0f0;
}


.main-content {
  margin-top: 160px;
}

/* Quick links dropdown */
.quick-links {
  position: relative;
}

.quick-links-btn {
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.quick-links-btn i {
  margin-left: 5px;
}

/* Search */
.search-container {
  display: flex;
  align-items: center;
}

.search-text {
  margin-right: 5px;
  font-size: 14px;
}

.search-icon {
  color: #ffcc00;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/*hero*/

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}



.hero-buttons {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}



.hero-btn {

  margin-top: -40px;
  background-color: rgba(0, 94, 174, 1);
  color: white;
  border: none;
  padding: 15px 25px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  min-width: 295px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-btn::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(254, 204, 47, 1);
  z-index: -1;
}

.hero-btn i {
  color: rgba(254, 204, 47, 1);
  font-size: 2rem;
  font-weight: 900;
}

.fa, .fas {
    font-weight: 900;
}


/*program-search*/

.program-search-section {
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 40px 20px;
  display: flex;
  flex-direction: column;

  gap: 20px;


}

.program-search-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: rgba(0, 94, 174, 1);

  margin-bottom: 10px;
  text-align: center;
}

.program-search-section p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 94, 174, 1);
  margin-bottom: 10px;
  text-align: center;
}


.search-box {
  display: flex;
  justify-content: center;
  align-items: center;

}

.search-box input {
  padding: 15px;
  width: 100%;
  border: 2px solid rgba(0, 90, 177, 0.6);
  border-radius: 6px 0 0 6px;
  font-size: 18px;
  color: rgba(0, 94, 174, 0.6) !important;
  max-width: 850px;



}

.search-box button {
  background-color: rgba(0, 94, 174, 1);
  padding: 15px 20px;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 20px;
  cursor: pointer;
}

.about {
  background-color: white;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;

}

.about p {
  font-size: 24px;
  font-weight: 400;
  color: rgba(0, 94, 174, 1);
  margin-bottom: 10px;
  text-align: center;
  line-height: 40px;
  max-width: 1200px;

}



.program-search-section::after{
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: rgba(254, 204, 47, 1);
  margin-top: 50px;
}


/*statistics*/
.university-statistics {
  background-image: url(stat_image.jpg);
  background-size: cover;
  background-position: center;
  padding: 40px 20px;
  position: relative;
  margin: 0 auto;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;


}

.university-statistics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 204, 47, 0.85);
  z-index: -1;
}

.university-statistics h2 {
  font-size: 20px;
  font-weight: 700;
  color: #005AB1;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.stats-container {
  display: flex;

  max-width: 1280px;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;

  color: white;
  padding: 30px 30px;

  transition: all 0.3s ease;
  max-width: 300px;
}

.number {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(0, 50, 102, 1);


}

.description {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: #005AB1;
}

.description::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  margin-bottom: 10px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

/*testimonials*/


.mount-moments-section {
  position: relative;
  padding: 0px 0 60px 0;
  overflow: hidden;
}

.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: -1;
}
.white-box{
  padding-top: 20px;

}

.moments h1 {

  font-size: 36px;
  margin-bottom: 30px;
  color: rgba(0, 94, 174, 1);
}



.testimonial-slider-container {
  position: relative;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin-bottom: 20px;

}

.student-card {
  flex: 0 0 30%;
  padding: 0 10px;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

.student-card.active {
  opacity: 1;
  transform: scale(1);
}

.photo-wrapper {
  position: relative;
   aspect-ratio: 1;
 
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}



.info-overlay {
  background: rgba(0, 94, 174, 0.8);
  color: #fff;
  padding: 15px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}


.info-overlay .name {
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 3px solid #f4c100;
  margin-bottom: 10px;
}

.info-overlay .quote {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}


.student-card:hover .info-overlay .quote {
  max-height: 200px; 
  opacity: 1;
}
 



.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: rgba(0, 94, 174, 1);
}

.blur-card .photo-wrapper img {
  filter: blur(3px) brightness(0.85);
}

.navigation-arrows {
  position: absolute;
  top: 38%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 5;
  padding: 0 10px;
  box-sizing: border-box;
}

.nav-arrow {
  background-color: rgba(0, 94, 174, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  opacity: 45%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

.nav-arrow:hover {
  background-color: rgba(0, 94, 174, 1);
  transform: scale(1.1);
  opacity: 100%;
}

.nav-arrow:focus {
  outline: none;
}

.nav-arrow.prev {
  margin-left: -5px;
}

.nav-arrow.next {
  margin-right: -5px;
}

@media (max-width: 992px) {
  .student-card {
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .student-card {
    flex: 0 0 100%;
  }
}

.schedule-button {
  display: block;
  margin: 20px auto 0;
  color: rgba(0, 94, 174, 1);
  background-color: white;
  padding: 10px 35px;
  border: 1px solid rgba(0, 94, 174, 1);
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
}

.schedule-button:hover {
  background-color: rgba(0, 94, 174, 1);
  color: white;
  transition: all 0.3s ease;
}

/*news and events*/
.news-events-section {
  background-image: url(https://www.msj.edu/_images/homepage/Blue-Crest-Watermark.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;

  margin: 0 auto;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.news-events-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(66.66% - 0.5px);
 
  width: 1px;
  background-color: #ccc;

}

.news-events-section h3 {
  color: rgba(0, 94, 174, 1);
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;

  text-transform: uppercase;
  padding-left: 120px;
}

.main-news .news-image {
  width: 100%;
  height: auto;

}

.news-content {
  padding: 10px 0;
}

.news-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: rgba(0, 94, 174, 1);
}

.news-date {
  font-size: 14px;
  color: gray;

}

.small-news .news-item {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.small-news img {
  width: 80px;
  height: 80px;
  object-fit: cover;

}

.news-text {
  flex: 1;
}

.news-title-sm {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: rgba(0, 94, 174, 1);
  padding: 0 15px 0 0;
}

.news-date-sm {
  font-size: 13px;
  color: gray;
}

.event-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 20px;

}

.event-card {
  background-color: rgba(0, 94, 174, 1);
  padding-left: 10px;

}

.event-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.view-button {
  margin-top: 15px;
  padding: 10px 16px;
  background-color: white;
  border: 1px solid rgba(0, 94, 174, 1);
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  max-width: 250px;
  color: rgba(0, 94, 174, 1);
  ;
}

.view-button:hover {
  background-color: rgba(0, 94, 174, 1);
  color: white;
  transition: all 0.3s ease;
}


/*social*/


.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
  margin: 0 auto;
  padding: 50px 0;

}


.explore-virtually {
  background-color: white;
  color: rgba(0, 50, 102, 1);
  padding: 0 20px;
  border-radius: 8px;
  grid-column: 1;

}

.explore-virtually h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: rgba(0, 50, 102, 1);
  line-height: 1.1;
  text-transform: uppercase;
}
.explore-virtually h2::after {
  content: "";
  display: block;
  width: 75%;
  height: 4px;
  background-color: rgba(254, 204, 47, 1);
  margin: 20px 0 40px 0;
}

.explore-virtually p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 60px;
}





.grid-item {
  border-radius: 8px;
  overflow: hidden;

  transition: transform 0.3s ease;
  background-color: white;
  position: relative;
}

.grid-item:hover {
  transform: translateY(-5px);
}

.grid-item img:not(.play-icon) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}



.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
  pointer-events: none;
  
}



@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .explore-virtually {
    grid-column: span 2;
    grid-row: span 1;
  }

  .grid-item-large,
  .grid-item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: 1fr;
  }

  .explore-virtually,
  .grid-item-large,
  .grid-item-wide {
    grid-column: span 1;
  }
}



/*footer*/
.footer {
  background-color: rgba(0, 94, 174, 1);
  color: white;
  padding: 20px;
  margin-top: -10px;
  padding-top: 0;
  border-top: 4px solid rgba(254, 204, 47, 1);


}

.footer-address {
  color: white;
}

.footer-social-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;

}

.social-icon {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  color: white !important;
  text-decoration: none;
}

.footer-social-icons a {
  color: white;
  text-decoration: none;
  font-size: 14px;


}

.footer-content {
  display: flex;
  text-decoration: none;
  color: white;
  justify-content: space-between;

  padding: 80px;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  gap: 0px;
}

.footer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}