* {
    box-sizing: border-box;
}


/* General Styles for All Screen Sizes */
html, body {
    height: 100%;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background: #121212;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Adjust the height to extend just past the header */
    background: linear-gradient(to bottom, rgba(18, 18, 18, 1), rgba(18, 18, 18, 0));
    z-index: 999; /* Make sure it is behind the header but above other content */
    pointer-events: none; /* Prevent interactions */
}

/* Hide the body::before pseudo-element in maintenance mode */
body.maintenance-mode::before {
    display: none;
}

/* Particle Canvas Setup */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Prevent interaction */
}

body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: #ffffff;
    background-size: 400% 400%;
    align-items: center;
}

/* Header Styles */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1a1a1a;
    color: #fff;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;

    backdrop-filter: blur(10px);
}
.wrapper {
    flex: 1; /* Ensures the content area takes up the remaining space */
}
.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 70px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.contact-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #3F4041;
    color: #fff;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-button:hover {
    background-color: transparent;
    border: 2px solid #4A90E2;
    color: #fff;
}

.contact-text {
    margin-right: 8px;
}

.contact-icon {
    width: 20px;
    height: 20px;
}

/* Main Content Styles */
.main-content {
    padding: 150px 20px 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    position:relative;
    z-index: 2;
}

.left-section {
    flex: 1 1 100%;
    padding-right: 20px;
     text-align: end;
}

.right-section {
    flex: 1 1 100%;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text h1 {
    font-size: 68px;
    margin-bottom: 20px;
    margin-top: -0px;
    color: #ffffff;
   
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #b0b0b0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.primary-button {
    padding: 10px 20px;
    background-color: #4A90E2;
    color: #fff;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    height: 60px;
    width: 180px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    align-items: center;
    display: flex;
    justify-content: center; /* Add this line to center the text horizontally */
    align-items: center; /* Add this line to center the text vertically */
}

.primary-button:hover {
    background-color: #121212;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.secondary-button {
    padding: 10px 20px;
    background-color: transparent;
    color: #e0e0e0;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.secondary-button:hover {
    background-color: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    height: 300px;
    background-color: #1e1e1e;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: blur(1.5px) brightness(0.9);
}

.aggregate-revenue {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 180px;
    background-color: rgba(37, 37, 37, 0.4);
    border-radius: 15px;
    padding: 5px 13px 5px 13px;
    font-size: 1rem;
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.revenue-amount {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.revenue-change {
    color: green;
}

.revenue-progress {
    width: 100%;
    height: 8px;
    background-color: #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.lower-cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: -20px;
}

.sales-revenue {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background-color: #252525;
    color: #ffffff;
}

.matrix-background {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('weight_correlation_matrix.png') center/cover;
    filter: blur(2.5px) brightness(0.4);
    z-index: 0;
}

.sales-revenue .card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 15px;
    height: 100%;
}

.sales-revenue h3,
.sales-revenue p,
.sales-revenue .revenue-amount {
    color: white; /* Ensure text is readable over the video */
}


.financial-transaction {
    flex: 1 1 48%;
    box-sizing: border-box;
    background-color: #252525;
    border-radius: 15px;
    padding: 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.financial-transaction .background-video {
    position: absolute;
    top: 5px;
    left: 15px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    transform: scale(1.1);
}

.financial-transaction .card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 20px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
}

.chart {
    width: 100%;
    height: 100px;
    background-color: #eaeaea;
    border-radius: 10px;
}

/* Client Section */
.client-section {
    background-color: #1e1e1e;
    padding: 50px 20px;
    margin-top: 30px;
    width:100%;
    color: #ffffff;
}

.clientBlock {
    width: 60%;
    margin: 0 auto 40px;
    text-align: center;
}

.clientBlock p {
    color: #e0e0e0;
    font-size: 18px;
}

/* Carousel for Client Logos */
.carousel-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;

}

.carousel-track {
    display: flex;
    animation: scroll 25s linear infinite;
}

.carousel-logos {
    display: flex;
    gap: 80px;
}

.client-logos {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    user-select: none;
    pointer-events: none;
}

.client-logos:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer {
    bottom: 0px;
    width: 100%;
   
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    margin: 30px auto 0;
    max-width: 1200px;
   
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin: 0;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    opacity: 1;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.06);
}

