html {
    box-sizing: border-box;
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scrollbar-gutter: stable; /* Prevents layout shifts when scrollbars appear/disappear */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main {
    min-height: 95vh;
    height: auto;
}

/* The "Overlap Magic" - This section is pulled up over the hero */
.deskflow-overlap-container {
    margin-top: -120px; /* Adjust this to control how deep the overlap is */
    position: relative;
    z-index: 10; /* Ensures the cards stay on top of the hero image */
}

/* Hero Image - Set a clear, minimum height */
.deskflow-hero {
    min-height: 70vh; /* Takes 70% of the viewport height */
    background-image: url('../images/hero_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Subtle Hover Effect for the cards to show interactivity */
.w3-card-4 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .w3-card-4:hover {
        transform: translateY(-8px); /* Card lifts slightly on hover */
        box-shadow: 0 16px 32px rgba(0,0,0,0.2);
    }

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}