html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: var(--primary-color); /* Adjust background color as needed */
}

.nav-logo {
    width: 200px;
    margin-right: 20px;
}

.nav-logo img
{
    width: 100%;
}

/* Menu styling */
.nav-menu {
    display: flex;
    list-style-type: none; /* Remove default bullet points for main items */
    margin: 0;
    padding: 0;
    font-size: 1.2rem; /* Larger text size */
}

    /* Align menu items to the right of the logo */
    .nav-menu li {
        position: relative;
        margin-left: 30px; /* Space between items */
    }

/* Dropdown menu styling */
.nav-item {
    position: relative; /* Makes dropdown align relative to nav-item */
}

.nav-item a {
    color: var(--text-color); /* Adjust color as needed */
    padding: 5px;
    display: inline-block;
}

/* Styling for dropdown bullets */
.dropdown-menu {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    top: 100%;
    left: 0%;
    min-width: 220px;
    position: absolute;
    background-color: var(--primary-color-2);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 8px rgb(0 0 0 / 10%);
    z-index: 1000;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown-menu {
    display: block;
}

/* Bullet and link styling for dropdown items */
.dropdown-menu li {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

    .dropdown-menu li a {
        display: block;
        padding: 10px 0 10px 10px;
        font-size: 0.9em;
        color: var(--text-color);
        text-decoration: none;
        width: auto;
    }

        .dropdown-menu li a:hover {
            color: var(--primary-color-2);
        }

/* Mega Menu Styling */
.mega-menu {
    min-width: 500px;
    padding: 0;
}

.mega-menu-content {
    display: flex;
    padding: 20px;
    gap: 30px;
}

.mega-menu-column {
    flex: 1;
    min-width: 200px;
}

.mega-menu-column h4 {
    color: var(--accent-color-2);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin: 0;
    padding: 0;
}

.mega-menu-column .dropdown-menu-link {
    display: block;
    padding: 8px 10px;
    font-size: 0.85em;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mega-menu-column .dropdown-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-color-2);
}

.get-started {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 1em;
}

.get-started-login {
    margin-right: 1em;
    min-width: max-content;
    text-align: right;
}

/* Hero Section */
.hero {
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-align: center;
    position: relative;
    display: flex;
}

.hero-overlay {
    background-color: rgb(18 21 32 / 70%);
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8rem 2rem;
}

    #hero-subtitle {
        margin: 2rem 0 4rem;
        font-size: 24px;
        font-weight: 300;
    }

.hero-demo {
    background-color: rgb(18 21 32 / 30%);
    display: flex; /* Use flexbox for demo content */
    align-items: center; /* Center demo content vertically */
    justify-content: center; /* Center demo content horizontally */
    flex: 1; /* Take up half of the space */
    text-align: center; /* Center text inside */
    padding: 2rem; /* Add padding for spacing */
}

    .hero-demo img {
        width: 100%;
        height: 100%;
    }

#one-liner {
    font-size: 40px;
    font-weight: 500;
}

.cta-button {
    background-color: var(--accent-color-2);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

    .cta-button:hover {
        background-color: var(--highlight-color);
    }

/* Typing effect styling */
#trusted-systems-typing-effect {
    font-family: inherit;
    border-right: 2px solid var(--highlight-color);
    padding-right: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink-cursor 0.7s steps(40) infinite normal;
    height: 65px;
}

/* Blinking cursor effect */
@keyframes blink-cursor {
    from {
        border-color: transparent;
    }

    to {
        border-color: var(--highlight-color);
    }
}

/* Target Markets Section */
.target-markets {
    background-color: var(--text-color);
    color: var(--primary-color);
    padding: 2rem;
    position: relative;
    margin: 0;
}

#target-markets-title
{
    padding: 10px;
    font-weight: 500;
    font-size: 1.1em;
}

.markets-wrapper {
    white-space: nowrap; /* Prevent items from wrapping */
    overflow: hidden; /* Hide overflow for the wrapper */
    width: 100%; /* Full width of the parent */
}

.markets-list {
    display: inline-flex; /* Display items in a row */
    animation: pan 20s linear infinite; /* Animate scrolling */
}

.market-item {
    padding: 1rem 2rem; /* Add padding for each item */
    font-size: 1.5rem; /* Adjust font size */
    min-width: 200px; /* Set a minimum width for each item */
}

/* Animation keyframes */
@keyframes pan {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }

    100% {
        transform: translateX(-25%); /* Move left to show part of the next item */
    }
}

