@font-face {
  font-family: 'Vk Regular';
  src: url('/fonts/vk_sans_display_regular.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Medium';
  src: url('/fonts/vk_sans_display_medium.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Semibold';
  src: url('/fonts/vk_sans_display_semibold.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Vk Bold';
  src: url('/fonts/vk_sans_display_bold.ttf') format('truetype');
  font-style: normal;
}

@font-face {
  font-family: 'Moranga Regular';
  src: url('/fonts/moranga_regular.otf') format('opentype');
  font-style: normal;
}

@font-face {
  font-family: 'Moranga Medium';
  src: url('/fonts/moranga_medium.otf') format('opentype');
  font-style: normal;
}

@font-face {
  font-family: 'Moranga Bold';
  src: url('/fonts/moranga_bold.otf') format('opentype');
  font-style: normal;
}

/* Denton font*/
@font-face {
  font-family: 'Denton Regular';
  src: url('/fonts/denton_regular.otf') format('opentype');
  font-style: normal;
}

@font-face {
  font-family: 'Denton Medium';
  src: url('/fonts/denton_medium.otf') format('opentype');
  font-style: normal;
}

:root {
  --color_black: #000000;
  --color_white: #ffffff;
  --color_gray: #6b7280;
  --color_light_gray: #f3f4f6;
  --color_dark_gray: #374151;
  --color_red: #ef4444;
  --color_pink: #fce7f3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--color_white);
  color: var(--color_black);
  min-height: 100vh;
  font-family: 'Vk Regular', sans-serif;
}

.content-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
nav {
  background: rgba(243, 244, 246, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color_black);
  text-decoration: none;
  font-family: 'Vk Regular', sans-serif;
}

/* Main Content */
main {
  flex: 1;
  padding: 4rem 2rem;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content .not-found-title {
  font-size: 10rem;
  font-family: 'Denton Medium', serif;
  text-align: center;
  display: block;
  color: var(--color_black);
  margin-bottom: 1.5rem;
  width: 100%;
}

/* Override grid layout for 404 page */
.content:has(.not-found-title) {
  display: block !important;
  text-align: center;
}

.content:has(.not-found-title) .description {
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 600px;
}

.content:has(.not-found-title) .go-to-homepage-button {
  margin: 0 auto;
  display: inline-block;
  background-color: var(--color_black);
  color: var(--color_white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Vk Medium', sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.content:has(.not-found-title) .go-to-homepage-button:hover {
  background-color: var(--color_dark_gray);
  transform: translateY(-1px);
}

.content .description {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: 'Vk Regular', sans-serif;
  color: var(--color_black);
  margin-bottom: 1.5rem;
}

/* Right Column - Service Description */
.right-column {
  padding-left: 2rem;
  overflow: hidden;
}

.right-column .title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-family: 'Denton Medium', serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color_black);
}

.right-column .description {
  font-size: 1.2rem;
  line-height: 1.5;
  font-family: 'Vk Regular', sans-serif;
  color: var(--color_black);
  margin-bottom: 1.5rem;
}

.right-column .standards {
  font-size: 1.1rem;
  line-height: 1.5;
  font-family: 'Vk Regular', sans-serif;
  color: var(--color_gray);
  margin-bottom: 3rem;
}

.trust-section {
  margin-top: 3rem;
}

.trust-title {
  font-size: 0.875rem;
  font-family: 'Vk Medium', sans-serif;
  font-weight: 500;
  color: var(--color_black);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.company-logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.logo-scroll {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.company-logos:hover .logo-scroll {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  max-width: 100px;
  height: 50px;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Left Column - Demo Form */
.left-column {
  background-color: var(--color_white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.certificate-icon {
  color: var(--color_red);
  font-size: 2rem;
  display: flex;
  align-items: center;
  line-height: 1;
  transform: translateY(-4px);
}

.form-title {
  font-size: 2.5rem;
  font-family: 'Denton Medium', serif;
  font-weight: 700;
  color: var(--color_black);
}

.form-description {
  font-size: 1.1rem;
  font-family: 'Vk Regular', sans-serif;
  color: var(--color_black);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.demo-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-family: 'Vk Medium', sans-serif;
  font-weight: 500;
  color: var(--color_black);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Vk Regular', sans-serif;
  background-color: var(--color_white);
  color: var(--color_black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color_red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group select {
  cursor: pointer;
}

.submit-button {
  background-color: var(--color_black);
  color: var(--color_white);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Vk Medium', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: var(--color_dark_gray);
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-family: 'Vk Regular', sans-serif;
  font-size: 0.875rem;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
footer {
  background-color: var(--color_white);
  padding: 1.5rem 2rem;
  margin-top: auto;
}

.footer-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text p {
  font-size: 0.875rem;
  color: var(--color_gray);
  font-family: 'Vk Regular', sans-serif;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color_gray);
  text-decoration: underline;
  font-family: 'Vk Regular', sans-serif;
}

.footer-text a:hover,
.footer-links a:hover {
  color: var(--color_black);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .right-column {
    padding-left: 0;
  }

  .right-column .title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  main {
    padding: 2rem 1rem;
  }

  nav {
    padding: 1rem 1rem;
  }

  .right-column .title {
    font-size: 2.5rem;
  }

  .form-title {
    font-size: 2rem;
  }

  .company-logos {
    gap: 1rem;
  }

  .footer-text {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-text a {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .right-column .title {
    font-size: 2rem;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .company-logos {
    flex-direction: column;
    gap: 1rem;
  }
}
