/* --- style_updated.css --- */

/* --- Global Styles & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333; /* Default text color */
    background-color: #fff;
}

.container {
    max-width: 1140px; /* Slightly wider common container width */
    margin: 0 auto;
    padding: 0 20px; /* Consistent padding */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes extra space below images */
}

a {
    text-decoration: none;
    color: #26a69a; /* CHANGED - Default link color */
    transition: color 0.3s ease;
}

a:hover {
    color: #26a69a; /* CHANGED - Darker link color on hover */
}

/* --- Header --- */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow for header */
    padding: 10px 0;
    position: sticky; /* Make header stick to top */
    top: 0;
    z-index: 1000; /* Ensure header is above other content */
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px; /* Adjust logo height as needed */
    width: auto;
}

/* --- Desktop Navigation --- */
nav#main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; /* Spacing between nav items */
}

nav#main-nav ul li a {
    color: #1A5954; /* CHANGED */
    font-weight: 500;
    padding: 5px 0; /* Add some vertical padding for easier clicking */
    position: relative; /* For potential hover effects */
}

nav#main-nav ul li a::after { /* Optional underline hover effect */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1A5954; /* CHANGED */
    transition: width 0.3s ease;
}

nav#main-nav ul li a:hover::after {
    width: 100%;
}

/* --- Hamburger Menu Button (Initially Hidden) --- */
#menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8em; /* Size of the hamburger icon */
    cursor: pointer;
    color: #1A5954; /* CHANGED */
    padding: 5px;
    line-height: 1; /* Prevent extra spacing */
}

/* --- Hero Section --- */
.hero {
        padding: 0; /* Remove padding from the hero to allow video to fill the space */
    position: relative; /* Needed for absolute positioned shapes */
    overflow: hidden; /* Prevent shapes from causing scrollbars */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Add shadow to the hero section */

}

.hero-video-container { /* New container for video */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place video behind other content */
    overflow: hidden; /* Prevent video from overflowing */
background-color: #22968c;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /*  Cover the entire container, cropping if necessary */
}

/* Add the gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26, 89, 84, 0.8) 0%, rgba(26, 89, 84, 0) 80%); /* Green gradient */
  z-index: 1; /* Ensure it's above the video but below the text */
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    min-height: 60vh; /* Take 60% of viewport height */
    padding: 80px 20px;  /* Add padding to the content inside hero */
    position: relative; /* Needed for absolute positioned shapes */
    z-index: 2; /*  Ensure content is above the video and the overlay */

}

.hero-text {
    flex: 1; /* Take up available space */
    text-align: left; /* Align text to the left */
}

.hero-text h1 {
    font-size: 2.8em; /* Large heading */
    font-weight: 700;
    color: #fff; /* CHANGED to white for visibility*/
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1em;
    color: #fff; /* CHANGED to white for visibility */
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px; /* Space between buttons */
    justify-content: flex-start; /* Align buttons to the left */
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px; /* Pill shape */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none; /* Remove default border */
    cursor: pointer;
}

.btn-primary {
    background-color: #1A5954; /* CHANGED */
    color: #fff;
}

/* --- MODIFIED HOVER EFFECT FOR PRIMARY BUTTON --- */
.btn-primary:hover {
    background-color: #1A5954; /* Keep original background color */
    color: #80CBC4; /* Lighter green text color */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(26, 89, 84, 0.3); /* Green shadow */
}

.btn-secondary {
    background-color: #eef5ff; /* Set the background color for the free trial button */
    color: #1A5954; /* CHANGED */
    border: none; /* Remove the border */
    transition: background-color 0.3s ease; /* Add transition for hover effect */
}

.btn-secondary:hover {
    background-color: #1A5954; /* Match primary button hover for consistency */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 89, 84, 0.3);
}

/* --- Add a specific style for the "Probeer Gratis" button --- */
.free-trial-button {
    background-color: #eef5ff; /* Use hero background color */
    color: #1A5954; /* Text color */
}


/* Decorative Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08; /* Subtle opacity */
    z-index: 0; /* Behind content */
}

.bg-shape-1 {
    width: 250px;
    height: 250px;
    background-color: #1A5954; /* CHANGED - Match primary color */
    top: -80px;
    left: -100px;
}

.bg-shape-2 {
    width: 180px;
    height: 180px;
    background-color: #ffc107; /* Yellow accent - Kept this for contrast, change if needed */
    bottom: -60px;
    right: -70px;
}

