/* ============================================
   ENHANCED HEADER STYLING - Logo & Menu Contrast
   ============================================ */

/* Main Header Background with Gradient */
header.header-1 {
  background: linear-gradient(135deg, #0052CC 0%, #0041A1 50%, #003A8F 100%);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
  position: relative;
  z-index: 100;
}

/* Logo Section - Separate Visual Area */
header.header-1 .col-lg-2,
header.header-1 .logo {
  position: relative;
  box-sizing: border-box;
}

header.header-1 .logo {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 
    0 0 0 2px #0052CC,
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 4px 16px rgba(0, 188, 212, 0.2);
  position: relative;
}

header.header-1 .logo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, #00BCD4, #FFC107, #00BCD4);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

header.header-1 .logo:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 
    0 0 0 2px #00BCD4,
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 8px 24px rgba(0, 188, 212, 0.4),
    0 0 20px rgba(0, 188, 212, 0.3);
  border: 2px solid #00BCD4;
}

header.header-1 .logo:hover::before {
  opacity: 1;
}

header.header-1 .logo img {
  max-width: 140px;
  height: auto;
  width: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 188, 212, 0.3)) drop-shadow(0 0 8px rgba(255, 193, 7, 0.1));
  transition: all 0.3s ease;
}

header.header-1 .logo:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 20px rgba(0, 188, 212, 0.5)) drop-shadow(0 0 15px rgba(255, 193, 7, 0.2));
}

/* Menu Area - Enhanced Styling */
header.header-1 .menu-wrap,
header.header-1 .main-menu {
  width: 100%;
}

header.header-1 .main-menu ul > li {
  display: inline-block;
  line-height: 1;
  position: relative;
}

/* Menu Items - Eye-Catching Styling */
header.header-1 .main-menu ul > li > a {
  display: inline-block;
  text-transform: capitalize;
  color: #FFF;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  line-height: 1;
  padding: 38px 22px;
  overflow: hidden;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Menu Item Hover - Accent Color with Underline */
header.header-1 .main-menu ul > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00BCD4, #FFC107);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

header.header-1 .main-menu ul > li > a:hover::before {
  width: 80%;
}

header.header-1 .main-menu ul > li > a:hover {
  color: #FFF;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
  transform: translateY(-2px);
}

/* Submenu Styling */
header.header-1 .main-menu ul > li > ul {
  position: absolute;
  left: 0;
  top: 100%;
  width: 240px;
  background: linear-gradient(135deg, #0041A1 0%, #003A8F 100%);
  padding: 8px 0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

header.header-1 .main-menu ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

header.header-1 .main-menu ul > li > ul li {
  display: block;
  width: 100%;
}

header.header-1 .main-menu ul > li > ul li a {
  display: block;
  padding: 12px 20px;
  color: #FFF;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

header.header-1 .main-menu ul > li > ul li a:hover {
  background: rgba(0, 188, 212, 0.15);
  color: #00BCD4;
  border-left-color: #00BCD4;
  padding-left: 25px;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  header.header-1 .main-menu ul > li > a {
    padding: 25px 15px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  header.header-1 {
    padding: 15px 0;
    background: linear-gradient(135deg, #0052CC 0%, #0041A1 100%);
  }

  header.header-1 .logo {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  header.header-1 .logo img {
    max-width: 120px;
  }
}

/* Contact Section - Enhanced */
header.header-1 .header-right-element {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* CTA Buttons */
header.header-1 .theme-btn {
  background: linear-gradient(135deg, #00BCD4, #0088A3);
  color: #FFF;
  border: none;
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

header.header-1 .theme-btn:hover {
  background: linear-gradient(135deg, #0097A7, #008C9E);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.4);
  color: #FFF;
}

header.header-1 .theme-btn:active {
  transform: translateY(0);
}

/* Contact Buttons - Eye-catching */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 16px;
}

.contact-btn.whatsapp-btn {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.8), rgba(37, 211, 102, 0.6));
  border-color: rgba(37, 211, 102, 0.4);
}

.contact-btn.whatsapp-btn:hover {
  background: linear-gradient(135deg, #25d366, #1da853);
  border-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: translateY(-3px);
}

.contact-btn.call-btn {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.8), rgba(26, 115, 232, 0.6));
  border-color: rgba(26, 115, 232, 0.4);
}

.contact-btn.call-btn:hover {
  background: linear-gradient(135deg, #1a73e8, #1557b0);
  border-color: #1a73e8;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
  transform: translateY(-3px);
}

/* Animation Pulse Effect for Hover */
@keyframes headerGlow {
  0% {
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
  }
  50% {
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.25);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.15);
  }
}

header.header-1:hover {
  animation: headerGlow 0.6s ease infinite;
}

/* Language Dropdown - Enhanced */
header.header-1 .main-menu ul > li > ul li a {
  font-size: 14px;
}

/* Mobile Menu Enhancements */
@media (max-width: 768px) {
  header.header-1 .contact-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  header.header-1 .theme-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ============================================
   LOGO GLOW ANIMATIONS
   ============================================ */

/* Logo Glow Animation */
@keyframes logoGlow {
  0%, 100% {
    box-shadow: 
      0 0 0 2px #0052CC,
      inset 0 1px 2px rgba(255, 255, 255, 0.15),
      0 4px 16px rgba(0, 188, 212, 0.2),
      0 0 15px rgba(0, 188, 212, 0.15);
  }
  50% {
    box-shadow: 
      0 0 0 2px #00BCD4,
      inset 0 1px 2px rgba(255, 255, 255, 0.25),
      0 6px 20px rgba(0, 188, 212, 0.35),
      0 0 25px rgba(0, 188, 212, 0.25);
  }
}

/* Apply glow animation to logo */
header.header-1 .logo {
  animation: logoGlow 2.5s ease-in-out infinite;
}

/* Logo Border Pulse Animation */
@keyframes logoBorderPulse {
  0%, 100% {
    border-color: transparent;
    opacity: 0.7;
  }
  50% {
    border-color: #00BCD4;
    opacity: 1;
  }
}

/* Enhanced Glow on Load */
@keyframes logoLoadGlow {
  0% {
    opacity: 0;
    transform: scale(0.95);
    box-shadow: 
      0 0 0 2px #0052CC,
      inset 0 1px 2px rgba(255, 255, 255, 0.15),
      0 4px 16px rgba(0, 188, 212, 0.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 
      0 0 0 2px #0052CC,
      inset 0 1px 2px rgba(255, 255, 255, 0.15),
      0 4px 16px rgba(0, 188, 212, 0.2),
      0 0 20px rgba(0, 188, 212, 0.25);
  }
}

/* Apply load animation on page load */
header.header-1 {
  animation: headerLoadGlow 0.8s ease-out;
}

@keyframes headerLoadGlow {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HIGHLIGHT EFFECT CLASS (optional)
   ============================================ */

/* Highlight Border Styling */
.logo-highlight {
  position: relative;
}

.logo-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #00BCD4;
  border-radius: 8px;
  pointer-events: none;
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    border-color: rgba(0, 188, 212, 0.3);
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.3);
  }
  50% {
    border-color: rgba(0, 188, 212, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
  }
}
