/**
 * ifieldsmart.com - shared site chrome (announcement bar, header, footer)
 * Ported from the main-site includes (page_header / navigation / page_footer)
 * Brand: yellow #F6B93B | Font: Outfit
 */

:root {
  --brand-yellow: #F6B93B;
  --brand-yellow-hover: #E5AB30;
  --brand-yellow-soft: #FAD390;
  --marquee-height: 34px;
  --nav-height: 62px;
}

@media (max-width: 991px) { :root { --marquee-height: 30px; } }
@media (max-width: 576px) { :root { --marquee-height: 26px; } }

/* ==========================================================================
   1. Announcement bar (yellow marquee)
   ========================================================================== */
.top-marquee {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--marquee-height);
  background: var(--brand-yellow);
  color: #000;
  z-index: 2000;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  padding: 0 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.top-marquee .marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 20s linear infinite;
}

.top-marquee .marquee-track span {
  display: inline-block;
  font-size: 16px;
}

.top-marquee .marquee-msg {
  font-weight: 600;
  letter-spacing: 0.1px;
}

.top-marquee a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 991px) {
  .top-marquee { font-size: 12px; }
  .top-marquee .marquee-track span { font-size: 14px; }
}

@media (max-width: 576px) {
  .top-marquee { font-size: 11px; }
  .top-marquee .marquee-track span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .top-marquee .marquee-track { animation: none; transform: none; }
}

/* ==========================================================================
   2. Desktop navigation
   ========================================================================== */
.desktop-nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: var(--marquee-height);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2px 0;
  font-family: 'Outfit', sans-serif;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--nav-height) - 4px);
  margin: 0 auto;
  padding: 2px 20px;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.nav-links li {
  position: relative;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
  padding: 8px 10px;
}

.nav-links a:hover {
  color: var(--brand-yellow);
}

/* Dropdowns */
.dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px 0;
  min-width: 200px;
  z-index: 1000;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-transform: none;
  font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}

.nav-links .dropdown-menu a:hover {
  background: #f8f8f8;
  color: var(--brand-yellow);
}

.dropdown > a::after {
  content: "\25BC";
  margin-left: 5px;
  font-size: 10px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a::after {
  content: "\25B6";
  float: right;
  margin-left: 10px;
  margin-right: -10px;
  font-size: 10px;
}

.nav-links .dropdown-submenu-content {
  display: none !important;
  top: 0;
  left: 100%;
  margin-left: 0;
  min-width: 220px;
}

.dropdown-submenu:hover > .dropdown-submenu-content {
  display: block !important;
}

/* Contact + CTA */
.nav-contact {
  display: flex;
  align-items: center;
  gap: 11px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}

.contact-info a {
  color: #666;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--brand-yellow);
}

.contact-info i {
  color: var(--brand-yellow);
  margin-right: 5px;
}

.nav-cta {
  display: inline-block;
  background: var(--brand-yellow);
  color: #000 !important;
  padding: 5px 10px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 10px;
  text-transform: capitalize !important;
  transition: all 0.3s ease;
  border: 1px solid var(--brand-yellow);
}

.nav-cta:hover {
  background: none;
  color: #000 !important;
  transform: translateY(-2px);
  border: 1px solid var(--brand-yellow);
}

/* ==========================================================================
   3. Mobile header + full-screen drill-down menu
   ========================================================================== */
.mobile-header {
  display: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: var(--marquee-height);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 20px;
  font-family: 'Outfit', sans-serif;
}

.mobile-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.mobile-toggle,
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 5000000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.mobile-nav-overlay.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-menu {
  padding: 20px 0;
}

.mobile-nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #f5f5f5;
  list-style: none;
  padding: 0;
}

.mobile-nav-menu a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.3s ease;
}

.mobile-nav-menu a:hover {
  background: #f8f8f8;
  color: var(--brand-yellow);
}

.mobile-nav-menu a.menu-link::after {
  content: "\25B6";
  float: right;
  font-size: 12px;
}

.mobile-back-btn {
  padding: 15px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-weight: 600;
  color: #333;
}

.mobile-back-btn:hover {
  background: #e9e9e9;
}

.mobile-menu-level {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-cta {
  margin: 20px;
  text-align: center;
}

.mobile-cta .nav-cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 14px;
}