/* --- Features Section --- */
.features {
    padding: 40px 0;
}

.features-container {
    display: grid;
    /* Responsive grid: 1 col on small, up to 3 on large */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; /* Space between feature items */
}

.feature-item {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* NEW: Container for Icon and Heading */
.feature-header {
    display: flex;
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Center the items horizontally */
    gap: 12px; /* Space between icon and heading */
    margin-bottom: 20px; /* Space below the header block */
    margin-top: 20px; /* Space above the header block */
}

.feature-icon {
    height: 45px; /* Control icon size */
    width: auto;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.feature-item h2 {
    margin: 0; /* Remove default heading margin */
    font-size: 1.5em;
    font-weight: 600;
    color: #1A5954; /* CHANGED */
    margin-bottom: 15px; /* space under heading */
    margin-top: 15px;  /* space above heading */
}

.feature-item p {
    color: #666; /* Keeping paragraph text slightly muted */
    font-size: 0.95em;
}


/* --- Footer --- */
footer {
    background-color: #343a40; /* Dark background */
    color: #f8f9fa; /* Light text */
    text-align: center;
    padding: 30px 0;
    margin-top: 60px; /* Space above footer */
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Add more space between the h3 elements */
.section-heading {
    margin-top: 2rem;  /* Adjust the value as needed */
    margin-bottom: 1rem; /* Add space below the heading */
}


/* --- Responsive Styles --- */
@media (max-width: 992px) { /* Adjustments for tablets */
    .hero-text h1 {
        font-size: 2.4em;
    }
    .hero-image img {
        max-width: 380px;
    }
     nav#main-nav ul {
        gap: 20px; /* Slightly reduce nav gap */
    }
}


@media (max-width: 768px) { /* Breakpoint for hamburger menu & stacking */

    /* --- Show Hamburger, Hide Desktop Nav --- */
    #menu-toggle {
        display: block; /* Show the hamburger button */
    }

    nav#main-nav ul {
        display: none; /* Hide the horizontal nav list */
        flex-direction: column; /* Stack links vertically */
        position: absolute;
        top: 69px; /* Position below header (adjust if header height changes) */
        left: 0;
        width: 100%;
        background-color: #fff; /* Background for the dropdown */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0; /* Padding inside the dropdown */
        border-top: 1px solid #eee; /* Separator line */
        gap: 0; /* Reset gap for vertical layout */
    }

    /* --- Style Active Mobile Nav --- */
    nav#main-nav.active ul {
        display: flex; /* Show the list when nav has 'active' class */
    }

    nav#main-nav ul li {
        text-align: center;
        width: 100%;
        margin: 0;
    }

     nav#main-nav ul li a {
        display: block; /* Make links take full width */
        padding: 12px 20px; /* Padding for touch targets */
        border-bottom: 1px solid #f0f0f0; /* Separator between links */
        color: #1A5954; /* CHANGED - Ensure text is visible & matches theme */
    }
    nav#main-nav ul li a::after {
        display: none; /* Hide underline effect on mobile */
    }

     nav#main-nav ul li:last-child a {
         border-bottom: none; /* Remove border from last item */
     }

     nav#main-nav ul li a:hover {
         background-color: #f8f9fa; /* Slight background highlight on hover */
         color: #26a69a; /* CHANGED - Darker green on hover */
     }


    /* --- Adjust Layouts --- */
    .hero-container {
        flex-direction: column; /* Stack hero text and image */
        text-align: center;
    }

    .hero-text {
        margin-bottom: 40px; /* Add space below text when stacked */
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .hero-buttons {
        justify-content: center; /* Center buttons horizontally */
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
    }

    /* Optional: Make buttons slightly larger/fuller width on mobile */
    .btn {
        padding: 10px 20px;
        /* width: 80%;
        max-width: 250px; */
    }

    .features-container {
         gap: 25px; /* Reduce gap for features */
    }

     /* Adjust padding for smaller screens */
    .hero, .features {
        padding: 60px 0;
    }
}


@media (max-width: 480px) { /* Further adjustments for small phones */
    .hero-text h1 {
        font-size: 1.9em;
    }
     .hero-text p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center stacked buttons */
        gap: 10px;
    }
     .btn {
        width: 90%; /* Make buttons take up more width */
        max-width: 300px;
    }

    .feature-item h2 {
        font-size: 1.3em;
    }
     .feature-icon {
        height: 40px;
    }
}