.blog-post {
    background: #ACB0BD;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 5px solid;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-post:hover {
    background: whitesmoke;
    transform: translateX(5px);
}

.blog-post {
    background: #ACB0BD;
    border-bottom: 1px solid #534141;
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin: 2em auto;
    padding: 0 1em;
}

.blog-post h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.blog-date {
    font-size: 0.9em;
    color: gray;
    margin-bottom: 0.5em;
}

.read-more {
    color: #007bff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2em;
    color: #007bff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

body {
    font-family: 'Montserrat', serif;
    margin: 0;
    font-size: 20px;
    padding: 0;
    line-height: 1.6;
    background: whitesmoke;
    min-height: 100vh;
    color: black;
}

.dark-mode-icon {
    width: 40px; 
    height: auto;
    margin-top: 5px;
}


.hero {
    width: 100%;
    min-height: 80vh;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1e2f, #2b2b44);
    padding: 40px 20px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    flex-wrap: wrap; /* 👉 για responsive */
}

.hero-img {
    width: 500px;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-text {
    max-width: 600px;
    color: #fff;
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 20px;
    background: linear-gradient(90deg, white,#00f5d4, #9b5de5, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f1f1f1;
}

.hero-text .btn {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
}

/* 📱 Responsive προσαρμογή */
@media (max-width: 975px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-img {
        width: 220px;
    }
}

@media (max-width: 250px) {
    .hero-img {
        width: 160px;
    }
    .hero-text {
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 1.4rem;
    }
}

section h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 700;
}

footer {
    background: #222;
    color: white;
    padding: 1em 0;
}

img.rounded-circle {
    border: 3px solid #007bff;
    transition: transform 0.3s ease-in-out;
}

img.rounded-circle:hover {
    transform: scale(1.1);
}

img-fluid.rounded.shadow {
border-radius: 45%;
}

h2 {
    margin-top: 20px;
    color: red;
}

ul {
    list-style-type: square;
    margin-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

.filters {
    margin: 20px 0;
    text-align: center;
}


.filters .filter-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-top: 40px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filters .filter-btn:hover {
    background-color: #0056b3;
}

header {
    background: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

header nav ul li a:hover {
    background: #1303f5;
    border-radius: 5px;
}

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

.page-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
}

.page-description {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Βασικό Στυλ για τα Κουμπιά */
.filter-btn {
    display: inline-block;  /* Για να φαίνεται σαν button */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    color: white;
    text-decoration: none;  /* Αφαίρεση του υπογραμμισμένου link */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    text-transform: uppercase;
}

/* Hover Effect - Glowing */
.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.9);
}

/* Reflection Effect */
.filter-btn::after {
    content: "";
    position: absolute;
    bottom: -35px;
    width: 100%;
    height: 30px;
    background: inherit;
    border-radius: 8px;
    opacity: 0.5;
    transform: scaleY(-1);
    filter: blur(10px);
}

/* Χρώματα ανά Κατηγορία */
.python { background: linear-gradient(45deg, #ff8c00, #ff5e00); }
.ai { background: linear-gradient(45deg, #8a2be2, #ff1493); }
.data-science { background: linear-gradient(45deg, #00c853, #00e676); }
.web-development { background: linear-gradient(45deg, #1e88e5, #42a5f5); }
.digital-marketing { background: linear-gradient(45deg, #d32f2f, #f44336); }


.project {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.project h1{
    color: white;

}

.project p {
    color:#000;
    margin-top: 10px;
}

.project a {
    color: #007bff;
    text-decoration: none;
}

.project a:hover {
    text-decoration: underline;
}

/* 🔹 Στυλ για τις κάρτες projects */
.project {
    background:  #fff; /* διάφανο για glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: #000;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 123, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 800px;
    margin: auto;
    opacity: 0; /* ξεκινάει αόρατο για animation */
    transform: translateY(30px); /* ξεκινάει λίγο πιο κάτω */
    animation: fadeUp 0.8s ease forwards;
}

/* 🔹 Hover effect (3D tilt + glow) */
.project:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-3deg);
    box-shadow: 0 0 30px rgba(0, 255, 200, 0.8), 
                0 0 60px rgba(0, 150, 255, 0.5);
}

/* 🔹 Τίτλος με Aurora Gradient */
.project h3 {
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(90deg, #00f5d4, #9b5de5, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* 🔹 Badge με την κατηγορία */
.project::before {
    content: attr(data-category);
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #000;
    color: #00f5d4;
    letter-spacing: 1px;
}

/* 🔹 Κουμπί View Link */
.view-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #007bff;
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 15px black;
}

.view-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px black;
}

/* 🔹 Carousel item κεντράρισμα */
.carousel-item {
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* 🔹 Carousel controls με neon glow */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: drop-shadow(0 0 10px cyan);
}

/* 🔹 Carousel indicators με gradient χρώμα */
.carousel-indicators button {
    background-color: #00f5d4;
}

/* 🔹 Animation για smooth εμφάνιση */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-newsletter input[type="email"] {
    padding: 8px;
    width: 70%;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.footer-newsletter button {
    padding: 8px 15px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #0b5ed7;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* General Page Style */
.page-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
}

.page-description {
    text-align: center;
    margin-bottom: 20px;
    color: whitesmoke;
    font-style: bold;
}

section {
    margin-bottom: 20px;
    border-radius: 10px;
}

section h2 {
    font-size: 1.5rem;
    color: #007bff;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: disc;
}

ul li {
    margin-bottom: 10px;
}

.navbar-nav .nav-link {
    position: relative;
    color: white !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px;
}

/* Animated underline */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ff0080, #8000ff);
    transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Aurora gradient hover */
.navbar-nav .nav-link:hover {
    background: linear-gradient(90deg, #00f5d4, #9b5de5, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

/* Shrink effect */
.navbar {
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 5px #f12711;
    }
    to {
        box-shadow: 0 0 15px #f5af19;
    }
}

main {
    margin-top: 80px; /* Ίσο περίπου με το ύψος της navbar */
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff0080, #8000ff);
    animation: pulseGlow 1.5s infinite alternate;
    transition: width 0.4s ease;
}

.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .card {
        margin-bottom: 20px;
    }
}
/* Ευθυγράμμιση κουμπιού κάτω από το Portfolio */
.navbar .d-flex {
    align-items: center;
}

/* Responsive - Κεντράρισμα κουμπιού σε μικρές οθόνες */
@media (max-width: 768px) {
    .navbar .d-flex {
        align-items: center;
        text-align: center;
    }

    .toggle-dark-mode {
        width: 100%;
        margin-top: 10px;
    }
}

.custom-list {
    list-style: none; /* Αφαίρεση των προεπιλεγμένων bullets */
    padding-left: 0; /* Μηδενικό αριστερό περιθώριο */
}

.custom-list li {
    font-size: 18px; /* Μέγεθος κειμένου */
    margin-bottom: 10px; /* Απόσταση μεταξύ των στοιχείων */
}

.custom-list li i {
    color: #007bff; /* Χρώμα εικονιδίων */
    margin-right: 8px; /* Απόσταση εικονιδίου από το κείμενο */
    font-size: 20px; /* Μέγεθος εικονιδίου */
}

.separator {
    height: 4px;
    background: linear-gradient(to right, #002fff, #8000ff, #ff0080, #ff8c00);
    border-radius: 3px;
    margin: 40px 0;
    animation: gradientMove 3s infinite alternate;
}

@keyframes gradientMove {
    0% { background-position: 0%; }
    100% { background-position: 100%; }
}

/* Στυλ για τις εικόνες των projects με neon effect */
.project-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.project-img img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Neon Glow Effect on Hover */
.project-img:hover {
    box-shadow: 0 0 20px rgba(9, 56, 226, 0.8), 0 0 40px rgba(65, 6, 213, 0.5);
}

.project-img:hover img {
    transform: scale(1.05);
}

/* Στυλ για το Grid Layout των Projects */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project {
    background: rgb(129, 122, 122);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 255, 123, 0.5);
}

.social-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
    margin: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    color: white;
    position: relative;
    font-weight: bold;
}

/* 3D Effect */
.social-btn::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 10px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.6;
}


/* Χρώματα για κάθε social media */
.facebook {
    background: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.twitter {
    background: #1DA1F2;
}

.linkedin {
    background: #0077b5;
}

.github {
    background: #333;
}

/* Hover εφέ - 3D ανύψωση */
.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
}

/* Ειδικό Glow Effect κατά το Hover */
.social-btn:hover::before {
    opacity: 1;
    filter: blur(15px);
}

.youtube {
    background: #FF0000; /* Κόκκινο background */
    color: white; /* Λευκό χρώμα στο εικονίδιο */
    border-radius: 10px;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    margin: 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/* 3D και hover εφέ */
.youtube:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px rgba(255, 0, 0, 0.5);
}

/* Αν θες το εικονίδιο μέσα στο κουμπί να είναι κόκκινο και το φόντο άσπρο */
.youtube i {
    color: white; /* Ή μπορείς να το αλλάξεις σε κόκκινο αν το θες αντίθετα */
}


/* Hover εφέ - Μεγέθυνση */
.social-btn:hover {
    transform: scale(1.2); /* Μεγαλώνει κατά 20% */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
}

.category {
    background: #416165;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.category:hover {
    transform: scale(1.05);
}

.category-title {
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    text-align: center;
}


/* Χρώματα κατηγοριών */
.python { background: linear-gradient(45deg, #002fff, #ff5e00); }
.ai { background: linear-gradient(45deg, #8a2be2, #ff1493); }
.data-science { background: linear-gradient(45deg, #00c853, #00e676); }
.web-development { background: linear-gradient(45deg, #1e88e5, #42a5f5); }
.digital-marketing { background: linear-gradient(45deg, #45d32f, #f44336); }

.read-more {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.aurora-text {
    font-weight: bold;
    font-size: 2.5rem;
    background: linear-gradient(
        45deg,
        #00f5d4,
        #9b5de5,
        #00bbf9,
        #fee440,
        #00f5d4
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: auroraFlow 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Aurora flow animation */
@keyframes auroraFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

main img {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .navbar,
body.dark-mode footer {
    background-color: #1f1f1f;
}

body.dark-mode .card,
body.dark-mode .project,
body.dark-mode .hero,
body.dark-mode .category {
    background-color: #1e1e1e;
    color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

body.dark-mode a {
    color: #90caf9;
}

body.dark-mode a:hover {
    color: #f8b400;
}

body.dark-mode .btn-outline-light {
    color: #fff;
    border-color: #fff;
}

body.dark-mode .btn-outline-light:hover {
    background-color: yellow;
    color: #000;
}

body.dark-mode .form-control {
    background-color: #2c2c2c;
    color: #fff;
    border-color: #444;
}

aside .card {
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    border-radius: 12px;
    border: 1px solid #b2ebf2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

aside .card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

aside .card h5 {
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 15px;
}

aside .card ul li a {
    text-decoration: none;
    color: #343a40;
    transition: color 0.2s ease;
}

aside .card ul li a:hover {
    color: #0d6efd;
    font-weight: 500;
}

/* Ειδική μορφοποίηση για το input αναζήτησης */
aside .card input.form-control {
    border-radius: 6px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease;
}

aside .card input.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

aside {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Social bar για επάνω δεξιά - πιο μικρά και απλά εικονίδια */
.topbar-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #222;
    padding: 5px 20px;
    gap: 10px;
    font-size: 0.8rem;
}

.topbar-social a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.topbar-social a:hover {
    color: #00bbf9; /* Ή διαφορετικό χρώμα ανάλογα με το brand */
}

@media (max-width: 768px) {
    .topbar-social {
        justify-content: center;
        padding: 10px 5px;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.75rem;
      background-color: #111; /* πιο σκούρο φόντο για διαφοροποίηση */
    }

    .topbar-social a {
        font-size: 14px;
        margin: 0 4px;
    }
}

.blog-post {
    background-color: #fdfdfd;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.blog-post h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0d6efd;
}

.blog-post h2 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: #0056b3;
}

.blog-date {
    color: #6c757d;
    font-size: 0.95rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(18, 18, 165, 0.85), rgba(80, 80, 120, 0.85));
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    animation: glowMove 30s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 60px 20px;
}

.hero-text {
    color: white;
    max-width: 600px;
}

.hero-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    padding: 30px 80px;
}

/* ✅ Responsive layout for tablets and desktops */
@media (min-width: 768px) {
    .content {
        flex-direction: row;
        text-align: left;
    }

    .hero-img {
        max-width: 400px;
    }

    .hero-text {
        flex: 1;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;  /* βίντεο κάτω από όλα */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55); /* ελαφρύ σκοτείνιασμα */
    z-index: -1;  /* overlay πάνω από το βίντεο αλλά κάτω από το κείμενο */
}

.hero-content {
    position: relative;
    z-index: 1; /* το κείμενο πάντα πάνω */
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00f5d4, #9b5de5, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.2rem; margin-bottom: 20px; }

.about {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f1f1f1;
    background: linear-gradient(135deg, rgba(18, 18, 165, 0.85), rgba(80, 80, 120, 0.85));
    background-size: 200% 200%;
    animation: subtleFlow 15s ease-in-out infinite;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 40px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap; /* επιτρέπει αλλαγή γραμμής */
}

.about-img {
    width: 300px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.about-text {
    max-width: 600px;
    flex: 1;
}

.about h2 { 
    margin-bottom: 15px; 
}

/* 📱 Responsive προσαρμογή */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .about-img {
        width: 220px;
    }
}

@media (max-width: 576px) {
    .about-img {
        width: 160px;
    }
    .about-text {
        font-size: 0.9rem;
    }
    .about h2 {
        font-size: 1.4rem;
    }
}

.skills {
    padding: 80px 20px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill img {
    width: 60px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}
.skill:hover img { transform: scale(1.2); }


/* Ομοιόμορφο μέγεθος για SVG ώστε να ταιριάζουν με fa-3x */
.skill-svg {
    width: 3rem !important;
    height: 3rem !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* Για τα FontAwesome icons */
.skill-icon {
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover effect τύπου SaaS (ανύψωση + glow) */
.skill-icon:hover,
.skill-svg:hover {
    transform: translateY(-6px) scale(1.07);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

/* Χρωματισμοί όπως στα Bootstrap utility classes */
.text-primary   { color: #0d6efd !important; }
.text-warning   { color: #f0ad4e !important; }
.text-danger    { color: #dc3545 !important; }
.text-info      { color: #0dcaf0 !important; }
.text-success   { color: #198754 !important; }
.text-dark      { color: #212529 !important; }

/* Κάνει τα SVG να "πιάνουν" το χρώμα των text-classes */
.skill-svg [fill],
.skill-svg polygon,
.skill-svg path,
.skill-svg rect {
    fill: currentColor !important;
}


.quote {
    position: relative;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f1f1f1;
    background: linear-gradient(135deg, rgba(18, 18, 165, 0.85), rgba(80, 80, 120, 0.85));
    background-size: 200% 200%;
    animation: subtleFlow 15s ease-in-out infinite;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;

    /* ✨ Προσθήκες */
    font-size: 1.8rem;   /* ή 28px για πιο μεγάλο */
    font-style: italic;
    font-weight: 500;    /* λίγο πιο έντονο για καλύτερη ανάγνωση */
    line-height: 1.4;    /* βελτιώνει την αναγνωσιμότητα */
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    background: linear-gradient(135deg,white);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
    .hero-content {
        padding: 0 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

@keyframes glowMove {
    0% {
        transform: translate(-20%, -20%);
    }
    50% {
        transform: translate(20%, 20%);
    }
    100% {
        transform: translate(-20%, -20%);
    }
}

img.rounded-circle {
    transition: transform 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.timeline {
    border-radius: 10px;
    margin: 30px 0;
    padding-left: 40px;
    border-left: 3px solid #0d6efd;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    color: white;
    
}

.timeline-icon {
    position: absolute;
    left: -27px;
    top: 0;
    background: #0d6efd;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(18, 18, 165, 0.85), rgba(80, 80, 120, 0.85));
    padding: 20px;
    color: wheat;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg,9);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

header nav ul li a {
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    transition: background 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

header nav ul li a:hover {
    background: linear-gradient(90deg, #00f5d4, #9b5de5, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-radius: 8px;
}