 /* -------------------------
   Global & Reset Styles
------------------------- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}

ul.nav {
  gap: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

/* -------------------------
   Top Bar Styling (Updated)
------------------------- */
.top-bar {
  font-size: 18px;
  /* Even larger for MNC-level appearance */
  letter-spacing: 0.4px;
  background: linear-gradient(to right, #004080, #0059b3);
  padding: 14px 24px;
  /* More vertical padding for height */
}

.top-bar-left i,
.top-bar-left a,
.top-bar span {
  font-size: 18px;
}

.top-bar a:hover {
  color: #ffd700;
  transform: scale(1.12);
  /* Slightly more zoom on hover */
}


/* -------------------------
   Header & Navbar
------------------------- */
.main-header {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  z-index: 1000;
}

.main-nav .nav-link {
  color: #222;
  font-weight: 500;
  font-size: 16px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
}

.nav-item.dropdown .nav-link::after {
  margin-left: 6px;
}

.main-nav .dropdown-menu {
  border: none;
  padding: 20px;
  margin-top: 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease;
  width: 100%;
  max-width: 1200px;
}

.mega-menu .col-md-3 h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 5px;
  color: #004080;
}

.dropdown-item {
  padding: 6px 10px;
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #e9f1ff;
  color: #003366;
  transform: translateX(3px);
}

/* Smooth dropdown animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* list */
.mega-dropdown {
  width: 100%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  z-index: 1050;
  transition: all 0.3s ease-in-out;
}

.mega-title {
  font-size: 16px;
  font-weight: 700;
  color: #003366;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.mega-link {
  display: block;
  font-size: 15px;
  padding: 8px 12px;
  color: #003366;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.mega-link:hover {
  background-color: #e6f0ff;
  color: #0056b3;
  transform: translateX(4px);
}

