.main-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  will-change: transform;
}
/* Top Bar - Smooth Slide Animation */
.top-bar {
  background: linear-gradient(135deg, #ff8c42 0%, #f89429 50%, #ff6b35 100%);
  color: #fff;
  padding: 0;
  height: 55px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  position: relative;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(248, 148, 41, 0.3);
  transform: translateY(0);
  will-change: transform, opacity;
}

.main-header-wrapper.scrolled .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  box-shadow: none;
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.offer-scroll-container {
  overflow: hidden;
  position: relative;
  height: 55px;
  width: 100%;
  display: flex;
  align-items: center;
}

.offer-scroll-wrapper {
  display: flex;
  animation: scroll 45s linear infinite;
  will-change: transform;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 0 50px;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
}

.offer-item::before {
  content: "🔥";
  font-size: 18px;
  animation: bounce 2s ease-in-out infinite;
}

.offer-item:nth-child(2)::before {
  content: "🎁";
}
.offer-item:nth-child(3)::before {
  content: "💰";
}
.offer-item:nth-child(4)::before {
  content: "⭐";
}
.offer-item:nth-child(5)::before {
  content: "🎯";
}
.offer-item:nth-child(6)::before {
  content: "🔥";
}
.offer-item:nth-child(7)::before {
  content: "🎁";
}
.offer-item:nth-child(8)::before {
  content: "💰";
}
.offer-item:nth-child(9)::before {
  content: "⭐";
}
.offer-item:nth-child(10)::before {
  content: "🎯";
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.1);
  }
}

