/* Info Boxes Counter - Frontend Styles */

.info-boxes-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Box Styling */
.info-box {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

/* Golden Design (Brass Plate Style) */
.design-golden .info-box-content {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    border: 3px solid #b8941f;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.design-golden .info-box-content::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    pointer-events: none;
}

.design-golden .info-box-number {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.3),
        0 -1px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 0px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -1px;
    line-height: 1.1;
    word-break: break-word;
}

.design-golden .info-box-divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #1a1a1a 20%, #1a1a1a 80%, transparent);
    margin: 4px auto;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.design-golden .info-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    margin-top: 5px;
}

/* Normal Design (Simple Boxes) */
.design-normal .info-box-content {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.design-normal .info-box-number {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.design-normal .info-box-divider {
    width: 60%;
    height: 2px;
    background: #3498db;
    margin: 15px auto;
}

.design-normal .info-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design-normal .info-box:hover .info-box-content {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

/* Custom Design (Background Images) */
.design-custom .info-box-custom {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.design-custom .info-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.design-custom .info-box-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.design-custom .info-box-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Tablet Styles */
@media (max-width: 992px) {
    .info-boxes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px 20px;
    }
}

/* Mobile Styles - 2x2 Layout */
@media (max-width: 768px) {
    .info-boxes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 15px;
    }
    
    .design-golden .info-box-content,
    .design-normal .info-box-content {
        padding: 20px 15px;
    }
    
    .info-boxes-container.design-golden .info-box-content {
        min-height: 75px;
        height: 75px;
    }
    
    .info-boxes-container.design-golden .info-box-number {
        font-size: 19px !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .info-boxes-container {
        gap: 35px;
        padding: 15px 10px;
    }
    
    .design-golden .info-box-content,
    .design-normal .info-box-content {
        padding: 8px 5px;
    }
}
