﻿/* =========================================================
   GLOBAL
   ========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
    margin:0;
    padding:0;
}

:root {
    --vgk-primary: #0A2A66;
    --bs-heading-color: var(--vgk-primary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030; /* πάνω από content */
    background: #fff; /* για να μη φαίνεται το hero από κάτω */
}

    /* Προαιρετικό: να μην «διπλασιάζεται» το shadow */
    .site-header .navbar {
        box-shadow: none !important;
    }


.navbar .nav-link {
    color: #2c3e50;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

    .navbar .nav-link:hover {
        background-color: rgba(13, 110, 253, 0.08);
        color: #0d6efd;
    }

    /* ACTIVE STATE */
    .navbar .nav-link.active {
        background-color: transparent;
        color: #0d6efd !important;
        border-bottom: 2px solid #0d6efd;
        border-radius: 0;
    }

        /* icon inside active */
        .navbar .nav-link.active i {
            color: #ffffff;
        }

section[id] {
    scroll-margin-top: 90px; /* ρύθμισέ το περίπου στο ύψος του navbar */
}

[id^="CID_"] {
    scroll-margin-top: 96px;
}

.hero-section {
    --bs-heading-color: #fff;
}

.hero-logo {
    max-width: 320px;
    border-radius:5px;
}

.project-hero-logo-img {
    max-width: 320px;
    border-radius: 5px;
}

.page-motto {
    font-size: .85rem;
    letter-spacing: .22em;
    font-weight: 600;
    opacity: .8;
    margin-bottom:0.5rem;
}

    .hero-section.project-hero .project-hero-container {
        position: relative;
        padding-bottom: 3.0rem; /* χώρο για τα badges */
    }

    .hero-section.project-hero .project-hero-footer {
        display: flex;
        justify-content: center;
        margin-top: 1.8rem;
        padding-bottom: 1.4rem; /* δίνει “βάση” στο hero */
    }

.hero-section.project-hero {
    --hero-glass-bg: rgba(255,255,255,0.12);
    --hero-glass-border: rgba(255,255,255,0.20);
}

    .hero-section.project-hero .project-hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: .55rem;
        justify-content: center;
        padding: .55rem 1rem;
        border-radius: 999px;
        /*background: var(--hero-glass-bg);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid var(--hero-glass-border)*/;
    }

        /* badge look */
        .hero-section.project-hero .project-hero-badges .badge {
            background-color: #ffffff;
            color: #0A2A66;
            font-size: 0.75rem;
            font-weight: 500;
        }

.aboutlogo {
    border:1px solid #ddd;
    border-radius:5px;
    margin-left:-15px;
}

.underlogo {
    margin-top:10px;
    font-size:1.15rem;
}

.underlogoadd {
    font-size: 0.8rem;
}

/* =========================================================
   TOP INFO BAR
   ========================================================= */


.top-info-bar {
    background-color: #0078d4;
    color: #fff;
    padding: 0.35rem 0.75rem;
    font-size: 1rem;
    letter-spacing :1px;
}

    .top-info-bar a {
        color: #fff;
        text-decoration: underline;
    }


/* =========================================================
   HERO SECTION + GRADIENT
   ========================================================= */