/* Breakpoints */
@media (max-width: 1599px) {
  .contact-info { display: none; }
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-header { display: block; }
  .mobile-nav-overlay { display: block; }
}

@media (max-width: 576px) {
  .mobile-header { padding: 10px 15px; }
  .mobile-logo img { height: 34px; }
}

/* ==========================================================================
   4. Footer
   ========================================================================== */
	 /* Footer Styles */
  #footer {
    font-family: 'Outfit', sans-serif;
  }

  #footer ul li {
    margin-bottom: 5px !important;
  }

  .footer-dropdown-btn {
    font-size: 12px;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .footer-dropdown-btn:focus,
  .footer-dropdown-btn:active {
    box-shadow: none !important;
    outline: none !important;
  }

  .footer-chevron {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: inline-block;
  }

  .footer-dropdown-btn .footer-chevron {
    margin-left: auto;
  }

  .footer-subdropdown-btn .footer-chevron {
    margin-left: 0;
  }

  .footer-dropdown-btn[aria-expanded="true"] .footer-chevron,
  .footer-subdropdown-btn[aria-expanded="true"] .footer-chevron,
  .footer-dropdown-btn:not(.collapsed) .footer-chevron,
  .footer-subdropdown-btn:not(.collapsed) .footer-chevron {
    transform: rotate(180deg) !important;
  }

  .footer-dropdown-btn:hover,
  .footer-subdropdown-btn:hover {
    color: #F6B93B !important;
  }

  .footer-subdropdown-btn {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
  }

  .footer-subdropdown-btn:focus,
  .footer-subdropdown-btn:active {
    box-shadow: none !important;
    outline: none !important;
  }

  /* Link hover effects */
  .hover-opacity-100:hover {
    opacity: 1 !important;
    color: #F6B93B !important;
  }

  /* Social media styles */
  .social-link {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }

  .social-link:hover {
    background-color: #F6B93B !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
  }

  /* Contact info styles */
  .contact-info a:hover {
    color: #F6B93B !important;
    opacity: 1 !important;
  }

  /* Mobile specific styles */
  @media (max-width: 991px) {
    #footer .container .row > div:not(:last-child) {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      /* padding-bottom: 1.5rem;
      margin-bottom: 1.5rem; */
    }
    
    .footer-dropdown-btn {
      width: 100%;
      text-align: left;
    }
    
    .collapse {
      margin-top: 0.5rem;
    }
  }

  @media (max-width: 576px) {
    .social-links {
      justify-content: center !important;
      margin-top: 1rem;
    }
  }

  /* Custom Column Widths for Desktop to Prevent Wrapping and Optimize Spacing */
  @media (min-width: 1200px) {
    .col-custom-logo { width: 20% !important; }
    .col-custom-solutions { width: 18% !important; }
    .col-custom-features { width: 20% !important; }
    .col-custom-touch { width: 22% !important; }
    .col-custom-updated { width: 20% !important; }
  }

  @media (min-width: 992px) {
    .footer-subdropdown-container {
      position: relative !important;
      width: max-content !important;
    }
    
    #lens360CollapseDesktop {
      position: absolute !important;
      left: 100% !important;
      top: -12px !important;
      z-index: 1050 !important;
      margin-left: 15px !important;
      background: rgba(20, 20, 20, 0.97) !important;
      backdrop-filter: blur(16px) !important;
      -webkit-backdrop-filter: blur(16px) !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 10px !important;
      padding: 8px !important;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
      min-width: 200px !important;
    }

    #lens360CollapseDesktop::before {
      content: '' !important;
      position: absolute !important;
      top: 18px !important;
      left: -6px !important;
      width: 10px !important;
      height: 10px !important;
      background: rgba(20, 20, 20, 0.97) !important;
      border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      transform: rotate(45deg) !important;
    }
    
    #lens360CollapseDesktop ul {
      border-left: none !important;
      padding-left: 0 !important;
      margin-left: 0 !important;
    }
    
    #lens360CollapseDesktop ul li {
      margin-bottom: 4px !important;
    }
    
    #lens360CollapseDesktop ul li:last-child {
      margin-bottom: 0 !important;
    }

    #lens360CollapseDesktop ul li a {
      color: rgba(255, 255, 255, 0.75) !important;
      opacity: 1 !important;
      display: block !important;
      padding: 6px 12px !important;
      border-radius: 6px !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
      font-size: 13px !important;
      text-decoration: none !important;
    }
    
    #lens360CollapseDesktop ul li a:hover {
      background: rgba(255, 255, 255, 0.06) !important;
      color: #F6B93B !important;
      transform: translateX(4px) !important;
    }
    
    .footer-subdropdown-btn .footer-chevron {
      transform: rotate(-90deg) !important;
    }
    
    .footer-subdropdown-btn:not(.collapsed) .footer-chevron,
    .footer-subdropdown-btn[aria-expanded="true"] .footer-chevron {
      transform: rotate(0deg) !important;
    }
  }

  /* Mobile app download card: horizontal layout */
  .download-container-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    max-width: 320px !important;
    margin: 0 0 24px 0 !important;
  }
  .download-badge-link {
    margin-bottom: 0 !important;
  }
  
  /* Desktop app download card: vertical layout */
  @media (min-width: 1200px) {
    .download-container-card {
      flex-direction: column !important;
      max-width: 180px !important;
      gap: 12px !important;
      margin: 0 !important;
      align-items: center !important;
    }
    .download-badge-link {
      margin-bottom: 12px !important;
    }
  }

  /* Mobile newsletter form: inline side-by-side */
  .newsletter-form-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 400px !important;
  }
  .newsletter-form-group .position-relative {
    flex: 1 !important;
    margin-bottom: 0 !important;
  }
  .newsletter-form-group .newsletter-btn {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 0 16px !important;
  }

  /* Desktop newsletter form: stacked */
  @media (min-width: 1200px) {
    .newsletter-form-group {
      flex-direction: column !important;
      max-width: 100% !important;
    }
    .newsletter-form-group .position-relative {
      margin-bottom: 8px !important;
      width: 100% !important;
    }
    .newsletter-form-group .newsletter-btn {
      width: 100% !important;
    }
  }

  /* Desktop responsive adjustments */
  @media (min-width: 1200px) {
    #footer .container {
      max-width: 1140px;
    }
  }


	.footer-bottom{
background:#000;
padding:10px 0;
font-size:14px;
}

