/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.hero {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero__subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0;
    color: var(--ifm-color-primary);
}

.card {
    background: var(--ifm-background-surface-color, #fff);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1.5px 6px rgba(0,0,0,0.03);
    border: 1px solid #ececec;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.cardHover:hover, .cardHover:focus-within {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 3px 12px rgba(0,0,0,0.07);
    transform: translateY(-4px) scale(1.02);
    border-color: #b3e5fc;
}

.card__header {
    padding: 0;
    border-bottom: none;
    margin-bottom: 1rem;
}

.card__header h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1a237e;
    text-align: left;
}

.card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    min-height: auto;
}

.card__body p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.card__body a {
    width: 100%;
    display: block;
    text-decoration: none;
}

.button--block {
    width: 100%;
    text-align: center;
    padding: 0.85em 1.5em;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    border: none;
    text-decoration: none;
}

.button--primary {
    background: linear-gradient(90deg, #1976d2 0%, #00bcd4 100%);
    color: #fff;
}

.button--primary:hover, .button--primary:focus {
    background: linear-gradient(90deg, #1565c0 0%, #0097a7 100%);
    box-shadow: 0 4px 16px rgba(33,150,243,0.15);
    transform: translateY(-2px) scale(1.03);
    color: #fff;
    text-decoration: none;
}

.button--secondary {
    background: #fff;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.button--secondary:hover, .button--secondary:focus {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #1565c0;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    transform: translateY(-2px) scale(1.03);
    text-decoration: none;
}

/* Add some spacing between sections */
.row {
    margin-bottom: 3rem;
}

.row:last-child {
    margin-bottom: 0;
}
