.elementor-32 .elementor-element.elementor-element-798e710{--display:flex;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-1ac3ff6 *//* IPTV Gateway Header Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Container */
.iptv-header {
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 10000;
  position: relative;
}

/* Add smooth transitions for mobile */
.header-main {
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Main Section */
.header-main {
  background: transparent;
  padding: 0;
  border-bottom: none;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styles */
.header-logo {
  flex-shrink: 0;
  /* Create small container that clips the logo like Elementor */
  width: 230px;
  height: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-link {
  text-decoration: none;
  display: block;
  /* Scale down the entire link container */
  transform: scale(0.52);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.logo-text {
  display: none; /* Hide text logo */
}

.logo-image {
  /* Use native logo size - no scaling to preserve quality */
  height: auto !important;
  width: auto !important;
  max-height: none;
  max-width: none;
  /* No transforms or filters - pure original quality */
  transform: none;
  image-rendering: auto;
  filter: none;
  /* Remove all processing */
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-font-smoothing: auto;
  transition: none;
}

.logo-link:hover {
  /* Slight scale increase on the container, not the image */
  transform: scale(0.54);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
  color: #062ef8;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #062ef8;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  min-width: 130px;
}

.btn-primary {
  background: #062ef8;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 46, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 46, 248, 0.4);
  background: #0525d6;
}

.btn-primary:active {
  transform: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  z-index: 100000;
  position: relative;
}

.mobile-menu-toggle:hover {
  background-color: rgba(6, 46, 248, 0.1);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #062ef8;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Navigation - OPTION 2: Side Slide Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  padding-top: 80px;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0 !important;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 20px;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
  display: block;
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 15px 0;
  transition: all 0.3s ease;
  text-align: left;
  margin-left: 0;
}

.mobile-nav-link:hover {
  color: #062ef8;
  padding-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-main {
    padding: 12px 0;
  }
  
  .header-content {
    justify-content: space-between;
    position: relative;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-width: 100px;
    max-width: 140px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-primary:hover,
  .btn-primary:active {
    transform: translateX(-50%);
    color: #ffffff !important;
  }
  
  .mobile-menu-toggle {
    position: relative;
    z-index: 100001;
  }
  
  /* Mobile logo adjustments - BALANCED */
  .header-logo {
    width: 170px;
    height: 68px;
  }
  
  .logo-link {
    transform: scale(0.58);
  }
  
  .logo-link:hover {
    transform: scale(0.60);
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  /* Improve navigation menu spacing */
  .nav-menu {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  /* Small mobile logo - BALANCED */
  .header-logo {
    width: 150px;
    height: 60px;
  }
  
  .logo-link {
    transform: scale(0.55);
  }
  
  .logo-link:hover {
    transform: scale(0.57);
  }
  
  .hamburger-line {
    width: 22px;
    height: 2px;
  }
  
  /* Ensure mobile menu fits properly */
  .mobile-nav-link {
    font-size: 1rem;
    padding: 12px 0;
  }
  
  /* Adjust header spacing for small screens */
  .header-content {
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    min-width: 90px;
    max-width: 130px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-primary:hover,
  .btn-primary:active {
    transform: translateX(-50%);
    color: #ffffff !important;
  }
  
  .mobile-menu-toggle {
    position: relative;
    z-index: 100001;
  }
}

/* Extra small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
  .header-content {
    padding: 0 10px;
    position: relative;
    justify-content: space-between;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .btn {
    padding: 7px 14px;
    font-size: 0.8rem;
    min-width: 90px;
    max-width: 130px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .btn-primary:hover,
  .btn-primary:active {
    transform: translateX(-50%);
    color: #ffffff !important;
  }
  
  .mobile-menu-toggle {
    position: relative;
    z-index: 100001;
  }
  
  /* Extra small devices - BALANCED LOGO */
  .header-logo {
    width: 130px;
    height: 52px;
  }
  
  .logo-link {
    transform: scale(0.51);
  }
  
  .logo-link:hover {
    transform: scale(0.53);
  }
  
  .nav-menu {
    gap: 15px;
  }
}

/* Mobile Menu Animation */
.mobile-nav.active {
  right: 0 !important;
}

/* Mobile Menu Overlay - Separate element */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility - disabled click outline but keep active states */
.nav-link:focus {
  outline: none;
}

/* Keep active page styling intact */
.nav-link.active {
  color: #062ef8;
}

.nav-link.active::after {
  width: 100%;
}

.mobile-nav-link:focus,
.btn:focus {
  outline: 2px solid #062ef8;
  outline-offset: 2px;
}

.mobile-menu-toggle:focus {
  outline: 2px solid #062ef8;
  outline-offset: 4px;
}/* End custom CSS */