/* ==========================
   COLLECTION SECTION
========================== */

.collection-section {
    margin: 50px 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.collection-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: .3s;
}

.collection-card:hover {
    transform: translateY(-4px);
}

.collection-header {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-icon {
    font-size: 34px;
}

.collection-body {
    padding: 18px;
}

.collection-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.collection-title-row h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.collection-body p {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 15px;

    /* Fixed Height */
    min-height: 48px;

    /* Show only 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    transition: all 0.3s ease;
}

.divider {
    height: 1px;
    background: #ececec;
    margin-bottom: 15px;
}

.collection-body h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tags span,
.count-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Header Colors */

.blue { background:#124f7f; }
.coral { background:#ff6b6b; }
.yellow { background:#f4d234; }
.purple { background:#9647e7; }
.green { background:#69c572; }
.maroon { background:#972539; }

/* Text Colors */

.coral-text { color:#ff6b6b; }
.yellow-text { color:#e2b300; }
.purple-text { color:#9647e7; }
.green-text { color:#69c572; }
.maroon-text { color:#972539; }

/* Badges */

.blue-badge { background:#124f7f; color:#fff; }
.coral-badge { background:#ff6b6b; color:#fff; }
.yellow-badge { background:#f4d234; color:#fff; }
.purple-badge { background:#9647e7; color:#fff; }
.green-badge { background:#69c572; color:#fff; }
.maroon-badge { background:#972539; color:#fff; }

.category-tags span {
    background: #ece3d1;
    color: #555;
}

/* ==========================
   COLLECTION STATS
========================== */

.collection-stats {
    background: linear-gradient(
        90deg,
        #001a2f,
        #0b0505
    );
    padding: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-box h2 {
    color: #ffd54d;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-box span {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    letter-spacing: 1px;
}

/* ==========================
   SPECIAL COLLECTIONS
========================== */

.special-collections {
    background: linear-gradient(
        90deg,
        #f7f0ff,
        #fff4f4
    );
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #25253a;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 12px;
    color: #666;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.special-card {
    background: #fff;
    border-radius: 6px;
    padding: 22px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    min-height: 125px;
}

.special-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.special-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Colored Borders */

.blue-border {
    border-left: 5px solid #0d4f8b;
}

.blue-border h3 {
    color: #0d4f8b;
}

.red-border {
    border-left: 5px solid #ff6b6b;
}

.red-border h3 {
    color: #ff6b6b;
}

.purple-border {
    border-left: 5px solid #9747ff;
}

.purple-border h3 {
    color: #9747ff;
}

/* ==========================
   PROCUREMENT POLICY
========================== */

.procurement-section {
    margin: 50px 0;
}

.procurement-card {
    background: #f7b813;
    border-radius: 8px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 35px;
}

.procurement-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
}

.procurement-content p {
    font-size: 14px;
    line-height: 1.9;
    color: #666666;
    margin: 0;

}

.procurement-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom:8px;
}

.feature-icon {
    min-width: 34px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255,255,255,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.feature-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}

/* ==========================
   1200
========================== */

@media (max-width:1200px) {
    .collection-grid {
        gap: 20px;
    }
      .stat-box h2 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }
    .procurement-content h2 {
        font-size: 26px;
    }
}

/* ==========================
   991
========================== */

@media (max-width:991px) {
    .collection-grid {
        grid-template-columns: repeat(2,1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .procurement-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .procurement-content h2 {
        font-size: 24px;
    }
}

/* ==========================
   767
========================== */

@media (max-width:767px) {

    .collection-grid {
        gap: 18px;
    }

    .collection-title-row h3 {
        font-size: 16px;
    }
    .collection-stats {
        padding: 25px 0;
    }

    .special-collections {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stat-box h2 {
        font-size: 30px;
    }

    .special-card h3 {
        font-size: 16px;
    }

    .special-card p {
        font-size: 12px;
    }
    .procurement-section {
        margin: 40px 0;
    }

    .procurement-card {
        padding: 22px;
    }

    .procurement-content h2 {
        font-size: 22px;
    }

    .feature-content h4 {
        font-size: 13px;
    }

    .feature-content p,
    .procurement-content p {
        font-size: 11px;
    }
}

/* ==========================
   545
========================== */

@media (max-width:545px) {

    .stats-grid,
    .special-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 8px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }
    .procurement-card {
        padding: 18px;
    }

    .feature-item {
        gap: 10px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
    }

    .procurement-content h2 {
        font-size: 20px;
    }
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-body {
        padding: 15px;
    }
}



/* ==========================
   320
========================== */

@media (max-width:320px) {

    .collection-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .collection-body p,
    .collection-body h5 {
        font-size: 12px;
    }

    .category-tags span {
        font-size: 10px;
    }
    .stat-box h2 {
        font-size: 24px;
    }

    .special-card {
        padding: 15px;
    }

    .special-card h3 {
        font-size: 14px;
    }

    .special-card p {
        font-size: 10px;
    }
    .procurement-content h2 {
        font-size: 18px;
    }

    .feature-content h4 {
        font-size: 12px;
    }

    .feature-content p,
    .procurement-content p {
        font-size: 10px;
        line-height: 1.7;
    }
}