.top-logo img {
    height: 35px;
    width: auto;
}

.top-phone {
    color: #fff;
    gap: 8px;
}

.top-phone .phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.top-phone small {
    font-size: 12px;
    opacity: 0.8;
}

.top-phone a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.phone-icon svg {
    display: block;
}
.contact-menu {
    display: flex;
    align-items: center;
}

.contact-logo {
    height: 28px;
    width: auto;
}
.header_right_part {
    flex: 1;
    display: flex;
    justify-content: center;
}
.header_right_part {
    flex: 1;
    display: flex;
    justify-content: center;
}
.header_left_part .logo img {
    max-width: 160px;   /* adjust if needed */
    height: auto;
}
.mainnav {
    margin: 0 auto;
}
/* ---------- MOBILE LOGO BEHAVIOR ---------- */

/* Hide mobile logo by default (Desktop) */
.mobile-logo {
    display: none;
}

/* Desktop logos visible */
.header_left_part .logo {
    display: block;
}

/* Overlay */
.sl-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
}

/* Popup Box */
.sl-popup {
  background: #0b0b0b;
  border: 1px solid #2ecc71;
  padding: 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(46,204,113,0.3);
  transform: scale(0.8);
  transition: 0.4s ease;
  position: relative;
}

/* Active */
.sl-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.sl-popup-overlay.active .sl-popup {
  transform: scale(1);
}

/* Close Button */
.sl-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* Text */
.sl-popup h3 {
  color: #f1c40f;
  margin-bottom: 5px;
  text-align: center;
}
.sl-popup p {
  color: #bbb;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

/* Form */
.sl-popup form input,
.sl-popup form select,
.sl-popup form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
}
.sl-popup form input:focus,
.sl-popup form textarea:focus,
.sl-popup form select:focus {
  border-color: #2ecc71;
  outline: none;
}

/* Button */
.sl-popup form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg,#2ecc71,#27ae60);
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.sl-popup form button:hover {
  transform: translateY(-2px);
}

@media screen and (max-width: 575px) {
    .header .header_right_part {
        margin-left: 139px;
    }
}
/* ---------- MOBILE VIEW ---------- */
@media (max-width: 1199px) {

    /* Hide BOTH existing logos */
    .header_left_part {
        display: none !important;
    }

    /* Show ONLY mobile logo */
    .mobile-logo {
        display: flex;
        align-items: center;
    }

    .mobile-logo img {
        max-height: 77px;   /* adjust if needed */
        width: auto;
        padding: 5px 0;
    }

    /* Ensure left alignment */
    .header-inner .d-flex {
        justify-content: space-between;
    }
}
