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

body {
  background: #ffffff;
}

/* Header Container */
.pharma-header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(10, 124, 133);
  position: relative;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 24px;
  color: #0A7C85;
}

.logo-icon {
  font-size: 24px;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-menu a {
  text-decoration: none;
  color: #1E2A2C;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #0A7C85;
}

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

.dropdown-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #1E2A2C;
}

.dropdown-btn:hover {
  color: #0A7C85;
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(10, 124, 133);
  display: none;
  flex-direction: column;
  min-width: 200px;
  padding: 10px 0;
}

.dropdown-menu a {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1E2A2C;
}

.dropdown-menu a:hover {
  background: #d5edf5;
  color: #0A7C85;
}

/* CTA Button */
.cta-btn {
  background: #0F9CA8;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #0A7C85;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #1E2A2C;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #F3F6F7;
  padding: 20px;
  gap: 16px;
}

.mobile-menu a {
  text-decoration: none;
  color: #1E2A2C;
  font-size: 17px;
  font-weight: 500;
}

/* Mobile Dropdown */
.mobile-dropdown-list {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  gap: 10px;
}

.mobile-dropdown-btn {
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-menu,
  .cta-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }
}
.dropdown:hover .dropdown-menu {
  display: flex;
}
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

/* The dropdown panel */
.dropdown-menu {
  position: absolute;
  top: 100%;        /* sits directly under the button */
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  min-width: 200px;
  padding: 10px 0;
  z-index: 999;
}

/* The magic line */
.dropdown:hover .dropdown-menu {
  display: flex;
}
.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.dropdown-btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Rotate arrow when hovering the whole dropdown */
.dropdown:hover .arrow {
  transform: rotate(180deg);
}
/* Customizable color line */
.dropdown-menu::after {
  content: "";
  position: absolute;
  bottom: -4px;        /* sits below the shadow */
  left: 0;
  width: 100%;
  height: 3px;         /* thickness of the line */
  background: var(--dropdown-accent, #0F9CA8); /* default teal */
  border-radius: 0 0 4px 4px;
}
:root {
  --dropdown-accent: #b55b07; /* red */
}
