/* Oleevia Companies Grid - Frontend Styles */

.ocg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Hero Section */
.ocg-hero {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
}

.ocg-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.ocg-hero-title {
    display: inline;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 10px;
}

.ocg-hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Buttons */
.ocg-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ocg-filter-btn {
    padding: 5px 11px !important;
    border: 1px solid #293044 !important;
    background: #293044;
    background-color: #293044 !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #e2e2e2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    outline: none;
}

.ocg-filter-btn:hover {
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ocg-filter-btn.active {
    background: linear-gradient(135deg, #7B6655 0%, #B99980 100%);
    color: white !important;
    border-color: transparent !important;
}

/* Grid Layout */
.ocg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

/* Card Styles */
.ocg-card {
    background: white;
    border-radius: 3px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border: 1px #0808085c solid;
}

.ocg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
90deg, #7B6655 0%, #B99980 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.ocg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ocg-card:hover::before {
    transform: scaleX(1);
}

.ocg-card.hidden {
    display: none ;
}

/* Card Header */
.ocg-card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.ocg-category-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 0.5px;
    background: #9d9d9d47;
    padding: 0 5px;
    border-radius: 5px;
}

/* Card Icon */
.ocg-card-icon {
    width: 170px;
    height: 75px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #7B6655;
}

.ocg-card-icon.green {
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #159444;
}

.ocg-card-icon.blue {
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #667eea;
}

.ocg-card-icon.orange {
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #fa709a;
}

.ocg-card-icon.purple {
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #d262ee;
}

.ocg-card-icon.red {
    background: linear-gradient(135deg, #e3dfdb 0%, #fbf2e8 100%);
    color: #f5576c;
}

/* Card Content */
.ocg-card-title {
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2937;
}

.ocg-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #18191b;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Card Link */
.ocg-card-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.ocg-card-link:hover {
    color: #764ba2;
    transform: translateX(4px);
}

/* Stats Badge */
.ocg-stats {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.ocg-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #7B6655 0%, #B99980 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 30px rgb(166 116 81 / 30%);
}

.ocg-stats-badge i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ocg-hero-title {
        font-size: 32px;
    }
    
    .ocg-hero-subtitle {
        font-size: 16px;
    }
    
    .ocg-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ocg-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .ocg-filter-btn {
        white-space: nowrap;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ocg-card {
    animation: fadeIn 0.6s ease forwards;
}

.ocg-card:nth-child(1) { animation-delay: 0.1s; }
.ocg-card:nth-child(2) { animation-delay: 0.2s; }
.ocg-card:nth-child(3) { animation-delay: 0.3s; }
.ocg-card:nth-child(4) { animation-delay: 0.4s; }
.ocg-card:nth-child(5) { animation-delay: 0.5s; }
.ocg-card:nth-child(6) { animation-delay: 0.6s; }
.ocg-card:nth-child(7) { animation-delay: 0.7s; }
.ocg-card:nth-child(8) { animation-delay: 0.8s; }
.ocg-card:nth-child(9) { animation-delay: 0.9s; }
.ocg-card:nth-child(10) { animation-delay: 1.0s; }