@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Fonts */
body {
  font-family: "Inter", sans-serif !important;
}

/* Global Colors */
:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #2c4964;
  --accent-color: #1977cc;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #2c4964;
  --nav-hover-color: #1977cc;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #2c4964;
  --nav-dropdown-hover-color: #1977cc;
}

a {
  text-decoration: none !important;
}

:root {
  --darkBlue: #00013e;
  --bgBlue: #191a78;
  --buttonBG: #2e3094;
  --videOverlay: #000129;
  --NavyBlue: #0a0f36;
  --purplishblue: #2e3094;
  --diuOrange: #ffe240;
}

/* Example of using the custom colors */
.bg-darkBlue {
  background-color: var(--darkBlue);
}

.bg-bgBlue {
  background-color: var(--bgBlue);
}

.bg-buttonBG {
  background-color: var(--buttonBG);
}

.bg-videOverlay {
  background-color: var(--videOverlay);
}

.bg-NavyBlue {
  background-color: var(--NavyBlue);
}

.bg-purplishblue {
  background-color: var(--purplishblue);
}

.bg-diuOrange {
  background-color: var(--diuOrange);
}

.text-darkBlue {
  color: var(--darkBlue);
}

.text-bgBlue {
  color: var(--bgBlue);
}

.text-buttonBG {
  color: var(--buttonBG);
}

.text-videOverlay {
  color: var(--videOverlay);
}

.text-NavyBlue {
  color: var(--NavyBlue);
}

.text-purplishblue {
  color: var(--purplishblue);
}

.text-diuOrange {
  color: var(--diuOrange);
}

