/* General Reset */
body, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Καταλαμβάνει το πλήρες ύψος του παραθύρου */
}

.main-footer {
    margin-top: auto; /* Κρατά το footer στο τέλος */
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#0d47a1;
    padding: 0.5rem 1rem;
    color: white;
}
/* Right Section (Wise Media Name) */
.header-right {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Tagline */
.tagline {
    margin-top: -0.2rem;  /* Adjust vertical spacing */
    font-size: 0.4rem;  /* Slightly smaller font size */
    font-weight: normal;  /* Lighter weight */
    color: #ffffff;  /* Ensures it's visible on dark background */
    line-height: 1.2;  /* Adds some spacing between lines if necessary */
}

/* Left Section (Hamburger + Logo) */
.header-left {
    display: flex;
    align-items: center;
}


.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger-menu div {
    width: 100%;
    height: 3px;
    background-color: white;
}

.header-logo {
    margin-left: 10px;
    width: 50px;
    height: auto;
}

/* Center Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #00274d;
    color: white;
    overflow-y: auto;
    transition: 0.3s ease-in-out;
    padding: 1rem;
    z-index: 1000;
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
    margin-top: 1rem;
}

.side-menu ul li {
    margin-bottom: 1rem;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Close Button (Arrow) */
.close-button {
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1rem;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00274d;
}

/* Footer Section in Side Menu */
.side-menu-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #ccc;
}

/* Social Media Section */
.social-media {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media li {
    list-style: none;
}

.social-media .social-icon {
    color: #ccc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-media .social-icon:hover {
    color: white;
}
/* Services Section */
.services {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    color: #0d47a1;
    margin-bottom: 30px;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e0f7fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
    min-width: 300px;
}

.service-item:nth-child(2) {
    background-color: #bbdefb;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-content {
    flex: 1;
    padding: 20px;
}

.service-content h3 {
    font-size: 24px;
    color: #0d47a1;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 16px;
    color: #555;
}

.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer */
.main-footer {
    background-color: #0d47a1;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.main-footer p {
    margin-bottom: 10px;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links li a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links li a:hover {
    color: #90caf9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .main-header .logo a {
        font-size: 20px;
    }

    .main-nav ul {
        justify-content: center;
    }

    .services h2 {
        font-size: 28px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 14px;
    }

    .main-footer p {
        font-size: 12px;
    }

    .social-links a {
        font-size: 18px;
    }
}
/* Αφαίρεση οποιουδήποτε overflow από τη σελίδα */
body, html {
    overflow-x: hidden;
}
/* Hide Wise Media on screens smaller than 945px */
@media (max-width: 910px) {
    .header-right {
        display: none;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .social-media {
        flex-direction: row;
    }
}
/* Show Wise Media on screens bigger than 200px and smaller than 768px */
@media (max-width: 768px) {
    .header-right {
        display: block;
    }
}
/* Hide Wise Media on screens smaller than 200px */
@media (max-width: 220px) {
    .header-right {
        display: none;
    }
}