﻿.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000;
    border-radius: 16px;
}

.video-background,
.video-background2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .video-background video,
    .video-background2 video {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
        opacity: 0.85;
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,123,255,0.4) 60%);
    z-index: 2;
}

.content-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psn-logo, .tpp-logo {
    max-width: 200px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
    animation: pulse 2s infinite;
}

.title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.subtitle {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.video-btn {
    background-color: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

    .video-btn:hover {
        background-color: #218838;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

    .video-btn i {
        margin-right: 8px;
    }

.btn-play-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

    .btn-play-indicator i {
        font-size: 1.5rem;
        margin-bottom: 5px;
        display: block;
    }

.modal-content {
    background-color: #212529;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 15px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    overflow: hidden;
}

    .video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #000;
    }

.masonry-gallery {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .masonry-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }

    .masonry-item img {
        width: 100%;
        display: block;
        border-radius: 8px;
        will-change: transform;
        content-visibility: auto;
    }

@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.certifications-section {
    position: relative;
}

    .certifications-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #184ef8, transparent);
    }

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70px;
        height: 3px;
        background-color: #184ef8;
    }

.certification-item {
    transition: transform 0.3s ease;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

    .certification-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.certification-logo {
    max-height: 150px;
    margin: 0 auto;
}
