/*
Theme Name: U Studies ΚΔΒΜ
Theme URI: https://ustudies.gr
Description: A modern, clean and minimal theme built for the website of U Studies ΚΔΒΜ.
Author: U Studies
Author URI: https://ustudies.gr 
Version: 1.0.0
Text Domain: ustudies

*/

/* ── CSS Variables ────────────────────────────────────────── */
:root {
    --ustudies-color-primary:    #0047cc;
    --ustudies-color-secondary:  #001f6b;
    --ustudies-color-accent:     #00b4d8;
    --ustudies-color-light:      #f0f4ff;
    --ustudies-color-white:      #ffffff;
    --ustudies-color-text:       #1a1a2e;
    --ustudies-color-muted:      #6b7280;
    --ustudies-color-border:     #e2e8f0;

    --ustudies-font-heading:     'Plus Jakarta Sans', sans-serif;
    --ustudies-font-body:        'Inter', sans-serif;

    --ustudies-radius:           6px;
    --ustudies-radius-lg:        12px;
    --ustudies-shadow-sm:        0 1px 3px rgba(0,0,0,.05);
    --ustudies-shadow-md:        0 4px 16px rgba(0,71,204,.08);
    --ustudies-transition:       0.2s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ustudies-font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ustudies-color-text);
    background-color: var(--ustudies-color-white);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ustudies-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ustudies-color-secondary);
    margin-top: 0;
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1.25em; }

a {
    color: var(--ustudies-color-primary);
    text-decoration: none;
    transition: opacity var(--ustudies-transition);
}
a:hover { opacity: 0.8; }

img, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5em; margin-top: 0; margin-bottom: 1.25em; }
li { margin-bottom: 0.4em; }

/* ── Layout ───────────────────────────────────────────────── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ── Elementor Support ────────────────────────────────────── */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}
.e-con-inner { max-width: 1200px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

 /* MENU */

#mainMenu .elementor-nav-menu a {
	justify-content: center;
}
#mainMenu .elementor-nav-menu--dropdown .elementor-sub-item {
	text-align: center;
	font-size: 22px;
	line-height: 30px!important;
}
#mainMenu .elementor-nav-menu--dropdown a {
	padding-bottom: 15px!important;
}
.elementor-28 .elementor-element.elementor-element-5624c88 .elementor-nav-menu--dropdown .elementor-item{
	
}
 /* END MENU */

 /* FORM */

#form-field-perifereia option, #form-field-programma option  {
    color: #000000 !important;
    background-color: #ffffff !important;
}
.elementor-button[type="submit"] {	
	cursor: pointer;
}
 /* END FORM */

/* NEWSLETTER */

#newsletter form .elementor-form-fields-wrapper .e-form__buttons button{
    position: absolute;
    top: -80px;
}

@media (max-width: 559px){
	#newsletter form .elementor-form-fields-wrapper .e-form__buttons button{
    	position:absolute;
    	top:-109px;
	}
}
@media (max-width: 356px){
	#newsletter form .elementor-form-fields-wrapper .e-form__buttons button{
    	position:absolute;
    	top:-135px;
	}
}
/* BACK TO TOP  */

#fu-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #000F9F;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 9999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
#fu-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#fu-back-to-top:hover {
  background: #3a3a3a;
}

@media (max-width: 767px) {
  #fu-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}
/* END BACK TO TOP  */

/* STICKY BTN */
.fu-cta-sticky {
  transform: translateY(-50%);
  border-radius: 50px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #000F9F;
  color: #fff;
  padding: 8px 8px 8px 26px;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0, 15, 159, 0.35)!important;
}
.fu-cta-icon {
  display: inline-flex;
  flex: 0 0 auto;
}
.fu-cta-icon img {
  display: block;
  width: 32px;
  height: 32px;
}
.fu-cta-text-sticky {
  white-space: nowrap;
}

/* ===== Tablet / mobile: collapse to icon, expand on tap ===== */
@media (max-width: 1024px) {
  .fu-cta-sticky {
    padding: 10px;
    gap: 0;
    transition: padding 0.35s ease, gap 0.35s ease, box-shadow 0.25s ease;
  }
  .fu-cta-text-sticky {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.35s ease, opacity 0.25s ease;
  }
  .fu-cta-sticky.is-open {
    padding: 8px 8px 8px 26px;
    gap: 16px;
  }
  .fu-cta-sticky.is-open .fu-cta-text-sticky {
    max-width: 220px;
    opacity: 1;
  }
  .fu-cta-sticky:not(.is-open) {
    animation-name: fuCtaPulse !important;
    animation-duration: 2s !important;
    animation-timing-function: ease-in-out !important;
    animation-iteration-count: infinite !important;
  }
}

@keyframes fuCtaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(41, 128, 211, 0.4);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(41, 128, 211, 0);
  }
}
/* END STICKY BTN */

.cookie-notice-container {
	background-color: #608EAC!important;
	font-family: "Geologica", Sans-serif;
}
#cookie-notice .cn-button {
	background-color: white!important;
	color: black!important;
	font-family: "Geologica", Sans-serif!important;
}
.cookie-revoke-container { display: none !important; }