/* Certifications Page Specific Styles */

/* Certifications page specific styles - body styles handled by main style.css */

/* Active Navigation Link */
.nav-menu a.active,
.mobile-nav-menu a.active {
    color: #2b6ebc !important;
}

/* Certifications Hero Section */
.certifications-hero {
    background: linear-gradient(
        135deg,
        rgba(43, 110, 188, 0.1) 0%,
        rgba(43, 110, 188, 0.05) 100%
    );
    padding: 60px 0 80px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.certifications-hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.certifications-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.certifications-hero-badge {
    display: inline-flex;
    align-items: center;
    background: #e6eef7 !important;
    color: #2b6ebc !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    gap: 8px;
}

.certifications-hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 25px 0;
    color: #333;
    font-weight: bold;
}

.certifications-hero-description {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Certifications Grid Section */
.certifications-grid-section {
    padding: 100px 0;
    background: white;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.certification-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.certification-icon {
    width: 100%;
    height: 260px;
    margin: 0 auto 30px auto;
    overflow: hidden;
    border-radius: 12px;
    background: #f8f9fa;
}

.certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.certification-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.certification-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.certifications-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #2b6ebc 0%, #245a9e 100%);
    color: white;
    text-align: center;
}

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

.cta-title {
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 25px 0;
    color: white;
}

.cta-description {
    font-size: 20px;
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

.cta-btn.primary {
    background: white !important;
    color: #2b6ebc !important;
    border: 2px solid white !important;
    text-decoration: none !important;
}

.cta-btn.primary:hover {
    background: #f0f0f0 !important;
    color: #2b6ebc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    text-decoration: none !important;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Image Modal (Lightbox) */
.image-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* toggled via JS */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.image-modal-overlay.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
}

.image-modal-img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.image-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .certifications-hero-container,
    .container {
        padding: 0 50px;
    }

    .certifications-hero-title {
        font-size: 42px;
    }

    .certifications-hero-description {
        font-size: 18px;
    }

    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
    }

    .certification-card {
        padding: 40px 30px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .certifications-hero {
        padding: 50px 0 60px 0;
    }

    .certifications-hero-container,
    .container {
        padding: 0 40px;
    }

    .certifications-hero-title {
        font-size: 32px;
    }

    .certifications-hero-description {
        font-size: 16px;
    }

    .certifications-grid-section {
        padding: 80px 0;
    }

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

    .certification-card {
        padding: 35px 25px;
    }

    .certification-icon {
        width: 100%;
        height: 220px;
        margin-bottom: 25px;
        background: #f8f9fa;
    }

    .certification-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .certification-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .certification-description {
        font-size: 14px;
    }

    .certifications-cta {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .certifications-hero-container,
    .container {
        padding: 0 25px;
    }

    .certifications-hero-badge {
        padding: 10px 20px;
        font-size: 14px;
    }

    .certifications-hero-title {
        font-size: 28px;
    }

    .certifications-hero-description {
        font-size: 15px;
    }

    .certifications-grid-section {
        padding: 60px 0;
    }

    .certification-card {
        padding: 20px 15px;
    }

    .certification-icon {
        width: 100%;
        height: 180px;
        margin-bottom: 20px;
        background: #f8f9fa;
    }

    .certification-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .certification-description {
        font-size: 13px;
    }

    .certifications-cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .cta-description {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}
