/*
  #222526   charcoal
  #00DF81   green
  #6962F7   blue
*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    padding: 0;
    margin: 0;
    background-color: #222526;
    color: #fff;
}


.desktop-nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
}

.desktop-nav button {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    font-size: 15px;
    color: #fff;
}

.desktop-nav button:hover {
    color: #00DF81;
    cursor: pointer;
}

#demoBtn {
    padding: 10px 20px;
    background-color: #6962F7;
    border: 1px solid #6962F7;
    color: #fff;
    font-weight: bold;
    border-radius: 18px;
}

#demoBtn:hover {
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: 1px solid #fff;
}

.desktop-nav .nav-items, .desktop-nav .nav-contact {
    padding: 5px 20px;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
}

.desktop-nav .nav-items, .desktop-nav .nav-contact, .desktop-nav .logo {
    display: flex;
    align-items: center;
}

.desktop-nav .logo i {
    font-size: 30px;
    margin-right: 3px;
    color: #fff;
}

.desktop-nav .logo span {
    font-size: 22px;
    color: #6962F7;
}

.hor-line {
    margin-top: 10px;
    height: 1px;
    background-color: #fff;
}

.section-1 {
    display: flex;
    justify-content: space-between;
    padding: 50px 0 0 50px ;
    height: 70vh;
}

.s1-text-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

.s1-email-text {
    border-bottom: 2px double #00DF81;
}

.s1-text-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.s1-text-container ul li {
    display: flex;
    align-items: center;
}

.s1-text-container .check-icon {
    color: #00DF81;
    padding: 0 5px;
}

.s1-email-info {
    color: #ea631b;
    font-size: 20px;
}

.counter {
    color: #ea631b;
    font-weight: bold; /* Make the number stand out */
    font-size: 25px; /* Increase the font size */
}

.st1-CTA {
    display: flex;
}

.st1-CTA button {
    display: flex;
    padding: 8px;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    border: 2px solid #00DF81;
    color: #00DF81;
    border-radius: 20px;
    font-weight: bold;

    &:hover {
        color: #6962F7;
        border-color: #6962F7;
        cursor: pointer;
    }
}

.st1-CTA-icon {
    color: #6962F7;
}

.st1-CTA a {
    text-decoration: none;
    margin-right: 10px;
}

.s1-img-container {
    display: flex;
    align-items: center;
}

.section-1 img {
    min-width: 300px;
    max-width: 500px;
    height: auto;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Start and end at the original position */
      }
      40% {
        transform: translateY(-40px); /* Bounce up */
      }
      60% {
        transform: translateY(-20px); /* Less bounce */
      }
}





/* About section */
.section-2 {
    text-align: center;
    background-color: #fff;
    color: #222526;
    padding: 60px 20px;
    position: relative;
    clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 100%);
}

.section-des {
    padding: 8px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ea631b;
    color: #ea631b;
    border-radius: 10px;
}

.s2-cards {
    display: flex;
}

.s2-card {
    padding: 10px;
    background-color: #6962F7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    margin: 10px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        transform: translateX(5px); /* Lift effect on hover */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    }
}

.s2-card i {
    font-size: 50px;
    color: #00DF81;
}

.s2-card-header {
    font-size: 18px;
    font-weight: bold;

}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #6962F7, #00DF81);
    color: #fff;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 800px;
}
  
