/* Import Montserrat font (redundant safeguard in case of caching) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Global body style --- */
body {
  font-family: 'Montserrat', sans-serif;
  color: #2c2c2c;
  background: linear-gradient(135deg, #eef2f3, #8e9eab);
  line-height: 1.7;
}

/* --- Home page container --- */
body.home {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  text-align: center;
  background: #fff;
  padding: 5rem 4rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-weight: 600;
  font-size: 60px;
  margin-bottom: 1rem;
}

p {
  font-weight: 400;
  font-size: 18px;
  color: #555;
  margin-bottom: 1.5rem;
}

/* --- Buttons / email links --- */
.email {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #FFF;
  background: #fa990a;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.email:hover {
  background-color: #222e3e;
  color: #fff;
}

/* --- Footer links --- */
.footer-links {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #555;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-link {
  text-decoration: none;
  color: #fa990a;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #222e3e;
}

/* --- Privacy Policy & Terms Page Styles --- */
body.privacy {
  padding: 60px 20px;
  background: #FFF;
}

.privacy-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding: 0 10px;
}

.privacy-section h1 {
  font-size: 52px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #111;
}

.privacy-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid #fa990a;
  padding-left: 10px;
}

.privacy-section p {
  font-size: 17px;
  color: #444;
  margin-bottom: 1rem;
}

.privacy-section ul {
  margin: 1rem 0 1rem 1.5rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
  color: #444;
}

.privacy-section .note {
  background: rgba(255, 255, 255, 0.3);
  border-left: 4px solid #fa990a;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-top: 2rem;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  h1 {
    font-size: 50px;
  }

  .container {
    padding: 4rem 3rem;
  }

  .privacy-section h1 {
    font-size: 45px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 42px;
  }

  .container {
    padding: 3rem 2rem;
  }

  .privacy-section h1 {
    font-size: 38px;
  }

  .privacy-section h2 {
    font-size: 18px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 15px;
  }

  .email {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 34px;
  }

  .container {
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }

  .privacy-section h1 {
    font-size: 30px;
  }

  .privacy-section h2 {
    font-size: 16px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.25rem;
  }

  .email {
    width: 100%;
    padding: 14px 0;
  }
}



.floating-back-home {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  opacity: 0;
  animation: visibleBtn 1s forwards; /* corrected animation name and added 'forwards' to keep opacity */
}

.floating-back-home a {
    padding: 16px 20px;
    font-weight: 600;
    background: #fa990a;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.floating-back-home a:hover {
  background-color: #222e3e;
}

@keyframes visibleBtn {
  0% {
    opacity: 0;
    transform: translateY(20px); /* optional slight movement from bottom */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
