/* Define the Inter Variable Font (Regular, upright) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900; /* Inter supports weights from 100 to 900 */
    font-display: swap;
    src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
}

/* Define the Inter Variable Font (Italic) */
@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
}

/* Apply font globally */
body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

/* Example of different weights in CSS classes */
h1, .fw-bold {
    font-weight: 700;
}

.fw-light {
    font-weight: 300;
}

.text-italic {
    font-style: italic; /* Italic text - will automatically use italic font face */
}

.logo {
    max-width: 200px;
}

/* Card styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Limit image size inside cards */
.card-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 1rem;
    max-height: 180px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .card {
        max-width: 85%;
        margin: 0 auto;
    }
    
    .card-image {
        max-height: 150px;
    }
}

@media (min-width: 992px) {
    .row {
        max-width: 1200px;
    }
}