/* Reset and Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #ddd; /* Default text color */
  background-color: #000; /* Fallback color behind video */
}

/* Background Video */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark Overlay to improve contrast */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
  z-index: -1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
}

.site-title {
  font-size: 3rem;
  font-family: 'Bebas Neue', sans-serif;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  animation: glow 8s infinite alternate;
}

.title-link {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps the original text color */
  transition: color 0.3s ease-in-out;
}

/* Glow animation on the site title */
@keyframes glow {
  0% {
    text-shadow:
      0 4px 8px rgba(0, 0, 0, 0.6),
      0 0 6px rgba(252, 251, 244, 0.3);
  }
  100% {
    text-shadow:
      0 4px 8px rgba(0, 0, 0, 0.6),
      0 0 12px rgba(255, 254, 248, 0.7);
  }
}

/* Main Scroll Container */
.scroll-container {
  margin-top: 100px; /* Space for header */
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  padding: 140px 20px 80px; /* Increased top padding for better spacing */
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  font-size: 1.8rem; /* Slightly larger for clearer hierarchy */
  font-weight: 600;
  margin-bottom: 30px; /* Added a bit more space below */
  color: #ffffff;
  line-height: 1.5;
}

.hero-subhead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

/* CTA Button */
.button {
  display: inline-block;
  background-color: #4e77d1;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-top: 20px; /* More spacing above the button */
}

.button:hover {
  background-color: #3d66b0;
  transform: scale(1.05);
}

/* Section Styling */
.section {
  padding: 60px 20px;
  text-align: center;
}

.section-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Headings */
.section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: #ffffff; /* Switched to white for stronger contrast */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Paragraphs */
.section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

#why-claritix.section {
  padding-top: 80px; /* or more */
}

/* Media Queries (Optional) */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 1.5rem;
  }
  .hero-subhead {
    font-size: 1rem;
  }
  .section h2 {
    font-size: 2rem;
  }
}

/*Thank you page styles */

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.hero-button {
  background-color: #4e77d1;
  height: 40px;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.hero-button:hover {
  background-color: #3d66b0;
}
.share-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copy-message {
  position: absolute;
  top: -35px; /* Positions it above the button */
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; /* Prevents interaction */
}