/* Color Presets */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .topMenu a {
  color: black;
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
  text-transform: uppercase;
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    display: flex;
    flex-direction: column;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* Mobile menu bottom styling */
.mobile-menu-bottom {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  background-color: #ffffff;
  width: 100%;
  position: relative;
  order: 2;
}

.mobile-menu-bottom a {
  color: var(--nav-color);
  padding: 0.75rem 20px;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.mobile-menu-bottom a:hover {
  color: var(--nav-hover-color);
  padding-left: 20.5rem;
}

.mobile-menu-bottom a i {
  margin-right: 0.5rem;
}

/* Show mobile menu bottom when nav is active */
.mobile-nav-active .mobile-menu-bottom {
  display: flex;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------*/
.diuBtn {
  color: white !important;
  transition: all 0.5s ease-in-out;
  border: 1px solid transparent;
  text-decoration: none;
}

.diuBtn:hover {
  background-color: white;
  border: 1px solid #ffe240;
  color: #b69b01 !important;
}

.curriculum-card {
  min-height: 350px;
}

.navy-blue-bg {
  background-color: #1a2b3c;
}

.purplish-blue-bg {
  background-color: #4a4e69;
}

.curriculum-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.specialization-item {
  cursor: pointer;
  transition: color 0.3s ease;
}

.specialization-item:hover .specialization-text {
  color: #ff6b3c;
  /* DIU Orange equivalent */
}

.specialization-item:hover .specialization-icon {
  color: #ff6b3c;
  /* DIU Orange equivalent */
}

.specialization-image {
  object-fit: cover;
  max-height: 800px;
  width: 100%;
}

@media (max-width: 768px) {
  .specialization-image-container {
    display: none;
  }
}

.learnForm {
  padding: 50px 0px !important;
}

.bg-image {
  background-image: url("/img/c1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-overlay {
  background: linear-gradient(to right, #2e3094, rgba(0, 1, 62, 0.8));
}

.video-thumbnail {
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.play-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.play-button-inner {
  background: white;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter {
  font-size: 2rem;
}

@media (min-width: 992px) {
  .counter {
    font-size: 3rem;
  }
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1050;
}

.card {
  border: none;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  /* Soft shadow */
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

/* Hover Effect */
.card:hover {
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.group:hover .group-hover\:text-warning {
  color: #ffc107 !important;
}

.bg-gradient-dark {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.memory-lane-carousel .item {
  position: relative;
  text-align: left;
}

.memory-lane-carousel .image-container {
  position: relative;
  overflow: hidden;
}

.memory-lane-carousel .image-container img {
  height: 700px;
  object-fit: cover;
  width: 100%;
}

/* Overlay Effect */
.memory-lane-carousel .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to top, rgba(1, 0, 71, 0.911), transparent);
  z-index: 5;
}

/* Caption */
.memory-lane-carousel .caption {
  position: absolute;
  bottom: 10px;
  left: 50px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
}

/* Dots Positioned at the Bottom */
.owl-dots-container {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.owl-dots {
  text-align: center;
}

.owl-dot {
  width: 10px;
  height: 10px;
  background: #d3d3d3;
  border-radius: 50%;
  border: none;
  display: inline-block;
  margin: 0 5px;
  transition: background 0.3s ease;
}

.owl-dot.active {
  background: #ff9800;
}

.cardbody img {
  max-height: 120px;
}

.student-testimonials-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-hover-container img:hover {
  transform: scale(1.1);
}

/* New CSS  */
.owl-carousel .owl-item {
  transition: opacity 0.8s ease;
}

.fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* Hero section styling */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Item styling with inline background */
.hero-carousel .item {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay for better text readability */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.8) 30%,
      rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

/* Content styling */
.slide-content {
  position: relative;
  z-index: 5;
  padding: 30px 0;
}

/* Navigation arrows styling */
.owl-nav {
  position: absolute;
  display: none;
}

/* Dots styling */
.owl-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
}

.owl-dots .owl-dot {
  margin: 0 5px;
}

/* Progress bar */
.owl-carousel .owl-controls {
  position: relative;
}

.slide-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.slide-progress {
  height: 3px;
  background-color: #fff;
  width: 0;
}

/* Button styling */
.btn {
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-warning {
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.btn-diuOrange {
  background-color: var(--diuOrange);
  border-color: var(--diuOrange);
  color: #333;
  font-weight: 600;
}

.btn-diuOrange:hover {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 226, 64, 0.4);
}

/* Animation delay for staggered animations */
.animate__animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .slide-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
  }
}

@media (min-width: 992px) {
  .slide-content {
    padding: 0;
  }
}

/* Video Slider  */

.video-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: #ff0000;
  font-size: 2.5rem;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 2;
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 15px;
  margin: 0;
  font-weight: 500;
}

.video-item:hover .play-button {
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-item:hover .video-thumbnail {
  transform: scale(1.05);
}

.modal-xl {
  max-width: 90%;
  /* Default width for mobile */
  margin: 1rem auto;
}

/* Medium devices (tablets) */
@media (min-width: 768px) {
  .modal-xl {
    max-width: 80%;
    margin: 1.75rem auto;
  }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
  .modal-xl {
    max-width: 70%;
  }
}

/* Extra large devices */
@media (min-width: 1200px) {
  .modal-xl {
    max-width: 50%;
  }
}

/* Additional modal responsive styles */
@media (max-width: 576px) {
  .modal-header {
    padding: 10px 15px;
  }

  .modal-header .btn-close {
    padding: 8px;
  }

  .video-title {
    font-size: 14px;
    padding: 10px;
  }
}

.modal-content {
  background-color: #000;
  border-radius: 12px;
}

.modal-header {
  border-bottom: none;
  padding: 15px 20px;
}

.modal-header .btn-close {
  background-color: white;
  opacity: 1;
  padding: 10px;
  transition: transform 0.3s ease;
  /* Add smooth transition */
}

.modal-header .btn-close:hover {
  transform: rotate(180deg);
  /* Rotate 180 degrees on hover */
}

.modal-body {
  padding: 0;
}

.modal-video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.carousel-prev,
.carousel-next {
  width: 40px;
  height: 40px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.carousel-next {
  transform: translateX(50%);
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--accent-color) !important;
  color: white;
}

.carousel-prev i,
.carousel-next i {
  font-size: 20px;
}

.counter-item {
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.counter-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.counter {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #fff, #ffe240);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }

  .slide-content {
    padding: 2rem 0;
  }

  .bullet-point {
    font-size: 0.875rem;
  }

  .bullet-point i {
    font-size: 0.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .slide-overlay {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 100%);
  }

  .hero-section h2 {
    font-size: calc(1.5rem + 1vw) !important;
  }

  .bullet-point span {
    font-size: 0.8rem;
  }
}

/* Improve slide content visibility */
.slide-content {
  z-index: 5;
  position: relative;
}

/*--------------------------------------------------------------
# Admission Popup Modal Styles
--------------------------------------------------------------*/
.modal-icon-spacing {
  margin-top: 3px;
}

.admission-modal-image {
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.text-heading {
  color: var(--heading-color);
}

.modal-content {
  background-color: #f8feff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.521);
}

.modal-close-btn {
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal-close-btn:hover {
  opacity: 1;
}

#admissionModal .modal-dialog {
  max-width: 700px;
}

/* Adjust overlay opacity for better text readability on mobile */
@media (max-width: 992px) {
  .slide-overlay {
    opacity: 0.85;
  }
}

/* Mobile menu bottom styling */
.mobile-menu-bottom {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid #dee2e6;
  background-color: #ffffff;
  width: 100%;
}

.mobile-menu-bottom a {
  color: var(--nav-color);
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

.mobile-menu-bottom a:hover {
  color: var(--nav-hover-color);
  padding-left: 0.5rem;
}

.mobile-menu-bottom a i {
  margin-right: 0.5rem;
}

/* Show mobile menu bottom when nav is active */
.mobile-nav-active .mobile-menu-bottom {
  display: flex;
}

.navbttomItem {
  background: #f8f9fa;
  border-radius: 10px;
}

.navbttomItem .mobile-links a {
  display: block;
  background: white;
  margin-bottom: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  border: 1px solid #eaeaea;
  transition: 0.2s ease;
}

.navbttomItem .mobile-links a:hover {
  background: #00196b;
  color: white;
}

.navbttomItem .call-link {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  /* text starts from left */

  padding: 8px 18px;
  margin-top: 12px;

  background: #16a34a;
  color: white !important;

  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;

  transition: 0.2s ease;
}

.navbttomItem .call-link i {
  font-size: 18px;
}

.navbttomItem .call-link:hover {
  background: #138a3f;
}