/* Modern Awards Cards Design */
#awards-sec {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.awards-grid {
    margin-top: 50px;
}

/* Custom column for 5 equal cards */
.col-lg-2-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.award-card-modern {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 25px 35px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    margin-bottom: 30px;
    display: block;
}

.award-card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.award-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--card-color) 0%, var(--card-color-light) 100%);
    border-radius: 0 0 4px 4px;
}

.award-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.award-number {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 85px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.award-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.award-icon-box i {
    font-size: 40px;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.award-card-modern:hover .award-icon-box {
    background: var(--card-color);
}

.award-card-modern:hover .award-icon-box i {
    color: #ffffff;
    transform: scale(1.1);
}

.award-image-holder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.award-image-holder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.award-card-modern:hover .award-image-holder img {
    transform: scale(1.05);
}

.award-card-modern h5 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    flex-grow: 0;
    line-height: 1.3;
}

.award-card-modern p {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.award-year-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, var(--card-color) 0%, var(--card-color-light) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    cursor: pointer;
    border: none;
    text-decoration: none;
    flex-shrink: 0;
}

.award-card-modern:hover .award-year-btn {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Year button color variations */
.award-year-1 {
    background: linear-gradient(135deg, #ff1d5e 0%, #ff4d7f 100%);
}

.award-year-2 {
    background: linear-gradient(135deg, #00c8ff 0%, #40d7ff 100%);
}

.award-year-3 {
    background: linear-gradient(135deg, #ffc107 0%, #ffd54f 100%);
}

.award-year-4 {
    background: linear-gradient(135deg, #7c4dff 0%, #9d6fff 100%);
}

.award-year-5 {
    background: linear-gradient(135deg, #00e676 0%, #69f0ae 100%);
}

/* Color variations for each card */
.award-card-1 {
    --card-color: #ff1d5e;
    --card-color-light: #ff4d7f;
}

.award-card-2 {
    --card-color: #00c8ff;
    --card-color-light: #40d7ff;
}

.award-card-3 {
    --card-color: #ffc107;
    --card-color-light: #ffd54f;
}

.award-card-4 {
    --card-color: #7c4dff;
    --card-color-light: #9d6fff;
}

.award-card-5 {
    --card-color: #00e676;
    --card-color-light: #69f0ae;
}

/* Responsive Design */
@media (max-width: 991px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .award-card-content {
        padding: 30px 20px 25px;
    }
    
    .award-number {
        font-size: 55px;
    }
    
    .award-icon-box {
        width: 55px;
        height: 55px;
    }
    
    .award-icon-box i {
        font-size: 26px;
    }
    
    .award-image-holder {
        height: 140px;
        margin-bottom: 12px;
    }
    
    .award-card-modern h5 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .award-card-modern p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .award-year-btn {
        padding: 8px 25px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .award-card-content {
        padding: 35px 25px 30px;
    }
    
    .award-number {
        font-size: 60px;
        top: 20px;
        left: 20px;
    }
    
    .award-icon-box {
        width: 60px;
        height: 60px;
    }
    
    .award-icon-box i {
        font-size: 28px;
    }
    
    .award-card-modern h5 {
        font-size: 17px;
    }
    
    .award-card-modern p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .award-image-holder {
        height: 180px;
    }
    
    .award-year-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}
