/* =========================================================
   Base / Typography
========================================================= */
html {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-optical-sizing: auto;
}
body {
  margin: 0;
  line-height: 1.5;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  scroll-padding-top: 80px;
}
img { height: auto; }

/* Headings */
h1 { font-size: 2.8rem; line-height: 1.2; font-weight: 700; }
h2 { font-size: 2.2rem; line-height: 1.3; font-weight: 600; }
h3 { font-size: 1.8rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.5rem; line-height: 1.4; font-weight: 500; }
h5 { font-size: 1.2rem; line-height: 1.4; font-weight: 500; }
h6 { font-size: 1rem;   line-height: 1.5; font-weight: 500; }

/* Section link targets */
section { scroll-margin-top: 70px; }

/* Utilities */
html, body { overflow-x: hidden; }

/* =========================================================
   Navbar
========================================================= */
.navbar { min-height: 70px; }
#mainNavbar { min-height: 50px; }

.navbar-brand { font-weight: 700; }
.navbar .nav-link { font-weight: 500; transition: color .2s; }
.navbar .nav-link:hover { color: #0d6efd; }
.navbar .nav-link.active { color: #0d6efd; font-weight: 600; }

/* =========================================================
   Buttons
========================================================= */
.btn {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, #0d6efd, #5e9bff);
  border: none;
}

.btn.btn-lg { font-size: 1.1rem; padding: 12px 28px; }

.btn-gradient {
  background: linear-gradient(90deg, #10b981, #2563eb);
  color: #fff; font-weight: 700; padding: 12px 20px; border: none; border-radius: 8px;
  transition: transform .2s ease-in-out;
}
.btn-gradient:hover { transform: scale(1.05); }

.btn-glow { box-shadow: 0 0 15px rgba(0,123,255,.5); transition: transform .3s, box-shadow .3s; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(0,123,255,.8); }
.btn-glow-outline:hover { background:#fff; color:#0d6efd; }

/* =========================================================
   Hero
========================================================= */
.hero-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  padding: 120px 0; text-align: center; color: #fff;
  min-height: clamp(320px, 36vh, 520px);
}
.hero-section h1 { line-height: 1.2; font-size: clamp(1.9rem, 2.2vw + 1rem, 2.6rem); }
.hero-section .lead { line-height: 1.5; margin-bottom: 1rem; }
.hero-title { font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
.hero-subtitle { font-size: 1.3rem; color: #fff; }

.hero-graphics { position: relative; z-index: 1; }
.floating-icon {
  position: absolute; opacity: .8; width: 50px; height: 50px;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}
.icon-1 { top: 20%; left: 8%; }
.icon-2 { top: 25%; right: 10%; }
.icon-3 { bottom: 15%; left: 10%; }
.icon-4 { bottom: 10%; right: 5%; }

.wave-bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; overflow: hidden; display:block; }
.wave-bg svg { display:block; width:100%; height:100%; }

/* Hero banner (blog) */
.hero-banner { position: relative; width: 100%; height: 320px; border-radius: 8px; overflow: hidden; }
.hero-banner img { object-fit: cover; display: block; width: 100%; height: 100%; }

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff; text-align: center; padding: 20px;
}
.hero-overlay h1 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.hero-overlay .meta { font-size: .9rem; opacity: .9; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, #00d4ff, #0d6efd, #5e9bff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease infinite; background-size: 200%;
}

/* =========================================================
   Cards / Features
========================================================= */
.feature-box {
  padding: 30px; border-radius: 12px; background:#fff; text-align: center; height: 100%;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
  background: #f0f4ff;
}
.icon-box, .hero-icon { color:#2563eb; }
.icon-box { font-size: 36px; margin-bottom: 10px; }
.hero-icon { font-size: 64px; }

.service-box {
  background:#fff; transition: transform .3s, box-shadow .3s, background .3s, border-color .3s;
  border: 1px solid rgba(0,0,0,.05);
}
.service-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  background: linear-gradient(135deg, #f0f4ff, #ffffff);
}
.service-icon { font-size: 40px; transition: transform .3s; }
.service-box:hover .service-icon { transform: scale(1.2) rotate(5deg); }

.feature-item { transition: transform .3s; }
.feature-item:hover { transform: translateX(4px); }
.feature-icon { transition: transform .3s, color .3s; }
.feature-item:hover .feature-icon { transform: scale(1.3); }

/* Blog cards */
.article-card {
  border-radius: 12px; overflow: hidden; background:#fff;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 8px rgba(0,0,0,.06);
}
.article-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.article-card img { border-top-left-radius: 12px; border-top-right-radius: 12px; transition: transform .4s; }
.article-card:hover img { transform: scale(1.07); }
.article-card .card-body { padding: 1.25rem; }
.article-card .card-title { font-size: 1.05rem; font-weight: 600; line-height: 1.4; margin-bottom: .5rem; color: #1e293b; }
.article-card .card-text { font-size: .9rem; color: #6b7280; min-height: 60px; }
.article-card .badge { font-size: .7rem; background:#2563eb; color:#fff; border-radius:4px; padding:.25rem .5rem; }
.article-card .btn { border-radius: 8px; font-size: .85rem; font-weight: 500; }
.article-card .btn:hover { background:#2563eb; color:#fff; }

/* =========================================================
   Footer
========================================================= */
.footer {
  background:#1e293b; padding: 40px 0; color:#fff; font-size:14px;
}
.footer a {
  color:#f1f5f9; text-decoration: underline; font-weight: 500; display:inline-block;
  padding: 6px 0; line-height: 1.4; min-height: 40px;
}
.footer a:hover { color:#ffd700; text-decoration: none; }
.footer .bi { font-size: 1.3rem; padding: 8px; }
.footer ul li { margin-bottom: 6px; }

/* =========================================================
   About section (parallax bg)
========================================================= */
.about-section {
  position: relative;
  background-image: url('https://res.cloudinary.com/dsvoat3ac/image/upload/f_auto,q_auto/v1754551682/about-bg-image.png');
  background-repeat: no-repeat; background-size: contain; background-position: center; background-attachment: fixed;
  min-height: 600px; color: #fff;
}
.about-section::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, .6) 100%);
  z-index: 1;
}
.about-section .container { position: relative; z-index: 2; }
.about-img { transition: transform .6s ease, box-shadow .3s ease; }
.about-img:hover { transform: scale(1.05); }

/* =========================================================
   Article (blog page)
========================================================= */
.article-content p, .article-content li { font-size: 1.05rem; line-height: 1.9; }

.article-sidebar {
  position: sticky; top: 90px; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); padding: 20px;
}
.article-sidebar h5 { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; }

.article-item {
  display:flex; align-items:center; margin-bottom:10px; padding:6px 8px; border-radius:8px;
  background:#f8f9fa; transition: background .2s, transform .2s;
}
.article-item:hover { background:#e9ecef; transform: translateX(4px); }
.article-item img { width:50px; height:50px; border-radius:6px; object-fit:cover; margin-right:10px; }
.article-item a { color:#333; text-decoration:none; font-size:.95rem; font-weight:500; line-height:1.3; }
.article-item a:hover { color:#0d6efd; }

.tag-badge {
  display:inline-block; background:#e9ecef; color:#333; padding:6px 12px; border-radius:20px; font-size:.9rem;
  margin:3px; transition: background .2s, color .2s;
}
.tag-badge:hover { background:#0d6efd; color:#fff; }

/* Breadcrumb (hero overlay) */
.modern-breadcrumb {
  display:flex; justify-content:center; align-items:center; flex-wrap:wrap;
  font-size:.9rem; gap:6px; color: rgba(255,255,255,.9);
  opacity: 0; transform: translateY(-10px); animation: fadeInUp .6s ease forwards;
}
.modern-breadcrumb .crumb { text-decoration:none; color: rgba(255,255,255,.9); transition: color .2s; }
.modern-breadcrumb .crumb:hover { color:#fff; }
.modern-breadcrumb .divider { color: rgba(255,255,255,.5); }
.modern-breadcrumb .current { color:#fff; font-weight:600; }

/* =========================================================
   FAQ – main block (in-content)
========================================================= */
.article-faq { scroll-margin-top: 96px; }
.faq-grid { display: grid; gap: 12px; }
@media (min-width: 992px){ .faq-grid { grid-template-columns: 1fr 1fr; } }

.faq-item {
  border: 1px solid #e5e7eb; border-radius: 12px; background:#fff; overflow:hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { box-shadow: 0 6px 20px rgba(0,0,0,.06); border-color: #dbe2f0; }
.faq-item summary {
  list-style:none; cursor:pointer; padding:14px 16px; display:flex; align-items:center; gap:10px; font-weight:600; position:relative;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item .chev {
  margin-left: auto; width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2;
  transform: rotate(-90deg); transition: transform .2s, opacity .2s; opacity:.7;
}
.faq-item[open] .chev { transform: rotate(0deg); opacity:1; }
.faq-item .faq-q { color:#0f172a; }
.faq-item .faq-a { padding: 0 16px 16px; color:#374151; }
.faq-item .faq-a p { margin-bottom: .6rem; }
.faq-item .faq-a ul { margin: .4rem 0 .8rem 1.2rem; }
.faq-item:hover { border-color:#cbd5e1; }

/* =========================================================
   FAQ – sidebar widget (accordion tender)
========================================================= */
.article-sidebar .faq-list { display:flex; flex-direction:column; gap:10px; margin-top:10px; }

.article-sidebar .faq-item {
  border:1px solid #e6e6e6; border-radius:8px; background:#fafafa; overflow:hidden;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.article-sidebar .faq-item[open] { background:#fff; border-color:#ddd; box-shadow:0 1px 3px rgba(0,0,0,.05); }

.article-sidebar .faq-item summary {
  list-style:none; padding:14px 16px; cursor:pointer; font-weight:600; font-size:.9rem;
  display:flex; justify-content:space-between; align-items:center; border-radius:8px; background:#fafafa;
  transition: background .25s;
}
.article-sidebar .faq-item summary::-webkit-details-marker { display:none; }
.article-sidebar .faq-item summary:hover { background:#f0f0f0; }

.article-sidebar .faq-item .chev {
  width:18px; height:18px; stroke:currentColor; stroke-width:2; fill:none; flex:0 0 auto;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.article-sidebar .faq-item[open] .chev { transform: rotate(180deg); }

/* Tender motion */
.article-sidebar .faq-item .faq-a {
  padding: 0 16px 14px 16px; color:#333; font-weight:400;
  overflow:hidden; height:0; opacity:0; transform: translateY(-4px);
  will-change: height, opacity, transform;
  transition:
    height .45s cubic-bezier(.25,.8,.25,1),
    opacity .35s ease,
    transform .35s ease;
}
.article-sidebar .faq-item[open] .faq-a { opacity:1; transform: translateY(0); }

/* =========================================================
   Modals (Security)
========================================================= */
#securityModal .modal-content { border-radius: 16px; }
#securityModal .btn { transition: transform .2s; font-size: 1.1rem; padding: 10px 20px; flex: 0 0 auto; min-width: 120px; white-space: nowrap; }
#securityModal .btn:hover { transform: translateY(-2px); }
#securityModal .custom-modal { max-width: 700px; width: 100%; margin: 1.75rem auto; }

.modal { overflow-x: hidden !important; }

/* =========================================================
   Gauges (single source of truth)
========================================================= */
.gauge-container { width: 180px; height: 180px; position: relative; }
.gauge {
  width:100%; height:100%; border-radius:50%;
  background: conic-gradient(#10b981 0%, #e5e7eb 0%);
  display:flex; align-items:center; justify-content:center; position:relative;
  transition: background 1s ease;
}
.gauge-fill { width:100%; height:100%; }
.gauge-cover { position:absolute; font-size:1.6rem; font-weight:700; color:#111827; transition: color .5s ease; }

/* =========================================================
   Quiz / Progress / Categories
========================================================= */
.quiz-btn {
  padding: 15px 20px; font-size: 1.2rem; border-radius: 8px; transition: background-color .2s, color .2s;
}
.quiz-btn.yes { background:#10b981; color:#fff; }
.quiz-btn.yes:hover { background:#059669; }
.quiz-btn.no { background:#ef4444; color:#fff; }
.quiz-btn.no:hover { background:#dc2626; }

.fade-in { animation: fadeIn .5s ease-in-out; }

.score-bar { height: 12px; border-radius: 6px; background:#e5e7eb; margin: 6px 0; }
.score-fill { height:100%; border-radius: 6px; background: linear-gradient(90deg, #10b981, #2563eb); width: 0; }

.category-score { margin-bottom: 12px; }
.category-label { display:flex; justify-content:space-between; font-size:.9rem; font-weight:600; }
.category-bar { background:#e5e7eb; border-radius:6px; overflow:hidden; height:8px; margin-top:4px; }
.category-bar-fill { height:100%; transition: width .5s ease-in-out; }
.category-bar-fill.low { background:#ef4444; }
.category-bar-fill.medium { background:#f59e0b; }
.category-bar-fill.high { background:#10b981; }

.category-card {
  background:#f9fafb; border-radius:10px; padding:12px 16px; margin-bottom:12px;
  display:flex; align-items:center; gap:12px; box-shadow:0 1px 3px rgba(0,0,0,.08);
  transition: transform .2s;
}
.category-card:hover { transform: scale(1.02); }
.category-icon { font-size:1.5rem; }
.category-info { flex:1; }
.category-name { font-weight:600; margin-bottom:4px; }
.category-progress { background:#e5e7eb; border-radius:6px; height:8px; overflow:hidden; }
.category-progress-fill { height:100%; transition: width .4s ease; }

/* =========================================================
   Animations
========================================================= */
.animate-logo { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s ease forwards; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%{transform:translateY(0)} 50%{transform:translateY(-10px)} 100%{transform:translateY(0)} }
@keyframes gradientMove { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 992px) {
  .hero-title { font-size: 2.2rem; }
  .hero-section p.lead { font-size: 1.05rem; }
  .floating-icon { width: 40px; height: 40px; }
}

@media (max-width: 768px) {
  .hero-section { padding: 80px 15px; }
  .hero-title { font-size: 1.8rem; }
  .hero-section p.lead { font-size: 1rem; }
  .btn.btn-lg { font-size: 1rem; padding: 10px 20px; }
  .floating-icon { display: none; }

  #securityModal .custom-modal { max-width: 95% !important; margin: 0 auto; }
  #securityModal .btn { min-width: 100px; font-size: .9rem; }
}

@media (max-width: 576px) {
  .form-control-lg { font-size: 1rem; padding: .5rem .75rem; }
}

/* Απαλή μετάβαση — το πραγματικό height το ελέγχει το JS */
.faq-item .faq-a {
  overflow: hidden;
  height: 0;                 /* κλειστό by default */
  opacity: 0;
  transform: translateY(-4px);
  will-change: height, opacity, transform;
  transition:
    height 500ms cubic-bezier(.22,1,.36,1),
    opacity 400ms ease,
    transform 400ms ease;
}

.pricing-card.pricing-highlight {
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
}
.pricing-card.pricing-highlight .card-subtitle { color: rgba(255,255,255,.85) !important; }
.pricing-card.pricing-highlight .list-unstyled li { color: #f8fafc; }
.pricing-card.pricing-highlight .btn { color: #0f172a; background:#fff; border: none; }
.pricing-card.pricing-highlight .btn:hover { filter: brightness(0.96); }

.hover-zoom {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-zoom:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}


  /* Γρήγορο first paint + offset για fixed navbar */
  body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
  #mainNavbarWrapper{min-height:56px}
  @media (min-width:992px){#mainNavbarWrapper{min-height:64px}}
  main{padding-top:72px}
  img{height:auto}

  /* Critical navbar rules για να μην αλλάζει το ύψος όταν έρθει το Bootstrap */
  .navbar {min-height:56px}
  @media (min-width:992px){.navbar{min-height:64px}}
  .navbar-nav{margin-bottom:0 !important}
  .navbar .nav-link{padding:.5rem .75rem}
  
  
  
   /* Γρήγορο first paint + offset για fixed navbar */
  body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
  #mainNavbarWrapper{min-height:56px}
  @media (min-width:992px){#mainNavbarWrapper{min-height:64px}}
  main{padding-top:72px}
  img{height:auto}

  /* Critical navbar rules για να μην αλλάζει το ύψος όταν έρθει το Bootstrap */
  .navbar {min-height:56px}
  @media (min-width:992px){.navbar{min-height:64px}}
  .navbar-nav{margin-bottom:0 !important}
  .navbar .nav-link{padding:.5rem .75rem}
  
  
  
 /* Trust / Badges Section */
.trust-strip {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 2rem 0 1.5rem;
}
.trust-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1b1f23;
  margin-bottom: 0.3rem;
}
.trust-title strong { color: #0057ff; }
.trust-sub {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.trust-list {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  list-style: none; margin: 0; padding: 0;
}
.trust-item img {
  height: 44px; width: auto;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.1));
  opacity: .95; transition: transform .2s ease, opacity .2s ease;
}
.trust-item a:hover img { transform: scale(1.04); opacity: 1; }

@media (max-width: 576px){
  .trust-title { font-size: 1.15rem; }
  .trust-sub { font-size: 0.9rem; }
  .trust-list { gap: 1rem; }
  .trust-item img { height: 38px; }
}
