html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #031B1B;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden; /* Only hide horizontal overflow */
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

nav {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  background-color: #0e9294;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

nav a:hover {
  background-color: #000000;
  transform: scale(1.05);
}

header {
  text-align: center;
  margin-top: 20px;
  z-index: 10;
  position: relative; /* Needed for shimmer effect */
}

header img {
  width: 200px;
  height: auto;
  margin-bottom: 0px;
  animation: rotate 40s linear infinite; /* Rotate animation */
}


header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 55px;
  margin-top:20px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ffffff, #0E9294, #ffffff);
  background-size: 200% 200%;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 5s ease infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg); /* Initial position */
  }
  to {
    transform: rotate(360deg); /* Rotate 360 degrees */
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header p {
  font-size: 18px;
  margin-bottom: 20px;
}

.content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.free-trial-section,
.download-section {
  background: rgba(255, 255, 255, 0.062);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 10px #2daaacb4;
  transition: transform 0.3s, background-color 0.3s;
  position: relative;
}

.free-trial-section::before,
.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.664), rgba(0, 0, 0, 0.5));
  z-index: -1;
  transition: opacity 0.3s;
  opacity: 0;
}

.free-trial-section:hover::before,
.download-section:hover::before {
  opacity: 1;
}

.free-trial-section:hover,
.download-section:hover {
  transform: scale(1.05);
  background-color: #0e9294;
}

.free-trial-section h2,
.download-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  margin-top: 0;
  background: linear-gradient(90deg, #0E9294, #ffffff);
  -webkit-text-fill-color: transparent;
}

.free-trial-section p,
.download-section p {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  margin: 14px 0;
}

.free-trial-section button,
.download-section button {
  background: #ffffff !important;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  margin-top: 20px;
  color: #031B1B !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.free-trial-section button:hover,
.download-section button:hover {
  background: #031B1B !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

.free-trial-section button a,
.download-section button a {
  color: inherit;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #00000060;
  width: 100%;
  z-index: 10;
}

footer p {
  margin: 0;
  font-size: 14px;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  background: #0e9294;
  border-radius: 50%;
  filter: blur(100px);
  animation: move 6s infinite;
}

.blobadhere {
  position: absolute;
  background: #00b8e8;
  border-radius: 50%;
  filter: blur(100px);
  animation: move 6s infinite;
}

.hidden {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.box {
  background: rgba(255, 255, 255, 0.062);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 0 10px #2daaacb4;
}

.email-form,
.success-message,
.error-message {
  opacity: 0;
  transform: scale(0.9);
  display: none; /* Initially hidden */
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.email-form h2 {
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
  background: linear-gradient(90deg, #0E9294, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.email-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-form input {
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.email-form button {
  background: #ffffff !important;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  color: #031B1B !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.email-form button:hover {
  background: #031B1B !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  header h1 {
    font-size: 75px;
  }

  .free-trial-section h2,
  .download-section h2,
  .email-form h2 {
    font-size: 40px;
  }

  .free-trial-section p,
  .download-section p {
    font-size: 20px;
  }

  nav a {
    font-size: 20px;
    padding: 12px 24px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  header h1 {
    font-size: 55px;
  }

  .free-trial-section h2,
  .download-section h2,
  .email-form h2 {
    font-size: 35px;
  }

  .free-trial-section p,
  .download-section p {
    font-size: 18px;
  }

  nav a {
    font-size: 18px;
    padding: 10px 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  header h1 {
    font-size: 45px;
  }

  .free-trial-section h2,
  .download-section h2,
  .email-form h2 {
    font-size: 30px;
  }

  .free-trial-section p,
  .download-section p {
    font-size: 16px;
  }

  nav a {
    font-size: 16px;
    padding: 8px 16px;
  }

  header img {
    width: 75px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  header h1 {
    font-size: 35px;
  }

  .free-trial-section h2,
  .download-section h2,
  .email-form h2 {
    font-size: 25px;
  }

  .free-trial-section p,
  .download-section p {
    font-size: 14px;
  }

  nav a {
    font-size: 14px;
    padding: 6px 12px;
  }

  header img {
    width: 75px;
  }
}

.shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><radialGradient id="glass-reflection" cx="50%25" cy="50%25" r="50%25" fx="50%25" fy="50%25"><stop offset="0%25" style="stop-color:rgba(255, 255, 255, 0); stop-opacity:0" /><stop offset="50%25" style="stop-color:rgba(255, 255, 255, 0.3); stop-opacity:1" /><stop offset="100%25" style="stop-color:rgba(255, 255, 255, 0); stop-opacity:0" /></radialGradient></defs><rect width="100%25" height="100%25" fill="url(%23glass-reflection)" /></svg>') repeat;
  background-size: 200% 200%;
  animation: shimmer 5s infinite linear;
  pointer-events: none;
  z-index: 2;
  opacity: 0.3;
}

@keyframes shimmer {
  0% {
    transform: translate(-100%, -100%);
  }
  100% {
    transform: translate(100%, 100%);
  }
}

@keyframes move {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(50%, 50%) scale(1.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
