:root {
    --brand-navy: #001f3e;
    --brand-deep-blue: #001e3a;
    --brand-accent: #005B96;
    --text-grey: #4A4A4A;
    --bg-light: #f4f7f9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e9ecef;
    color: var(--text-grey);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

/* HEADER */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--brand-navy);
    color: white;
    box-sizing: border-box;
}

.logo img {
    height: 45px;
    /* Ελαφρώς μικρότερο για καλύτερη αναλογία */
    width: auto;
    display: block;
}

.header-tagline {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* HERO SECTION */
.hero {
    padding: 100px 40px;
    background-image: linear-gradient(rgba(0, 31, 62, 0.8), rgba(0, 31, 62, 0.8)),
        url('images/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    margin: 0;
}

/* SECTION CONTENT */
.section-box {
    padding: 60px 40px;
}

h2 {
    color: var(--brand-navy);
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
}

/* MODERN ADVANTAGES SECTION */
.advantages-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #bdc3c7 100%);
    padding: 80px 40px 120px 40px;
    /* Extra padding bottom for the overlap */
    color: var(--brand-navy);
}

.advantage-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 25px;
    background: var(--brand-navy);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 100%;
    stroke: white;
    stroke-width: 2;
}

.advantage-text h3 {
    margin: 0 0 5px 0;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
}

.advantage-text p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/* OVERLAPPING BOX */
.advantages-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin: -60px 40px 40px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 10;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    text-align: center;
    padding: 15px;
}

.grid-item h3 {
    font-size: 14px;
    color: var(--brand-accent);
    margin-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.grid-item p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* CTA & FOOTER - UPDATED */
.cta-section {
    background-color: var(--brand-deep-blue);
    padding: 80px 40px;
    /* Αυξήσαμε το vertical padding για περισσότερο χώρο */
    text-align: center;
    color: rgb(247, 246, 246);
}

.cta-section h2 {
    max-width: 750px;
    /* Περιορίζουμε το πλάτος για να "δένει" το κείμενο */
    margin: 0 auto 20px auto;
    color: #ffffff;
    font-size: 24px;
    /* Σταθερό, κομψό μέγεθος */
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: center;
    /* Αυτό βοηθάει στο να μοιράζονται οι λέξεις ομοιόμορφα στις γραμμές */
    text-wrap: balance;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    text-align: center;
    opacity: 0.85;
    text-wrap: pretty;
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-accent);
    color: white;
    padding: 16px 35px;
    /* Ελαφρώς πιο μαζεμένο padding */
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    /* Μίκρυνε 1px για κομψότητα */
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    /* Εμποδίζει το κείμενο να σπάσει σε 2 γραμμές μέσα στο κουμπί */
}

.cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

footer {
    background-color: var(--brand-navy);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 650px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantages-box {
        margin: 20px;
    }

    .hero h1 {
        font-size: 22px;
    }

    header,
    footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobiles)
   ========================================================================== */

/* TABLET VIEW (μέχρι 992px) */
@media (max-width: 992px) {
    .container {
        width: 95%;
        margin: 20px auto;
    }

    .hero {
        padding: 80px 30px;
    }

    .advantages-grid {
        gap: 15px;
    }
}

/* SMALL TABLET / LARGE MOBILE (μέχρι 768px) */
@media (max-width: 768px) {

    header {
        padding: 15px 25px;
        /* Μείωση padding για περισσότερο χώρο */
    }

    .logo img {
        height: 38px;
        /* Μικρότερο logo στα tablet */
    }

    .header-tagline {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-box,
    .advantages-section,
    .cta-section {
        padding: 50px 25px;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        /* Δύο στήλες στο tablet */
    }

    .advantages-box {
        margin: -40px 25px 30px 25px;
        padding: 30px 20px;
    }
}

/* MOBILE VIEW (μέχρι 550px) */
@media (max-width: 550px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .header-tagline {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        padding: 60px 20px;
        text-align: center;
    }

    .hero h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .advantage-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        /* Μία στήλη στο κινητό */
    }

    .cta-section {
        padding: 40px 20px;
        /* Λιγότερο padding πάνω-κάτω */
    }

    .cta-section h2 {
        font-size: 18px;
        /* Πιο ισορροπημένο μέγεθος */
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .cta-button {
        display: inline-block;
        /* Επιστροφή σε inline-block για να μην πιάνει όλο το πλάτος */
        width: auto;
        /* Ακύρωση του full width */
        min-width: 200px;
        /* Ελάχιστο πλάτος για να είναι ευκολόχρηστο στο δάχτυλο */
        padding: 14px 25px;
        /* Μαζεμένο padding για mobile */
        font-size: 14px;
        margin-bottom: 20px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* MOBILE VIEW (μέχρι 480px) */
@media (max-width: 480px) {
    header {
        flex-direction: row;
        /* Διατήρηση οριζόντιας διάταξης αντί για κάθετη */
        justify-content: space-between;
        padding: 12px 20px;
    }

    .logo img {
        height: 32px;
        /* Ιδανικό μέγεθος για κινητά */
    }

    .header-tagline {
        font-size: 14px;
        text-align: right;
    }

    /* Προσθήκη εικονιδίου τηλεφώνου αν θες να φαίνεται πιο "mobile-friendly" */
    .header-tagline a::before {
        content: '📞 ';
        font-size: 12px;
        vertical-align: middle;
    }
}