/* ============================================================
   STN - Page Certifications
   ============================================================ */
.stn-certif-wrapper {
    --primary-blue: #1E5A96;
    --dark-blue: #1A3A52;
    --light-blue: #4A8BC2;
    --accent-gray: #F5F7FA;
    --light-bg: #F8FAFB;
    --blue-tint: #EBF4FB;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --success-green: #28a745;
    --gold: #D4AF37;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    padding: 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.stn-certif-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Section Backgrounds */
.stn-section-wrapper {
    position: relative;
    padding: 80px 20px;
}

.stn-section-white {
    background: white;
}

.stn-section-gray {
    background: var(--light-bg);
}

.stn-section-blue {
    background: var(--blue-tint);
}

/* Wave Separator */
.stn-wave-separator {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: -5px 0;
    padding: 0;
    display: block;
}

.stn-wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    background: #ebf4fb;
    margin: 0;
    padding: 0;
    transform: scaleY(-1);
}

.stn-wave-white {
    fill: white;
}

.stn-wave-gray {
    fill: var(--light-bg);
}

.stn-wave-blue {
    fill: var(--blue-tint);
}

/* Decorative Background Elements */
.stn-section-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    opacity: 0.03;
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.stn-section-wrapper::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    opacity: 0.02;
    border-radius: 50%;
    z-index: 0;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 20px) rotate(3deg); }
}

/* Container */
.stn-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.stn-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
    position: relative;
    z-index: 1;
}

.stn-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(30, 90, 150, 0.3);
}

.stn-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.stn-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Certifications Grid */
.stn-certif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.stn-certif-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stn-certif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.stn-certif-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-blue);
}

.stn-certif-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: var(--light-bg);
    cursor: pointer;
}

.stn-certif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.stn-certif-card:hover .stn-certif-image {
    transform: scale(1.05);
}

.stn-certif-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 58, 82, 0.95), transparent);
    padding: 30px 25px 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.stn-certif-card:hover .stn-certif-overlay {
    transform: translateY(0);
}

.stn-certif-overlay-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stn-certif-overlay-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.stn-certif-content {
    padding: 30px 25px;
}

.stn-certif-iso {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.stn-certif-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.stn-certif-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.stn-certif-date {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stn-certif-date svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-blue);
}

/* Zoom Modal */
.stn-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.stn-modal.active {
    display: flex;
}

.stn-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn 0.4s ease;
}

.stn-modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stn-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.stn-modal-close:hover {
    transform: rotate(90deg);
    background: var(--primary-blue);
    color: white;
}

/* Benefits Section */
.stn-benefits-section {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.stn-benefits-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 40px;
}

.stn-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stn-benefit-item {
    text-align: center;
    padding: 25px 20px;
    border-radius: 15px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.stn-benefit-item:hover {
    background: var(--blue-tint);
    transform: translateY(-5px);
}

.stn-benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stn-benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.stn-benefit-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .stn-certif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .stn-section-wrapper {
        padding: 60px 15px;
    }

    .stn-certif-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stn-certif-image-wrapper {
        height: 400px;
    }

    .stn-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stn-benefits-section {
        padding: 35px 25px;
    }
}

@media (max-width: 480px) {
    .stn-title {
        font-size: 28px;
    }

    .stn-subtitle {
        font-size: 16px;
    }

    .stn-certif-image-wrapper {
        height: 350px;
    }
}
