/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0 2rem;
  box-sizing: border-box;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo a {
  display: block;
height: 180px;

}

.site-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
/* Desktop Navigation */
.main-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-navigation a {
  text-decoration: none;
  color: var(--body-text);
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-navigation a:hover {
  color: var(--primary-blue);
}

/* Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cta-button {
  background-color: #0b5ed7;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px; /* Rounded corners like image */
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: 1px solid transparent;
}
.cta-button:hover {
  background-color: #0b5ed7;
}

/* UPDATED: Sign in button now matches CTA button style */
.menu-button {
  background-color: #143af8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px; /* Rounded corners like image */
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: 1px solid transparent;
}
.menu-button:hover {
  background-color: #143af8;
}

/* Mobile Menu Toggles & Overlay */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1010;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  flex-shrink: 0;
  margin: -1.5rem -2rem 0;
  padding: 0 2rem;
}
.menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-nav-content {
  margin-top: 2rem;
}
.mobile-nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-links li {
  border-bottom: 1px solid #f1f1f1;
}
.mobile-nav-links li:first-child {
  border-top: 1px solid #f1f1f1;
}
.mobile-nav-links a {
  display: block;
  padding: 1.25rem 0;
  text-decoration: none;
  color: var(--dark-text);
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Responsive Visibility --- */
.hide-on-desktop {
  display: none;
}

@media (max-width: 992px) {
  /* Hide desktop elements on mobile */
  .main-navigation,
  .header-actions .cta-button,
  .header-actions .menu-button {
    display: none;
  }
  /* Show mobile hamburger menu */
  .hide-on-desktop {
    display: block;
  }
}

.cta-button {
  display: inline-block; /* Ensures proper styling */
  background-color: #143af8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: 1px solid transparent;
}

.cta-button:hover {
  background-color: #143af8;
}

.professional-footer {
  background-color: #121212; /* A slightly softer black */
  color: #eaeaea;
  padding: 4rem 2rem;
}

.footer-grid {
  display: grid;
  /* On mobile, start with one column */
  grid-template-columns: 1fr;
  gap: 2.5rem; /* Space between stacked columns on mobile */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 1rem;
}

.footer-column a {
  color: #a7a7a7;
  text-decoration: none;
  display: flex; /* Aligns icon and text */
  align-items: center;
  gap: 0.75rem; /* Space between icon and text */
  transition: color 0.2s ease-in-out;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column .footer-icon {
  /* Using Font Awesome pseudo-elements for icons */
  font-size: 1.1rem;
  width: 20px; /* Ensures consistent alignment */
  text-align: center;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333333;
  display: flex;
  flex-direction: column; /* Stack on mobile */
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #a7a7a7;
}

.footer-bottom-links a {
  color: #a7a7a7;
  text-decoration: none;
  margin-left: 1.5rem;
}

.footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------- */
/* ---       Tablet & Desktop Responsive Styles    --- */
/* --------------------------------------------------- */
@media screen and (min-width: 768px) {
  .footer-grid {
    /* Create 3 columns for wider screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem; /* Increase gap for desktop layout */
  }

  .footer-bottom {
    flex-direction: row; /* Side-by-side layout */
    justify-content: space-between; /* Pushes items to edges */
  }

  .footer-bottom-links {
    /* The copyright text will automatically stay on the left */
  }
}

.custom-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 2.5rem 1.5rem; /* Vertical and horizontal padding */
  font-size: 1rem;
}

.footer-main-content {
  display: flex;
  flex-direction: column; /* Mobile-first: stack items vertically */
  align-items: center; /* Center items for mobile view */
  text-align: center;
  max-width: 1200px; /* Optional: constrain max width for very large screens */
  margin: 0 auto; /* Center the content container */
}

.footer-nav {
  display: flex;
  flex-direction: column; /* Mobile-first: stack nav links */
  align-items: center;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 0; /* Generous clickable area on mobile */
}

.footer-nav a:hover {
  text-decoration: underline; /* Adds interactivity */
}

.footer-brand {
  margin-top: 2rem; /* Space between links and brand statement on mobile */
}

.footer-brand p {
  margin: 0;
  font-weight: 500;
}

.footer-copyright {
  margin-top: 2.5rem; /* Space between main content and copyright */
  text-align: center;
  font-size: 0.875rem; /* Slightly smaller text */
  color: #a0a0a0; /* A slightly dimmer white for subtlety */
}

.footer-copyright p {
  margin: 0;
}

/* --------------------------------------------------- */
/* ---       Tablet & Desktop Responsive Styles    --- */
/* --------------------------------------------------- */
@media screen and (min-width: 768px) {
  .custom-footer {
    padding: 2rem 2.5rem; /* Adjust padding for wider screens */
  }

  .footer-main-content {
    flex-direction: row; /* Horizontal layout */
    justify-content: space-between; /* Pushes items to ends */
  }

  .footer-nav {
    flex-direction: row; /* Horizontal links */
  }

  .footer-nav a {
    padding: 0; /* Reset mobile padding */
    margin-right: 2rem; /* Space between links */
  }

  .footer-nav a:last-child {
    margin-right: 0; /* Remove margin from the last link */
  }

  .footer-brand {
    margin-top: 0; /* Reset mobile margin */
  }
}

.professional-info-section {
  background-color: #121212; /* A slightly softer black */
  color: #eaeaea;
  padding: 4rem 2rem;
}

.info-grid {
  display: grid;
  /* On mobile, start with one column */
  grid-template-columns: 1fr;
  gap: 2.5rem; /* Space between stacked columns on mobile */
  max-width: 1200px;
  margin: 0 auto;
}

.info-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-column li {
  margin-bottom: 1rem;
}

.info-column a {
  color: #a7a7a7;
  text-decoration: none;
  display: flex; /* Aligns icon and text */
  align-items: center;
  gap: 0.75rem; /* Space between icon and text */
  transition: color 0.2s ease-in-out;
}

.info-column a:hover {
  color: #ffffff;
}

.info-column .icon-style {
  /* Using Font Awesome pseudo-elements for icons */
  font-size: 1.1rem;
  width: 20px; /* Ensures consistent alignment */
  text-align: center;
}

.section-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #333333;
  display: flex;
  flex-direction: column; /* Stack on mobile */
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #a7a7a7;
}

