* {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

:root {
  --nav-color: #1565C0;
  --button-text-footer: #0a2e52;
  --badge-color: #1976D2;        
  --extra-color: #ffffff;
}

.navbar {
  width: 100%;
  background-color: var(--extra-color); 
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.1);
  border-bottom: 2px solid rgba(21, 101, 192, 0.18);
  padding: 6px 0;
}

/* --- DEFAULT DESKTOP SIZES (Bari Screens > 1200px) --- */
.img-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.navbar-nav {
  flex-grow: 1;
  justify-content: center;
}

li .nav-link {
  font-size: 17px;
  margin: 0px 12px;
  color: var(--button-text-footer);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
  white-space: nowrap;
}

li .nav-link:hover, .dropdown:hover .nav-link {
  color: var(--nav-color);
}

.nav-underline .nav-link.active {
  border-bottom: 2px solid var(--nav-color);
  width: fit-content;
  display: inline-block;
  color: var(--nav-color);
  font-weight: 600;
}

/* --- Dropdown Styling --- */
.dropdown-menu {
  background-color: var(--extra-color);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.15);
  padding: 10px 0;
  margin-top: 2px !important;
  min-width: 200px;
}

.dropdown-item {
  color: #555555;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item:hover {
  background-color: rgba(21, 101, 192, 0.08);
  color: var(--nav-color);
  padding-left: 20px;
}

.dropdown-item.active {
  background-color: var(--nav-color);
  color: var(--extra-color) !important;
}

.drop-icon {
  color: var(--nav-color);
  width: 18px;
  text-align: center;
}

.dropdown-item:hover .drop-icon { color: var(--nav-color); }
.dropdown-item.active .drop-icon { color: var(--extra-color) !important; }

/* --- Social Icons & Enroll Button (Default Bari Screen) --- */
.btn-parent {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 15px;
}

.nav-social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--button-text-footer);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.nav-social-link:hover {
  background-color: var(--nav-color);
  color: var(--extra-color) !important;
  transform: translateY(-2px);
  border-color: var(--nav-color);
  box-shadow: 0 4px 10px rgba(21, 101, 192, 0.3);
}

.enroll-btn {
  background-color: var(--nav-color);
  border: 2px solid var(--nav-color);
  color: var(--extra-color) !important;
  padding: 8px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  font-size: 15px;
}

.enroll-btn:hover {
  background-color: var(--button-text-footer);
  border-color: var(--button-text-footer);
  color: var(--extra-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

.enroll-btn.active {
  background-color: var(--button-text-footer);
  border-color: var(--button-text-footer);
}

/* Toggler Icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2821, 101, 192, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ==========================================
   LAPTOP SCREEN SIZES (992px se 1199px tak)
   ========================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  .img-logo {
    height: 55px;
  }

  li .nav-link {
    font-size: 14px;
    margin: 0px 5px;
    padding: 6px 0;
  }

  .btn-parent {
    gap: 8px;
    margin-left: 10px;
  }

  .nav-social-icons {
    gap: 4px;
  }

  .nav-social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .enroll-btn {
    padding: 5px 14px;
    font-size: 13px;
    border-width: 1.5px;
  }
  
  .dropdown-menu {
    min-width: 180px;
  }
  
  .dropdown-item {
    font-size: 13px;
    padding: 6px 12px;
  }
}


/* ==========================================
   TABLET & MOBILE VIEW (992px se neeche)
   ========================================== */
@media (max-width: 991.98px) {
  .img-logo {
    height: 62px;
  }

  .navbar-collapse {
    flex-wrap: wrap !important;
    align-items: flex-start;
    padding-top: 10px;
  }

  .navbar-nav {
    justify-content: flex-start;
    flex-basis: 100%;
  }
  
  li .nav-link {
    font-size: 16px; 
    margin: 0;
    padding: 10px 0;
  }
  
  .btn-parent {
    margin-left: 0;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-social-icons {
    margin-right: 15px;
  }

  .nav-social-link {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  
  .enroll-btn {
    font-size: 15px;
    padding: 8px 20px;
    border-width: 2px;
  }
  
  .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 20px;
    background-color: #f8f9fa;
  }
}