/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* General Styles */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  text-align: center;
}

/* Navbar Styling */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000; /* stays above everything else */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav .logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Hamburger Icon hidden on big screens */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}


/* Hero Section */
.hero {
  height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: url(../images/background3.jpg) no-repeat center center/cover;
  color: black;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 4.5rem;
}

.cta-btn {
  background: black;
  color: white;
  border: 1px solid black;
  padding: 12px 24px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
}

.cta-btn:hover {
  background: transparent;
  color: black;
}

/* How It Works Section */
.how-it-works {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: white;
  padding: 60px 20px;
}

.how-it-works h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.step {
  background: #ffffff;
  min-width: 250px;
  max-width: 1000px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s;
}





/* login register */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url(../images/background3.jpg) no-repeat center center/cover;
  background-size: cover;
}

.login-register-container {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 400px;
}

.auth-btn {
  width: 50%;
  padding: 10px;
  background-color: black;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.auth-btn:hover {
  background: #393939;
}

/* Contact Section Main */
.contact {
  background: #fff;
  min-height: 80vh;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Contact Container */
.contact-container {
  max-width: 600px;
  width: 100%;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Heading */
.contact-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.contact-info p {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 250px;
  max-width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border: 1px solid #007bff;
}

/* Textarea Height */
.contact-form textarea {
  height: 120px;
  resize: vertical;
}

/* Submit Button */
.contact-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}

/* Responsive Tweak */
@media (max-width: 500px) {
  .contact-container {
    padding: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-width: 200px;
  }
}


/* Footer */
footer {

  background: black;
  height: 15vh;
  color: white;
  bottom: 0;
  padding: 2px;
  /* position: relative; */
}

footer p {
  margin: 5px 0;
}

footer p a {
  text-decoration: none;
  color: white;
}

footer p a:hover {
  color: rgb(225, 160, 90);
}

/* Privacy Policy & Terms Pages */
.policy-container,
.terms-container {
  max-width: 900px;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333;
  line-height: 1.7;

}

.policy-container h1,
.terms-container h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: black;
}

.policy-container h2,
.terms-container h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  color: #444;
}

.policy-container p,
.terms-container p {
  margin: 15px 0;
  font-size: 1rem;
  color: #555;
}

.policy-container ul,
.terms-container ul {
  padding-left: 20px;
}

.policy-container li,
.terms-container li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* Responsive for Privacy & Terms */
@media (max-width: 768px) {

  .policy-container,
  .terms-container {
    padding: 20px;
    margin: 20px;
  }

  .policy-container h1,
  .terms-container h1 {
    font-size: 2rem;
  }

  .policy-container h2,
  .terms-container h2 {
    font-size: 1.5rem;
  }
}


/* Global Responsive Adjustments */
@media (max-width: 1024px) {
  nav ul {
    gap: 10px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .cta-btn {
    padding: 10px 20px;

  }

  .how-it-works {
    height: auto;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 40px;
    right: 0;
    width: 100%;
    background-color: #000000;
    display: none;
    padding: 10px 0;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }


.hero {
  /* height: auto; */
  padding: 40px 10px;
}

.hero h1 {
  font-size: 3rem;
}
.hero p{
  padding: 40px 30px;
}

.cta-btn {
  width: 100%;
}

.how-it-works {
  padding: 40px 10px;
}
.how-it-works h1{
  font-size: 2rem;
}

.steps {
  flex-direction: column;
  align-items: center;
}

.step {
  width: 80%;
}

/* 
    .contact {
        height: 100vh;
        padding: 40px 10px;
    }

    .contact-container {
        gap: 20px;
    } */

.login-register-container {
  width: 80%;
  padding: 15px;
}
}

@media (max-width: 480px) {

  .hero {
    height: 100vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cta-btn {
    font-size: 16px;

  }

  /* .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 8px;
        font-size: 14px;
    }

    .contact-btn {
        padding: 10px;
        font-size: 16px;
    } */

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