/* Security Section Styles */
.certifications {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.badge-wrapper .section-badge {
    margin-bottom: 0;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23002044' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Security Overview */
.security-overview {
    margin-bottom: 6rem;
    background: var(--light-bg);
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: var(--box-shadow);
}

.security-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-text h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

.security-text p {
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 1.6rem;
    line-height: 1.7;
}

.security-text .btn {
    font-size: 1.6rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.security-text .btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--gradient);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.security-text .btn {
    color: var(--primary-color) !important;
}

.security-text .btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 32, 68, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.security-text .btn:hover::after {
    width: 100%;
}

.security-text .btn i {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--primary-color);
}

.security-text .btn:hover i {
    transform: translateX(5px);
    color: var(--primary-color);
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
}

.stat-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 32, 68, 0.05);
    transition: transform 0.3s ease;
}

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

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--light-text);
    font-size: 1.4rem;
    font-weight: 500;
}

/* Certification Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
    gap: 3rem;
}

.cert-item {
    background: var(--white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 32, 68, 0.1);
}

.cert-icon {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(135deg, rgba(0, 32, 68, 0.1) 0%, rgba(0, 86, 179, 0.1) 100%);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.cert-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.cert-item:hover .cert-icon i {
    transform: scale(1.1);
}

.cert-content {
    text-align: center;
}

.cert-content h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cert-content p {
    color: var(--light-text);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

.cert-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 32, 68, 0.1);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .security-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .security-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .security-overview {
        padding: 3rem;
    }

    .security-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-item {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .security-stats {
        grid-template-columns: 1fr;
    }

    .cert-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cert-icon {
        margin-bottom: 1.5rem;
    }
}
