/* ========================================
   PROFESSIONAL NAVBAR STYLING
   Exact Figma Design Match with Bootstrap
   ======================================== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Navbar Container - Sticky by Default */
.frame-2147224242 {
  background: rgba(5, 19, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  border-style: solid;
  border-color: var(--seconday-9, rgba(14, 84, 124, 0.9));
  border-width: 0px 0px 1px 0px;
  padding: 19px 30px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
}

/* Logo Section */
.frame-2147224282 {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
  text-decoration: none;
}

.untitled-design-1 {
  flex-shrink: 0;
  /* width: 130.75px;
  height: 44px; */
  position: relative;
}

.frame-2147224283 {
  display: flex;
  /* flex-direction: row; */
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}

.untitled-design-2,
.untitled-design-3 {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
}

/* Navigation Links Container */
.frame-2147224290 {
  display: flex;
  flex-direction: row;
  /* gap: 20px; */
  align-items: center;
  justify-content: space-evenly;
  flex-shrink: 0;
  position: relative;
  /* margin: 0 !important; */
  padding: 0;
  list-style: none;
  flex: 1;
  max-width: 600px;
}

/* Special Hero Item with Icons */
.frame-2147224289 {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.frame-2147224287,
.frame-2147224288 {
  flex-shrink: 0;
  width: 100px;
  height: 1px;
  position: relative;
  overflow: visible;
}

/* Navigation Links Styling */
.nav-link {
  color: var(--white, #ffffff) !important;
  text-align: left;
  font-family: "Mulish-SemiBold", sans-serif !important;
  font-size: 16px !important;
  line-height: 20.08px !important;
  font-weight: 600 !important;
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  padding: 8px 0 !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary, #3c9cc6) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--primary, #3c9cc6) !important;
}

/* Individual Link Colors */
.hero {
  color: var(--white, #ffffff) !important;
}

.about-course {
  color: var(--white, #ffffff) !important;
}

.pricing {
  color: var(--white, #ffffff) !important;
}

.enroll {
  color: var(--white, #ffffff) !important;
}

/* CTA Button */
.frame-2147224245 {
  margin-left: auto;
  /* background: linear-gradient(
      130.4deg,
      rgba(60, 156, 198, 1) 50%,
      rgba(14, 84, 124, 1) 100%
    ),
    linear-gradient(0deg, rgba(60, 156, 198, 1) 0%, rgba(14, 84, 124, 1) 100%); */
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(60, 156, 198, 0.3);
}

.frame-2147224245:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(60, 156, 198, 0.5);
}

.enroll-btn-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.enroll-now {
  background: linear-gradient(to left, #ffffff, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  line-height: 26.42px;
  font-weight: 400;
  position: relative;
  white-space: nowrap;
}

/* Mobile Toggle Button Styling */
.custom-toggler {
  border: 2px solid var(--primary, #3c9cc6);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(60, 156, 198, 0.1);
  display: none;
}

.custom-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(60, 156, 198, 0.5);
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop - Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .frame-2147224242 {
    padding: 19px 50px !important;
  }

  .frame-2147224290 {
    /* gap: 50px; */
  }
}

/* Tablet Landscape (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .frame-2147224242 {
    padding: 19px 40px !important;
  }

  .frame-2147224290 {
    gap: 35px;
  }

  .nav-link {
    font-size: 15px !important;
  }
}

/* Tablet and Below (991px and below) - Mobile Menu */
@media (max-width: 991px) {
  /* Show mobile toggle button */
  .custom-toggler {
    display: block;
  }

  /* Navbar adjustments */
  .frame-2147224242 {
    padding: 15px 25px !important;
    flex-wrap: wrap;
  }

  .navbar-container {
    flex-wrap: wrap;
  }

  /* Logo adjustments */
  .untitled-design-1 {
    width: 110px;
    height: auto;
  }

  .untitled-design-2,
  .untitled-design-3 {
    width: 36px;
    height: 36px;
  }

  /* Collapsible navigation */
  .navbar-collapse {
    width: 100%;
    margin-top: 20px;
  }

  .frame-2147224290 {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    padding: 20px 0;
  }

  .frame-2147224289 {
    width: 100%;
    justify-content: flex-start;
  }

  .frame-2147224287,
  .frame-2147224288 {
    display: none;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
  }

  .nav-link {
    font-size: 18px !important;
    padding: 12px 10px !important;
    width: 100%;
  }

  /* CTA Button in mobile */
  .frame-2147224245 {
    width: 100%;
    padding: 18px 30px;
    margin-top: 20px;
    justify-content: center;
  }

  .enroll-now {
    font-size: 18px;
  }
}

/* Mobile Portrait (767px and below) */
@media (max-width: 767px) {
  .frame-2147224242 {
    padding: 12px 20px !important;
  }

  .untitled-design-1 {
    width: 100px;
    height: auto;
  }

  .untitled-design-2,
  .untitled-design-3 {
    width: 32px;
    height: 32px;
  }

  .frame-2147224245 {
    padding: 16px 25px;
  }

  .enroll-now {
    font-size: 16px;
  }
}

/* Small Mobile (575px and below) */
@media (max-width: 575px) {
  .frame-2147224242 {
    padding: 10px 15px !important;
  }

  .frame-2147224282 {
    gap: 6px;
  }

  .untitled-design-1 {
    width: 90px;
    height: auto;
  }

  .untitled-design-2,
  .untitled-design-3 {
    width: 28px;
    height: 28px;
  }

  .custom-toggler {
    padding: 6px 10px;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }

  .nav-link {
    font-size: 16px !important;
    padding: 10px 8px !important;
  }

  .frame-2147224245 {
    padding: 14px 20px;
  }

  .enroll-now {
    font-size: 15px;
  }
}

/* Extra Small Mobile (374px and below) */
@media (max-width: 354px) {
  .frame-2147224242 {
    padding: 8px 12px !important;
  }

  .untitled-design-1 {
    width: 80px;
  }

  .untitled-design-2,
  .untitled-design-3 {
    width: 24px;
    height: 24px;
  }

  .enroll-now {
    font-size: 14px;
  }
}

/* ========================================
   SMOOTH SCROLL & ACTIVE STATES
   ======================================== */

/* Scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Active link indicator */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary, #3c9cc6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navbar sticky behavior */
.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease;
  background: rgba(5, 19, 26, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Collapsing animation improvement */
.collapsing {
  transition: height 0.35s ease, opacity 0.35s ease;
}

.collapse.show {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
/* .nav-link:focus,
.frame-2147224245:focus,
.custom-toggler:focus {
  outline: 2px solid var(--primary, #3c9cc6);
  outline-offset: 4px;
} */

/* Ensure navbar stays above other content */
.frame-2147224243 {
  position: relative;
  z-index: 10;
}

.frame-2147224242 {
  position: relative;
  z-index: 1000;
}