.hero-section {
    background-color: #001b3a;
    background: radial-gradient(circle at top left, #0078d4 0, #001529 55%, #000 100%);
    color: #fff;
    margin-bottom:30px;
}

@media (min-width: 992px) {
    .hero-section .container {
        padding-top: 2.5rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Pill label ("Digital Transformation") */
.hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Main hero title */
.hero-title {
    font-size: clamp(2.2rem, 1vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Hero buttons */
.hero-btn-primary,
.hero-btn-secondary {
    border-radius: 999px;
    padding-inline: 1.8rem;
    font-weight: 500;
}

    .hero-btn-secondary:hover {
        color: #fff;
        background-color: rgba(255,255,255,0.15);
    }

/* =========================================================
   HERO STATS (30+ years, Microsoft stack, etc.)
   ========================================================= */

.hero-stats {
    margin-top: 1.5rem;
}

.hero-stat {
    font-size: 0.85rem;
}

.hero-stat-number {
    font-weight: 600;
    color: #ffffff;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.8);
}


/* =========================================================
   HERO RIGHT CARDS GRID
   ========================================================= */

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .hero-card-grid {
        grid-template-columns: 1fr;
    }
}

.hero-card {
    background: rgba(3, 18, 46, 0.9);
    border-radius: 0.8rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}

.hero-card-title {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.hero-card-link {
    font-size: 0.8rem;
    color: #aad4ff;
    text-decoration: none;
}

    .hero-card-link:hover {
        text-decoration: underline;
    }


/* =========================================================
   LANGUAGE SWITCHER (YOUR VERSION)
   ========================================================= */

.lang-btn {
    background-color: white;
    width: 34px;
    height: 34px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    opacity: 40%;
    border: 0;
    border-radius: 4px;
}

    .lang-btn:hover {
        opacity: 75%;
    }

    .lang-btn.active {
        opacity: 100%;
    }

.flag-icon {
    width: 30px;
    height: 20px;
    object-fit: cover;
}


/* =========================================================
   FOOTER (μπορούμε να εμπλουτίσουμε αργότερα)
   ========================================================= */
/* Footer wrapper */
.site-footer {
    background-color: #eef1f4;
    border-top: 3px solid #a0a0a0;
    margin-top: 3rem;
}

/* Top area */
.footer-top {
    padding: 2.5rem 0;
}

/* Titles */
.footer-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footerlogo {
    width: 100%;
    height:90px;
    margin: -20px 0 0 -110px;
}


.footer-heading {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #222;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.4rem;
    }

    .footer-links a {
        color: #333;
        text-decoration: none;
        transition: color 0.15s;
        font-size:0.9rem;
    }

        .footer-links a:hover {
            color: #0078d4;
            text-decoration: underline;
        }

    .footer-links .brand {
        font-size:0.8rem;
    }
/* Bottom strip */
.footer-bottom {
    background-color: #fff;
    border-top: 1px solid #000;
}

.footer-legal {
    color: #666;
    text-decoration: none;
}

    .footer-legal:hover {
        text-decoration: underline;
        color: #0078d4;
    }


.explore-card {
    border-radius: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .explore-card:hover {
        transform: translateY(-3px);
        box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
    }

.explore-badge {
    background-color: #0A2A66;
    color: #FFF;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 12px;
}

.section-header-table {
    display: table;
    width: 100%;
}

.section-icon-cell,
.section-title-cell {
    display: table-cell;
    vertical-align: middle; /* SVG ↔ τίτλος */
}

.section-icon-cell {
    width: 40px; /* σταθερός χώρος για το icon */
    padding-right: 12px;
}

.section-icon-img {
    width: 32px;
    height: 32px;
    display: block;
}
.section-badge {
    background-color: #0A2A66;
    color: #FFF;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 12px;
    margin:0.6rem 0 1rem 0;
}

/* Τίτλος */
.section-title-cell h2 {
    margin: 0;
    padding: 0;
}

/* Subtitle: όταν υπάρχει icon, ξεκινάει κάτω από τον τίτλο, όχι κάτω από το icon */
.section-subtitle-with-icon {
    margin-left: 0px; /* 40 (icon) + 12 (gap) – προσαρμόζεις αν θες */
}


.icon-title-row {
    display: table;
    width: 100%;
}

.icon-cell,
.title-cell {
    display: table-cell;
    vertical-align: middle; /* εδώ γίνεται η δουλειά */
}

.icon-cell {
    width: 44px; /* σταθερός χώρος για το icon */
    padding-right: 12px;
}

.icon-img {
    width: 28px;
    height: 28px;
    display: block;
}

.icon-img-only {
    max-width: 200px;
    display: block;
    clear:both;
}

.navbar-brand img {
    height:100px;
    margin:-20px -60px -20px 0;
}

.section-header-table .bi, .title-cell .bi {
    margin-right: 10px;
    color: #0A2A66;
}

.contact_hdr {
    padding:10px;
    color:white;
    background-color: #0A2A66;
    border-radius:5px;
}

.card-body input, .card-body textarea {
    border: 1px solid #555;
}
.card-body label {
    font-weight:600;
    font-size:0.75rem;
} 

/* Sidebar container */
.sidebar .card {
    background-color: #0A2A66;
    color: #ffffff;
    border: none;
}

/* Card body text */
.sidebar .card-body {
    color: #ffffff;
}

/* Title */
.sidebar .fw-semibold {
    color: #ffffff;
}

/* Empty text */
.sidebar .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* List group reset */
.sidebar .list-group-item {
    background-color: transparent;
    color: #ffffff;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

    /* Subtitle */
    .sidebar .list-group-item .small {
        color: rgba(255, 255, 255, 0.7);
    }

/* Hover / focus */
.sidebar .list-group-item-action:hover,
.sidebar .list-group-item-action:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Back button */
.sidebar > .mt-3 .btn-outline-secondary {
    background-color: #0A2A66;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

    .sidebar > .mt-3 .btn-outline-secondary:hover {
        background-color: #0078d4;
        color: #fff;
    }

.project-icon-img {
    max-width: 300px !important;
    display: block;
}

.project .badge {
    color: #fff !important;
    background-color:#0A2A66 !important;
}

.section-visual-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Από διάφανο (αριστερά) -> πλήρες (δεξιά) */
    
}

.section-visual-img {

}

.section-visual-frame {
    background: inherit;
}

/* Προαιρετικό: στο mobile να αναπνέει */
@media (max-width: 991.98px) {
    .section-visual-frame {
        margin-top: .75rem;
    }

    .section-visual-img {
        opacity: .95;
    }
}

@media (max-width: 767px) {
    .section-visual-img {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.blankdiv {
    height:1px;
    width:100%;
    max-width:303px;
    border:1px solid #0A2A66;
    margin:15px 0 15px 0;
}

.related-projects {
    background: #f3f6fb;
    padding: 3rem 0 3.5rem;
    border-top: 1px solid #0A2A66;
}

.related-projects h2 {
    color: #0a2a66;
}

.related-projects .list-group {
    background: transparent;
}

.related-projects .list-group-item {
    background: #fff;
    border-color: #e3e8f1;
}

.related-projects .list-group-item:hover {
    background: #f8faff;
}


/* Project Stories sticky mini-header */
.ps-stickybar {
    position: fixed;
    top: var(--main-header-h, 0px);
    left: 0;
    right: 0;
    z-index: 1025;
    background: #0078d4;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-110%);
    transition: transform .18s ease-in-out;
    will-change: transform;
}

    .ps-stickybar.ps-show {
        transform: translateY(0);
    }

.ps-sticky-logo {
    height: 34px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(1.05);
}

.ps-sticky-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
}

.ps-sticky-client {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}

#psList {
    background-color:#0A2A66;
    border-radius:5px;
    padding:1rem;
}

    #psList .h3, #psList .text-muted {
        color: #fff !important;
    }

.pstorycard:hover {
    background-color: #e8e8e8;
}

.pstoryfooter {
    padding:0 5rem 0 5rem;
    margin-top:2rem;
    color:#0A2A66 !important;
    text-align:center;
    font-size:0.9rem;
    font-style:italic;
    letter-spacing:2px;
}

/* Cookie */

/* =========================
   Cookie Consent (Corporate)
   ========================= */

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.12); /* πιο διακριτικό */
    z-index: 1049;
}

/* Card */
.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 20px;
    width: min(420px, calc(100vw - 32px));
    background: #f9fafb; /* λιγότερο "άσπρο κουτί" */
    border-radius: 10px; /* πιο enterprise */
    border: 2px solid #0A2A66;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    z-index: 1050;
    padding: 14px 14px 12px 14px;
    /* subtle entrance */
    animation: cookieConsentIn 160ms ease-out;
}

@keyframes cookieConsentIn {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header */
.cookie-consent__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-consent__title {
    font-weight: 600;
    font-size: 0.90rem;
    letter-spacing: .1px;
    color: #1f2937; /* slate-ish */
}

/* Close button */
.cookie-consent__close {
    border: 0;
    background: transparent;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    line-height: 1;
    font-size: 20px;
    color: rgba(0,0,0,.55);
}

    .cookie-consent__close:hover {
        background: rgba(0,0,0,.05);
        color: rgba(0,0,0,.75);
    }

/* Body */
.cookie-consent__body {
    font-size: .82rem;
    line-height: 1.45;
    color: #0A2A66;
}

.cookie-consent__note {
    color: #0A2A66;
    font-size: .80rem;
}

/* Links row */
.cookie-consent__links {
    margin-top: 10px;
    font-size: .80rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0d6efd;
}

    .cookie-consent__links a {
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,.18);
    }

        .cookie-consent__links a:hover {
            border-bottom-color: rgba(0,0,0,.35);
        }

.cookie-consent__dot {
    opacity: .5;
}

/* Actions */
.cookie-consent__actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    /* Primary button */
    .cookie-consent__actions .btn-primary.btn-sm {
        padding: 6px 14px;
        font-size: .80rem;
        border-radius: 8px;
    }

    /* Secondary button: πιο "link-like" */
    .cookie-consent__actions .btn-outline-secondary.btn-sm {
        padding: 6px 12px;
        font-size: .80rem;
        border-radius: 8px;
        border-color: transparent;
        background: transparent;
        color: #0A2A66;
    }

        .cookie-consent__actions .btn-outline-secondary.btn-sm:hover {
            background: rgba(0,0,0,.04);
            color: #374151;
        }


.cookie-consent__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .cookie-consent__brand img {
        height: 58px; /* μικρό */
        width: auto;
        margin-right:50px;
    }
/* Mobile */
@media (max-width: 576px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }
}


/*********/