*
{
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    box-sizing: border-box;
 }
 header
 {
     position: fixed;
     width: 100%;
     height: 80px;
     padding: 0 100px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     background: #111;
     z-index: 1000;
 }
 header .logo
 {
     color: #fff;
     font-size: 30px;
     text-decoration: none;
     letter-spacing: 2px;
     font-weight: 700;
 }
 header ul
 {
     position: relative;
     display: flex;
 }
 header ul li
 {
     position: relative;
     list-style: none;
 }
 header ul li a
 {
     position: relative;
     padding: 5px 10px;
     color: #fff;
     display: inline-block;
     text-decoration: none;
     cursor: pointer;
 }
 header ul li a:active,
 header ul li a:hover
 {
     background: #205aff;
 }
 
 .toggle
 {
     display: none;
 }
 section
 {
     position: relative;
     display: flex;
     justify-content: space-between;
     align-items: center;
     min-height: 100vh;
     padding: 150px 100px 100px;
 }
 section img
 {
     max-width: 350px;
     margin-left: 30px;
 }
section h2
{
    font-size: 2.5em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
section p
{
    font-size: 18px;
    padding: 8px 10px;
}
section a
{
    display: inline-block;
    padding: 8px 10px;
    text-decoration: none;
    font-size: 18px;
    background: #111;
    color: #fff;
    margin-top: 20px;
}
section:nth-child(odd)
{
    position: relative;
    justify-content: center;
    align-items: center;
    background: #111;
    color: #fff;
}

.tajeis {
    margin: 10px;
}

.tajeis li {
    font-size: 1.2em;
    line-height: 1.5em;
    list-style: none;
    margin-left: 10px;
}
/* Το section servises έχει άσπρο φόντο, άρα οι κάρτες πρέπει να έχουν αντίθεση */
#servises {
    background: #ffffff; /* Διασφαλίζουμε ότι είναι άσπρο */
}

.portal-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* Κάρτα */
.portal-card {
    position: relative;
    background: linear-gradient(145deg, #111827, #1f2937);
    color: #e5e7eb;
    padding: 50px 35px;
    border-radius: 24px;
    width: 380px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 5px 5px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Glow effect background */
.portal-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(32,90,255,0.25) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    transition: 0.4s;
}

.portal-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(32, 90, 255, 0.25);
    border: 1px solid rgba(32,90,255,0.4);
}

.portal-card:hover::before {
    transform: scale(1.2);
}

/* Icon */
.card-icon {
    font-size: 60px;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #205aff, #00c6ff);
    /*-webkit-background-clip: text;*/
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.portal-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Title */
.portal-card h3 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Text */
.portal-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* Button */
.portal-btn {
    margin-top: 30px;
    padding: 14px 35px;
    border-radius: 50px;
    background: linear-gradient(45deg, #205aff, #00c6ff);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(32, 90, 255, 0.3);
}

.portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(32, 90, 255, 0.5);
}

/* ================= MOBILE MENU ================= */

@media (max-width: 992px) {

    header {
        padding: 0 30px;
    }

    header ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #111;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px;
        transition: 0.4s ease;
    }

    header ul.active {
        right: 0;
    }

    header ul li {
        margin-bottom: 25px;
        width: 100%;
    }

    header ul li a {
        font-size: 18px;
        width: 100%;
    }

    .toggle {
        display: block;
        width: 35px;
        height: 35px;
        cursor: pointer;
        position: relative;
    }

    .toggle::before,
    .toggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 4px;
        background: #fff;
        left: 0;
        transition: 0.3s;
    }

    .toggle::before {
        top: 10px;
    }

    .toggle::after {
        bottom: 10px;
    }

    section {
        flex-direction: column;
        padding: 120px 30px 80px;
        text-align: center;
    }

    section img {
        margin: 0 0 30px 0;
        max-width: 250px;
        order: -1; /* Φωτο πάνω */
    }

    section div {
        width: 100%;
    }
     #projects {
        flex-direction: column;
    }

    #projects div {
        order: 1;
    }

    #projects img {
        order: -1;
        margin-bottom: 25px;
    }
}
