/* Styles for Pages */
body {
  font-family: 'Calibre';
  src: url('Calibre-Regular.eot');
  src: url('Calibre-Regular.eot?#iefix') format('embedded-opentype'),
    url('Calibre-Regular.woff2') format('woff2'),
    url('Calibre-Regular.woff') format('woff'),
    url('Calibre-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  background-color: #f4f4f4;
}

/* Button Hover Animation */
button,
.begin-btn img,
.begin-btn-2,
.view-btn img,
.home-btn img,
.exam-btn img,
.submission-btn img {
  transition: transform 0.3s ease, shadow 0.3s ease;
}

button:hover,
.begin-btn img:hover,
.begin-btn-2 img:hover,
.view-btn img:hover,
.home-btn img:hover,
.submission-btn img:hover,
.exam-btn img:hover {
  transform: scale(1.10);
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background-color: #353535;
  z-index: 1000;
  transition: height 0.3s ease;
}

.navbar.scroll {
  height: 100px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  flex: 1;
}

.navbar-brand img {
  width: 30px;
  height: auto;
}

.navbar-title {
  font-family: 'Calibre', sans-serif;
  font-weight: 600;
  color: #F4F4F4;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.navbar-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: padding 0.3s ease;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 130px;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0;
}

.navbar-menu a:hover,
.right-menu a:hover {
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
  transition: text-shadow 0.3s ease;
}

.navbar-menu li {
  display: inline;
}

.navbar-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  margin: 30px;
  justify-content: space-between;
  display: flex;
  color: #F4F4F4;
  align-items: center;
}

.right-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exam-btn img {
  width: 130px;
  height: auto;
  margin-right: 115px;
}

.right-menu .favicon {
  width: 40px;
  height: auto;
}

