@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
  background: #fff;

}

/* =========================
   HEADER
========================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #eee;
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5968ff, #17228f);
  color: #fff;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(33, 47, 210, .25);
}

.brand-text {
  font-size: 18px;
}

.bold {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 10px;
  transition: .2s ease;
}

.btn:hover,
.btn:focus-visible {
  color: #2937d3;
  background: #f1f3ff;
  outline: none;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  /* Removes underline */
  color: inherit;
  /* Keeps original text color */
}

.brand:hover {
  text-decoration: none;
  /* Prevents underline on hover */
  color: inherit;
}

.brand:visited {
  color: inherit;
  text-decoration: none;
}

.brand:active {
  color: inherit;
  text-decoration: none;
}

/* =========================
   DROPDOWN
========================= */

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  min-width: 220px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(20, 31, 74, .08);
}

.dropdown-content a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: #333;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* =========================================
   TINOR DELTA HEADER — MOBILE RESPONSIVE
========================================= */

@media (max-width: 1024px) {

  .header-container {
    padding: 14px 24px;
  }

  .nav-menu {
    gap: 6px;
  }

  .btn {
    padding: 10px;
    font-size: 13px;
  }

}

/* Mobile navigation */
@media (max-width: 767px) {

  .main-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
  }

  .header-container {
    width: 100%;
    padding: 12px 18px;
    gap: 12px;
    position: relative;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    font-size: 17px;
  }

  .brand-text {
    font-size: 16px;
    line-height: 1.2;
  }

  /* Hamburger button */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 27px;
    color: #17228f;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
  }

  .hamburger:hover {
    background: #f1f3ff;
  }

  /* Collapsible menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 14px 18px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.09);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu > .btn,
  .nav-menu > .dropdown {
    width: 100%;
  }

  .nav-menu .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 9px;
  }

  /* Dropdowns work on tap */
  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 3px;
    border-radius: 9px;
    box-shadow: none;
    background: #f7f8ff;
    border: 1px solid #edf0ff;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 12px 16px;
    font-size: 14px;
  }

}

/* Very small phones */
@media (max-width: 380px) {

  .header-container {
    padding: 10px 12px;
  }

  .logo {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .brand-text {
    font-size: 15px;
  }

  .hamburger {
    width: 40px;
    height: 40px;
  }

}
