/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #0B0C13;
    background-color: #FCFDFD;
  }
  
  h1, img{
    margin: 0;
  }
  
  h2{
    font-size: 2.25rem;
    line-height: 2.5rem;
    margin: 30px;
    padding: 0;
  }
  
  h3{
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: #4459C5;
  }
    
  header {
    background: #FCFDFD;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo img {
    height: 40px;
  }
  
  /* Navigation */
  nav {
    flex-grow: 1;
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav ul li {
    display: inline;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #7d84b5;
    font-weight: bold;
    padding: 10px;
  }
  
  nav ul li a:hover {
    color: #4459C5;
  }
  
  /* Language Dropdown */
  .language-dropdown {
    min-width: 100px;
  }
  
  .language-dropdown select {
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
    
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem;
    background-color: #FCFDFD;
    gap: 3rem;
    margin:80px 0;
  }
    
  .hero-left {
    max-width: 600px;
  }
  
  .hero-right img {
    max-width: 700px;
    height: auto;
    border-radius: 20px; /* Adds rounded corners */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Adds a soft shadow */
  }
  
  .hero h1, .hero p, .hero button {
    color: #4459C5;
  }
  
  .hero p {
    color: #0B0C13;
  }
  
  .hero button {
    color: #FCFDFD;
  }
    
  .hero h1 {
    font-size: 3.5rem;
  }
    
  .hero p {
    line-height: 1.6;
    font-size: 1.2rem;
    margin: 30px 0;
    color: #7d84b5;
  }
  
  .add-chrome-btn {
    background-color: #4459C5;
    color: #FCFDFD;
    padding: 15px 30px;
    border: none;
    border-radius: 100px;
    font-size: 1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  
  
  .how-it-works, .features, .benefits, .cta {
    text-align: center;
    padding: 5rem 2rem;
  }
  
  .section-subtitle {
    line-height: 1.6;
    font-size: 1.2rem;
    margin:10px;
    color: #7d84b5;
  }
  
  .item-sub{
    line-height: 1.6;
    color: #7d84b5;
  }
  
  .how-it-works h2, .features h2, .benefits h2, .cta h2 {
    color: #4459C5;
  }
  
  .works-container, .features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 5rem 0;
    gap: 8rem; /* Fine-tune the spacing */
  
  }
  
  .work-item, .feature-item {
    max-width: 300px;
    margin: 20px;
    text-align: center
  }
  
  .step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4459C5;
    color: #FCFDFD;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 15px; /* Change to center horizontally */
  }
    
    .benefits-container {
      display: flex;
      flex-direction: column; /* Stack rows vertically */
      align-items: center;
      margin: 5rem 0;
    }
    .benefit-row {
      display: flex;
      justify-content: center;
      width: 100%; /* Take full width of parent */
      max-width: 800px; /* Limit row width for better layout */
    }
    
    .benefit-item {
      width: 50%; /* Each item takes 50% of row */
      max-width: 400px; /* Limit item width for better layout */
      margin: 20px;
      text-align: center;
    }
  
    .benefit-icon-circle {
      width: 60px; /* Adjust size as needed */
      height: 60px; /* Adjust size as needed */
      border-radius: 50%;
      background-color: #4459C5;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto 15px; /* Centers the circle */
  }
  
  .benefit-item span.material-symbols-outlined {
      font-size: 30px; /* Adjust icon size within the circle */
      color: #FCFDFD; /* Icon color inside the circle */
  }
    
    .benefit-item h3 {
      font-size: 1.25rem;
      line-height: 1.75rem;
    }
    
    .cta-btn {
      background-color: #4459C5;
      color: #FCFDFD;
      padding: 15px 30px;
      border: none;
      border-radius: 100px;
      font-size: 1em;
      cursor: pointer;
      margin-top: 20px;
      font-size: 1.125rem;
      line-height: 1.75rem;
    }
    
    footer {
      text-align: center;
      padding: 10px;
      background-color: #0B0C13;
      color: #FCFDFD;
    }
    
    /* Section Background Colors */
    .how-it-works {
      background-color: #5578CF0D;
    }
    
    .features {
      background-color: #FCFDFD;
    }
  
    .feature-icon-circle {
      width: 60px; /* Adjust size as needed */
      height: 60px; /* Adjust size as needed */
      border-radius: 50%;
      background-color: #4459C5;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto 15px; /* Centers the circle */
  }
  
  .feature-item span.material-symbols-outlined {
      font-size: 30px; /* Adjust icon size within the circle */
      color: #FCFDFD; /* Icon color inside the circle */
  }
    
    .benefits {
      background-color:#5578CF0D;
  
    }
    
    .cta {
      background-color: #FCFDFD;
      text-align: center; /* Centers all inline elements inside the section */
      display: flex;
      flex-direction: column;
      align-items: center; /* Centers the elements horizontally */
      justify-content: center;
    }
    
    .cta button {
      color: #FCFDFD;
    }
  
    .cta-logo {
      width: 18rem; /* Adjust size as needed */
      height: auto; /* Keeps aspect ratio */
      margin-bottom: 3rem; /* Adds spacing between logo and heading */
  }
    
  
    /* Modal Styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .popup-title{
    color: #4459C5;
  }
  
  .modal-area p {
    color: #7d84b5;
    margin: 20px 0;
  }
  
  .modal-area {
    margin: 50px 20px 20px 20px
  }
  
  .modal-content {
    background-color: #FCFDFD;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    text-align: center;
    border-radius: 8px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  #emailInput {
    padding: 20px 20px;
    margin: 10px 0;
    width: 90%;
    border: 1px solid #ccc;
    border-radius: 100px;
  }
  
  #notifyButton, .close-thank-you {
    background-color: #4459C5;
    color: #FCFDFD;
    padding: 20px 60px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    margin: 30px 0 0 0;
    font-size: 1.2rem;
  }
  
  #notificationMessage {
    margin-top: 10px;
    font-weight: bold;
  }
  
    /* Responsive Design */
    @media (max-width: 1024px) {
      header {
        position: relative; /* Removes fixed positioning */
        box-shadow: none; /* Optional: Remove shadow */
        margin: 20px 0;
    }
  
    .header-container {
        flex-direction: column;
        align-items: center;
    }
  
    
      .logo img {
        height: 40px;            /* Adjust size of the logo */
        margin-bottom: 10px;     /* Add space between the logo and the language dropdown */
      }
    
      .language-dropdown select {
        padding: 10px 30px;
        border: 1px solid #4459C5;
        border-radius: 5px;
        text-align: center;      /* Center align the dropdown */
      }
  
      .hero {
        flex-direction: column-reverse; /* Stack items vertically */
        align-items: center;           /* Ensure content is centered */
        padding: 10px;
        margin-bottom: 8rem;
      }
      
      .hero h1 {
        font-size: 2rem;
    }
  
    .hero p {
      line-height: 1.6;
      font-size: 1rem;
      margin: 30px 0;
  }
      .hero-left {
        max-width: 90%;
        text-align: center;            /* Center text content */
      }
    
      .hero-right {
        display: flex;
        justify-content: center;       /* Center content horizontally */
        align-items: center;           /* Center content vertically */
        width: 100%;                   /* Ensure full width for the right section */
      }
    
      .hero-right img {
        max-width: 90%;                 /* Adjust image size to fit */
        height: auto;                   /* Maintain aspect ratio */
        margin: 0 auto;                 /* Center the image */
        display: block;                 /* Make image a block element for centering */
      }
  
    
      .works-container,
      .features-container,
      .benefits-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
      }
  
      nav {
        display: none; /* Hide the nav on small screens */
      }
      
      .benefit-row {
        flex-direction: column;
        align-items: center;
      }
      .benefit-item {
        width: 100%;
        max-width: 300px;
      }
  
      footer p{
        font-size: 0.75rem;
      }
    }