/* General styling */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}
/* Apply smooth scrolling to the entire page */
html {
    scroll-behavior: smooth;
}


h1 {
    font-family: 'Montserrat', sans-serif;
    color: #0143A1;
    
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: #0143A1;
    text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}


/* Header styling */
header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

header .logo img {
    max-height: 65px;
    padding-right: 20px;
    padding-left: 20px;
 
}

header .center-text {
    font-family: 'Montserrat', sans-serif;
    color: #0143A1;
}

header nav ul {
    list-style: none;
    margin: 20px;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

header nav ul li .btn {
    padding: 10px 20px;
    background-color: #0143A1;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

header nav ul li .btn:hover {
    background-color: #023275; /* Darker shade of the background color */
    color: #f0e6d6; /* Lighter color for the text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}


/* Hero section styling */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: left;
    padding: 100px 0;
}


.hero .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-content .btn-cta {
    padding: 10px 20px;
    background-color: #0143A1;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-content .btn-cta:hover {
    background-color: #023275; /* Darker shade of the background color */
    color: #f0e6d6; /* Lighter color for the text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

/* Benefits section styling */
.benefits {
    background-color: #023275;
    padding: 20px 0;
}

.benefits .container {
    display: flex;
    justify-content: space-around;
}

.benefit {
    text-align: center;
    max-width: 300px;
}

.benefit h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f9f9f9;
}

.benefit p {
    font-size: 16px;
    color: #f9f9f9;
}



/* About Us Section */
.about-us {
    background-color: #f9f9f9;
    padding: 50px 20px;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-us h2 {
    text-align: center;
    font-size: 32px;
    color: #023275;
    margin-bottom: 20px;
    text-shadow: none;

}

.about-us .intro {
    text-align: center;
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
}

.founders {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.founder {
    text-align: center;
    max-width: 400px;
    margin-bottom: 20px;
}

.founder img {
    width: 100%; /* Ensures the image fills the width of the container */
    height: auto; /* Maintains the aspect ratio */
    max-width: 400px; /* Restricts the maximum width */
    max-height: 260px; /* Restricts the maximum height */
    object-fit: cover; /* Ensures the image covers the entire area of the container */
    border-radius: 0; /* Makes sure the image corners are not rounded */
}

.founder h3 {
    font-size: 22px;
    color: #023275;
    margin-bottom: 10px;
}

.founder p {
    font-size: 16px;
    color: #555555;
}

.company-story {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/produktion.jpg');
    padding: 60px 0;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.company-story .container {
    max-width: 1200px; /* Adjust this based on your layout needs */
    margin: auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
    justify-content: space-between;
}

.company-story h3 {    
    font-size: 28px;
    color: #f9f9f9;
    margin-bottom: 20px;
}

.company-story p {
    color: #f9f9f9;
    margin-bottom: 20px;
    max-width: 600px;
    text-align: center;
    margin: auto;
    
}

.mission-value-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Space between the mission and value sections */
    margin-top: 20px;
}

.mission, .value-proposition {
    padding: 20px;
    flex: 1; /* Ensures both sections take equal space */
    box-sizing: border-box;
}

.mission , .value-proposition, h3 p {
    text-align: center;
}

.timeline-section {
    text-align: center;
}

.timeline-section .container {
    text-align: center;
    margin-bottom: 100px;
}

.timeline-section h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.timeline-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding: 0 50px;
    text-align: center;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 5.5%; /* Aligns the line vertically with the middle of the icons */
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0143A1;
    
}

.timeline-item {
    position: relative;
    text-align: center;
}

.timeline-header {
    margin-bottom: 20px;
    width: 100px;
}
.timeline-header h2 {
    font-size: 12px;
    text-shadow: none;
}

.timeline-link {
    text-decoration: none; /* Remove underline from links */
    display: inline-block; /* Allows setting width/height */
}

/* Basic styling for timeline icon */
.timeline-link .timeline-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #0143A1;
    margin: 0 auto;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition on hover */
}

/* Change color on hover with higher specificity */
.timeline-link:hover .timeline-icon {
    background-color: #023275; /* Darker shade of the background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

.timeline-expanded {
    position: relative;
}

.timeline-expanded h2 {
    text-shadow: none;
    color: #0143A1;

}

.timeline-expanded .container {
    position: relative;
    padding-left: 5%; /* Use percentage for padding to make it responsive */
    margin-bottom: 40px; /* Space between the containers */
}

.timeline-expanded .timeline-expanded-icon {
    position: absolute;
    left: 2%; /* Position the icon 2% from the left side */
    top: 0;
    width: 1.5rem; /* Relative unit for the box size */
    height: 1.5rem;
    background-color: #0143A1; /* Blue square */
    border-radius: 0%; /* To make it circular, you can remove this if you want a square */
}

.timeline-expanded .vertical-line {
    position: absolute;
    left: calc(2% + 0.7rem); /* Position the line under the center of the icon */
    top: 1.5rem; /* Start just below the icon */
    width: 0.2rem; /* Relative unit for the line width */
    background-color: #0143A1; /* Vertical line color */
}

.content {
    margin-left: 10%; /* Align the content away from the icon */
    padding: 0 5%;
}

/* Hide the vertical line for the last container */
.timeline-expanded .container:last-child .vertical-line {
    display: none;
}


.contact-footer {
    background-color: #0143A1; /* Background color */
    color: #fff; /* Text color */
    padding: 20px 0;
    text-align: center;
}

.contact-footer h3 {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
}

.contact-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-footer ul li {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-footer ul li a {
    color: #fff;
    text-decoration: none;
}

.contact-footer ul li a:hover {
    text-decoration: underline;
}

.contact-footer i {
    margin-right: 8px;
}


/* Default styles (for desktop and larger screens) */

/* Media Query for Tablets and Small Desktops */
@media (max-width: 992px) {

    /* Hero Section */
    .hero {
        padding: 15vh 0; /* Adjust padding for better fit on tablets */
    }

    .hero-content h2 {
        font-size: 36px; /* Decrease font size for better fit */
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Benefits Section */
    .benefits .container {
        flex-direction: column;
        align-items: center;
    }

    /* Founders Section */
    .founders {
        flex-direction: column;
        align-items: center;
    }


    .founder {
        max-width: 50%; /* Make founders full-width on smaller screens */
        margin-bottom: 20px;
    }
}

/* Media Query for Mobile Devices (Smartphones) */
@media (max-width: 768px) {
    /* Header */
    header .container {
        padding: 0 20px;
        font-size: 10px;
    }


    header .logo img {
        max-height: 40px; /* Reduce logo size */
        padding-left: 0;
        padding-right: 0;
    }

    header nav ul {
        padding: 0;
        margin: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    /* Hero Section */
    .hero {
        padding: 10vh 20px; /* Smaller padding for mobile */
    }

    .hero-content h2 {
        font-size: 28px; /* Further reduce font size */
    }

    .hero-content p {
        font-size: 14px;
    }

    /* Benefits Section */
    .benefits .container {
        flex-direction: column;
        padding: 0 20px;
    }

    .benefit {
        max-width: 100%; /* Ensure benefits take full width */
        margin-bottom: 20px;
    }

    /* About Us Section */
    .about-us {
        padding: 30px 20px;
    }

    /* Founders Section */
    .founders {
        flex-direction: column;
        align-items: center;
    }

    .founder img {
        max-width: 100%; /* Full width for images */
        max-height: none; /* Remove height restriction */
    }


    .company-story {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/consulting/produktion.jpg');
        padding: 60px 0;
        width: 100%;
        position: relative;
        background-size: cover;
        background-position: center;
    }
    
    .company-story .container {
        max-width: 1200px; /* Adjust this based on your layout needs */
        margin: auto;
        padding: 0 20px;
        width: 80%;
        text-align: center;
        justify-content: space-between;
    }
    
    .company-story h3 {    
        font-size: 20px;
        color: #f9f9f9;
        margin-bottom: 20px;
    }
    
    .company-story p {
        color: #f9f9f9;
        margin-bottom: 20px;
        max-width: 600px;
        text-align: center;
        margin: auto;
        font-size: 12px;
    }
    
    .mission-value-container {
        display: flex;
        justify-content: space-between;
        gap: 20px; /* Space between the mission and value sections */
        margin-top: 20px;
    }
    
    .mission, .value-proposition {
        padding: 20px;
        flex: 1; /* Ensures both sections take equal space */
        box-sizing: border-box;
    }
    
    .mission , .value-proposition, h3 {
        text-align: center;
        font-size: 20px;
    }
    .mission , .value-proposition, h3 p {
        text-align: center;
        font-size: 12px;
    }

    .timeline {
        display: none;
    }

    .timeline-expanded h2 {
        font-size: 18px;
    }

    /* Contact Section */
    .contact-footer {
        padding: 30px 20px;
    }

    .contact-footer ul li {
        font-size: 16px;
    }

    .contact-footer ul {
        padding: 0;
    }
}