.cta-button {
    display: inline-block;
    background: #fff;
    color: #6962F7;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}
  
.cta-button:hover {
    background: #00DF81;
    color: #fff;
    transform: scale(1.05);
}



/* Features section */
.section-3 {
    padding: 60px 20px;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
}

.feature {
    border: 1px solid #00DF81;
    padding: 20px;
    border-radius: 10px;
    transition: background 0.5s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%; /* Start from the right */
    width: 100%;
    height: 100%;
    background: #00DF81; /* Hover background color */
    transition: left 0.5s ease-in-out; /* Smooth transition */
    z-index: 0;
}

.feature:hover::before {
    left: 0; /* Move background from right to left */
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px #00a05e;
}

.feature h3,
.feature p {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease-in-out;
}

.feature h3 {
    color: #6962F7; /* Change text color on hover */
}

.feature:hover p {
    color: #fff; /* Change paragraph text color */
}


/* ... your existing CSS ... */

.dashboard-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.dashboard-preview img {
    max-width: 600px; /* Adjust as needed */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dashboard-cta {
    text-align: center;
    max-width: 400px;
}

.dashboard-cta h2 {
    color: #6962F7;
    margin-bottom: 15px;
}

.dashboard-cta p {
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00DF81;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00a05e;
}

/* Adjust features grid for better spacing */
.features {
    padding: 20px;
}

/* Feature adjustments */
.feature {
    padding: 25px;
}



/* Contact form */
.contact-container {
    background-color: #fff;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    clip-path: polygon(0% 10%, 100% 0%, 100% 100%, 0% 100%);
}

.contact-form {
    text-align: left;
    border-radius: 8px;
    width: 80%;
    color: #222526;
    margin: auto;
}

.contact-form h2 {
    text-align: center;
    color: #00DF81;
}

.contact-form label {
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #6962F7;
    border-radius: 4px;
    background-color: #fff;
    color: #222526;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: none;
    border-radius: 4px;
    background-color: #ea631b;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #d55a19;
}

.submit-text {
    font-size: 20px;
}

.send-data {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 5px solid #00DF81;
    border-top:5px solid #222526;
    margin: auto;
    animation: rotate 1s linear infinite;
}

/* ... your existing CSS ... */

.contact-intro {
    margin-bottom: 30px;
    text-align: center;
}

.contact-intro h2 {
    color: #6962F7;
    margin-bottom: 15px;
}

.contact-intro p {
    color: #222526;
    margin-bottom: 25px;
}

.contact-intro .cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00DF81;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-intro .cta-button:hover {
    background-color: #00a05e;
}


@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-popup, .failed-popup {
    background-color: #fff;
    position: fixed;
    top: 5px;
    left: 5px;
    text-align: center;
    z-index: 999;
    border-radius: 5px;
    padding: 8px;
}

.success-popup {
    display: none;
    border: 1px solid #00DF81;
    color: #00DF81;
}

.failed-popup {
    display: none;
    border: 1px solid #ea631b;
    color: #ea631b;
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    justify-content: space-between;
    padding: 15px;
    padding-bottom: 0;
}

.mobile-nav .logo i {
    margin-right: 5px;
    font-size: 28px;
}

.mobile-nav .logo {
    display: flex;
    align-items: center;
}

.mobile-nav .logo span {
    color: #6962F7;
}

.mobile-nav button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

.mobile-nav .menu-container i {
    font-size: 28px;
    color: #fff;
}

.mobile-menu-items {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    height: 90vh;
    background-color: rgba(0, 0, 0, 0.7);
}

.mobile-menu-items .menu-items {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.mobile-menu-items .menu-items a {
    text-decoration: none;
}

.mobile-menu-items .menu-items button {
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    border: none;
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid #fff;
    padding: 10px 0;
}

@media (max-width: 1180px) {
    .section-1 img {
        width: 300px;
    }
}

@media (max-width: 900px) {
    /* CSS rules to apply */
    .s2-cards {
        flex-direction: column;
    }

    .s1-img-container {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .dashboard-preview img {
        max-width: 300px;
    }

    .mobile-nav {
        display: flex;
    }

    .section-1 {
        padding: 15px;
    }

    .section-2 {
        padding: 100px 15px;
    }
  }

  /* Footer Styles */
.footer {
    background-color: #222526; /* Consistent with your theme */
    color: #ddd; /* Light text for contrast */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #333; /* Optional: Add a subtle top border */
  }
  
  .footer a {
    color: #00DF81; /* Green links */
    text-decoration: none;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }
  
  .footer .footer-links {
    margin-bottom: 10px;
  }
  
  .footer .footer-links a {
    margin: 0 15px;
  }
  
  .footer .copyright {
    margin-top: 10px;
  }





  /* Popup Styles */
.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top */
}

.popup-content {
    background-color: white;
    color: #222526;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Adjust as needed */
    max-width: 600px; /* Maximum width */
    position: relative;
    max-height: 80vh; /* Max height to allow for scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
}

.popup-content h2 {
    margin-bottom: 10px;
}

.popup-content p {
    line-height: 1.6;
}

.popup-content ul {
    margin-left: 20px;
}

/* Link Styles */
.footer-links a.policy-link { /*Added this class*/
    cursor: pointer;
}