﻿.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(to bottom, var(--color-bg), rgba(102, 114, 204, 0.1));
    color: var(--color-surface);
    padding:0;
    margin:0;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.ForStudentsTitle{
    color: black;
    padding-top: 75px;
    width: 100%;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding: 75px 20px 0 20px;
}

.hero-content::-webkit-scrollbar {
    height: 8px;
}

.card {
    flex: 0 0 clamp(250px, 30vw, 320px); /* responsive width but no shrink */
    height: 420px; /* adjusts with screen height */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    text-decoration: none;
}

    .card:hover {
        border-color: var(--color-primary-light);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
        aspect-ratio : 2/1;
    }

.card:hover .card-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary-light);
    color: var(--color-surface);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.card-header, .card-content {
    padding: 16px;
}

    .card-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: var(--color-text);
    }

    .card-header .subtitle {
        font-size: 14px;
        font-weight: 500;
        color: var(--color-primary);
        margin-top: 4px;
    }

    .card-header .description {
        font-size: 14px;
        color: var(--color-text-secondary);
        margin-top: 6px;

    }


.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 6px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
}

.hero-content::-webkit-scrollbar {
    height: 8px;
}


.why-section {
    padding: 100px 20px;
    background: linear-gradient(to top, var(--color-bg), rgba(102, 114, 204, 0.1));
    color: var(--color-text);
}

    .why-section .container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .why-section .text-center {
        text-align: center;
        margin-bottom: 60px;
    }

    .why-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--color-primary-dark);
        margin-bottom: 10px;
    }

    .why-section p {
        color: var(--color-text-secondary);
        font-size: 1.2rem;
    }

    .why-section .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 32px;
    }

.card {
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 40px 32px;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid var(--color-border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .card h3 {
        font-size: 1.5rem;
        color: var(--color-primary);
        margin: 20px 0 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: visible;
        overflow-x: clip;
    }

    .card p {
        color: var(--color-text-secondary);
        line-height: 1.6;
    }

/* Icon backgrounds */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
}

    .icon svg {
        width: 32px;
        height: 32px;
    }

/* Accent color variations */
.bg-green {
    background: var(--bg-card);
    color: var(--color-primary);
}


.steps-section {
    padding: 100px 20px;
    color: var(--color-text);
}

    .steps-section .container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .steps-section .text-center {
        text-align: center;
        margin-bottom: 60px;
    }

    .steps-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--color-primary-dark);
        margin-bottom: 10px;
    }

    .steps-section p {
        color: var(--color-text-secondary);
        font-size: 1.2rem;
    }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items in één rij */
    gap: 40px;
    text-align: center;
}

.step {
    position: relative;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-surface);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.icon-circle > span > svg {
    width: 50px;
    height: 50px;
    color:white;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}


.why-description{
    white-space: normal;
}












@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr; /* 1 item per rij op mobiel */
    }
}