html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    background: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0d47a1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 70px;
    flex-shrink: 0;
}

.logo span {
    flex-shrink: 1;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }
    
    .logo {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .logo {
        font-size: 18px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0d47a1;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav a {
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #0d47a1;
}

.nav a:hover::after {
    width: 100%;
}

.login-link {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-link:hover {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-link::after {
    display: none;
}

.banner-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #0a0f1a;
    padding-top: 50%;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.banner-content {
    position: absolute;
    z-index: 10;
    color: white;
    text-align: left;
    padding: 40px;
    max-width: 800px;
    bottom: 60px;
    left: 60px;
}

@media (max-width: 768px) {
    .banner-content {
        padding: 20px;
        max-width: 90%;
        bottom: 40px;
        left: 20px;
    }
    
    .banner-content h2 {
        font-size: 28px !important;
    }
    
    .banner-content p {
        font-size: 14px !important;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

.banner-content h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.banner-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s;
}

.banner-btn:hover::before {
    left: 100%;
}

.banner-btn:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.play-icon {
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #00d4ff;
    color: #0a192f;
    border-radius: 50%;
    margin-right: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.banner-btn:hover .play-icon {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(0, 212, 255, 1);
}

.banner-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 15;
}

.banner-dot {
    width: 50px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.banner-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    transition: width 0.4s ease;
    border-radius: 3px;
}

.banner-dot:hover::before {
    width: 50%;
}

.banner-dot.active::before {
    width: 100%;
}

.banner-dot.active {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    transform: scaleX(1.2);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    backdrop-filter: blur(10px);
}

.banner-nav:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
}

.banner-nav.prev {
    left: 30px;
}

.banner-nav.next {
    right: 30px;
}

.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 15;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    width: 0;
    animation: progressSlide 5s linear infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

@keyframes progressSlide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.section {
    padding: 80px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a237e;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    margin: 20px auto 0;
}

.about-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a237e;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a237e;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

.certificates-section {
    background: #fff;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    overflow: hidden;
    align-items: stretch;
}

.certificate-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 10;
}

.certificate-image-wrapper {
    width: 100%;
    height: 240px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

.certificate-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-card img:hover {
    transform: scale(1.03);
}

.certificate-info {
    padding: 15px 12px;
    text-align: center;
    background: #fff;
    flex-shrink: 0;
}

.certificate-info h4 {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.partners-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 0;
}

.partners-section .section-title {
    color: #1a237e;
    text-align: center;
    margin-bottom: 40px;
}

.partners-section .section-title::after {
    background: linear-gradient(90deg, #1a237e, #3949ab);
    left: 50%;
    transform: translateX(-50%);
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f5f5f5 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, #f5f5f5 0%, transparent 100%);
}

.partners-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partners-row {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: partnersScroll 80s linear infinite;
}

.partners-row:nth-child(even) {
    animation-direction: reverse;
}

.partners-row:hover {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    flex-shrink: 0;
    width: calc(100% / 6 - 17px);
    max-width: 180px;
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.partner-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    width: 180px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.1);
}

.partner-text-logo {
    font-size: 28px;
    font-weight: bold;
    color: #1a237e;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-text-logo {
    color: #3949ab;
    transform: scale(1.1);
}

.footer {
    background: #0a192f;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #00d4ff;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
}

.footer-section p {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #00d4ff;
}

.wechat-qrcode {
    width: 150px;
    height: 150px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 20px 0;
    color: rgba(255,255,255,0.6);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.beian-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.beian-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: #00d4ff;
}

.beian-text {
    font-size: 13px;
    opacity: 0.8;
}

.police-icon {
    font-size: 16px;
    margin-right: 3px;
}

.police-icon-img {
    width: 16px;
    height: 16px;
    margin-right: 3px;
    vertical-align: middle;
}

@media (max-width: 1200px) {
    .banner-content h2 {
        font-size: 46px;
    }

    .banner-content {
        padding: 0 70px;
    }
}

@media (max-width: 1024px) {
    .banner-content h2 {
        font-size: 40px;
        letter-spacing: 3px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .partners-track {
        gap: 30px;
        animation: partnersScroll 40s linear infinite;
    }

    .partner-item {
        min-width: 140px;
        min-height: 80px;
        padding: 20px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 15px;
    }

    .nav-container {
        position: relative;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        gap: 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        height: 45px;
    }

    .banner-section {
        padding-top: 100%;
    }

    .banner-content {
        padding: 0 40px;
        margin-left: 0;
    }

    .banner-content h2 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .banner-content h2::before {
        width: 70px;
        height: 2px;
        top: -15px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .banner-btn {
        padding: 12px 24px;
        font-size: 13px;
        justify-content: center;
    }

    .banner-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .banner-nav.prev {
        left: 15px;
    }

    .banner-nav.next {
        right: 15px;
    }

    .banner-dots {
        bottom: 35px;
    }

    .banner-dot {
        width: 40px;
        height: 4px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .partners-track {
        gap: 25px;
        animation: partnersScroll 35s linear infinite;
    }

    .partner-item {
        min-width: 140px;
        min-height: 90px;
        padding: 18px 22px;
    }

    .partner-item img {
        width: 120px;
        height: 60px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 10px 0;
    }

    .logo {
        font-size: 16px;
        gap: 8px;
    }

    .logo img {
        height: 35px;
    }

    .banner-section {
        padding-top: 85%;
    }

    .banner-content {
        padding: 0 25px;
    }

    .banner-content h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .banner-content h2::before {
        width: 50px;
        height: 2px;
        top: -12px;
    }

    .banner-content h2::after {
        width: 60px;
        height: 2px;
        bottom: -10px;
    }

    .banner-content p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .banner-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .banner-nav {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .banner-nav.prev {
        left: 10px;
    }

    .banner-nav.next {
        right: 10px;
    }

    .banner-dots {
        bottom: 25px;
        gap: 10px;
    }

    .banner-dot {
        width: 30px;
        height: 3px;
    }

    .section {
        padding: 50px 0;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .partners-section {
        padding: 40px 0;
    }

    .partners-section .section-title {
        margin-bottom: 30px;
        font-size: 24px;
    }

    .partners-track {
        gap: 20px;
        animation: partnersScroll 30s linear infinite;
    }

    .partner-item {
        min-width: 150px;
        min-height: 100px;
        padding: 20px 25px;
    }

    .partner-item img {
        width: 130px;
        height: 65px;
    }

    .partner-text-logo {
        font-size: 24px;
    }
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    max-width: 1000px;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    display: none;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 212, 255, 0.3);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
    border-color: #00d4ff;
}

.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(10px);
}

.certificate-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.certificate-modal-content h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}

.certificate-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.certificate-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-modal-close:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
    border-color: #00d4ff;
}

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

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