@import url("/satoshi.css");

body {
  font-family: "Satoshi", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hero Section */
.hero-section {
  background-image: url('./images/Desktop\ -\ 1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh);
  color: white;
  padding: 2rem;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding: 2rem;
  max-width: 90%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}


@media (max-width: 768px) {
  .hero-content-wrapper {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Newsletter Modal */
.newsletter-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.newsletter-modal.show {
  opacity: 1;
  visibility: visible;
}
.newsletter-content {
  background-color: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 90%;
  width: 400px;
  position: relative;
}
.newsletter-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}
.newsletter-content input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
}
.newsletter-content input[type="name"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
}
.newsletter-content button {
  background-color: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.newsletter-content button:hover {
  background-color: #45a049;
}
/* Blog Page */
.blog-section {
  text-align: center;
  padding: 50px 20px;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.blog-post {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-post h2 {
  margin-bottom: 10px;
}

.blog-post a {
  display: inline-block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
}

.blog-post a:hover {
  text-decoration: underline;
}

.partners-carousel {
  height: 60px; /* adjust as needed */
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* adjust based on total width of logos */
}

.animate-scroll {
  display: flex;
  animation: scroll 20s linear infinite; /* 20s scroll duration */
}

.cube-wrapper {
  position: absolute;
  bottom: 100px;   /* adjust where you want */
  left: 58%;
  z-index: 5;
  width: 650px;
}

nav .flex a:hover {
  transform: translateY(-2px);
}
/* Newsletter modal responsive sizing */
@media (max-width: 768px) {
  .newsletter-modal{
    width: 120px;
  }
  .newsletter-content {
    width: 70%;       /* Take most of the mobile width */
    max-width: 300px; /* Cap the width so it’s not huge */
    padding: 1.5rem;  /* Reduce padding for smaller screens */
  }

  .newsletter-content h2 {
    font-size: 1.3rem; /* Smaller heading on mobile */
  }

  .newsletter-content p {
    font-size: 0.75rem; /* Smaller paragraph text */
  }

  .newsletter-content input,
  .newsletter-content button {
    font-size: 0.875rem; /* Smaller inputs/buttons */
    padding: 0.5rem 0.75rem;
  }
}
