html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: rgb(20, 20, 20);
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Nunito', sans-serif;
    color: white;
    position: relative;
    padding-top: 80px;
}

body::-webkit-scrollbar {
    display: none;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.highlighted-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding: 20px;
    width: 80%;
    max-width: 1100px;
    height: 175px;
    position: relative;
    z-index: 1;
    background: url('/images/background.png') no-repeat center, center;
    background-size: cover;
    margin: 20px auto;
    border-radius: 15px;
}

.highlighted-container h2 {
    color: white;
}

.review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    z-index: 1;
    height: 200px;
}

.divider {
    width: 90%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px auto;
}

.text-content {
    max-width: 500px;
}
.text-content h1 {
    font-size: 3em;
}
.text-content h2 {
    font-size: 2em;
}
.text-content h3 {
    font-size: 1.5em;
}
.text-content p {
    font-size: 1em;
}
.text-content button {
    background: none;
    border: none;
    cursor: pointer;
}
.text-content button img {
    width: 150px;
    height: auto;
}

.image-content img {
    width: 300px;
    height: auto;
}

.circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
   
    transition: transform 0.3s ease-out;
}
.gradient-mask-text {
    background: url('/images/background.png') no-repeat center;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: brightness(1.5);
}

.app-icon {
    border-radius: 20%;
}

.feature-icon {
    border-radius: 20%;
    width: 50px;
    height: 50px;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%; /* Default width for mobile */
    max-width: 1000px;
    font-family: 'Nunito', sans-serif;
    z-index: 1000;
}
.navbar .left, .right {
    display: flex;
    align-items: center;
}
.navbar .left a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.navbar .left img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.highlighted-button {
    background-color: rgb(75, 15, 0);
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    margin: 5px;
    color: white;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.highlighted-button:hover {
    background-color: rgba(133, 27, 0, 0.8);
}

.highlighted-button2 {
    background-color: rgb(99, 99, 99);
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    margin: 5px;
    color: white;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.highlighted-button2:hover {
    background-color: rgba(143, 143, 143, 0.8);
}

.navbar .right .mobile-button {
    background-color: rgb(66, 66, 66);
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    margin: 5px;
    color: white;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.navbar .right .mobile-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.navbar .right .text-link {
    text-decoration: none;
    color: white;
    margin-right: 20px;
}

.navbar .right .desktop-button {
    display: none;
    background-color: rgb(66, 66, 66);
    border: none;
    border-radius: 15px;
    padding: 10px 20px;
    margin: 5px;
    color: white;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.navbar .right .desktop-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.feature-container {
    display: flex;
    flex-direction: row; /* Display items in a row by default */
    align-items: center;
    justify-content: space-around;
    position: relative;
    z-index: 1;
    background-color: rgb(12, 12, 12, 0.8);
    border-radius: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    min-width: 30%;
    max-width: 100%;
}

.left-column, .right-column {
    flex: 1;
    padding: 20px;
    text-align: center;
    align-items: center;
    width: 100%;
}

.left-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.left-column .feature-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    background: url('/images/background.png') no-repeat center;
    background-size: cover;
    padding: 10px;
    object-fit: contain;
}

.right-column .feature-image {
    width: 80%;
    height: auto;
    min-width: 30%; /* Ensure the image has a minimum width */
    flex-grow: 1; /* Allow the image to grow proportionally */
}

.review-carousel {
    position: relative;
    width: 100%;
    height: 100px;
}

.review-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.review-item.visible {
    opacity: 1;
}


.footer {
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer a:visited {
    color: #ddd;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}


#outputTable {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Nunito', sans-serif;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
    table-layout: auto;
}

#outputTable thead {
    background-color: rgba(255, 255, 255, 0.2);
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

#outputTable th, #outputTable td {
    padding: 10px 8px;
    font-size: 14px;
    white-space: nowrap;
}


#outputTable th {
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #ddd;
}

#outputTable tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

#outputTable tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


.primary-button {
    display: inline-block;  /* Ensures the button behaves like a block element */
    background-color: rgb(0, 122, 255); /* Button color */
    border: none;            /* No border for a clean button look */
    border-radius: 15px;     /* Rounded corners */
    padding: 10px 20px;      /* Padding for button size */
    margin: 5px;             /* Spacing around button */
    color: white;            /* Text color */
    cursor: pointer;        /* Pointer cursor on hover */
    font-family: 'Nunito', sans-serif; /* Font family */
    font-size: 16px;         /* Font size */
    text-align: center;      /* Center the text */
    text-decoration: none;   /* Prevent underlining */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    font-weight: bold;       /* Make the font bolder */
    white-space: nowrap;
}

/* Hover effect for the button */
.primary-button:hover {
    background-color: rgba(255, 255, 255, 0.4); /* Lighten color on hover */
}

/* Preventing outline when button is clicked */
.primary-button:focus {
    outline: none;
}

.menu-button {
    background-color: rgb(20, 20, 20); /* Your background */
    border: none;
    border-radius: 12px; /* Rounded corners */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 100; /* Ensure clickable */
    width: 50px; /* default for desktop */
    height: 50px;
}

/* Image inside button */
.menu-icon {
    width: 60%; /* Scale relative to button */
    height: 60%;
    object-fit: contain;
}

/* Responsive: Adjust on small screens */
@media (max-width: 768px) {
    .menu-button {
        width: 40px; /* smaller on mobile */
        height: 40px;
    }
}


  .dropdown-menu {
    visibility: hidden;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 60px; /* Adjust this depending on your navbar height */
    right: 10px;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 12px; /* 👈 Rounded corners */
    overflow: hidden;
    z-index: 9999; /* 👈 Appear above all */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease; /* 👈 Smooth slide effect */
  }

  .dropdown-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-menu a {
    display: block;  /* 👈 Force each link to full width, stacked vertically */
    padding: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: background-color 0.2s;
    text-align: center; /* optional: centers the text inside */
    border-radius: 12px; /* 👈 Make each button rounded */
    margin: 12px; /* optional: little space between buttons */
}




/* desktop modifiers */
@media (min-width: 769px) {

    .flex-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding: 50px;
        width: 100%;
        max-width: 100%;
        height: 100%;
    }

    .feature-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        max-width: 100%;
        margin: 10px;
        padding: 5px;
    }

    .left-column, .right-column {
        flex: 1;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .right-column .feature-image {
        width: 50%;
        max-width: 200px;
        height: auto;
        min-width: 20%;
        flex-grow: 1;
    }

    .text-content, .image-content {
        margin: 0 10px;
    }

    .image-content img {
        max-width: 500px;
        width: auto;
        height: auto;
    }

    .container {
        max-width: 60%;
        margin: 0 auto;
    }

    .navbar .right .desktop-button {
        display: inline-block;
    }

    .navbar .right .mobile-button {
        display: none;
    }
}