/* DigitalBark Certification Badge Styles */
.certification-badge {
    width: 300px;
    height: 300px;
    position: relative;
    display: inline-block;
    margin: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #B8860B 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        0 0 0 3px #B8860B;
    overflow: hidden;
}

.certification-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    border-radius: 50%;
    z-index: 1;
}

.certification-badge::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #B8860B 100%);
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.badge-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: #000000;
    font-family: 'Arial', sans-serif;
}

.badge-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-organization {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-certified {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-separator {
    width: 60px;
    height: 2px;
    background-color: #000000;
    margin: 10px 0;
}

.badge-main-text {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.badge-series {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.badge-decorations::before,
.badge-decorations::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #B8860B;
    border-radius: 50%;
}

.badge-decorations::before {
    top: 20%;
    left: 20%;
}

.badge-decorations::after {
    top: 20%;
    right: 20%;
}

/* Serrated edge effect */
.certification-badge {
    background-image: 
        radial-gradient(circle at 0% 0%, transparent 0%, transparent 8px, #B8860B 8px, #B8860B 10px, transparent 10px),
        radial-gradient(circle at 100% 0%, transparent 0%, transparent 8px, #B8860B 8px, #B8860B 10px, transparent 10px),
        radial-gradient(circle at 0% 100%, transparent 0%, transparent 8px, #B8860B 8px, #B8860B 10px, transparent 10px),
        radial-gradient(circle at 100% 100%, transparent 0%, transparent 8px, #B8860B 8px, #B8860B 10px, transparent 10px);
    background-size: 20px 20px;
    background-position: 0 0, 100% 0, 0 100%, 100% 100%;
    background-repeat: no-repeat;
}

/* Hover effect */
.certification-badge:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.7),
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        0 0 0 3px #B8860B;
}

/* Responsive design */
@media (max-width: 768px) {
    .certification-badge {
        width: 250px;
        height: 250px;
    }
    
    .badge-title {
        font-size: 12px;
    }
    
    .badge-organization {
        font-size: 14px;
    }
    
    .badge-main-text {
        font-size: 16px;
    }
    
    .badge-series {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .certification-badge {
        width: 200px;
        height: 200px;
    }
    
    .badge-title {
        font-size: 10px;
    }
    
    .badge-organization {
        font-size: 12px;
    }
    
    .badge-main-text {
        font-size: 14px;
    }
    
    .badge-series {
        font-size: 10px;
    }
}
