body {
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4; /*Light background color for contrast */
    /* background: linear-gradient(to bottom, #c6feff, #f4f4f4);  */

}

* {
    box-sizing: border-box;
    /*font-family: 'Roboto', sans-serif;*/
      font-family:'Georgia','Times New Roman';
    font-weight: 300;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  text-align:center;
}

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%; /* Ensures the image is responsive */
    height: auto;
}
/* Default styles */
.header {
    position: relative;
    /* width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.3s ease-in-out; */
}


.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    color: #333;
    padding-left: 150px;
}

.navbar a {
    color: #333;
    text-decoration: none;
    padding: 10px;
}

.navbar a:hover {
    color:#007bff
}

.navbar .logo {
    font-size: 2rem;
    font-weight: 400;
    color:#00008B;
}

.navbar .logo:hover {
    color: #333;
}

.nav-list {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 20px;
}

.navbar .sign-up {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
}

.sign-up:hover {
    background-color: #0056b3;
}

/* Desktop Navbar */
@media (min-width: 1024px) {
    .mobile-navbar {
        display: none;
    }
}

/* Mobile Navbar */
/* Mobile Navbar */
@media (max-width: 1023px) {
    .desktop-navbar {
        display: none;
    }

    .mobile-navbar .navbar {
        flex-direction: row;
        align-items: flex-start;
        position: relative;
    }

    .dropdown-toggle {
        cursor: pointer;
        position: relative;
        z-index: 2; /* Ensure it stays above the dropdown */
    }

    .dropdown-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position it below the navbar */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        text-align: center;
        z-index: 1; /* Ensure it appears below the toggle */
    }

    .dropdown-menu li {
        margin: 0;
        padding: 10px 20px;
        border-top: 1px solid #ddd;
    }

    .dropdown-menu li a {
        color: #333;
    }

    .dropdown-menu li a:hover {
        color: #007bff;
    }

    /* Show dropdown on hover */
    .dropdown-toggle.active + .dropdown-menu {
        display: flex;
    }

    /* Optional: Add some animation for dropdown */
    .dropdown-menu {
        transition: max-height 0.3s ease;
        overflow: hidden;
        max-height: 0;
    }

    .dropdown-toggle.active + .dropdown-menu {
        max-height: 500px; /* Adjust according to content */
    }

    /* Ensure dropdown stays open when hovering over the menu */
    .dropdown-menu:hover {
        display: flex;
        max-height: 500px;
    }
}


/* Optional: Add some animation for dropdown */
.dropdown-menu {
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
}

.dropdown-toggle.active + .dropdown-menu {
    max-height: 500px; /* Adjust according to content */
}


.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 50px;
}

.left-column, .right-column {
    width: 48%; /* Adjusted width for more spacing */
}

.hero, .ai-section, .stories, .process-mining, .nathson-features {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.why-nathson {
    background-color: #474fff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; 
}

@media (min-width: 1024px){
    .hero img {
        max-width: 100%;
        height: auto;
        width: 100%;
        max-height: 370px; /* Optional: Maintain a maximum height if needed */
        border-radius: 10px; /* Optional: If you want the image to maintain the same border-radius as the hero section */
        object-fit: cover; /* Ensures the image covers the area if max-height is enforced */
    }

    .process-header {
        display: flex;
        justify-content: center; /* Horizontally centers the image */
        align-items: center; /* Vertically centers the image if necessary */
        flex-direction: column; /* Keeps the image and text in a vertical stack */
        align-items: center;
        padding: 20px;
        background-color: #ffffff;
    }
    
    .process-header img {
        max-width: 100%; 
        height: auto;
        width: 100%;
        max-height: 350px; 
        padding-bottom: 10px;
        border-radius: 10px; /* Optional: If you want the image to maintain the same border-radius as the hero section */
        object-fit: cover;
        
    }
}

/* 
@media (max-width:1023px) {
    .hero img {

    }
    .process-header {

    }
} */

@media (max-width: 768px) {
    .hero img {
        max-width: 100%;
        height: auto;
        width: 100%;
        max-height: 250px; /* Optional: Maintain a maximum height if needed */
        border-radius: 10px; /* Optional: If you want the image to maintain the same border-radius as the hero section */
        object-fit: cover; /* Ensures the image covers the area if max-height is enforced */
    }

    .process-header img {
        max-width: 100%; 
        height: auto;
        width: 100%;
        max-height: 250px; 
        padding-bottom: 10px;
        border-radius: 10px; /* Optional: If you want the image to maintain the same border-radius as the hero section */
        object-fit: cover;
    }
}

.nathson-pm-find-more {
    background-color: #474fff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: left;
}

.hero h1 {
    font-weight: 500;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.ai-section h2, .stories h2, .process-mining h2, .integrations h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
}

.why-nathson {
    color: #fff;
}

.main-content .why-nathson h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
}

.red-text {
    color: #ff6f6f;
}

/* .yellow-text {
    color: #f3b516;
} */

.process-mining p {
    letter-spacing: 0.7px;
    line-height: 2;
}

.process-header h2 {
    font-size: 2rem;
    color: #333;
    margin-right: 20px;
    flex-shrink: 0; /* Prevents the heading from shrinking */
}

