/* Make clickable header elements white */
.header-top-nav a,
.header-top__social-share a {
  color: white;
  transition: color 0.3s ease;
}

/* Hover effect for clickable items */
.header-top-nav a:hover,
.header-top__social-share a:hover {
  color: #e85d04;
  text-decoration: none;
}

/* Keep current date in default color (likely gray/light gray based on bg-grey-dark-one) */
.current-date {
  color: rgba(255, 255, 255, 0.7);
  /* Semi-transparent white */
}

/* Ensure social icons are white */
.header-top__social-share .fab {
  color: white;
}

/* Hover effect for social icons */
.header-top__social-share .fab:hover {
  color: #e85d04;
}

@media (max-width: 1115px) {
  .main-navigation {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    padding: 25px 20px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    display: block !important;
  }

  .main-navigation.opened {
    left: 0;
  }

  .main-navigation li {
    display: block;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .main-navigation li a {
    display: block;
    font-size: 16px;
  }

  .main-navigation .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    padding-left: 15px;
    display: none;
    transform: none;
    width: 100%;
  }

  .main-navigation .submenu li {
    border-bottom: none;
    padding: 8px 0;
  }

  .navbar-inner {
    position: relative;
  }

  .main-nav-toggler {
    cursor: pointer;
    z-index: 99;
  }

  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .has-submenu {
    position: relative;
  }

  .submenu-toggler {
    position: absolute;
    right: 0;
    top: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 16px;
  }
}

.nav-cta-button {
  padding: 6px 12px;
  font-size: 0.875rem;
  line-height: 1.2;
  border-radius: 8px;
  margin-left: 10px;
  white-space: nowrap;
}

.second-cta {
  border: 2px solid #e85d04;
  background-color: #fff;
  color: #e85d04;
  font-weight: bold;
}

.second-cta:hover {
  background-color: #ededed;
  color: #60d669;
  border-color: #e85d04;
}

.whatsapp-cta {
  color: #60d669;
  font-weight: bold;
}

@media (max-width: 1115px) {
  .mobileVersion {
    display: none;
  }
}

.navbar {
  background-color: white;
}

.navbar-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

@media (min-width: 991px) and (max-width: 1199px) {
  .brand-logo {
    max-height: 40px;
    margin-top: -4px;
    margin-left: -5px;
  }
}

/* Mobile view adjustments */
@media (max-width: 1115px) {

  /* Two-part layout: hamburger and logo on left, language selector on right */
  .navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
  }

  /* Left section: Hamburger + Logo */
  .mobile-left-section {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced gap to move logo closer to hamburger */
    justify-self: start;
    margin-left: -12px; /* Pull the entire group left towards screen edge */
  }

  /* Extreme Left: Hamburger menu */
  .main-nav-toggler {
    order: 1;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Second: Logo */
  .brand-logo-container {
    order: 2;
    text-align: left;
    display: flex;
    align-items: center;
    margin-top: -4px; /* Nudge logo upwards for perfect optical alignment */
  }

  /* Right: Login Button */
  .nav-right-section {
    justify-self: end;
    margin-right: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .flag-icon {
    width: 20px;
    height: auto;
  }

  /* Hide desktop navigation */
  .main-nav-wrapper {
    display: none;
  }

  /* Hamburger styling to match image */
  .hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
  }

  .hamburger-bar1,
  .hamburger-bar2,
  .hamburger-bar3 {
    width: 100%;
    height: 2px;
    background-color: #fff2f2;
    /* Red color to match image */
    margin: 4px 0;
    border-radius: 1px;
  }
}

@media (max-width: 992px) {
  .brand-logo {
    max-height: 40px;
    margin-top: 0; /* Resetting negative margin that could cause offsets */
    margin-left: 0;
  }
}

/* Desktop view */
@media (min-width: 992px) {
  .nav-right-section {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .in-mobile {
    margin-left: 0; /* Resetting negative margin */
  }
}

/* Mobile Navigation CSS */
@media (max-width: 768px) {
  .header-top {
    /* background-color: #33312d; */
    padding: 0;
  }

  .header-top .container {
    padding: 0;
    max-width: 100%;
  }

  /* Hide desktop layout on mobile */
  .desktop-header {
    display: none;
  }

  /* Mobile header layout - single line with space between */
  .mobile-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  /* Date styling */
  .mobile-date {
    color: #cecece;
    font-size: 14px;
    padding: 3px 10px;
  }

  /* Right nav links container */
  .mobile-right-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Individual nav items */
  .mobile-right-nav li {
    display: inline-block;
    margin: 0;
    padding: 0;
  }

  /* Nav link styling */
  .mobile-right-nav li a {
    color: white;
    text-decoration: none;
    padding: 3px 15px;
    display: inline-block;
    font-size: 14px;
  }
}

.left-space {
  margin-left: 5rem;
}

@media screen and (min-width: 1367px) {
  .left-space2 {
    margin-left: 17rem;
  }
}

.left-space2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: clamp(1rem, 5vw, 0rem);
}

.margin-top3 {
  margin-top: -7px;
}

.main-navigation {
  margin-left: 0.97rem;
}

.main-navigation>li>a:hover {
  color: #e85d04;
}


@media (min-width: 992px) {
  .hidden-in-mobile {
    display: none;
  }
}

@media (max-width: 1115px) {
  .fix-in-mobile {
    position: fixed;
    top: 0; /* Changed from -1rem to 0 */
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0; /* Removed 10px vertical padding */
  }
}

@media (min-width: 1116px) and (max-width: 1199px) {
  .in-mobile {
    display: none;
  }
}

/* Add shadow to navigation bar for all device views */
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure shadow is visible on mobile, tablet and desktop */
@media (max-width: 1115px) {
  .navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }
}

@media (min-width: 768px) and (max-width: 1115px) {
  .navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }
}

@media (min-width: 992px) {
  .navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }
}

@media (max-width: 1115px) {
  .hidden-in-tab {
    display: none !important;
  }
}

.remove-text-decor {
  text-decoration: none;
  font-size: 3.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

.remove-text-decor:hover {
  text-decoration: none;
}

@media (max-width: 1115px) {
  .remove-text-decor {
    font-size: 40px;
  }
}

/* Navbar CTA Button Styles (Consistent across desktop and mobile) */
.navbar-cta-btn {
  background-color: #ffffff !important;
  color: #ea580c !important;
  border: 2px solid #ea580c !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  padding: 6px 20px !important;
  font-size: 16px !important;
  border-radius: 6px !important;
}

.navbar-cta-btn:hover {
  background-color: #ea580c !important;
  color: #ffffff !important;
  border-color: #ea580c !important;
}

/* Premium Profile Frame (Circular Style) */
.nav-profile-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%; /* Perfect circle shape */
  overflow: hidden;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}

.nav-profile-frame:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: #e85d04;
  background: #ffffff;
}

.nav-profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-profile-frame i {
  color: #94a3b8;
  font-size: 24px;
  transition: color 0.3s ease;
}

.nav-profile-frame:hover i {
  color: #e85d04;
}

/* Ensure mobile compatibility */
@media (max-width: 1115px) {
  .nav-profile-frame {
    width: 38px;
    height: 38px;
    border-radius: 50%;
  }
  
  .nav-profile-frame i {
    font-size: 20px;
  }
}
