/* Reset & basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #333;
}

a {
  color: #faa307;
  text-decoration: none;
}


        .intro-section {
            background: linear-gradient(135deg, #4e73df, #1cc88a);
            color: white;
            padding: 60px 20px;
            text-align: center;
        }
       .intro-section h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }
        .intro-section p {
            font-size: 1.2em;
            margin-bottom: 20px;
        }
        .intro-section a {
            background: white;
            color: #4e73df;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
        }
        section {
            max-width: 1000px;
            margin: auto;
            padding: 40px 20px;
        }
        section h2 {
            margin-bottom: 15px;
        }
        section h3 {
            margin-bottom: 5px;
        }
        section p {
            font-size: 19px;
        }
        .features {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }
        .feature {
            background: white;
            padding: 20px;
            flex: 1 1 250px;
            box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
            text-align: center;
        }
.login,
.register,
.ai-container {
    text-align: center;
}


.login h1,
.register h1,
.ai-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Container for nav */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #05457c;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}


/* Menu styles */
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu li a {
  color: white;
  font-weight: 600;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
}

.hamburger div {
  height: 3px;
  background-color: #faa307;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.change .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-5px, -6px);
}






/* Container & Typography */
.app-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3em;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.app-description {
  font-size: 1.15rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 1.5em auto;
  line-height: 1.5;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* Form styling */
form {
  max-width: 500px;
  margin: 30px auto;
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
}

form input[type="text"],
form input[type="date"],
form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  resize: vertical;
  min-height: 38px;
}

form textarea {
  min-height: 80px;
}

form input[type="text"]:focus,
form input[type="date"]:focus,
form textarea:focus {
  outline: none;
  border-color: #faa307;
  box-shadow: 0 0 6px rgba(250, 163, 7, 0.4);
}

/* Button styling */
form button {
  margin-top: 25px;
  width: 100%;
  padding: 12px 0;
  background-color: #1e68c1;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

form button:hover,
form button:focus {
  background-color: #e59400;
  outline: none;
}



.ai-output {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    word-wrap: break-word;
    text-align: left;
}




/* Footer */
footer {
  background: #05457c;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}






/* Responsive: mobile */
@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #05457c;
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
  }

  .menu li {
    border-top: 1px solid #444;
  }

  .menu li:first-child {
    border-top: none;
  }

  .menu li a {
    display: block;
    padding: 12px 20px;
    color: white;
  }

  .nav-container.active .menu {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .app-title {
    font-size: 2rem;
  }

  form {
    padding: 20px;
  }
}