.offer-badge {
  background: #ffffff;
  color: #f89429;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  animation: pulse-badge 2.5s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.offer-text {
  letter-spacing: 0.5px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.offer-highlight {
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  display: inline-block;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
}

.offer-scroll-wrapper:hover {
  animation-play-state: paused;
}

/* Scroll control button */
.scroll-control {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.scroll-control:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.scroll-control::after {
  content: "⏸";
  color: #f89429;
  font-size: 16px;
  font-weight: bold;
}

.scroll-control.playing::after {
  content: "▶";
}

/* Main Header - Smooth Follow */
.main-header {
  background: #fff;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1001;
  transform: translateY(0);
  will-change: transform;
}

.main-header-wrapper.scrolled .main-header {
  transform: translateY(-55px);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 90px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 1002;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 70px;
  width: auto;
  transition: transform 0.3s;
  display: block;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.nav-container nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-container nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nav-container nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-container nav ul li a {
  color: #2c3e50;
  text-decoration: none;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 6px;
  white-space: nowrap;
  height: 100%;
}

.nav-container nav > ul > li > a:hover,
.nav-container nav > ul > li.active > a {
  color: #f89429;
  background: rgba(255, 107, 53, 0.08);
}

.mega-dropdown > a::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 5px;
  font-size: 11px;
  transition: transform 0.3s ease;
}

@media (min-width: 993px) {
  .nav-container .mega-dropdown:hover > a::after,
  .nav-container .dropdown:hover > a::after {
    transform: rotate(180deg);
  }
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1003;
}

@media (min-width: 993px) {
  .nav-container .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  padding: 13px 20px;
  border-radius: 0;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #f89429;
  color: #fff;
  padding-left: 25px;
}

.mega-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #fff;
  min-width: 900px;
  max-width: 1100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1003;
}

@media (min-width: 993px) {
  .mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.mega-menu-section h4 {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f89429;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-menu-section h4 i {
  color: #f89429;
}

.mega-menu-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-menu-section ul li {
  display: block;
}

.package-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
  background: #fff;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.package-item:hover {
  background: #f8f9fa;
  border-color: #f89429;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.1);
}

.package-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-image i {
  font-size: 32px;
  color: #fff;
}

.package-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.package-title {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14.5px;
  margin-bottom: 4px;
  transition: color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.package-item:hover .package-title {
  color: #f89429;
}

.package-description {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.ctas-button {
  background: linear-gradient(135deg, #f89429 100%);
  color: #fff !important;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ctas-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
  color: #fff !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s;
  z-index: 1002;
}

.mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-toggle span {
  width: 30px;
  height: 3px;
  background: #2c3e50;
  border-radius: 3px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  backdrop-filter: blur(2px);
}

.mobile-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1101;
}

.mobile-menu.active {
  right: 0;
  display: block;
}

.mobile-menu-header {
  background: linear-gradient(135deg, #f89429 0%, #ff6b35 100%);
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 20px;
}

.mobile-close:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.mobile-menu-content {
  flex: 1;
  padding: 10px 0;
}

.mobile-menu-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s;
  background: #fff;
}

.mobile-menu-link:active {
  background: rgba(255, 107, 53, 0.1);
}

.mobile-menu-link i {
  font-size: 16px;
  margin-right: 12px;
  color: #f89429;
  width: 20px;
}

.mobile-menu-link .arrow {
  color: #999;
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.3s;
}

.mobile-menu-item.active .mobile-menu-link .arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8f9fa;
}

.mobile-menu-item.active .mobile-submenu {
  max-height: 1500px;
}

.mobile-submenu-link {
  display: flex;
  align-items: center;
  padding: 14px 20px 14px 52px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.mobile-submenu-link:active {
  background: rgba(255, 107, 53, 0.08);
  border-left-color: #f89429;
}

.mobile-submenu-link i {
  margin-right: 10px;
  font-size: 14px;
  color: #f89429;
}

.mobile-package-section {
  padding: 15px 20px;
}

.mobile-package-title {
  color: #2c3e50;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-package-title i {
  color: #f89429;
}

.mobile-package-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-package-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}

.mobile-package-item:active {
  transform: scale(0.98);
  border-color: #f89429;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.mobile-package-image {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.mobile-package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-package-info {
  flex: 1;
  min-width: 0;
}

.mobile-package-name {
  color: #2c3e50;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
  line-height: 1.3;
}

.mobile-package-desc {
  color: #666;
  font-size: 11px;
  line-height: 1.3;
}

.mobile-menu-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.mobile-cta-button {
  background: linear-gradient(135deg, #f89429 0%, #ff6b35 100%);
  color: #fff;
  padding: 14px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: all 0.3s;
}

.mobile-cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-content {
    padding: 0 20px;
  }

  .nav-container nav ul {
    gap: 0;
  }

  .nav-container nav ul li a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .mega-menu {
    min-width: 700px;
  }

  .package-image {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    display: none !important;
  }

  .header-content {
    min-height: 75px;
  }

  .logo img {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    height: 50px;
  }

  .offer-scroll-container {
    height: 50px;
  }

  .offer-item {
    font-size: 14px;
    padding: 0 45px;
    gap: 10px;
  }

  .offer-badge {
    padding: 5px 14px;
    font-size: 10px;
  }

  .offer-text {
    font-size: 14px;
  }

  .offer-highlight {
    font-size: 15px;
  }

  .scroll-control {
    width: 34px;
    height: 34px;
    right: 15px;
  }

  .header-content {
    padding: 0 15px;
  }

  .mobile-menu {
    max-width: 90%;
  }

  /* Mobile responsive slide */
  .main-header-wrapper.scrolled .main-header {
    transform: translateY(-50px);
  }
}

@media (max-width: 480px) {
  .top-bar {
    height: 45px;
  }

  .offer-scroll-container {
    height: 45px;
  }

  .offer-item {
    font-size: 13px;
    padding: 0 35px;
    gap: 8px;
  }

  .offer-item::before {
    font-size: 16px;
  }

  .offer-badge {
    padding: 4px 12px;
    font-size: 9px;
  }

  .offer-text {
    font-size: 13px;
  }

  .offer-highlight {
    font-size: 14px;
    padding: 1px 6px;
  }

  .scroll-control {
    width: 30px;
    height: 30px;
  }

  .scroll-control::after {
    font-size: 14px;
  }

  .logo img {
    height: 55px;
  }

  .header-content {
    padding: 0 12px;
    min-height: 70px;
  }

  .mobile-menu {
    max-width: 95%;
  }

  .mobile-menu-header {
    padding: 15px;
  }

  .mobile-menu-title {
    font-size: 16px;
  }

  /* Mobile responsive slide */
  .main-header-wrapper.scrolled .main-header {
    transform: translateY(-45px);
  }
}