.right-menu .menu-icon {
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.menu-bar {
  width: 100%;
  height: 4px;
  background-color: #F4F4F4;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.menu-bar:before,
.menu-bar:after {
  content: '';
  width: 100%;
  height: 4px;
  background-color: #F4F4F4;
  position: absolute;
  left: 0;
}

.menu-bar:before {
  top: -10px;
}

.menu-bar:after {
  bottom: -10px;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  display: none;
  position: fixed;
  right: 0;
  top: 90px;
  background-color: #353535;
  color: #F4F4F4;
  padding: 20px;
  border-radius: 5px;
  width: 300px;
  z-index: 1000;
}

.dropdown-menu h3,
.dropdown-menu h4 {
  margin-bottom: 5px;
}

.dropdown-menu ul {
  list-style: none;
  padding-left: 0;
}

.dropdown-menu ul li {
  margin-bottom: 0;
}

.dropdown-menu ul li a {
  text-decoration: none;
  color: #F4F4F4;
}

.dropdown-menu ul li a:hover {
  text-decoration: underline;
}

/* Show dropdown */
.show {
  display: block;
}

/* Background Container */
.bg-container {
  width: 100%;
  height: calc(100vh - 102px);
  background: url('img/bg-img.webp') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  margin-top: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bg-container2 {
  width: 100%;
  height: calc(100vh - 102px);
  background: url('img/bg-img2.webp') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  margin-top: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Content Container*/
.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.welcome-text {
  max-width: 80%;
  height: auto;
  margin-bottom: 20px;
}

/* Beating Animation for the Begin Button*/
@keyframes beating {
  0%, 100% {
    transform: scale(1); 
  }
  50% {
    transform: scale(1.1); 
  }
}

.begin-btn img {
  max-width: 30%;
  margin-top: 10px;
  height: auto;
  animation: beating 2.0s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.begin-btn img {
  max-width: 30%;
  height: auto;
}

/* Carousel Styles */
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  /* Initially hidden */
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
  /* Show active items */
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  /* Center vertically */
  transform: translateY(-50%);
  /* Adjust positioning */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  opacity: 0.9;
  /* Change opacity on hover */
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding: 20px;
  /* Combined padding */
  color: #fff;
  text-align: center;
}

/* New Section Below the Background Image */
.new-section {
  width: 100%;
  background-color: #353535;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.slider {
  width: 90%;
  height: 450px;
  position: relative;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.discover-section {
  text-align: center;
}

.discover-text {
  display: block;
  max-width: 60%;
  margin: 0 auto;
}

.view-btn {
  display: block;
  margin-top: 20px;
  margin-bottom: 80px;
}

.view-btn img {
  max-width: 15%;
  height: auto;
}

.slide-track {
  display: flex;
  width: calc(450px * 14);
  animation: scroll 40s linear infinite;
}

.slide-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slide {
  height: 400px;
  width: 450px;
  margin: 15px;
  display: flex;
  align-items: center;
  padding: 3px;
  perspective: 250px;
}

img {
  width: 100%;
  transition: transform 1s;
}

img:hover {
  transform: translateZ(20px);
}

/* Gradient Shadows */
.slider::before,
.slider::after {
  background: linear-gradient(to right, rgba(53, 53, 53, 1) 0%,
      rgba(255, 255, 255, 0) 100%);
  content: '';
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
}

.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/* Level One Section */
.levelone-section {
  width: 100%;
  background-color: #353535;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.levelone-text {
  width: 100%;
  /* Default width for larger screens */
  max-width: 600px;
  /* Optional: Set a max width for larger screens */
}

.levelone-section img {
  max-width: 90%;
  height: auto;
}

.levelone-section .begin-btn-2 {
  margin-top: 20px;
}

.levelone-section .begin-btn-2 img {
  max-width: 20%;
  height: auto;
}

.right-column2 {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.right-img {
  max-width: 50%;
}

.begin-btn-2 {
  margin-top: 20px;
}

.begin-btn-2 img {
  max-width: 10%;
  padding-bottom: 10px;
}

/* Reminders Section */
.reminders-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reminders-section img {
  max-width: 100%;
  height: auto;
}

/* After Exam Section */
.afterexam-section {
  width: 100%;
  background-color: #353535;
  display: flex;
  justify-content: center;
  align-items: center;
}

.afterexam-section img {
  max-width: 100%;
  height: auto;
}

/* Join Section */
.join-txt {
  width: 100%;
  background-color: #353535;
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-txt img {
  max-width: 90%;
  height: auto;
}

/* Two Column Section */

.two-column-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.two-column-section2 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.column {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-column2 {
  background-color: #ffffff;
}

.right-column2 {
  background-color: #ffffff;
}

.left-column img {
  max-width: 100%;
  height: auto;
  display: block;
}

.right-column img {
  max-width: 100%;
  height: auto;
  display: block;
}

.left-column2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.right-column2 img {
  max-width: 90%;
  height: auto;
  display: block;
  margin-top: 2px;
}

.levelone-img2 {
  max-width: 10%;
  height: auto;
  display: block;
  margin: 10px auto;
}

.begin-btn-2 img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 5px auto;
}

/* Finished Section */
.finished-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.finished-section img {
  max-width: 80%;
  height: auto;
}

.finished-txt {
  margin-bottom: 20px;
  max-width: 50%;
}

.home-btn img {
  max-width: 30%;
  height: auto;
  margin-top: 20px;
}

.submission-btn img{
  max-width: 30%;
  height: auto;
  margin-top: 20px;
}

.submission-btn
{
    background-color: #F4F4F4;
    color: black;
    border-radius: 28px;
    padding: 8px;
    margin-top:50px;
    height: 68px;
    width: 164px;
    margin-bottom:10px;
}

.submission-btn:hover
{
    background-color: white;
    color: black;
}

/* Responsiveness */

/* Large screens (1920px and up) */
@media (min-width: 1920px) {
  .navbar-container {
    padding: 0 80px;
  }

  .navbar-menu {
    gap: 150px;
  }

  .join-txt img {
    max-width: 90%;
    height: auto;
  }

  .exam-btn img {
    width: 130px;
    margin-right: 250px;
  }

  .begin-btn img {
    max-width: 25%;
  }

  .begin-btn-2 img {
    max-width: 50%;
    padding-bottom: 20px;
  }

  .discover-text {
    max-width: 50%;
  }

  .view-btn img {
    max-width: 10%;
  }

  .join-txt img {
    max-width: 40%;
    height: auto;
  }


  .levelone-section img,
  .afterexam-section img {
    max-width: 90%;
  }

  .levelone-img2 {
    max-width: 45%;
  }

  .begin-btn-2 img {
    max-width: 50%;
    padding-bottom: 20px;
  }
}

@media (max-width: 3840px) and (min-width: 960px) {
  .begin-btn-2 img {
    max-width: 90%;
  }

  .levelone-txt img {
    max-width: 70%;
  }
}

/* Tablets (768px - 1199px) */
@media (max-width: 1199px) {
  .navbar-menu {
    gap: 20px;
  }

  .join-txt img {
    width: 100%;
    height: auto;
  }

  .exam-btn img {
    margin-right: 50px;
    margin-bottom: 5px;
    width: 100px;
  }

  .right-menu .favicon {
    width: 30px;
  }

  .navbar-container {
    padding: 0 20px;
  }

  .bg-container {
    height: calc(100vh - 102px);
    background-size: cover;
  }

  .content-container {
    padding: 20px;
  }

  .welcome-text {
    max-width: 70%;
  }

  .begin-btn img {
    max-width: 25%;
  }

  .discover-text {
    max-width: 70%;
  }

  .view-btn img {
    max-width: 20%;
  }

  .slider {
    height: 350px;
  }

  .slide {
    width: 300px;
    height: 300px;
  }

  .join-txt img {
    width: 100%;
    height: auto;
  }


  .levelone-section img {
    max-width: 100%;
  }

  .afterexam-section img {
    max-width: 100%;
  }

  .levelone-img2 {
    max-width: 5%;
  }

  .begin-btn-2 img {
    width: 80%;
    margin-bottom: 30px;
  }

  .two-column-section2 {
    flex-wrap: wrap;
  }

  .column {
    flex: 1 1 100%;
  }

  .finished-txt {
    max-width: 70%;
  }

  .home-btn img {
    max-width: 30%;
  }
  
    .submission-btn img {
    max-width: 30%;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .navbar-container {
    flex-direction: row;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-title {
    display: none;
  }

  .navbar-brand {
    justify-content: center;
  }

  .join-txt img {
    max-width: 50px;
  }

  .right-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
  }

  .exam-btn img {
    width: 100px;
    margin: 0;
  }
  
  .favicon {
    width: 25px;
    margin-left: 80px;
  }

  .menu-icon {
    display: inline-block;
    margin: 0;
  }

  .begin-btn img {
    width: 40%;
  }

  .begin-btn-2 img {
    max-width: 50%;
    padding-bottom: 10px;
  }

  /* Background and Content Adjustments */
  .bg-container {
    height: calc(100vh - 102px);
    background-size: cover;
  }

  .content-container {
    padding: 10px;
  }

  .welcome-text {
    max-width: 90%;
  }

  .begin-btn img {
    max-width: 25%;
  }

  /* Dropdown Menu */
  .dropdown-menu {
    position: fixed;
    top: 102px;
    right: 0;
    width: 100%;
    padding: 20px 20px;
    background-color: #353535;
  }

  .dropdown-menu ul {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu ul li {
    margin-bottom: 10px;
  }

  .dropdown-menu ul li a {
    font-size: 18px;
  }

  .slider {
    height: 250px;
  }

  .slide {
    width: 200px;
    height: 200px;
  }

  .discover-text {
    max-width: 90%;
  }

  .view-btn img {
    max-width: 30%;
  }

  .reminders-txt img {
    max-width: 70%;
  }

  .levelone-section img {
    max-width: 100%;
  }

  .afterexam-section img {
    max-width: 100%;
  }

  /* Two Column Section */
  .two-column-section2 {
    flex-direction: column;
  }

  .column {
    width: 100%;
  }

  .finished-txt {
    max-width: 100%;
  }

  .home-btn img {
    max-width: 25%;
  }
  
    .submission-btn img {
    max-width: 25%;
  }
}