/* ==========================================================================
   Shared header refinements (all pages; loaded after style.css/responsive.css).
   The one-page menu has 8 items, so the template's 60px gaps are tightened
   per breakpoint to keep the logo, menu and button on one line.
   ========================================================================== */

.main-header .header-lower .main-menu .navigation > li {
  margin-right: 34px;
}
.main-header .header-lower .main-menu .navigation > li:last-child {
  margin-right: 0;
}
.sticky-header .main-menu .navigation > li {
  margin-left: 32px;
}
.main-header .main-menu .navigation > li > a {
  white-space: nowrap;
}

@media (max-width: 1399.98px) {
  .main-header .header-lower .main-menu .navigation > li {
    margin-right: 26px;
  }
  .sticky-header .main-menu .navigation > li {
    margin-left: 24px;
  }
}

@media (max-width: 1199.98px) {
  .main-header .header-lower .main-menu .navigation > li {
    margin-right: 18px;
  }
  .sticky-header .main-menu .navigation > li {
    margin-left: 18px;
  }
  .main-header .header-lower .main-menu .navigation > li > a,
  .sticky-header .main-menu .navigation > li > a {
    font-size: 16px;
  }
}

/* "Book Your Consultation" button — main header (from 1200px) and sticky header */
.main-header .header-btn-main {
  font-family: var(--heading-font-family);
  font-weight: 600;
  white-space: nowrap;
}
.sticky-header .inner-container {
  gap: 24px;
}
.sticky-header .nav-outer {
  margin-left: auto;
}
.sticky-header .header-btn-main {
  font-size: 16px;
  padding: 12px 22px 13px;
}

@media (max-width: 1399.98px) {
  .main-header .header-lower .header-btn-main {
    font-size: 16px;
    padding: 13px 20px 14px;
  }
  .main-header .header-lower .outer-box {
    gap: 20px;
  }
}

/* 1200–1299px: keep logo, 8 menu items and the button on one line */
.main-header .header-lower .logo-box {
  min-width: 0;
}
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .main-header .header-lower .main-menu .navigation > li {
    margin-right: 20px;
  }
  .main-header .header-lower .main-menu .navigation > li > a {
    font-size: 16px;
  }
  .main-header .header-lower .outer-box {
    padding-left: 16px;
  }
}

/* Contact form result message (parts/contact-notice.php) */
.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  border: 1px solid;
}
.contact-notice i {
  margin-top: 3px;
}
.contact-notice--success {
  background: rgba(46, 204, 113, 0.12);
  border-color: rgba(46, 204, 113, 0.45);
}
.contact-notice--success i {
  color: #2ecc71;
}
.contact-notice--error {
  background: rgba(231, 76, 60, 0.12);
  border-color: rgba(231, 76, 60, 0.45);
}
.contact-notice--error i {
  color: #e74c3c;
}

/* Long email address (Freelancervarunkumarchandigarh@gmail.com) — wrap instead of overflowing its column */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Phone number in the header bar (parts/header/header.php, header3.php).
   Full number from 1400px; round phone icon on narrower screens. */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-color-white);
  font-family: var(--heading-font-family);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: color 300ms ease;
}
.header-phone:hover {
  color: var(--theme-color1);
}
.header-phone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--theme-color1);
  color: var(--theme-color1);
  font-size: 16px;
  transition: all 300ms ease;
}
.header-phone:hover .header-phone__icon {
  background-color: var(--theme-color1);
  color: var(--theme-color-black);
}
@media (max-width: 1399.98px) {
  .header-phone__number {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (max-width: 575.98px) {
  .header-phone__icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}
