/******************************************************************************
* Hack-n-Learn
*
* Template CSS file
*
* @version		1.0
* @package		hacknlearn
* @author		Apostolos Koutsoulelos <info@bitcraft-labs.gr>
* @license		Commercial
* @license url	http://www.bitcraft-labs.gr/licences/commercial.html
* 
* @copyright	Copyright (C) 2026 Apostolos Koutsoulelos. All rights reserved.
*
******************************************************************************/
@charset "UTF-8";

/* ================================ General ================================ */
:root {
	--primary: #01012b;
	--accent: #e63381;
	--card-bg: #0a0a3d;
	--text-dim: #b0b0d1;
	--glow: 0 0 15px rgba(230, 51, 129, 0.6);
	--border: rgba(230, 51, 129, 0.2);
	--cyber-blue: #0dcaf0;
}
body {
	background-color: var(--primary);
	color: #ffffff;
	font-family: 'IBM Plex Sans', sans-serif;
	overflow-x: hidden;
}
h1, h2, h3, .navbar-brand {
	font-family: 'Inter', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}
/* =========================== Custon Navigation =========================== */
.navbar {
	background: rgba(1, 1, 43, 0.9) !important;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(230, 51, 129, 0.2);
}
.navbar-brand span { color: var(--accent); }
.nav-link { 
	color: #fff !important; 
	font-size: 0.85rem; 
	margin-left: 1.5rem;
	transition: 0.3s;
}
.nav-link:hover { color: var(--accent) !important; text-shadow: var(--glow); }
/*.nav-link .fas { color: var(--accent); font-size: 16px; padding: 6px 2px; }*/
.nav-text  { 
	padding: 10px 0px;
}
/* ============================== Hero Section ============================= */
.hero-section {
	padding: 70px 0 80px;
	background: radial-gradient(circle at 80% 20%, #15154d, var(--primary));
}
/* ============================= Cyber Terminal ============================ */
.terminal-window {
	background: #000;
	border-radius: 6px;
	padding: 20px;
	border: 1px solid var(--accent);
	box-shadow: 0 15px 40px rgba(0,0,0,0.6);
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 0.9rem;
}
.t-magenta { color: var(--accent); }
.t-green { color: #00ff00; }
/* ============================= Cards & Boxes ============================= */
.cyber-card {
	background: var(--card-bg);
	border: 1px solid rgba(230, 51, 129, 0.1);
	border-left: 4px solid var(--accent);
	padding: 30px;
	transition: 0.4s;
	height: 100%;
}
.cyber-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--glow);
	background: #0d0d4d;
}
.cyber-card:hover h3 { text-shadow: 0 0 10px var(--accent); }
.survey-card, .survey-card-static {
	background-color: #0e0e4f;
	color: white;
	/*background-color: rgba(255, 255, 255);*/
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 8px solid var(--accent);
	border-radius: 12px;
	transition: all 0.3s ease;
}
.survey-card:hover { transform: translateY(-5px); }
.survey-meta {
	font-size: 0.75rem;
	letter-spacing: 1px;
	font-family: 'Inter';
}
.survey-card .survey-title, .survey-card-static .survey-title {
	color: var(--accent);
	margin-bottom: 1rem;
	font-family: 'Inter';
}
.survey-card .survey-text, .survey-card-static .survey-text {
	font-size: 0.95rem;
	line-height: 1.6;
	font-family: 'IBM Plex Sans';
}
.form-group legend { width: inherit; padding: 0 10px; }
.info-card {
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 4px solid var(--accent);
	border-radius: 15px;
	transition: all 0.3s ease-in-out;
}
.info-card:hover {
	background-color: rgba(255, 255, 255, 0.07);
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.icon-box {
	font-size: 2.5rem;
	filter: drop-shadow(0 0 5px rgba(255, 0, 127, 0.3));
}

.info-card .card-title {
	letter-spacing: 0.5px;
	margin-bottom: 15px;
}
.icon-box i {
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.4));
    transition: transform 0.3s ease;
}
.info-card:hover .icon-box i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.7));
}
/* ============================ Timeline / Steps =========================== */
.cyber-timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}
.timeline-dot {
    position: absolute;
    left: -33px; /* Ευθυγράμμιση με τη γραμμή */
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #050a30;
    border: 3px solid #fff;
    z-index: 2;
}
.dot-info { border-color: var(--cyber-blue); box-shadow: 0 0 10px var(--cyber-blue); }
.dot-magenta { border-color: var(--accent); box-shadow: 0 0 10px var(--accent); }
.dot-info-magenta { border-color: #fff; background: linear-gradient(45deg, var(--cyber-blue), var(--accent)); }
.dot-glow {
    background: var(--magenta-accent);
    border-color: #fff;
    animation: pulse-magenta 2s infinite;
}
@keyframes pulse-magenta {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}
.text-magenta { color: var(--accent); }
.uppercase { text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem; }
/* ===================== Feature Sections (Alternating) ==================== */
.feature-row { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.bg-alt { background-color: var(--card-bg); }
.visual-placeholder {
	width: 100%;
	height: 300px;
	background: #000014;
	border: 1px dashed var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	font-weight: bold;
}
@media only screen and (max-width:1100px) {
	.visual-placeholder { height: 200px; }
}
/* ================================ Buttons ================================ */
.btn-cyber {
	background: var(--accent);
	color: white;
	border: none;
	border-radius: 0;
	padding: 12px 30px;
	font-family: 'Inter';
	font-weight: 700;
	transition: 0.3s;
}
.btn-cyber:hover {
	background: transparent;
	color: white;
	box-shadow: var(--glow);
	outline: 1px solid var(--accent);
}
button.elx5_subbtn, button[type=submit].elx5_subbtn, button[type=button].elx5_subbtn, a.elx5_subbtn, a.elx5_subbtn:visited {
	background: var(--accent); border: 1px solid #cc1d6b; font-family: 'Inter', sans-serif; font-weight: 700; transition: 0.3s;
}
button.elx5_subbtn:hover, button[type=submit].elx5_subbtn:hover, button[type=button].elx5_subbtn:hover, a.elx5_subbtn:hover {
	background: #cc1d6b; border: 1px solid var(--accent);
}
/* ================================= Footer ================================ */
footer {
	background: #000014;
	padding: 25px 0 40px;
	border-top: 1px solid var(--border);
}
footer .fab { color: var(--accent); }
.footer-brand { color: var(--accent) !important; transition: 0.3s; text-decoration: none; }
.footer-brand:hover { text-decoration: underline; }
/* ============================== Contact map ============================== *//*
.map-section {
    overflow: hidden;
    margin-bottom: 60px;
}
#contactMap {
    width: 100%;
    height: 450px;
}
.map {	
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
/* ========================== toTop Button style =========================== */
.progress-wrap {
    position: fixed;
    bottom: 15px;
    right: 20px;
    height: 45px;
    width: 45px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    content: "\f077";
	color: var(--accent);
    text-align: center;
    line-height: 45px;
    font-size: 16px;
    font-weight: 900;
    left: 0;
    top: 0;
    height: 45px;
    width: 45px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap svg path {
    fill: none;
}
.progress-wrap svg.progress-circle path {
    stroke:  #ececec;
    stroke-width: 2;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 400ms linear;
    -o-transition: all 400ms linear;
    transition: all 400ms linear;
}
.progress-wrap {
    -webkit-box-shadow: inset 0 0 0 1px #ccc;
    box-shadow: inset 0 0 0 1px  #ccc;
}
.progress-wrap::after {
    color: var(--accent);
}
.progress-wrap svg.progress-circle path {
    stroke: var(--primary);
}
/* ============================= Owl Carousel ============================== */
.hero-section .owl-carousel .item {
	padding: 2px;
	display:flex;
	align-items:center;
}
/* ============================= Language ============================== */
.dropdown-img { width: 20px; height: 20px; }
/* ============================= Parallax ============================== */
.parallax {
	background-image: url("../images/parallax.webp");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
/* ========================== Article Layout =========================== */
main {
	flex-grow: 1;
	padding: 4rem 5%;
	max-width: 1200px;
}
.article-container {
	margin: 0 auto;
}
.article-container h1 {
	font-size: 3rem;
	font-family: 'IBM Plex Sans';
	margin-bottom: 1.5rem;
	line-height: 1.1;
	text-transform: capitalize;
	text-align: center;
}
@media only screen and (max-width:650px) {
	.article-container h1 { font-size: 2.5rem; }
}
.article-container h2 {
	font-size: 1.8rem;
	margin: 3rem 0 1rem;
	color: var(--secondary);
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.5rem;
	text-align: center;
}
.article-container p {
	margin-bottom: 1.5rem;
	color: var(--text-dim);
	font-size: 1.05rem;
}
.article-container ul li, .article-container ol li {
	color: var(--text-dim);
}
.article-container code {				/* --- Technical Elements --- */
	font-family: "B612", monospace;
	background: rgba(230, 51, 129, 0.1);
	color: var(--accent);
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
}
.article-container pre {
	background: #00001a;
	padding: 1.5rem;
	border-radius: 6px;
	border: 1px solid var(--border);
	margin: 2rem 0;
	overflow-x: auto;
	position: relative;
}
.article-container pre code {
	background: transparent;
	color: #00ff00;
	padding: 0;
}
.article-container .callout {
	background: var(--card-bg);
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	margin: 2rem 0;
	border-radius: 0 4px 4px 0;
}
.article-container .callout strong {
	color: var(--accent);
	display: block;
	margin-bottom: 0.5rem;
}
.article-container img { max-width: 300px; border: 1px solid var(--accent); transition: transform 0.3s ease; }
.article-container img:hover { transform: scale(1.05); }
.breadcrumb {						/* --- Breadcrumb pathway --- */
	font-size: 1.0rem;
	color: var(--accent);
	text-transform: uppercase;
	margin-bottom: 1rem;
	font-weight: 600;
}
.article-container video { border: 1px dashed var(--accent); padding: 5px; }
/* =================== Right TOC (Table of Contents) =================== */
.toc-wrapper {
	position: sticky;
	top: 5rem;
	height: fit-content;
	padding-left: 2rem;
	border-left: 1px solid var(--border);
	margin-left: 3rem;
	min-width: 200px;
}
.toc-title {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
	font-weight: 800;
}
.toc-link {
	display: block;
	font-size: 0.85rem;
	color: var(--text-dim);
	text-decoration: none;
	margin-bottom: 0.6rem;
	transition: 0.2s;
}
.toc-link:hover {
	color: var(--secondary);
}
@media (max-width: 1100px) {
	.toc-wrapper {
		display: none;
	}
}
/* ============================= Modal Windows ============================= */
.modal-content {
	margin:100px auto 0 auto; padding:20px; display:block; width:100%; max-width:480px; box-sizing: border-box;
	border-radius: 8px; background:#FFFFFF; border-top: 8px solid var(--accent); font-family: 'IBM Plex Sans', sans-serif;
}
.modal-title {
	margin:0 0 2px 0; border:none; font:bold 18px/25px 'Inter', sans-serif; color: #272727; text-align: center;
}
.modal-content .form-control {
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-content .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(255, 0, 127, 0.25);
}
.modal-invisible {
	display: none; visibility: hidden;
}
button[type=submit].btn-login, button[type=button].btn-login, button.btn-login {
	background: var(--accent); color: white; border: none; border-radius: 0; padding: 12px 30px;
	font-family: 'Inter', sans-serif; font-weight: 700; transition: 0.3s; width: 100%;
}
button[type=submit].btn-login:hover, button[type=submit].btn-login:hover, button.btn-login:hover {
	color: white; box-shadow: var(--glow); outline: 1px solid var(--accent); background: var(--accent);
}
/* ================================= Forms ================================= */
.survey_formhelp { margin:0 0 20px 0; padding:15px; background: none; border: 1px solid var(--cyber-blue); border-radius: 3px; font:normal 14px/20px "Roboto", Arial, sans-serif; color: #272727; }
.survey_formrow { margin:0 15 15px 0; padding:0; overflow:hidden; font-family: 'Inter'; }
.elx5_formrow { margin:0 15px 15px 0; padding:0; overflow:hidden; font-family: 'Inter'; }
.survey_formrow::after { content:''; display:table; clear: both; }
.survey_formrow div.elx5_tip { color: var(--text-dim); }
label.survey_formlabel, label.survey_formlabel {
	margin:0; padding:7px 0 0 0; display:block; float:left; width:180px; vertical-align:middle; box-sizing: border-box;
	color: var(--cyber-blue);
}
@media only screen and (max-width:650px) {
	label.survey_formlabel { margin:0 0 5px 0; padding:0; display:block; float:none; width:100%; }
	.elx5_labelside { margin:0; padding:0; }
}
.elx5_formside { margin:0 0 0 190px; padding:0; color:#272727; box-sizing: border-box; vertical-align: middle; }
.elxnorobot { background: none; border: 1px solid var(--cyber-blue); border-radius: 10px; vertical-align: middle;}
a.elxanorobot, a.elxanorobot:visited, a.elxanorobot:active, a.elxanorobot:hover, a.elxanorobot:link { color: var(--cyber-blue); vertical-align: middle; }
a.elxanorobot span, a.elxanorobot span.elxnorobotbox { width: 20px; height: 20px; vertical-align: middle; }
select.elx5_select:active, input.elx5_text:active, input[type="text"].elx5_text:active, input[type="number"].elx5_text:active, input[type="file"].elx5_text:active, input[type="date"].elx5_text:active, input[type="range"].elx5_text:active, input.elx5_datetime:active, input[type="text"].elx5_datetime:active, input[type="date"].elx5_datetime:active { border-color:var(--accent); }
select.elx5_select:hover, input.elx5_text:hover, input[type="text"].elx5_text:hover, input[type="number"].elx5_text:hover, input[type="file"].elx5_text:hover, input[type="date"].elx5_text:hover, input[type="range"].elx5_text:hover, input.elx5_datetime:hover, input[type="text"].elx5_datetime:hover, input[type="date"].elx5_datetime:hover { border-color:var(--accent); }
select.elx5_select:focus, input.elx5_text:focus, input[type="text"].elx5_text:focus, input[type="number"].elx5_text:focus, input[type="file"].elx5_text:focus, input[type="date"].elx5_text:focus, input[type="range"].elx5_text:focus, input.elx5_datetime:focus, input[type="text"].elx5_datetime:focus, input[type="date"].elx5_datetime:focus { border-color:var(--accent); }

.is_invalid { border: 1px solid var(--cyber-blue); animation: show_invalid 10s; }
@keyframes show_invalid {
    0% { border: 1px solid var(--cyber-blue); }
    25% { border: 1px solid var(--accent); }
    100% { border: 1px solid var(--cyber-blue); }
}
/* ================================= Users ================================= */
ul.elx5_user_threads li.elx5_user_nothreads, ul.elx5_user_threads li.elx5_user_nothreads:hover {
	background: var(--card-bg);
	border: none;
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	margin: 2rem 0;
	border-radius: 0 4px 4px 0;
}
#fmuserlogin .elx5_fieldset {
	background: var(--card-bg);
	border: none;
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	margin: 0 0;
	margin-bottom: 50px;
	border-radius: 0 4px 4px 0;
}
#fmuserlogin .elx5_fieldset legend { margin-bottom: 5px; }
#fmuserlogin .elx5_labelblock { color: var(--cyber-blue); }
#fmuserlogin .elx5_checkboxwrap { color: var(--cyber-blue); }
#fmrecover {
	background: var(--card-bg);
	border: none;
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	margin: 0 0;
	margin-bottom: 50px;
	border-radius: 0 4px 4px 0;
}
#fmrecover .elx5_labelblock { color: var(--cyber-blue); }
#elx5_user_languagebox, #elx5_user_timezonebox {
	background: var(--card-bg);
	border: none;
	border-left: 4px solid var(--accent);
	padding: 1.5rem;
	margin: 0 0;
	border-radius: 0 4px 4px 0;
}
#elx5_user_timezonebox { margin-bottom: 50px; }
/* ============================ Elxis CSS Rules ============================ */
.elx5_vlspace a { text-decoration: none; }
/* ============================ Elxis CSS Rules ============================ *//*
h2.smap_h2, h2.smap_h2 a, h2.smap_h2 a:visited, h2.smap_h2 a:hover, ul.smap_list li, ul.smap_list li a, ul.smap_list li a:hover, ul.smap_list li a:visited, .smap_pcopy, .smap_atop_main h2, .smap_atop_main div, a.smap_acfg, a.smap_acfg:visited, a.smap_acfg:hover, .smap_aversion, .smap_aversion span, .smap_adevel, .smap_mlrow, .smap_copy a, .smap_copy a:active, .smap_copy a:hover, .smap_copy a:visited, .smap_copy a:link, .smap_copy {
	font-family: 'IBM Plex Sans', sans-serif;
}
ul.smap_list li a span { color: #222220; }
ul.smap_list li { margin: 0 0 5px 0; }
h2.smap_h2 { margin-bottom: 15px; } 
h2.smap_h2 a, ul.smap_list li a { color: #666; }
h2.smap_h2 a:hover, ul.smap_list li a:hover { color: #000; }
a.elxanorobot, a.elxanorobot:visited, a.elxanorobot:active, a.elxanorobot:hover, a.elxanorobot:link { font: normal 14px/30px 'IBM Plex Sans', sans-serif;margin-bottom: 30px }
a.elxanorobot span, a.elxanorobot span.elxnorobotbox{ width: 20px; height:20px; border-width:1px; font:normal 20px/20px 'Font Awesome 5 Free' }
.elx5_success, .elx_notice, .elx_success, .elx5_warning, .elx_warning, .elx5_error, .elx_error { font-family: 'IBM Plex Sans', sans-serif; }
.modulang a { text-transform:uppercase;font-size:14px }
.modulang a::after { position: absolute;  content: '/';  right: -4px;  top: -4px; }
.modulang a:last-child:after { display:none; }

/* ========================================================================= */
