.phone-dropdown-container {
  position: relative;
}

.btn-phone-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(59, 130, 246, 0.4);
  color: #ffffff;
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-phone-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(59, 130, 246, 0.2) 50%,
      transparent 70%);
  animation: btn-shine 3s infinite;
  pointer-events: none;
}

.btn-phone-header i.fa-phone-alt {
  font-size: 1rem;
  animation: phone-pulse 2s ease-in-out infinite;
}

@keyframes phone-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.btn-phone-header .phone-number {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.btn-phone-header .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  margin-left: 0.2rem;
}

.btn-phone-header.active .dropdown-arrow {
  transform: rotate(180deg);
}

.btn-phone-header:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%);
  border-color: rgba(59, 130, 246, 0.7);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(59, 130, 246, 0.4),
    0 6px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-phone-header:hover i.fa-phone-alt {
  animation: phone-ring 0.5s ease-in-out;
}

@keyframes phone-ring {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-15deg);
  }

  75% {
    transform: rotate(15deg);
  }
}

@keyframes btn-shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.phone-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  min-width: 320px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
}

.phone-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -9px;
  right: 32px;
  width: 18px;
  height: 18px;
  background: rgba(15, 23, 42, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.2);
}

.phone-dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  border-radius: 24px 24px 0 0;
}

.phone-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-header h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-header p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dropdown-item:hover::before {
  opacity: 1;
}

.dropdown-item:active {
  transform: scale(0.98);
}

.dropdown-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item-icon.phone-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dropdown-item-icon.email-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.1) rotate(5deg);
}

.dropdown-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  z-index: 1;
}

.dropdown-item-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dropdown-item-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.dropdown-item-arrow {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.dropdown-item:hover .dropdown-item-arrow {
  color: #3b82f6;
  transform: translateX(4px);
}

.header-glass {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(25 73 117 / 16%);
  backdrop-filter: blur(7px) saturate(180%);
  -webkit-backdrop-filter: blur(7px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  overflow: visible;
  max-width: 100vw;
}

.header-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(168, 85, 247, 0.5) 50%,
      transparent 100%);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #e5e7eb;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.015em;
  padding: 0.75rem 1.25rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  border-radius: 10px;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.nav-menu a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-menu a:hover::before {
  width: calc(100% - 2.5rem);
}

.nav-menu a:hover::after {
  opacity: 1;
}

.nav-menu a.active {
  color: #ffffff;
}

.nav-menu a.active::before {
  width: calc(100% - 2.5rem);
}

.nav-menu a.active::after {
  opacity: 1;
}

.logo-container {
  position: relative;
  padding: 0;
  margin: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-link img {
  height: 4.5rem;
  filter:
    brightness(0) invert(1) drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
  transition: filter 0.3s ease;
}

.logo-link:hover img {
  filter:
    brightness(0) invert(1) drop-shadow(0 0 15px rgba(168, 85, 247, 0.5));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
  overflow: hidden;
}

.mobile-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100dvh;
  max-height: 100dvh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10001;
  /* Fallback for browsers that don't support dvh */
  height: 100vh;
  max-height: 100vh;
  /* Ensure content can scroll and padding at bottom */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@supports (height: 100dvh) {
  .mobile-drawer-content {
    height: 100dvh;
    max-height: 100dvh;
  }
}

/* Ensure mobile drawer phone section has enough space on mobile */
@media (max-width: 768px) {
  .mobile-drawer-phone {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px) + 120px) !important;
  }
}

/* Ensure mobile drawer phone section has enough space on mobile */
@media (max-width: 768px) {
  .mobile-drawer-phone {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px) + 120px) !important;
  }
}

@supports (height: 100dvh) {
  .mobile-drawer-content {
    height: 100dvh;
    max-height: 100dvh;
  }
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-header h3 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.mobile-drawer-link {
  color: #e5e7eb;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.1);
  border-left-color: #3b82f6;
}

.mobile-drawer-phone {
  padding: 1.5rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px) + 100px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.mobile-phone-link,
.mobile-email-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-phone-link {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mobile-phone-link:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.mobile-email-link {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mobile-email-link:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.mobile-phone-link i,
.mobile-email-link i {
  font-size: 1.25rem;
}

.site-footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  margin-top: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.2);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.footer-social-link:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.footer-address {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #e2e8f0;
  margin: 0 0 0.5rem 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 1;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (max-width: 1024px) and (min-width: 769px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    max-width: 100%;
  }

  .header-glass {
    max-width: 100vw;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-phone-header .phone-number {
    display: none;
  }

  .btn-phone-header {
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header-glass {
    padding: 1rem 0;
    max-width: 100vw;
  }

  .logo-container {
    padding: 0;
    margin: 0;
    max-width: 100%;
  }

  .logo-link img {
    height: 4rem;
    max-width: 100%;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .phone-dropdown-container {
    display: none;
  }

  .site-footer {
    padding: 2rem 0;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-social {
    gap: 1rem;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .footer-address {
    font-size: clamp(12px, 3vw, 14px);
    padding: 0 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    opacity: 1;
  }

  .footer-copyright {
    font-size: clamp(12px, 3vw, 14px);
    padding: 0 1rem;
    text-align: center;
  }
}

@media (min-width: 1285px) {
  .mobile-menu-btn {
    display: none;
  }

  .mobile-drawer {
    display: none;
  }
}

@media (max-width: 1284px) and (min-width: 769px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }

  .container {
    max-width: 100%;
  }

  .header-glass {
    max-width: 100vw;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .mobile-drawer {
    display: block !important;
  }

  .btn-phone-header .phone-number {
    display: none;
  }

  .btn-phone-header {
    padding: 0.7rem 1rem;
    min-width: auto;
  }

  .btn-phone-header .dropdown-arrow {
    display: none;
  }
}

