/* ------------------ Container & Headings ------------------ */
.cfb-section {
    max-width: 1200px;
    margin: 0 auto;
     padding: 0 20px 80px 20px;
}

.cfb-heading {
    font-size: 32px !important;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700 !important;
    color: #133050 !important;
}

/* ------------------ Grid Layout ------------------ */
.cfb-grid {
    display: grid;
    gap: 20px;
}

.cfb-featured {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 50px;
}

.cfb-recommended {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cfb-recommended .cfb-card {
    width: 275px;
}

/* ------------------ Card Style ------------------ */
.cfb-card {
    text-decoration: none;
    color: #000;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

.cfb-card-inner {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.cfb-card-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 20px rgba(20, 32, 46, 0.8), 0 8px 24px rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 15px;
    transition: background 0.3s ease;
}

.cfb-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cfb-card:hover .cfb-card-content {
    background: rgba(0,0,0,0.45);
}

.cfb-card h3 {
    margin: 0;
    font-size: 20px;
    color: white !important;
}

.cfb-card span {
    font-size: 14px;
    color: #f59e2c;
    background: linear-gradient(90deg, #f6aa29, #fbd71a, #6bb855);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* ------------------ Search Bar ------------------ */
.cfb-search {
    max-width: 600px;
    margin: 80px auto 50px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.cfb-search input[type="text"] {
    width: 70%;
    min-width: 200px;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.cfb-search input[type="text"]:focus {
    border-color: #133050;
    box-shadow: 0 0 10px rgba(19,48,80,0.3);
}

.cfb-search button {
    padding: 12px 20px;
    border: none;
    background: #f59e2c;
    color: #fff;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cfb-search button:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .cfb-search input[type="text"] {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    .cfb-search button {
        width: 100%;
        border-radius: 8px;
    }
}