.footer-bottom-row{
display:grid;
grid-template-columns: auto 1fr;
align-items:center;
}

/* CENTER AI TEXT */
.footer-ai{
justify-self:center;
display:flex;
align-items:center;
gap:10px;
color:#ddd;
}

/* COPYRIGHT RIGHT */
.footer-right{
justify-self:end;
color:#ddd;
}

.footer-right a{
color:#F6B93B;
text-decoration:none;
}

/* ICONS */
.ai-icons{
display:flex;
gap:10px;
}

.ai-icons img{
width:24px;
height:24px;
opacity:0.9;
transition:0.3s;
}

.ai-icons img:hover{
opacity:1;
transform:translateY(-2px);
}

/* MOBILE */
@media(max-width:768px){

.footer-bottom-row{
grid-template-columns:1fr;
text-align:center;
gap:6px;
}

.footer-right{
justify-self:center;
}

}

/* ==========================================================================
   5. Floating "Schedule a Meeting" button + Calendly popup
   ========================================================================== */
.schedule-btn {
  position: fixed;
  bottom: 15px;
  left: 30px;
  z-index: 999999;
  cursor: pointer;
  background: var(--brand-yellow);
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brand-yellow);
  transition: background 0.3s ease, transform 0.3s ease;
}

.schedule-btn:hover {
  background: var(--brand-yellow-hover);
  border-color: var(--brand-yellow-hover);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .schedule-btn {
    bottom: 70px;
    left: 12px;
    padding: 8px 15px;
    font-size: 12px;
  }
}

.calendly-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999999;
  overflow: hidden;
}

.calendly-modal.is-open {
  display: block;
}

.calendly-modal__content {
  position: relative;
  width: 80%;
  height: 80%;
  margin: 5% auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.calendly-modal__close {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 10;
  font-size: 24px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.calendly-modal__frame {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .calendly-modal__content { width: 94%; height: 88%; margin: 4% auto; }
}