/* Keyframes for Carousel Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}
.carousel-container {
    width: 100%;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(30, 30, 30, 1), rgba(30, 30, 30, 0));
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(30, 30, 30, 1), rgba(30, 30, 30, 0));
}

/* AI Solutions Section */
.ai-solutions-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: #252525;
    overflow: hidden;
    width: 100%;
    color: #ffffff;
}

.ai-solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.ai-solutions-text {

    width: 60%;
    margin: 0 auto;
}

.tagline {
    font-size: 18px;
    color: #4A90E2;
    display: inline-block;
    background-color: rgba(74, 144, 226, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
}

.ai-solutions-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.highlight {
    color: #4A90E2;
}
/* Grid Layout for AI Solutions Cards */
.ai-solutions-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    column-gap: 30px;
    row-gap: 30px; /* Adjust this for vertical space between rows */
    justify-content: center; /* Center the cards horizontally */
    align-items: center; /* Center the cards vertically */
    width: 100%;
    margin-top: 40px;

}

.ai-card {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    background-color: #252525;
    padding: 40px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Cards will take up 90% of the grid column */
    justify-self: center; /* Centers the card within the grid column */
    text-align: left; /* Left align the text inside the card */
    color: #ffffff;
    border: 1px solid #4A90E2;
}

.icon-container {
    width: 80px;
    height: 80px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px; /* Add space between icon and text */
}

.icon-container img {
    width: 40px;
    height: 40px;
    color: #3F4041;
}

.text-container {
    display: flex;
    flex-direction: column; /* Stack title and paragraph vertically */
}

.text-container h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.text-container p {
    margin: 0;
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.5;
}
.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
}

.contact-section {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-form {
    width: 50%;
    text-align: right;
    margin-right:40px; /* Adds 20px margin between the form and the image */
    margin-left:-40px
}

.contact-form h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
}
.contact-form p {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 16px;
    text-align: right;
    width: 50%; 
    margin-left: auto; 
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    
}

.contact-form .form-group {
    width: 100%;
}

.contact-form textarea {
    resize: none;
}
.contact-form input, textarea {
    width: 320px; /* Full-width input fields */
    padding: 15px;
    font-size: 16px;
    border: 1px solid #4A90E2;
    border-radius: 8px;
    text-align: right;
    margin-bottom: 15px; /* Ensures consistent gap between input fields */
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
}
input:focus, textarea:focus {
    outline: none; /* Remove the default outline */
    border: 2px solid #4A90E2; /* Change the border to your blue color */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b0b0b0;
}

.contact-form button {
    background-color: #4A90E2;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;

}
.contact-form button:hover {
    background-color: transparent;
    border: 2px solid #4A90E2;
    color: #4A90E2;
}


