/* Hero Section */
.hero-section {
    background: url('../Image/certification.png') center center/cover no-repeat;
}

/* Certificate Check Section */
.certificate-check-section {
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 30px;
}

.check-container {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    color: white;
    position: relative;
    overflow: hidden;
}

.check-description {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.input-container {
    flex: 1;
    min-width: 250px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.input-icon {
    margin-right: 5px;
}

.certificate-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.certificate-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.certificate-input::placeholder {
    color: #999;
}

.check-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 180px;
}

.check-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
}

/* Result Section */
.result-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.result-section.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.result-success {
    color: #27ae60;
    font-weight: 600;
}

.result-error {
    color: #e74c3c;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .check-container {
        padding: 25px;
    }

    .input-group {
        flex-direction: column;
        gap: 20px;
    }

    .input-container {
        min-width: 100%;
    }

    .check-btn {
        width: 100%;
    }
}

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 200px;
    height: 100vh;
    background: rgba(5, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    overflow-y: auto;
}

/* Close button for mobile menu */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Mobile menu hamburger animation when active */
.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #a29bfe;
    transform: rotate(90deg);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-section {
    margin-bottom: 25px;
}

.mobile-nav-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-item {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 10px;
    font-weight: 400;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-style: italic;
}

.mobile-nav-item:hover {
    color: #a29bfe;
    padding-left: 10px;
}

.mobile-nav-item.active {
    color: #a29bfe;
    border-left: 3px solid #a29bfe;
    padding-left: 15px;
}

.mobile-language-section {
    margin-top: auto;
    padding-top: 20px;
}

.mobile-language-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-flag {
    width: 20px;
    height: 14px;
    background: linear-gradient(to bottom, #012169 33%, white 33%, white 66%, #C8102E 66%);
    position: relative;
}

.mobile-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%);
}