* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: white;
  color: black;
  min-height: 200vh;
}
/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  color: black;
}
/* Menu */
.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: darkblue;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.3s;
  display: inline-block;
}

.menu a:hover,
.menu a.active {
  background-color: blue;
  color: white;
  font-weight: bold;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: #f9f9f9;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  flex-direction: column;
}

.dropdown-content a {
  color: black;
  padding: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: #ddd;
}
/* Show dropdown when .show class is added */
.dropdown-content.show {
  display: flex !important;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #222;
    color: #f9f9f9;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
  }

  .menu.show {
    display: flex;
  }
}

/* Wrapper */
.wrap {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

/* Course Card */
.course-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 650px;
  margin: 40px auto;
}

.badge {
  background: #4da3ff;
  color: #fff;
  font-weight: bold;
  padding: 6px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
}

h2 {
  font-size: 24px;
  margin: 10px 0;
  font-weight: bold;
}

h2 span {
  color: #0033cc;
}

.subtitle {
  color: #666;
  margin-bottom: 20px;
}

.details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.details p {
  margin: 5px 0;
  flex: 1;
  min-width: 120px;
}

.btn-section {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: #3366ff;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: 0.5s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #0044ff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #3366ff;
  color: #3366ff;
}

.btn-outline:hover {
  background: #3366ff;
  color: #fff;
}

.note {
  margin-top: 15px;
  font-size: 14px;
  color: #0044ff;
}

.note i {
  color: #e60073;
  margin-right: 5px;
}

/* Right side sticky apply button (mobile only) */
.mobile-apply {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #3366ff;
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

@media (max-width: 768px) {
  .mobile-apply {
    display: block;
  }
}

/* Scroll Button */
.scroll-btn {
  display: none;
}

@media (max-width: 768px) {
  .scroll-btn {
    display: block;
    position: fixed;
    right: 2px;
    bottom: 180px;
    background: #1765ff;
    color: #fff;
    padding: 12px 14px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    border: none;
  }
}
