/* styles-desktop.css */

@font-face {
  font-family: 'NRT';
  src: url('content/fonts/NRT-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* Apply NRT Font to Header and Navbar */
.banner h6,
.navbar ul li a {
  font-family: 'NRT', sans-serif !important;
  font-weight: bold;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
}

body {
  font-family: 'NRT', Arial, sans-serif;
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Banner Styling */
.banner {
  background-color: #d32f2f;
  color: white;
  text-align: center;
  padding: 40px 20px;
  width: 100%;
}
.banner h6 {
  margin: 0;
  font-size: 1em;
}
.banner img {
  height: 100px;
  vertical-align: middle;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  background-color: #f0f0f0;
  padding: 1rem;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  position: relative;
  z-index: 2000;
}
.navbar ul {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navbar ul li {
  position: relative;
}
.navbar ul li a {
  color: #333;
  padding: 14px 20px;
  text-decoration: none;
  display: block;
  border-left: 1px solid white;
  border-right: 1px solid white;
}
.navbar ul li a:hover {
  background-color: #ddd;
}

/* Mega Menu */
.mega-menu {
  position: relative;
}
.mega-menu .mega-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 650px;
  background-color: white;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 3000;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.mega-menu:hover .mega-content {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.mega-content .mega-column {
  flex: 1;
  padding: 10px;
}
.mega-content .mega-column h4 {
  font-size: 16px;
  color: #d32f2f;
  margin-bottom: 10px;
  font-weight: bold;
}
.mega-content .mega-column a img {
  margin-right: 8px;
  width: 16px;
  height: auto;
}
.mega-content .mega-column a {
  display: flex;
  align-items: center;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.mega-content .mega-column a:hover {
  color: #d32f2f;
}

.mega-menu.exams-menu .mega-content {
  width: 300px !important;
  min-width: 250px;
  max-width: 350px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brands Section */
.brands {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
}
.brands .brand-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.brands .brand-item {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}
.brands .brand-item img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 10px 20px;
  width: 100%;
}
.footer p {
  margin: 0;
}

/* Scroll-to-Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

/* Gallery Styling */
.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 10px;
}

.gallery-item {
  text-align: center;
  background-color: #fff;
  padding: 5px;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
}
.gallery-item img {
  border: 2px solid red;
  border-radius: 8px;
}
.gallery-item .caption {
  font-size: 14px;
  font-weight: bold;
  color: black;
  margin-top: 5px;
  transition: color 0.3s ease;
}
.gallery-item:hover .caption {
  color: red;
}

.slider-area img {
  width: 100%;
  height: 490px;
  max-height: 490px;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid red;
}

.side-images {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.side-images .gallery-item {
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.side-images .gallery-item img {
  height: 120px;
  width: 220px;
  object-fit: cover;
  border: 2px solid red;
  border-radius: 8px;
}

.bottom-gallery .col img {
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid red;
}

/* NRT Caption for Slider */
.nrt-caption {
  font-family: 'NRT', sans-serif;
  color: black;
  transition: color 0.3s ease;
}
.nrt-caption:hover {
  color: red;
}

.gallery-caption {
  font-family: 'NRT', sans-serif;
  color: black;
  transition: color 0.3s ease;
  text-align: center;
  margin-top: 10px;
}
.gallery-caption:hover {
  color: red;
}