/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    font-weight: 600;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Navbar */
  .navbar {
    background: linear-gradient(90deg,gold,black);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .nav-link {
    font-size: 1rem;
    margin-left: 20px;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #ffdd57 !important;
  }
  
  /* Hero Section */
  #hero {
    background: linear-gradient(135deg,purple,black);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url("cover3.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    height: 70vh;
  }
  
  #hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1.5s ease;
  }
  
  #hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease;
  }
  
  #hero .btn {
    background: #ffdd57;
    color: #333;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 2s ease;
  }
  
  #hero .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 221, 87, 0.3);
  }
  
  /* About Section */
  #about {
    padding: 80px 0;
    text-align: center;
  }
  
  #about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: purple;
  }
  
  #about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* Features Section */
  #features {
    padding: 80px 0;
    background: #f9f9f9;
  }
  
  #features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: purple
  }
  
  .feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #6a11cb;
  }
  
  .feature-card p {
    font-size: 1rem;
    color: #666;
  }
  
  /* Chatbot Section */
  #chatbot {
    padding: 80px 0;
    background: linear-gradient(135deg,purple,black);
    color: white;
  }
  
  #chatbot h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .chatbot-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    display: grid;
   place-items: center;
   
  }
  
  #chatbox {
    height: 400px;
    overflow-y: scroll;
    padding: 20px;
    background: #f9f9f9;
    background-image: linear-gradient(white,purple);
    text-align: center;
  }
  
  #chat-messages {
    display: flex;
    flex-direction: column;
  }
  
  .message {
    max-width: 70%;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .message.user {
    background: #2575fc;
    color: white;
    align-self: flex-end;
  }
  
  .message.bot {
    background: #e0e0e0;
    color: #333;
    align-self: flex-start;
    
  }

  #chatbot{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
  }
  
  #user-input {
    width: 100%;
    padding: 15px;
    border: none;
    border-top: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    margin:auto;
    display: block;
    
  }
  
  /* Resources Section */
  #resources {
    padding: 80px 0;
    background: #f9f9f9;
  }
  
  #resources h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: purple;
  }
  
  .resource-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .resource-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2575fc;
  }
  
  .resource-card p {
    font-size: 1rem;
    color: #666;
  }
  
  /* Footer */
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes popUp{
    0%{
      opacity: 0;
      transform: translateY(20px);
    }
    100%{
      opacity: 1;
      transform: translateY(0);
    }
  }

  .text-pop-up{
    animation: popUp 7s ease-out forwards;
  text-align: center;
  font-size:x-large
  }