.bottom-links a {
  color: #a7a7a7;
  text-decoration: none;
  margin-left: 1.5rem;
}

.bottom-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------- */
/* ---       Tablet & Desktop Responsive Styles    --- */
/* --------------------------------------------------- */
@media screen and (min-width: 768px) {
  .info-grid {
    /* Create 3 columns for wider screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem; /* Increase gap for desktop layout */
  }

  .section-bottom {
    flex-direction: row; /* Side-by-side layout */
    justify-content: space-between; /* Pushes items to edges */
  }

  .bottom-links {
    /* The copyright text will automatically stay on the left */
  }
}

/* The main container for the "Trusted By" section */
.trusted-by-section {
  background: linear-gradient(
    135deg,
    #f1f5f2
  ); /* Blue to Purple/Pink Gradient */
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Styling for the introductory text */
.trusted-by-section .intro-text {
  color: #000000;
  font-size: 1.25rem; /* 20px */
  font-weight: 500;
  margin: 0 auto 40px auto;
  max-width: 800px;
}

.trusted-by-section .intro-text strong {
  color: #000000;
  font-weight: 700;
}

/* Flex container for the logos for alignment and responsiveness */
.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px; /* Space between logos */
  max-width: 1200px;
  margin: 0 auto;
}

/* Styling for each logo item */
.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px; /* Consistent height for all logos */
}

.logo-item img,
.logo-item svg {
  max-height: 100%;
  width: auto;
  max-width: 140px; /* Max width for each logo */
  filter: brightness(0) invert(1); /* Makes PNG logos white */
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* The user-provided SVG needs a specific fill color */
.logo-item .user-svg {
  filter: none; /* Reset filter for direct SVG manipulation */
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-item img:hover,
.logo-item svg:hover {
  opacity: 1;
}

/* Media query for smaller devices */
@media (max-width: 768px) {
  .trusted-by-section {
    padding: 40px 15px;
  }

  .trusted-by-section .intro-text {
    font-size: 1.1rem; /* 18px */
    margin-bottom: 30px;
  }

  .logo-grid {
    gap: 30px; /* Reduce gap on smaller screens */
  }

  .logo-item {
    height: 30px; /* Adjust logo height for smaller screens */
  }
}

/* Section container styling */
.trusted-by-section {
  background-color: #f1f5f2; /* As requested */
  padding: 4rem 0; /* Adjusted padding */
  text-align: center;
}

/* Introduction text styling */
.intro-texts {
  font-size: 1.5rem; /* 24px */
  color: #000000; /* As requested */
  margin: 0 auto 3rem auto; /* Centered with bottom margin */
  max-width: 600px;
  padding: 0 1.5rem;
}

/* Scroller container for logos */
.logo-scroller {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  /* Fade effect on the edges for the scrolling animation */
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

/* The grid that holds and animates the logos */
.logo-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem; /* Spacing between logos */
  width: max-content; /* Prevents wrapping and allows animation */
  /* Animation properties */
  animation: scroll 40s linear infinite;
}

/* Pause animation on hover */
.logo-scroller:hover .logo-grid {
  animation-play-state: paused;
}

/* Keyframes for the scrolling animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Moves the container left by the width of the first set of logos */
    transform: translateX(-50%);
  }
}

/* Individual logo item styling */
.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px; /* Consistent height for all logos */
}

/* Styling for all logos (img and svg) */
.logo-item img,
.logo-item svg {
  height: 100%; /* Fill the container height */
  width: auto;
  max-width: 160px; /* Prevent logos from being too wide */
  filter: brightness(0) invert(0); /* Makes image logos black */
  opacity: 0.8;
}

/* Specific override for SVG fill color */
.logo-item svg {
  fill: #000000; /* As requested */
}

/* Desktop view: No animation, logos are centered in a single line */
@media (min-width: 1024px) {
  .logo-scroller {
    -webkit-mask: none;
    mask: none;
    overflow: visible; /* Show all logos */
  }

  .logo-grid {
    animation: none; /* Disable animation */
    justify-content: space-between; /* Distribute logos evenly */
    width: 100%;
    padding: 0 1.5rem;
  }

  /* Hide the duplicated logos on desktop */
  .logo-item[aria-hidden="true"] {
    display: none;
  }
}
