@font-face {
    font-family: 'GeneralSansRegular';
    src: url(/assets/fonts/GeneralSans-Regular.woff2);
}

@font-face {
    font-family: 'GeneralSansRegularItalic';
    src: url(/assets/fonts/GeneralSans-RegularItalic.woff2);
}

@font-face {
    font-family: 'GeneralSansLight';
    src: url(/assets/fonts/GeneralSans-Light.woff2);
}

@font-face {
    font-family: 'BoskaLight';
    src: url(/assets/fonts/Boska-Light.woff2);
}

@font-face {
    font-family: 'BoskaItalicLight';
    src: url(/assets/fonts/Boska-LightItalic.woff2);
}

@font-face {
    font-family: 'BoskaItalicRegular';
    src: url(/assets/fonts/Boska-MediumItalic.woff2);
}

body,
html {
    font-family: 'GeneralSansRegular';
    background-color: #f6f5e9;
    overflow-x: hidden;
    cursor: url('/storage/Artboard2.png'), auto;
}

body {
    padding-left: 30px !important;
    padding-right: 30px !important;

}

.card-container {
    width: 100%;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: #d3ff6a;
    width: calc(25% - 1.125rem); 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.card-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    flex: 1;
    margin-bottom: 1rem;
}

.apply-button {
    display: block;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition-duration: 0.3s;
    font-size: 0.9rem;
}

.apply-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transition-duration: 0.3s;
}

@media (max-width: 768px) {
    body {
        padding: 0 !important;
    }
    
    .card-container {
        display: flex;
        flex-direction: column;
        box-sizing:border-box;
        padding: 30px;
    }
    .card {
        width: 100%;
    }
}