/* Contact Image Wrapper */
.contact-image-wrapper {
    width: 100%; /* Takes up half the width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}

/* Contact Image */
.contact-image {
    width: 100%;
    height: 350px;
    background-image: url('Evolved Projects Map Web_2.png'); /* Add your image here */
    background-position: center;
    background-size: cover;
    border-radius: 15px;
}

/* Centered Text */
.centered-text {
    font-size: 1.2rem;
    color: #e0e0e0;
    text-align: center;
}


/* CTA Section */
.cta-section {
    background-color: #1e1e1e;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: none;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #e0e0e0;
    opacity: 0.9;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: -40px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.2;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-primary-button, .cta-secondary-button {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-primary-button {
    background-color: #4A90E2;
    color: white;
    border: 2px solid #4A90E2;
}

.cta-primary-button:hover {
    background-color: transparent;
    color: #4A90E2;
    transform: translateY(-2px);
}

.cta-secondary-button {
    background-color: transparent;
    color: #b0b0b0;
    border: 2px solid #b0b0b0;
}

.cta-secondary-button:hover {
    background-color: #4A90E2;
    border-color: #4A90E2;
    color: #ffffff;
}

/* Responsive adjustments for CTA section */
@media screen and (max-width: 768px) {
    .cta-stats {
        flex-direction: column;
        gap: 40px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 16px;
    }

    .cta-section h2 {
        font-size: 32px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .cta-primary-button, .cta-secondary-button {
        width: 100%;
        padding: 16px 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* Responsive Styles for Mobile View (max-width: 480px) */
/* Mobile View */
@media screen and (max-width: 480px) {
    .ai-solutions-cards {
        grid-template-columns: 1fr; /* One column */
    }
    .ai-solutions-text {
        width: 100%;
        margin: 0 auto;
    }

    .sales-revenue .background-video {
        position: absolute;
        top:50px;
        left: 125px;
        border-radius: 15px; /* Make sure the video also has rounded corners */
        transform: scale(1.7);

    }

    .sales-revenue .card-content {
        padding: 15px; /* Reduce padding for smaller screens */
        font-size: 0.9rem; /* Adjust text size */
        height:150px;

    }
    /* Header Adjustments for Mobile */
    .contact-button {
        padding: 10px;
        width: auto;
        justify-content: center;
    }

    .contact-text {
        display: none;
    }

    .contact-icon {
        margin: 0;
        width: 24px;
        height: 24px;
    }

    .header-bar {
        width: 85%; /* Slightly reduce the width of the header bar */
    }

    .logo-text {
        font-size: 20px; /* Adjust logo text size for mobile */
    }

    /* Main Content Adjustments for Mobile */
    .hero-text h1 {
        font-size: 36px;
        margin-top: -30px;
    }

    .aggregate-revenue {
        position: relative;
        margin: 0 auto;
        width: 30%;
        top: -35%;
    
        font-size: 0.9rem;
        left: 25%;
    }

    .primary-button,
    .secondary-button {
        height: 50px;
        width: 150px;
    }

    .carousel-logos {
        gap: 50px; /* Reduce gap between logos on mobile */
    }

    .contact-section {
        display: flex;
        flex-direction: column; /* Stack the columns vertically */
        align-items: center; /* Center-align the content */
        width: 100%;
    }

    .contact-form {
        width: 800%; /* Full width for form */
        text-align: center; /* Center-align the text */
        margin-right: -40px; /* Remove right margin */
    }

    .contact-form h1, .contact-form p {
        text-align: center; /* Center-align the heading and paragraph */
    }

    .contact-form p {
        width: 100%; /* Full width for paragraph */
        margin-left: 0; /* Remove left margin */
    }

    .contact-form form {
        align-items: center; /* Center-align the form elements */
    }

    .contact-form input {
        width: 90%; /* Full width for input fields */
        text-align: center; /* Center-align the text inside input */
    }

    .contact-form button {
        width: 100%; /* Full width for the button */
    }

    .contact-image {
        width: 100%; /* Full width for the image */
        height: 250px; /* Adjust height for mobile */
        margin-top: 20px; /* Add space between the form and the image */
    }
}

/* Responsive Styles for Tablet and Small Desktop View (max-width: 768px) */
/* Tablet View */
@media screen and (max-width: 768px) {
   
    /* Contact Image Wrapper */
    .contact-image-wrapper {
        width: 80vw; /* Takes up half the width */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 500px;
    }

    .contact-icon {
        margin: 0;
        width: 24px;
        height: 24px;
    }
   
    .contact-text {
        display: none; /* Hide the text on tablet and smaller screens */
    }

    .contact-form textarea {
        width: 90%; /* Full-width input fields */
        text-align: center;
    }
    
    .ai-solutions-text {

        width: 90%;
        margin: 0 auto;
    }
    /* Main Content Adjustments for Tablet */
    .main-content {
        flex-direction: column; /* Stack content vertically */
    }

    .left-section,
    .right-section {
        padding: 10px 0;
    }

    .hero-text h1 {
        font-size: 48px; /* Adjust heading size for tablet */
        margin-top: -30px;
    }

    .aggregate-revenue {
        position: relative;
        margin: 0 auto;
        width: 40%;
        max-width: 400px;
        top: -100px;
        transform: translateY(-60%);
        z-index: 10;
        font-size: 0.9rem;
        left: 20%;
    }

    .revenue-amount {
        font-size: 20px; /* Adjust revenue amount text size for tablet */
    }

    .lower-cards {
        flex-direction: column; /* Stack cards vertically */
    }

    .sales-revenue .background-video {
    flex: 1 1 100%;
        margin-bottom: 20px;
        font-size: 0.9rem; /* Adjust card text size for tablet */
        position: absolute;
        top:50px;
        left: 120px;
        transform: scale(2);
    }

   
    .financial-transaction {
        flex: 1 1 100%;
        margin-bottom:-30px;
        font-size: 0.9rem; /* Adjust card text size for tablet */
        
    }

    .client-section {
        padding: 30px 20px; /* Adjust client section padding for tablet */
    }

    .carousel-container {
        width: 100%; /* Make carousel full width */
    }

    .contact-button {
        padding: 10px;
        justify-content: center; /* Center the icon when text is hidden */
    }

    .contact-button img {
        margin-left: 0; /* Remove margin when text is hidden */
        height:30px;
    }

    .contact-button span {
        display: none;
    }

    .contact-section {
        display: flex;
        flex-direction: column; /* Stack the columns vertically */
        align-items: center; /* Center-align the content */
        width: 100%;
    }

    .contact-form {
        width: 100%; /* Full width for form */
        text-align: center; /* Center-align the text */
        margin-right: -40px; /* Remove right margin */
    }

    .contact-form h1, .contact-form p {
        text-align: center; /* Center-align the heading and paragraph */
    }

    .contact-form p {
        width: 100%; /* Full width for paragraph */
        margin-left: 0; /* Remove left margin */
    }

    .contact-form form {
        align-items: center; /* Center-align the form elements */
    }

    .contact-form input {
        width: 90%; /* Full width for input fields */
        text-align: center; /* Center-align the text inside input */
    }

    .contact-form button {
        width: 50%; /* Full width for the button */
    }

    .contact-image {
        width: 100%; /* Full width for the image */
        height: 250px; /* Adjust height for mobile */
        margin-top: 20px; /* Add space between the form and the image */
    }

    .footer {
        width: 100%; /* Full width for the footer */
        border-top-left-radius: 0; /* Remove border radius */
        border-top-right-radius: 0; /* Remove border radius */
    }


    
}

/* Desktop and Large Tablet View (min-width: 769px) */
/* Desktop View */
@media screen and (min-width: 769px) {

    /* Main Content Adjustments for Desktop */
    .main-content {
        flex-direction: row; /* Side-by-side content */
    }

    .left-section {
        flex: 1;
        padding-right: 20px;
    }

    .right-section {
        flex: 1;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
    }

    .aggregate-revenue {
        position: absolute;
        bottom: 20px;
        right: 20px;
        width: 180px; /* Set width for aggregate revenue card */
    }

    .lower-cards {
        flex-direction: row; /* Arrange cards side-by-side */
    }

    .sales-revenue,
    .financial-transaction {
        flex: 1 1 48%;
    }

    .client-section {
        padding: 50px 20px; /* Adjust client section padding for desktop */
    }

    .carousel-container {
        width: 80%; /* Set carousel width for desktop */
    }

    .carousel-logos {
        gap: 80px; /* Space between logos in the carousel */
    }

    .contact-button img {
       display: none;
    }
    .sales-revenue .card-content {
        padding: 18px; /* Slightly reduce padding for tablet screens */
        font-size: 0.95rem; /* Adjust text size */
    }



}
