/* Finnext Header Styles */

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #222;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 72px;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: 175px;
  display: block;
  background: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 0 28px;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  height: 72px;
  line-height: 72px;
  transition: color 0.2s;
  position: relative;
}



.nav-item:not(:last-child) .nav-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-right: 1.5px solid #e0e0e0;
}

/* Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 0;
  z-index: 1001;
  list-style: none;
}

.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 10px 24px;
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.dropdown-link:hover,
.dropdown-link:focus {
  background: #ff6600;
  color: #fff;
  outline: none;
}

/* Make Services nav-link look like a link but not clickable */
.nav-dropdown > .nav-link {
  cursor: pointer;
  color: #222;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  user-select: none;
  text-decoration: none;
}

.nav-dropdown > .nav-link:focus {
  outline: 2px solid #ff6600;
}

.nav-dropdown > .nav-link:hover {
  color: #ff6600;
}

.nav-arrow {
  display: inline-block;
  font-size: 1.2em;
  margin-left: 4px;
  vertical-align: middle;
  color: #ff6600;
}

/* Active nav-link style */
.nav-link.active,
.nav-link[aria-current="page"] {
  color: #ff6600 ;
  font-weight: 600 ;
}

.nav-link:hover,
.nav-link:focus {
  color: #ff6600;
  outline: none;
}

@media (max-width: 800px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 12px;
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
  }
  .nav-list {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-link {
    padding: 0 16px;
    height: 48px;
    line-height: 48px;
    font-size: 0.98rem;
  }
  .logo-img {
    height: 36px;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 500px) {
  .header-container {
    padding: 6px;
  }
  .nav-link {
    padding: 0 8px;
    font-size: 0.95rem;
  }
}

/* Footer styles for completeness */
footer {
  text-align: center;
  padding: 24px 0 12px 0;
  font-size: 0.95rem;
  color: #888;
  background: #fafafa;
  margin-top: 48px;
}


/* Footer Styles */
.site-footer {
  background: #222;
  color: #fff;
  padding: 32px 0 20px 0;
  font-size: 1rem;
  margin-top: 64px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-nav {
  flex: 1 1 auto;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: baseline;  
  gap: 32px;
}



.footer-contact {
  flex: 1 1 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.footer-contact-label {
  font-weight: 600;
  color: #ff6600;
}

.footer-email {
  color: #222;
  text-decoration: underline;
  font-weight: 500;
}

.footer-logo {
  flex: 1 1 120px;
  display: flex;
  justify-content: flex-end;
}

.footer-logo-img {
  height: 50px;
  width: 175px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

/* @media (max-width: 800px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-logo {
    justify-content: flex-start;
    margin-top: 12px;
  }
} */

@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px; /* Reduce gap for mobile */
    padding: 0 12px;
  }
  .footer-logo {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .footer-nav-list {
    gap: 16px;
  }
  .footer-contact {
    margin: 0;
  }
}

/* Footer Services Dropdown Styles */
.footer-link-services {
  position: relative;
}







.footer-services-dropdown .footer-link:hover,
.footer-services-dropdown .footer-link:focus {
  background: #ff6600;
  color: #fff;
  outline: none;
}

.footer-services-static-list {
  list-style-type: none;    
  padding: 20px 0 0 0;  
  margin: 0;
}
.footer-services-static-list li {
  margin-bottom: 0.3em;
}


.footer-link {
  color: #ff6600;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-link:hover,
.footer-link:focus {
  color: #888;
  text-decoration: underline;
}
 .dd {
  font-weight: 600;
  cursor: default;
  color: #222;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
} 
@media (max-width: 800px) {
  .footer-link-services .footer-services-dropdown {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }
}