.ai-section p {
    font-size: 1.2rem; /* Font size for the paragraph */
    color: #666; /* Consistent color for paragraph text */
    line-height: 1.6; /* Improve readability */
    margin: 0 auto; /* Center the paragraph */
    max-width: 800px; /* Control the width for better readability */
}

.nathson-benefits {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.nathson-benefits h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.nathson-benefits p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}


.hero button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #0056b3;
}

.trusted-by p {
    font-size: 1rem;
    color: #666;
}

.trusted-by .partners {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

/* Updated Reasons Section */
.reasons {
    display: flex; /* Use flexbox for equal distribution */
    gap: 20px; /* Adjust spacing between flex items */
    justify-content: space-between; /* Distribute space between the items */
    align-items: stretch; /* Ensure all items have equal height */
    text-align: center; /* Center the text in each item */
    margin-top: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.reason {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1; /* Ensure equal width */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px; /* Ensure reasonable minimum width for smaller screens */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.why-nathson h2 {
    font-size: 3rem;
    font-weight: 300;
}

.why-nathson p {
    line-height: 1.5;
    letter-spacing: 0.7px;
    font-size: 1.25rem;
}

.reason:hover {
    transform: translateY(-5px); /* Slight lift on hover for a dynamic feel */
}

.reason h3 {
    font-size: 1.4rem; /* Slightly increase font size for readability */
    color: #333;
    margin: 0;
    padding: 10px;
    line-height: 1.4;
}

/* Other sections retain flexbox */
.story-cards, .process-mining-details, .features-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: left; /* Align text to the left for better readability */
}

.process-mining-details .box, .nathson-features .feature, .nathson-features-first-box {
    transition: transform 0.3s ease;
}

.box:hover, .feature:hover, .nathson-features-first-box:hover {
    transform: translateY(-5px); /* Slight lift on hover for a dynamic feel */
}

.story-card, .box {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.story-card h3, .feature h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.box h3 {
    /* padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #474fff; */
    font-size: 1.2em;
    color: #474fff;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.story-card p, .box p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
}



.integrations {
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center; /* Center-aligns the entire section content */
}

.integration-icons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 600px; /* Restricts the width to keep the layout neat */
    margin: 0 auto; /* Centers the icons div */
    text-align: center; /* Centers the text within each span */
    font-weight: 300; /* Lighter font for the text */
    color: #666; /* Softer color for less contrast */
}

.integration-icons span {
    flex: 1;
    padding: 10px 20px; /* Adds padding for better spacing */
    border-radius: 5px; /* Softens the edges */
    background-color: #f7f7f7; /* Light background for contrast */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.icon-bar:hover {
    transform: translateY(-5px); /* Slight lift on hover for a dynamic feel */
}

/* .nathson-features {
    display: flex;
    flex-wrap: wrap; /* Allows the boxes to wrap within the container 
    justify-content: space-between; /* Ensures spacing between boxes 
    width: 100%;
    max-width: 100%; /* Prevent overflow 
    box-sizing: border-box;
    padding: 1rem; /* Adjust padding as needed 
} */

.nathson-features .feature-box {
    flex: 1 1 48%; /* Two boxes per row, with some margin */
    margin-bottom: 1rem; /* Space between rows */
    box-sizing: border-box;
    max-width: calc(50% - 1rem); /* Ensures they don't overflow */
}

.nathson-features h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.nathson-features h2 span {
    color: #f3b516;
}


.nathson-features-first-box {
    background-color: #474fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.nathson-features-first-box p, .nathson-features-first-box h3 {
    color: #fff;
}

.nathson-features-first-box h3 {
    font-size: 1.5rem;
}

.feature {
    background-color: #f7f7f7;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.feature a {
    font-size: 1rem;
    color: #666;
    text-align: left;
    line-height: 1;
}

.feature .button, .nathson-features-first-box .button {
    background-color: #f7f7f7;
    color: #333;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 0.5px solid black;
    text-decoration: none;
    font-weight: 500;
    width: 80%;
    bottom: 10px; /* Distance from the bottom */
    left: 10px; /* Distance from the left */
}
  
.nathson-features-first-box .button {
    background-color: #474fff;
    color: #fff;
    border: 0.5px solid white;
    width: 30%;
}
/* 
.feature .button:hover {
    background-color: #008bb2;
}

.nathson-features-first-box .button:hover {
    background-color: ;
} */

/* .features-container {
    display: flex;
    justify-content: space-between; /* Space between boxes 
    align-items: stretch;
    flex-wrap: nowrap; /* Prevents wrapping 
    gap: 20px;
} 

.feature {
    background-color: #f4f4f4;
    padding: 20px;
    flex: 1;
    max-width: 22%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 250px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature p {
    font-size: 1rem;
    color: #555;
} */

/* Make responsive */
/* @media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 90%;
        margin-bottom: 20px;
    }
} */


.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
}

.footer h2 {
    font-size: 1.5rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .main-content {
        flex-direction: column;
        padding: 20px;
    }

    .left-column, .right-column {
        width: 100%;
        padding: 0;
    }

    .reasons, .story-cards, .process-mining-details, .integration-icons, .features-container {
        flex-direction: column;
        gap: 20px;
    }
}


