
* {
  font-family: "Golos Text", sans-serif;
}
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -20;
}

.section-gradient {
  background: linear-gradient(270deg, rgba(0, 79, 76, 0) 12.16%, rgba(0, 79, 76, 0.004) 12.16%, rgba(0, 79, 76, 0.9) 82.49%),
    url("./images/contact.jpg");
  background-size: auto, cover;
  background-color: #ebeff0;
  background-repeat: no-repeat;
  height: 525px;
  background-position: 0% 50%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 79, 76, 0) 12.16%, rgba(0, 79, 76, 0.004) 12.16%, rgba(0, 79, 76, 0.9) 82.49%);

  z-index: -10;
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 4rem;
  }
}

.img-shadow {
  box-shadow: 3px 3px 6px #bfc3cf, -3px -3px 6px #bfc3cf;
}

/* Marquee Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 30s linear infinite;
  display: flex;
  width: fit-content;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

/* Mobile Responsive Fixes */
@media (max-width: 640px) {
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
    width: 100%;
    line-height: 1.6;
  }
  
  html {
    overflow-x: hidden;
  }
  
  /* Hero section mobile fixes - More breathing room */
  main {
    min-height: 70vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  /* Video background mobile */
  .video-background {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
  }
  
  /* Section padding mobile - Increased for better spacing */
  section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  /* Button spacing mobile */
  .flex.space-x-4 {
    flex-direction: column;
    gap: 1rem;
  }
  
  .flex.space-x-4 > * {
    width: 100%;
    text-align: center;
  }
  
  /* Text sizes mobile - Better hierarchy */
  h1 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
  }
  
  h2 {
    font-size: 2rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }
  
  p {
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* Grid adjustments mobile - More spacing */
  .grid {
    gap: 1.5rem !important;
    row-gap: 2rem !important;
  }
  
  /* Image containers mobile */
  .rounded-t-full {
    max-height: 300px;
    margin-bottom: 2rem;
  }
  
  /* Services grid mobile */
  .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Card padding mobile - More generous */
  .p-8, .p-6, .p-4 {
    padding: 2rem 1.5rem !important;
  }
  
  /* Logo marquee mobile */
  .animate-scroll {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  /* Form inputs mobile */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 1rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* Section gradient mobile */
  .section-gradient {
    height: auto;
    min-height: 450px;
    padding: 4rem 1.5rem !important;
  }
  
  /* Absolute positioned elements mobile */
  .absolute {
    position: relative !important;
  }
  
  /* Background shapes mobile - hide or adjust */
  .bg-legacy-dark.rounded-l-3xl,
  .bg-legacy-dark.rounded-r-3xl {
    display: none;
  }
  
  /* Better spacing for containers */
  .max-w-7xl {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  /* Card spacing */
  .bg-white.rounded-3xl,
  .bg-white.rounded-xl,
  .bg-white.rounded-2xl {
    margin-bottom: 2rem !important;
    padding: 2rem 1.5rem !important;
  }
  
  /* Button spacing */
  button, a[class*="rounded"] {
    margin-bottom: 0.75rem;
  }
  
  /* List spacing */
  ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  li {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  /* Tablet adjustments */
  .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Flex column on mobile */
  .flex.flex-col.lg\:flex-row {
    flex-direction: column;
  }
  
  /* Image sizing mobile */
  .lg\:w-1\/2 {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  /* Text alignment mobile */
  .text-center.lg\:text-left {
    text-align: center;
  }
  
  .justify-center.lg\:justify-start {
    justify-content: center;
  }
  
  /* Padding adjustments */
  .px-12 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hide decorative background shapes on tablet */
  .bg-legacy-dark.rounded-l-3xl,
  .bg-legacy-dark.rounded-r-3xl {
    display: none;
  }
}

/* Additional mobile fixes for specific elements */
@media (max-width: 640px) {
  /* Tab buttons mobile - More spacing */
  .tab-button,
  .home-tab-button {
    padding: 1rem 0.75rem !important;
    margin-bottom: 1.5rem !important;
    min-height: 80px;
  }
  
  /* Service cards mobile - More breathing room */
  .bg-white.bg-opacity-10 {
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 1rem !important;
  }
  
  /* Client cards mobile */
  .pt-16, .pt-12 {
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* Footer mobile */
  footer {
    padding: 2rem 1.5rem !important;
    margin-top: 3rem;
  }
  
  /* Scroll to top button mobile */
  #scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
  
  /* About section spacing */
  .flex.flex-col.lg\:flex-row {
    gap: 2rem !important;
  }
  
  /* Text content spacing */
  .text-left, .text-center {
    margin-bottom: 1.5rem;
  }
  
  /* Image spacing */
  img {
    margin-bottom: 1.5rem;
  }
  
  /* Form spacing */
  form {
    padding: 1.5rem !important;
  }
  
  form > * {
    margin-bottom: 1.25rem !important;
  }
  
  /* Section titles */
  section > div > h2,
  section > div > h1 {
    margin-bottom: 2rem !important;
  }
  
  /* Card grid spacing */
  .grid.grid-cols-1.md\:grid-cols-2 {
    gap: 2rem !important;
  }
  
  /* Tab content spacing */
  .home-tab-content,
  .tab-content {
    padding: 2rem 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Partnership logos spacing */
  .animate-scroll {
    padding: 2rem 0 !important;
  }
  
  /* Hero text spacing */
  main h1 {
    margin-bottom: 1.5rem !important;
  }
  
  main p {
    margin-bottom: 2rem !important;
    line-height: 1.75 !important;
  }
  
  /* Button groups */
  .flex.flex-col,
  .flex.flex-row {
    gap: 1rem !important;
  }
}