/* =========================================================
   VEIC 2027 — IMPORTANT DATES SECTION
   File: assets/css/important-dates.css
   ========================================================= */

.veic-dates-outer{
    width: 100%;
    padding: 20px 20px 10px;
    box-sizing: border-box;
}

/* -------- Section Heading -------- */
.veic-section-heading{
    text-align: center;
    margin-bottom: 30px;
}

.veic-section-heading h2{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--veic-primary);
    text-transform: uppercase;
    margin: 0 0 10px;
}

.veic-heading-dot{
    display: inline-block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--veic-accent);
}

/* -------- Card -------- */
.veic-dates{
    background: var(--veic-white);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid #E7ECF5;
    box-shadow: 0 10px 30px rgba(10, 46, 115, 0.06);
}

.veic-dates-inner{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
}

.veic-date-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 30px 15px;
    border-right: 1px solid #E7ECF5;
    min-width: 0;
}

.veic-date-item.veic-date-last{
    border-right: none;
}

.veic-date-icon{
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.veic-date-icon svg{
    width: 80px !important;
    height: 80px !important;
    display: block;
}

.veic-date-item:hover .veic-date-icon{
    transform: translateY(-3px);
}

.veic-date-title{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--veic-primary);
    line-height: 1.35;
    margin-bottom: 8px;
}

.veic-date-value{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12.5px;
    color: #6b7280;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px){
    .veic-date-item{ padding: 26px 10px; }
    .veic-date-icon{ width: 58px; height: 58px; }
}

@media (max-width: 991px){
    .veic-dates-inner{ grid-template-columns: repeat(3, 1fr); }
    .veic-date-item{
        border-right: 1px solid #E7ECF5;
        border-bottom: 1px solid #E7ECF5;
        padding: 24px 10px;
    }
    /* remove right border on every 3rd item (end of row) */
    .veic-date-item:nth-child(3n){ border-right: none; }
    /* last item overall (5th, row 2) has no right border either */
    .veic-date-item:nth-child(5){ border-right: none; }
    /* remove bottom border on the last row (items 4,5) */
    .veic-date-item:nth-child(n+4){ border-bottom: none; }
}

@media (max-width: 768px){
    .veic-dates-outer{ padding: 15px 15px 5px; }
    .veic-section-heading h2{ font-size: 20px; }
    .veic-dates{ border-radius: 12px; }
    .veic-dates-inner{ grid-template-columns: repeat(2, 1fr); }
    .veic-date-item{
        padding: 20px 10px;
        border-right: 1px solid #E7ECF5;
        border-bottom: 1px solid #E7ECF5;
    }
    /* 2 per row: remove right border on the right column (even items) */
    .veic-date-item:nth-child(2n){ border-right: none; }
    /* 5th item is alone in the last row: full width, no borders */
    .veic-date-item:nth-child(5){
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
    }
    /* remove bottom border on the last row (items 4,5) */
    .veic-date-item:nth-child(n+4){ border-bottom: none; }
    .veic-date-icon{ width: 52px; height: 52px; margin-bottom: 10px; }
    .veic-date-title{ font-size: 12.5px; }
    .veic-date-value{ font-size: 11.5px; }
}

@media (max-width: 480px){
    .veic-dates-inner{ grid-template-columns: repeat(2, 1fr); }
    .veic-date-item{
        padding: 18px 8px;
        border-right: 1px solid #E7ECF5;
        border-bottom: 1px solid #E7ECF5;
    }
    /* 2 per row: remove right border on the right column (even items) */
    .veic-date-item:nth-child(2n){ border-right: none; }
    /* 5th item is alone in the last row: full width, no borders */
    .veic-date-item:nth-child(5){
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
    }
    /* remove bottom border on the last row (items 4,5) */
    .veic-date-item:nth-child(n+4){ border-bottom: none; }
    .veic-date-icon{ width: 46px; height: 46px; margin-bottom: 8px; }
    .veic-date-title{ font-size: 12px; }
    .veic-date-value{ font-size: 11px; }
}