.animate__fadeIn {
  animation: fadeInDown 0.4s ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* plecments */
/* Placements Dropdown */
.placements-dropdown {
  min-width: 250px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  animation: fadeInDown 0.4s ease;
  transition: all 0.3s ease-in-out;
}

.placements-dropdown .dropdown-item {
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  color: #003366;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.placements-dropdown .dropdown-item:hover {
  background-color: #e6f0ff;
  color: #0056b3;
  transform: translateX(4px);
}

/* Optional: animation keyframes if not already included */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enquiry */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.modal-content {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*img  */
.placements-dropdown {
  min-width: 250px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 15px 10px;
  animation: fadeInDown 0.3s ease-in-out;
}

.placements-dropdown .dropdown-item {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.placements-dropdown .dropdown-item:hover {
  background-color: #e9f1ff;
  color: #0056b3;
  transform: translateX(4px);
}

/*  */
@media (max-width: 992px) {
  .mega-dropdown {
    position: static !important;
    max-width: 100%;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
  }
}
/* Modal Design */
    .circle-modal-content {
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background-color: #0d1b42;
      color: white;
      padding: 2rem;
      text-align: center;
      position: relative;
      margin: auto;
    }

    .circle-modal-content input {
      border: none;
      border-radius: 25px;
      padding: 10px 20px;
      width: 100%;
      margin-bottom: 15px;
    }

    .circle-modal-content input:focus {
      outline: none;
      box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    }

    .circle-modal-content button.submit-btn {
      background-color: #f7a600;
      color: white;
      border: none;
      padding: 10px 40px;
      border-radius: 25px;
      font-weight: bold;
      width: 100%;
      margin-top: 10px;
    }

    .circle-modal-close {
      position: absolute;
      top: -10px;
      right: -10px;
      background-color: #f7a600;
      color: white;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      font-weight: bold;
      border: none;
    }

    /* Centering modal */
    .modal-dialog-centered {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
    }

    /* Responsiveness for Top Bar */
    @media (max-width: 768px) {
      .top-bar {
        flex-direction: column;
        text-align: center;
      }

      .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
      }

      .top-bar-left span {
        margin-bottom: 10px;
      }
    }
    .top-bar {
  margin-bottom: 0 !important;
}

.main-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.main-nav .nav {
  margin: 0 !important;
  padding: 0 !important;
}
.main-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.main-nav .nav {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-section {
  background: linear-gradient(135deg, #0b1220, #0f1b2d);
  color: #e5e7eb;
  padding: 60px 0 20px;
  font-size: 15px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-line {
  width: 35px;
  height: 2px;
  background-color: #3b82f6;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.footer-links li:last-child {
  border-bottom: none;
}

.footer-links a {
  text-decoration: none;
  color: #d1d5db;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
  padding-left: 5px;
}

.footer-section p {
  margin-bottom: 10px;
  color: #d1d5db;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.linkedin-icon:hover {
  background-color: #3b82f6;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
}


/* privacy */
.privacy-policy-section {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  min-height: 100vh;
}

.top-bar {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  line-height: 1 !important;
}


.main-header,
.navbar {
  padding: 0 !important;
  margin: 0 !important;
  min-height: unset !important;
  line-height: 1 !important;
  border: none !important;
}


.main-header .container,
.main-header .container-fluid,
.navbar .container,
.navbar .container-fluid {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
}


.navbar-brand,
.navbar-brand img {
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  line-height: 1 !important;
}


.navbar-nav,
.navbar-nav .nav-item,
.navbar-nav .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.main-header + *,
.navbar + *,
header + section,
header + div {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


.main-header + img,
.navbar + img {
  display: block;
  margin-top: 0 !important;
}


hr, br {
  display: none !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f1f4f9, #dff1ff);
  color: #333;
}
.hero,
.banner,
.slider,
.carousel {
  margin-top: -25px !important;
}
/* Enable hover dropdown */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Prevent popup-like behavior */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0 !important;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Keep dropdown attached to navbar */
.nav-item.dropdown {
  position: relative;
}

/* Remove Bootstrap click caret animation effect */
.dropdown-toggle::after {
  transition: none !important;
}
/* ===== Courses Dropdown Left-Aligned Vertical ===== */
#coursesDropdown + .mega-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 700px;          /* control dropdown width */
  max-width: 90vw;
  padding: 20px;
  border-radius: 16px;
}

/* Keep 3 columns but vertical feel */
.mega-dropdown .row {
  row-gap: 20px;
}

/* Mobile fix */
@media (max-width: 992px) {
  #coursesDropdown + .mega-dropdown {
    position: static;
    width: 100%;
  }
}




/*Enquiry*/
.success-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  animation: pop 0.4s ease;
}

@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===============================
   
================================ */
@media (max-width: 991px) {

  /* Disable hover behavior */
  .nav-item.dropdown:hover > .dropdown-menu {
    display: none;
  }

  /* Let Bootstrap handle click */
  .dropdown-menu {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 10px !important;
    margin-top: 6px !important;
    border-radius: 12px;
  }

  /* When menu is OPEN (Bootstrap adds .show) */
  .dropdown-menu.show {
    display: block !important;
  }

  /* Mega menu mobile stacking */
  .mega-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
  }

  .mega-dropdown .row {
    flex-direction: column;
    row-gap: 12px;
  }

  .mega-title {
    font-size: 15px;
  }

  .mega-link {
    font-size: 14px;
    padding: 8px 10px;
  }
}

/* =====================================
   MOBILE DROPDOWN – GUARANTEED FIX
   ===================================== */
@media (max-width: 991px) {

  /* Disable hover dropdown */
  .nav-item.dropdown:hover > .dropdown-menu {
    display: none !important;
  }

  /* Hide by default */
  .nav-item.dropdown > .dropdown-menu {
    display: none !important;
    position: static !important;
    width: 100%;
    box-shadow: none;
    margin-top: 8px;
  }

  /* SHOW ON TAP */
  .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block !important;
  }

  /* Allow tap */
  .nav-item.dropdown > .nav-link {
    cursor: pointer;
  }

  /* Stack mega menu */
  .mega-dropdown .row {
    flex-direction: column;
  }
}