/* Enable snapping scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

/* Wrapper to hold content inside each full-height section */
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

/* Special grid style for the tools section with one item */
.single-item-grid {
    grid-template-columns: minmax(280px, 600px);
    justify-content: center;
}

.content-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--transition-curve);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

body.dark-mode .content-card {
    border-color: rgba(255,255,255,0.15);
}

.content-card h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.content-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.5rem);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--highlight-color), transparent) 1;
    display: inline-block;
}