
.aimodelc .clip {
    clip-path: polygon(25% 15%, 75% 10%, 100% 50%, 80% 90%, 20% 85%, 0 50%);
    background: hsla(220, 25%, 35%, 1);

    background: linear-gradient(90deg, hsla(220, 25%, 35%, 1) 0%, hsla(210, 40%, 50%, 1) 50%, hsla(200, 60%, 70%, 1) 100%);

    background: -moz-linear-gradient(90deg, hsla(220, 25%, 35%, 1) 0%, hsla(210, 40%, 50%, 1) 50%, hsla(200, 60%, 70%, 1) 100%);

    background: -webkit-linear-gradient(90deg, hsla(220, 25%, 35%, 1) 0%, hsla(210, 40%, 50%, 1) 50%, hsla(200, 60%, 70%, 1) 100%);

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#3B4C61", endColorstr="#A6C9E2", GradientType=1);
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    opacity: 0.3;
}


.aimodelc .hero-text {
    font-size: 20px;
    color: white;
}

.aimodelc .main-wrapper {
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

/* .hero-image {
max-width: 950px;
width: 98%;
border-radius: 8px;
}
*/
.aimodelc .left-block {
    padding-top: 50px;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-evenly;
    color: white;
}

.aimodelc .right-block {
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
    text-align: center;
    padding-bottom: 25px;
    gap: 25px;
}


.aimodelc .hero-section {
    /* min-height: 500px; */
    background-color: #2C3444 !important;
    margin-top: 90px;
}



/*  */
/* Background Styling */
/* body {
    background: linear-gradient(135deg, #eef2f3, #8e9eab);
    font-family: 'Arial', sans-serif;
} */

/* Title Styling */
.aimodelc h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 35px;
}

.aimodelc .sort-container {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.aimodelc .sort-container label {
    margin-right: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.aimodelc #sortModels{
    width: auto;
}

/* Flexbox for Equal Height Cards */
.aimodelc .row.g-4 {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.aimodelc .model-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    border-radius: 12px;
    padding: 20px;
    padding-top: 40px;
    /* Extra padding to avoid overlap */
    background: #ffffff00 url(../png/pattern_triangles.png) no-repeat right center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    position: relative;
    /* Ensures the icon aligns correctly with the card */
}

.aimodelc .model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.aimodelc .model-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.aimodelc .model-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.aimodelc .parameters,
.aimodelc .description,
.aimodelc .features {
    font-size: 0.9rem;
    color: #333;
    margin-top: 10px;
}

.aimodelc .parameters span,
.aimodelc .description span {
    font-weight: 800;
}

/* Download Icon Styling */
.aimodelc .download-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* background: #198754; */
    background: rgb(44, 123, 229);
    background: radial-gradient(circle, rgba(44, 123, 229, 1) 0%, rgba(45, 53, 69, 1) 100%);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-decoration: none;
    position: absolute;
    top: -15px;
    /* Adjusted to place above the card */
    right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 1;
    /* Ensures it stays on top */
}


.aimodelc .download-icon:hover {
    /* background-color: #145f37; */
    background: rgb(44, 123, 229);
    background: radial-gradient(circle, rgba(44, 123, 229, 1) 28%, rgba(45, 53, 69, 1) 100%);
}

/* Container Spacing */
.aimodelc .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.aimodelc .model-card h5 {
    min-height: 50px;
    /* Adjust for title consistency */
}

.aimodelc .description {
    min-height: 45px;
    /* Ensures all descriptions align */
}

/* .aimodelc .parameters {
    min-height: 60px;
  
} */

@media (max-width: 768px) {
    .aimodelc .hero-section {
        margin-top: 0;
    }
}

/* Adjustments for Smaller Screens */
@media (max-width: 576px) {
    .aimodelc .model-card h5 {
        font-size: 1.2rem;
    }

    .aimodelc .model-card p {
        font-size: 0.85rem;
    }

    .aimodelc .parameters,
    .aimodelc .description,
    .aimodelc .features {
        font-size: 0.8rem;
    }

    .aimodelc .download-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .aimodelc #sortModels{
        width: 100%;
    }
}