/* MAIN CONTENT */
.certifications-main {
    position: relative;
    min-height: 100vh;
    z-index: var(--z-content);
    padding-top: 72px;
}

/* PAGE HERO */
.page-hero {
    padding: 80px 24px 60px;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-accent);
    margin-bottom: 16px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
}

/* CERTIFICATIONS SECTION */
.certifications-section {
    padding: 0 24px 80px;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

/* Certification Card */
.cert-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-4px);
}

.cert-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cert-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.cert-icon-coach {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: var(--button-shadow-lg);
}

.cert-icon-lifeguard {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}

.cert-icon-rescue {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.cert-icon-level {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.cert-icon-dive {
    background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.cert-icon-para {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.cert-badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.cert-badge-private {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    color: #78350F;
}

.cert-badge-association {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    color: white;
}

.cert-badge-international {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    color: white;
}

.cert-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cert-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cert-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.detail-section {
    background: var(--glass-bg);
    border-radius: var(--border-radius-md);
    padding: 16px;
}

.detail-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
}

.detail-list li strong {
    color: white;
}

.cert-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.cert-link svg {
    width: 16px;
    height: 16px;
}

.cert-link:hover {
    color: var(--text-accent);
}

/* INFO SECTION */
.info-section {
    padding: 0 24px 80px;
    display: flex;
    justify-content: center;
}

.info-container {
    max-width: 800px;
    display: flex;
    gap: 24px;
    padding: 32px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: var(--border-radius-lg);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--icon-color);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.info-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.info-desc a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 500;
}

.info-desc a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 20px 40px;
    }
    
    .certifications-container {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        padding: 24px;
    }
    
    .info-container {
        flex-direction: column;
        padding: 24px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ANIMATIONS */
.cert-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.cert-card:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2) { animation-delay: 0.15s; }
.cert-card:nth-child(3) { animation-delay: 0.2s; }
.cert-card:nth-child(4) { animation-delay: 0.25s; }
.cert-card:nth-child(5) { animation-delay: 0.3s; }
.cert-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