/* Article */
article {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: var(--primary-color-2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

article h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

article h2 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

article h3 {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraph Styles */
article p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* List Styles */
article ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

article ul li {
    margin-bottom: 10px;
}

/* Sections */
section {
    padding: 3rem 2rem;
    margin: auto;
    text-align: center;
    opacity: 0;
    transition: opacity 2s ease-out, transform 2s ease-out;
    transform: translateY(0);
}

section.visible {
    opacity: 1;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

    .benefits ul {
        list-style-type: none;
        padding: 0;
    }

    .benefits li {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        color: var(--tan-color);
    }

.section-odd {
    padding: 10rem 2rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.02);
}

/* Benefits Section */
.benefits {
    padding: 10rem 2rem; /* Adds padding around the benefits section */
}

/* Key Benefit Title and Subtitle */
#key-benefit {
    margin-bottom: 2rem; /* Space below the key benefit section */
}

#key-benefit-title {
    font-size: 4rem; /* Adjust the font size for the title */
    font-weight: 700; /* Make the title bold */
    padding: 3rem 0; /* Add vertical padding for the title */
}

#key-benefit-subtitle {
    font-size: 1.2rem; /* Adjust the font size for the subtitle */
    color: var(--light-gray-color); /* Example subtitle color */
    padding-bottom: 1rem; /* Add padding below the subtitle */
}

/* Benefit Items */
.benefit-item {
    background-color: var(--primary-color-2); /* Background color for each benefit item */
    padding: 2rem 1rem; /* Padding inside each item */
    margin: 1rem; /* Margin around each item */
    flex: 1; /* Flex-grow to allow items to grow in the flex container */
    text-align: center; /* Center text in each item */
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .benefit-item:hover {
        transform: scale(1.05); /* makes it grow slightly */
        background-color: var(--accent-color-1); /* change to your desired hover color */
    }

/* Benefit Items Container */
.benefit-items-container {
    display: flex; /* Use flexbox for horizontal layout */
    flex-wrap: wrap; /* Allow items to wrap onto the next line if needed */
    justify-content: space-between; /* Space between items */
}

.benefit-item-title
{
    font-size: 1.5em;
    font-weight: 500;
    padding: 10px;
}

/* How it works section */
.how-it-works {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 8rem 4rem;
}

.how-it-works-title {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1em;
}

.how-it-works-bottom {
    display: flex;
    gap: 20px; /* Space between columns */
}

.how-it-works-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.how-it-works-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1em;
    margin: auto;
    height: 450px;
}

.how-it-works-content img {
    max-height: 450px;
    max-width: 100%;
}

.how-step {
    padding: 2rem;
    cursor: pointer;
    border-bottom: 1px solid var(--accent-color-1);
    font-size: 1.5em;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.5;
    text-align: left;
}

    .how-step.active {
        color: var(--text-color);
        opacity: 1;
        border-bottom: 2px solid var(--accent-color-2);
        animation: move-up 1s ease;
        font-size: 2em;
    }

.how-step-description {
    font-size: 1rem;
    margin-top: 10px;
    max-height: 150px; /* Set a max height for the description */
    overflow: hidden;
    font-weight: 300;
}

    .how-step-description.collapsed {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
    }

@keyframes move-up {
    from {
        transform: translateY(10px);
    }

    to {
        transform: translateY(0);
    }
}

/* Big Number Section */

.quote {
    background-color: var(--primary-color);
    padding: 8rem 2rem;
    text-align: center;
}

.quote-heading {
    font-size: 2em;
    font-weight: bold;
    color: var(--text-color); opacity: 0.8;
    margin-bottom: 20px;
}

#big-number {
    font-size: 8em;
    font-weight: bold;
    color: var(--text-color);
    padding: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

    #big-number:hover {
        transform: scale(1.1); /* Slightly increase size */
        color: var(--error-color); /* Optional: Change color for extra emphasis */
    }

.quote-text {
    font-size: 1.5em;
    margin-top: 2em;
    color: var(--text-color); opacity: 0.8;
}

#quote-subtext {
    margin-top: 20px;
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: 700;
}

    #quote-subtext:hover {
        transform: scale(1.1); /* Slightly increase size */
        color: var(--error-color); /* Optional: Change color for extra emphasis */
    }

/* Features section */
.features {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 8rem 4rem;
}

.features-title {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    color: var(--text-color);
}

.features-subtitle {
    font-size: 1.5em;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 1em;
}

