html {
    scroll-behavior: smooth;
}


html::-webkit-scrollbar {
    width: 10px;
}
html::-webkit-scrollbar-track {
    background: #c9d6df;
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb {
    background: #4e6e7d;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
}

html::-webkit-scrollbar-thumb:hover {
    background: #3b545f;
}







/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Βεβαιώνεται ότι όλα τα στοιχεία στοιχίζονται κάθετα */
    overflow-x: hidden; /* Απόφυγε οριζόντια κύλιση */
    padding: 0 20px; /* Προσθήκη padding για μικρότερες οθόνες */
    user-select: none;
}


.cyber-card {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #00d9ff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
    transform-style: preserve-3d;
    animation: float 8s infinite ease-in-out;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}


.cyber-image-wrapper {
    position: relative;
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.cyber-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(110%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    backface-visibility: hidden;
    padding: 20px 20px 5px 20px;
    border-radius: 40px;
}

.cyber-image:hover {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(150%);
}

.cyber-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.5s;
}

.cyber-image-wrapper:hover .cyber-overlay {
    opacity: 1;
}

.cyber-content {

    text-align: center;
}

.cyber-button {
    position: relative;
    background: linear-gradient(145deg, #3c85af, #01333f);
    border: none;
    top: 4px;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-button-text {
    position: relative;
    z-index: 2;
}

.cyber-button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ff00aa, #00ff88);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s;
}

.cyber-button-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.5), transparent);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cyber-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

.cyber-button:hover .cyber-button-glitch {
    opacity: 0.3;
}

.cyber-button:hover .cyber-button-light {
    opacity: 0.5;
}

.cyber-description {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #00d9ff;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.glow-text {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 0 10px #00d9ff;
}




#ourjob-header {
    --main-color: #00b7ff;
    --neon-glow: 0 0 15px var(--main-color);
    --font-stack: 'Inter', 'Poppins', sans-serif;

    font-family: var(--font-stack);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    position: relative;

    /* Διόρθωση: Αφαίρεση του overflow: hidden */
    &::after {
        content: '';
        position: absolute;
        bottom: -3px; /* Προσαρμογή θέσης */
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(
            90deg,
            var(--main-color), /* Αλλαγή: Από transparent σε main-color */
            rgba(0, 183, 255, 0.5), /* Προσθήκη ημιδιαφανούς */
            var(--main-color)
        );
        animation: line-flow 6s infinite;
        transform: scaleX(0.8); /* Αρχική κατάσταση */
        opacity: 0.8; /* Προσθήκη opacity */
    }


}

@keyframes line-flow {
    0% {
        transform: scaleX(0.8) translateX(-20%);
    }
    50% {
        transform: scaleX(1) translateX(10%);
    }
    100% {
        transform: scaleX(0.8) translateX(-20%);
    }
}







/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 20px; /* Add padding to prevent content from touching edges */
        overflow-y: auto; /* Ensure scrolling works */
    }

    .cyber-world {
        padding: 10px; /* Reduce padding for smaller screens */
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Allow it to take full width */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cyber-card {
        width: 100%; /* Full width on mobile */
        max-width: 400px; /* Limit maximum width for better readability */
        margin: 0 auto; /* Center the card */
        animation: float-mobile 8s infinite ease-in-out; /* Adjusted animation for mobile */
    }

    @keyframes float-mobile {
        0%, 100% {
            transform: translateY(0) rotateX(0) rotateY(0);
        }
        50% {
            transform: translateY(-10px) rotateX(3deg) rotateY(3deg); /* Smaller animation for mobile */
        }
    }

    .cyber-image-wrapper {
        height: 50%; /* Adjust height for mobile */
    }

    .cyber-button {
        padding: 12px 24px; /* Slightly smaller button for mobile */
        font-size: 1rem; /* Smaller font size */
    }

    .cyber-description {
        margin-top: 15px; /* Reduce margin for mobile */
        padding: 10px; /* Reduce padding for mobile */
    }

    .glow-text {
        font-size: 0.9rem; /* Smaller font size for mobile */
    }
}

/* Small Mobile Devices (e.g., iPhone SE) */
@media (max-width: 480px) {
    .cyber-card {
        max-width: 90%; /* Allow more width usage on very small screens */
    }

    .cyber-button {
        padding: 10px 20px; /* Even smaller button */
        font-size: 0.9rem; /* Smaller font size */
    }

    .glow-text {
        font-size: 0.8rem; /* Smaller font size for very small screens */
    }
}
.cyber-world, .copyright-container {
    margin: 0 auto; /* Κεντράρισμα */
    width: 100%;
    max-width: 800px; /* Εύλογη τιμή για να περιοριστεί το μέγεθος */
    text-align: center; /* Ευθυγράμμιση κειμένου */
}
