/* styles.css */

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scrolling */
    background-color: #ecf0f1; /* Light background color */
  }
  
  header {
    position: fixed;
    width: 100%;
    background: #2c3e50; /* Dark header background */
    color: #fff;
    padding: 10px 0;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff; /* White logo text */
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle .bar {
    background: #fff;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.3s;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-list li {
    margin: 0 8px;
  }
  
  .nav-list a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
  }
  #signup,#login{
    padding: 5px 3px;
  }
  
  .nav-list a:hover {
    background: #3498db; /* Primary color for hover effect */
    color: #fff; /* White text on hover */
    border-radius: .4rem;
  }
  
  .hero {
    background: url('landingPage/public/we.jpg') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    text-align: center;
    position: relative;
  }
  
  .hero-content {
    max-width: 800px;
  }
  
  .hero-content h1 {
    margin: -0.5rem 0rem -1rem 0rem;
    font-size: 3em;
    color: red; /* White text */
    animation: typewriter 3s steps(40, end) 1s 1 normal both;
  }
  
  .cta-button {
    background: #3498db; /* Primary color for CTA button */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  .section {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
  }
  
  .about, .features, .instructor, .testimonials, .pricing, .contact {
    background: #fff; /* White background for sections */
    color: #2c3e50; /* Dark text color for readability */
    margin: 20px 0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .feature-item, .pricing-plan, .testimonial {
    margin: 10px 0;
    padding: 15px;
    background: #f9f9f9; /* Light gray background */
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-item:hover, .pricing-plan:hover, .testimonial:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  footer {
    background: #2c3e50; /* Dark footer background */
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  /* Keyframe Animations */
  @keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .slide-in {
    opacity: 0;
    animation: slideIn 0.8s forwards;
  }
  
  /* Responsive Design */
  @media (max-width:1024px) {
    .nav-list li {
        margin: 0 5px;
      }
      .logo {
        font-size: 1.5em;
        font-weight: bold;
        color: #fff; /* White logo text */
      }
  }

  @media (max-width: 768px) {
    .nav-list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background: #2c3e50; /* Dark background for the mobile menu */
      width: 100%;
      text-align: center;
      z-index: 999;
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .nav-list li {
      margin: 20px 0;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    .hero-content h1 {
      font-size: 2em;
    }
  
    .cta-button {
      padding: 10px 20px;
    }
  }
  