.features-bottom {
    display: flex;
    gap: 20px;
}

.features-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.features-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1em;
    margin: auto;
    height: 450px;
}

    .features-content img {
        max-height: 450px;
        max-width: 100%;
    }

.features-step {
    padding: 2rem;
    cursor: pointer;
    border-bottom: 1px solid var(--accent-color-1);
    font-size: 1.5em;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.5;
    text-align: left;
}

    .features-step.active {
        color: var(--text-color);
        opacity: 1;
        border-bottom: 2px solid var(--accent-color-2);
        animation: move-up 1s ease;
        font-size: 2em;
    }

.features-step-description {
    font-size: 1rem;
    color: var(--text-color);
    margin-top: 10px;
    max-height: 150px; /* Set a max height for the description */
    overflow: hidden;
    font-weight: 300;
}

    .features-step-description.collapsed {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
    }

/* Responsive Design */
@media (width <= 768px) {
    .benefit-item {
        flex: 1 1 calc(50% - 2rem); /* Two columns on smaller screens */
    }
}

@media (width <= 480px) {
    .benefit-item {
        flex: 1 1 100%; /* Single column on very small screens */
    }
}

/* CTA Section */
.cta {
    position: relative;
    color: var(--text-color);
    padding: 30rem 0;
    height: 80vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

    .cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/static/images/cta.jpg') no-repeat center center;
        background-size: cover;
        opacity: 0.3;
        z-index: -1;
    }

    #cta-title {
        font-size: 4rem;
        font-weight: 500;
        margin: 8rem 3rem;
    }

/* Sitemap Section */
.sitemap {
    background-color: #121520;
    padding: 3rem 2rem;
    color: var(--text-color);
    display: flex;
    justify-content: center;
}

.sitemap-container {
    width: 100%;
    display: flex;
    gap: 3rem;
}

.sitemap-description {
    align-items: center;
}

.sitemap-icon {
    width: 200px;
    margin-right: 1rem;
    display: block;
    margin-bottom: 1rem;
}

.sitemap-icon img {
    width: 100%;
}

.sitemap-text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
    display: block;
    text-align: left;
}

.sitemap-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .sitemap-column h3 {
        color: var(--text-color);
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .sitemap-column ul {
        list-style: none;
        padding: 0;
    }

        .sitemap-column ul li a {
            color: #bbb;
            text-decoration: none;
            font-size: 0.9rem;
        }

            .sitemap-column ul li a:hover {
                color: var(--accent-color-2); /* Accent color for hover */
            }

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-demo {
        padding: 0;
    }

    .hero-overlay {
        padding: 2rem;
    }

    .cta-button {
        font-size: 14px;
        padding: 8px 16px;
        margin: auto;
    }

    .get-started {
        display: none;
    }

    .how-it-works-content {
        display: none;
    }

    .features-content {
        display: none;
    }

    .sitemap-container, .sitemap-links, .navbar {
        flex-direction: column;
    }

    #key-benefit-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
        margin: 0;
    }

    #big-number {
        font-size: 4em;
    }

    .how-it-works-title, .features-title, .cta-title {
        font-size: 2em;
    }

    .nav-menu li {
        margin: 5px;
    }

    .nav-logo {
        margin: 10px;
    }

    .sitemap-text {
        text-align: cetner;
    }

    .sitemap-icon {
        margin: auto;
    }

    .sitemap-column ul {
        text-align: center;
    }
    
    h3 {
        display: block;
        text-align: center;
    }

    .features, .how-it-works {
        padding: 2rem;
    }
    
    .features-step-description, .how-step-description {
        overflow: visible;
    }
}

/* Resources Section */
.resources {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.resources h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.resources .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.resource-card.featured {
    border: 2px solid var(--accent-color-2);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(34, 211, 238, 0.1) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color-2) 0%, #0891b2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.resource-header {
    margin-bottom: 1rem;
}

.resource-type {
    color: var(--accent-color-2);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.resource-card h3 {
    color: white;
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 600;
}

.resource-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.resource-features .feature {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.resource-cta {
    color: var(--accent-color-2);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.resource-cta:hover {
    color: white;
    transform: translateX(4px);
}

.resources-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resources-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.secondary-cta {
    color: var(--accent-color-2);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color-2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: var(--accent-color-2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

@media (max-width: 768px) {
    .resources {
        padding: 2rem 0;
    }
    
    .resources h2 {
        font-size: 2rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .resource-card h3 {
        font-size: 1.2rem;
    }
}