
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  margin-left: 12px;
  padding: 10px 16px;

  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.nav-links a:hover {
  background: white;
  color: #0f172a;
  transform: translateY(-1px);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #2563eb;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

.content-block {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 60px !important;
  max-width: 1200px !important;
  margin: 60px auto !important;
}

.content-block.reverse {
  flex-direction: row-reverse !important;
}

.text-column {
  flex: 1.2 !important;
  max-width: 700px !important;
}

.image-column {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
}

.image-column img {
  width: 100% !important;
  max-width: 650px !important;
  border-radius: 16px;
}



.text-only-container {
  max-width: 1000px !important;
  width: 100% !important;
  margin: 40px auto !important;
}

.text-only-paragraph {
  max-width: 1000px;
  margin: 0 auto;
}

.section-container {
  max-width: 1200px !important;
  width: 92% !important;
  margin: 0 auto !important;
}


@media (max-width: 768px) {
  .nav-links {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 14px !important;
    padding: 14px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12) !important;
  }

  .navbar.menu-open .nav-links {
    display: flex !important;
  }

  .nav-links a {
    width: 100% !important;
    margin-left: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .content-block {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-block.reverse {
    flex-direction: column !important;
  }

  .image-column img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-container {
    width: 100% !important;
  }
}
