
:root {
    --green: #1fb477;
    --dark: #121518;
    --gray: #7C7C7C;
    --light: #f5f3f1;
    --border: #e2e6ea;
}

.animate-left,
.animate-right {
    opacity: 0;
    transition: transform 0.9s ease-out, opacity 0.9s ease-out;
    will-change: transform, opacity;
}

.animate-left {
    transform: translateX(-8vw);
}

.animate-right {
    transform: translateX(8vw);
}    

    /* When visible */
.animate-show {
    opacity: 1;
    transform: translateX(0);
}

.hidden-text-1, 
.hidden-text-2, 
.hidden-text-3 {
    opacity: 0;
    transform: translateY(300px);
    /* Use specific transitions for better performance than 'all' */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out; 
    will-change: opacity, transform;
    /* IMPORTANT: Transforms do NOT work on 'inline' elements like <span> or <a> 
        unless you set them to block or inline-block */
    display: block; 
}

.hidden-text-1.visible, 
.hidden-text-2.visible, 
.hidden-text-3.visible {
    opacity: 1;
    transform: translateY(0);
}

.circle-mask-box { 
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    overflow: hidden; 
    margin: 0 auto; 
    position: relative; 
    transition: 0.5s; 
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.circle-mask-box:hover { 
    border-radius: 10px; 
    transform: scale(1.1); 
}

.idea-12 .card { border: 1px solid white; padding: 2rem; border-radius: 50px; text-align: center; transition: 0.3s; background:  #1fb477; color: white; border-color:  #1fb477; }
.idea-12 .card h3 { color: rgba(255, 255, 255, 0.8); }
.idea-12 .card:hover { background:  white; color:  #1fb477; border-color:  #1fb477; }
.idea-12 .card:hover p { color:  #1fb477; }
.idea-12 .card:hover h3 { color:  #1fb477; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

footer { margin-bottom: 4rem; background: #fff; }

/* --- 20. DOUBLE LINE ARCHITECTURE --- */
.f-20 { padding: 0 3rem; border: none; }
.f-20 .top-line { border-bottom: 1px solid #1fb477; padding: 3rem 0; display: flex; justify-content: space-between; }
.f-20 .bottom-line { padding: 1.5rem 0; display: flex; justify-content: space-between; font-size: 0.8rem; }
.f-20 .bottom-line p,a {  color: #1fb477; }
.f-20 a { font-weight: 500; font-size: 1.2rem; }

/* Responsive Defaults */
@media (max-width: 768px) {
    .f-20 .top-line, .f-20 .bottom-line { flex-direction: column; gap: 2rem; align-items: flex-start; text-align: left; }
}

/* --- Card 4 Base Styles --- */
.card-4 {
    background: #1fb477; /* Red background */
    color: #f0f0f0;
    font-family: 'Geologica', sans-serif; /* Ensuring your font matches */
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none; /* Removes underline from Card 1 */
    transition: transform 0.3s ease;
    min-height: 200px;
}

.card-4:hover {
    transform: translateY(-25px);
}

.card-4 h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.8);
}

.card-4 p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 1rem;
    color: #f0f0f0;
}

/* --- Social Icons Styles --- */
.social-icon-style-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.social-icon-style-4 li {
    display: inline-block;
}

.social-icon-style-4 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s all ease;
    text-decoration: none;
    font-size: 18px;
}

/* Hover Colors */
.social-icon-style-4 a:hover { background: white; transform: translateY(-3px); }
.social-icon-style-4 a.facebook:hover { color: #1fb477; }
.social-icon-style-4 a.instagram:hover { color: #1fb477; }
.social-icon-style-4 a.google:hover { color: #1fb477; }
.social-icon-style-4 a.linkedin:hover { color: #1fb477; }

/* --- Container Grid Layout --- */
.grid.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two equal columns side-by-side */
    gap: 30px; /* The space between the two cards */
    width: 100%;
}

/* --- Mobile Responsiveness --- */
/* Forces the cards to stack vertically on screens smaller than 768px */
@media (max-width: 768px) {
    .grid.container {
        grid-template-columns: 1fr; /* Switches back to 1 column */
    }
}

/* CONTACT PAGE */
/* --- THE MIXED LAYOUT (Grid) --- */


    /* --- THE MIXED LAYOUT (Grid) --- */
    .contact-mixed {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 100vh;
    }

    /* --- LEFT COLUMN: The Text (From Idea 5) --- */
    .left-col {
        background-color: #ffffff;
        border-right: 3px solid var(--dark);
        padding: 6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .left-col h1 {
        font-size: 5rem;
        font-weight: 700;
        line-height: 1.1;
        margin: 0 0 1.5rem 0;
        text-transform: uppercase;
        letter-spacing: -1px;
    }

    .left-col h1 span {
        color: var(--green);
    }

    .left-col p {
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--dark);
        max-width: 500px;
        margin: 0;
        line-height: 1.6;
    }

    /* --- RIGHT COLUMN: The Brutalist Box (From Idea 3) --- */
    .right-col {
        background-color: var(--green);
        padding: 6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .brutal-form-wrapper {
        width: 100%;
        max-width: 550px;
    }

    /* --- NEO-BRUTALIST INPUTS --- */
    .brutal-input {
        width: 100%;
        background-color: #ffffff !important;
        border: 3px solid var(--dark) !important;
        padding: 1.5rem;
        font-size: 1.2rem;
        font-family: 'Geologica', sans-serif !important;
        font-weight: 400 !important;
        color: var(--dark);
        margin-bottom: 1.5rem;
        box-shadow: 8px 8px 0 var(--dark);
        outline: none;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }

    .brutal-input::placeholder {
        color: #999;
        font-weight: 300;
    }

    /* Focus Animation */
    .brutal-input:focus {
        transform: translate(4px, 4px);
        box-shadow: 4px 4px 0 var(--dark);
    }

    /* --- NEO-BRUTALIST BUTTON --- */
    .brutal-button {
        width: 100%;
        background-color: var(--dark);
        color: #ffffff;
        border: 3px solid var(--dark);
        padding: 1.5rem;
        font-size: 1.3rem;
        font-family: 'Geologica', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
        transition: all 0.2s ease;
        margin-top: 1rem;
    }

    .brutal-button:hover {
        transform: translate(4px, 4px);
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
        background-color: #1a1e23; /* Ελαφρώς πιο ανοιχτό στο hover */
    }

    .brutal-button:active {
        transform: translate(8px, 8px);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
    }

    /* --- MOBILE RESPONSIVENESS --- */
    @media (max-width: 992px) {
        .contact-mixed {
            grid-template-columns: 1fr;
        }
        
        .left-col {
            border-right: none;
            border-bottom: 3px solid var(--dark);
            padding: 4rem 2rem;
            text-align: center;
            align-items: center;
        }

        .left-col h1 {
            font-size: 3.5rem;
        }

        .left-col p {
            font-size: 1.2rem;
        }

        .right-col {
            padding: 4rem 2rem;
        }

        .brutal-input {
            padding: 1.2rem;
            font-size: 1rem;
            box-shadow: 6px 6px 0 var(--dark);
        }

        .brutal-input:focus {
            transform: translate(3px, 3px);
            box-shadow: 3px 3px 0 var(--dark);
        }

        .brutal-button {
            padding: 1.2rem;
            font-size: 1.1rem;
            box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
        }
        
        .brutal-button:hover {
            transform: translate(3px, 3px);
            box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
        }
    }

    /* privacy page css */

    .legal-section { margin-bottom: 50px; }
    .section-heading { 
        font-size: 2.2rem; 
        color: #1fb477; 
        margin-bottom: 20px; 
        border-bottom: 2px solid rgba(78, 204, 163, 0.2); 
        display: inline-block;
        padding-bottom: 5px;
    }
    .legal-text { 
        color: black; 
        line-height: 1.9; 
        font-size: 1.05rem; 
        margin-bottom: 15px;
    }
    .legal-text strong { color: #1fb477; font-weight: 600; }
    .legal-text ul { list-style: none; padding-left: 0; margin-top: 15px; }
    .legal-text li { position: relative; padding-left: 25px; margin-bottom: 10px; }
    .legal-text li::before { content: "→"; position: absolute; left: 0; color: #1fb477; }

    .highlight-box { 
    background: rgba(78, 204, 163, 0.05); 
    padding: 35px; 
    border-radius: 20px; 
    border: 1px dashed #1fb477; 
    margin-top: 20px;
    }

    .legal-footer-info { margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }

    /* contact page style */
    /* ── Contact page – Option 2: Editorial Minimal ── */

    .contact-section {
        padding: 80px 0 120px;
    }

    .contact-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
        color: #1fb477;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .contact-headline {
        font-size: clamp(2.4rem, 6vw, 3.8rem);
        font-weight: 600;
        color: var(--heading-color, #14181C);
        line-height: 1.1;
        margin-bottom: 0;
    }

    .contact-headline em {
        font-style: normal;
        color: #1fb477;
    }

    .contact-divider {
        height: 1px;
        background: #e0e0e0;
        margin: 2.5rem 0;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.8fr;
        gap: 4rem;
        align-items: start;
    }

    /* Left: info column */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-top: 0.25rem;
    }

    .contact-info-item p.ci-label {
        font-size: 10px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #888;
        margin-bottom: 4px;
    }

    .contact-info-item p.ci-value {
        font-size: 14px;
        color: #14181C;
        line-height: 1.6;
        margin: 0;
    }

    /* Right: form */
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .contact-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .underline-field {
        display: block;
        width: 100%;
        background: transparent;
        border: none;
        border-bottom: 1px solid #d0d0d0;
        padding: 14px 0;
        font-size: 14px;
        color: #14181C;
        font-family: inherit;
        outline: none;
        transition: border-color 0.2s;
    }

    .underline-field::placeholder {
        color: #aaa;
    }

    .underline-field:focus {
        border-bottom-color: #1fb477;
    }

    textarea.underline-field {
        resize: none;
        height: 100px;
        margin-top: 0;
    }

    .contact-submit-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contact-submit-note {
        font-size: 12px;
        color: #aaa;
    }

    .contact-btn {
        background: #1fb477;
        color: #ffffff;
        border: 1px solid #1fb47730;
        border-radius: 40px;
        padding: 13px 30px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        letter-spacing: 0.04em;
        font-family: inherit;
        transition: background 0.2s, color 0.2s;
        text-decoration: none;
    }

    .contact-btn:hover {
        background: #ffffff;
        color: #1fb477;
    }

    /* Success message */
    .contact-success {
        display: none;
        margin-top: 1.5rem;
        font-size: 14px;
        color: #1fb477;
        letter-spacing: 0.04em;
    }

    /* Mobile */
    @media (max-width: 768px) {
        .contact-section {
            padding: 60px 0 80px;
        }

        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }

        .contact-form-row {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .contact-submit-row {
            flex-direction: column;
            align-items: flex-start;
        }

        .contact-btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* --- CUBE COOKIE WIDGET --- */
    .cookie-wrapper {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 360px;
        max-width: 90%;
        background-color: #f5f3f1 !important;
        padding: 25px !important;
        z-index: 9999999 !important;
        border-radius: 18px;
        box-shadow: 0 15px 50px rgba(0,0,0,0.8);
        border: 3px solid #1fb477;
        display: none;
        line-height: 1.4;
    }

    .cookie-wrapper.show { display: block !important; animation: ckFadeUp 0.5s ease; }
    @keyframes ckFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

    .cookie-title { font-family: "Geologica", sans-serif !important; color: #1fb477 !important; margin: 0 0 10px 0 !important; font-size: 1.3rem !important; text-align: left; }
    .cookie-text { font-family: "Geologica", sans-serif !important; font-size: 0.85rem !important; color: #1fb477 !important; margin: 0 0 20px 0 !important; text-align: left; }
    .cookie-text a { color: #1fb477; text-decoration: underline; }

    /* Buttons Layout */
    .cookie-btn-stack { display: flex; flex-direction: column; gap: 8px; width: 100%; }
    .cookie-btn-group { display: flex; gap: 8px; width: 100%; }

    /* Button Styles - Independent Classes */
    .cookie-btn-primary, .cookie-btn-outline, .cookie-btn-settings {
        font-family: "Geologica", sans-serif !important;
        text-transform: none !important;
        border-radius: 50px !important;
        cursor: pointer !important;
        border: none;
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
        transition: 0.3s;
        text-align: center;
        display: inline-block;
    }

    .cookie-btn-primary { background: #1fb477 !important; color: #fff !important; width: 100%; }
    .cookie-btn-outline { background: transparent !important; border: 1px solid #1fb477 !important; color: #1fb477 !important; flex: 1; }
    .cookie-btn-settings { background: rgba(255,255,255,0.1) !important; color: #1fb477 !important; flex: 1; }

    .cookie-btn-link { background: transparent; color: #777A80; text-decoration: underline; font-size: 0.8rem; border: none; cursor: pointer; margin-top: 5px; }

    /* Settings List */
    .cookie-options-list { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; margin-bottom: 20px; }
    .cookie-opt-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
    .opt-info strong { display: block; color: #fff; font-size: 0.85rem; font-family: "Geologica"; }
    .opt-info span { font-size: 0.7rem; color: #777A80; font-family: "Geologica"; }

    /* Toggle Slider */
    .ck-switch { position: relative; width: 34px; height: 18px; display: inline-block; }
    .ck-switch input { opacity: 0; width: 0; height: 0; }
    .ck-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 20px; }
    .ck-slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
    input:checked + .ck-slider { background-color: #1fb477; }
    input:checked + .ck-slider:before { transform: translateX(16px); }
    .is-locked .ck-slider { opacity: 0.4; background-color: #1fb477; }

    @media (max-width: 500px) { .cookie-wrapper { right: 5%; left: 5%; width: 90%; bottom: 20px; } }
    
    /* Result messages – toggled by show-result class */
    .contact-result {
        display: none;
        margin-top: 1.5rem;
        font-size: 14px;
        letter-spacing: 0.03em;
    }
    
    .contact-result.show-result {
        display: block;
    }
    
    .contact-result--success {
        color: #1fb477;
    }
    
    .contact-result--error {
        color: #e53e3e;
    }