* {
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    scroll-behavior: hidden;
  }
  
  .popup-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .popup-content img {
    width: 600px;
    height: 500px;
    border-radius: 10px;
  }
  
  #close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .hidden {
    display: none;
  }
    
  @media (max-width: 768px) {
    .popup-content {
      max-width: 95%;
      padding: 5px;
    }
  
    #close-btn {
      font-size: 24px;
    }
  }
  
nav ul li #language-selector {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode nav ul li #language-selector {
    background-color: #444;
    color: #eee;
    border: 1px solid #eee;
}

nav ul li #language-selector:focus {
    outline: none;
    border-color: #28a745;
}

body.dark-mode nav ul li #language-selector:focus {
    border-color: #28a745;
}

header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    height: 50px;
    width: 50px;
}

.logo img {
    height: 100%;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #333;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #28a745;
    text-decoration: none;
}

.cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #1e7e34;
    color: #fff;
    text-decoration: none;
}

.hero {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    margin-right: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #212529;
}

.hero-content p {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features {
    background-color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 2rem auto;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #212529;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature {
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.feature i {
    color: #28a745;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #212529;
}

.feature p {
    color: #495057;
}

.contact {
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #212529;
}

.contact p {
    color: #495057;
    margin-bottom: 2rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact textarea {
    resize: vertical;
}

footer {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.how-it-works {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
    font-weight: 700;
  }
  
  .steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 700px;
    text-align: left;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: default;
  }
  
  .step-icon {
    font-size: 2.5rem;
    color: #2a7f62;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
  }
  
  .step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    transition: color 0.3s ease;
  }
  
  .step-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    transition: color 0.3s ease;
  }
  
  
  .step:hover {
    transform: translateY(-6px);
  }
  
  .step:hover .step-icon {
    color: #218152;
    transform: scale(1.1);
  }
  
  .step:hover h3 {
    color: #218152;
  }
  
  @media (min-width: 768px) {
    .steps {
      flex-direction: row;
      justify-content: space-between;
    }
  
    .step {
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 300px;
    }
  
    .step-content {
      padding-top: 10px;
    }
  
    .step-icon {
      font-size: 3rem;
    }
  }
    

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }
}
