* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(to right, #0098F3, #000269);
    border-bottom: solid 2px #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 100%;
    background-color: #0098F3;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #0098F3;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active:hover {
    color: #0098F3;
}

.notification{
  background-color: #FFB4AD;
  color: #D72638;
  border-top: 2px solid #D72638;
  border-bottom: 2px solid #D72638;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  font-family: sans-serif;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.hero {
    color: #f9f9f9;
    background: #0098F3;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.title-h3-under {
    color: #000269;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #0098F3;
    padding-bottom: 0.5rem;
}

.title-h3-above {
    color: #000269;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    border-top: 2px solid #0098F3;
    padding-top: 0.5rem;
}

/* Footer */
footer {
    color: white;
    text-align: center;
    padding: 0.25rem;
    background: linear-gradient(to right, #0098F3, #000269);
    border-top: solid 2px #ffffff;
}

footer p {
    margin: 0.5rem 0;
}

.contact-footer {
    padding: 1.5rem;
}

.contact-footer::before {
  content: "hlmes.kalamata@yahoo.gr | 27210 94808";
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
    }
    
    .nav-links li {
        margin: 0 0.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }

    .title-h3-under {
        text-align: center;
    }

    .contact-footer::before {
        content: "hlmes.kalamata@yahoo.gr\A 27210 94808";
        white-space: pre;
    }
}

.map-image {
    width: 100%;
    height: auto;
    margin-top: 1.5rem;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-details {
    margin-top: 1rem;
    text-align: left;
    padding-left: 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
}
footer {
    margin-top: auto;
    padding: 1.5rem;
}

/* About us */
.about-us-title{
    color: #000269;
    text-align: center;
    padding-top: 1.5rem;
}

.centered-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.centered-timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0098F3, #000269);
    transform: translateX(-50%);
    z-index: 0;
}

/* Top and Bottom Dots */
.centered-timeline::after,
.centered-timeline .timeline-dot-top,
.centered-timeline .timeline-dot-bottom {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

/* Top Dot */
.centered-timeline .timeline-dot-top {
    top: 0;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    border: 3px solid #0098F3;
}

/* Bottom Dot */
.centered-timeline .timeline-dot-bottom {
    bottom: 0;
    transform: translate(-50%, 50%);
    background-color: #f9f9f9;
    border: 3px solid #000269;
}


.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.timeline-year {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 3px solid #0098F3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000269;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content.left {
    margin-right: auto;
    margin-left: 8%;
}

.timeline-content.right {
    margin-left: auto;
    margin-right: 8%;
}

.timeline-content h3 {
    color: #000269;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.timeline-content.left h3 {
    text-align: right;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #0098F3;
    border-radius: 1px;
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-content {
        width: 85%;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .timeline-content.left h3 {
        text-align: center;
    }

    .timeline-content.right h3 {
        text-align: center;
    }
    
    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
}
