/* ========================================================================
   CSS RESET & NORMALIZATION
========================================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}
body {
  min-height: 100%;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
img {
  border-style: none;
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}
table {
  border-collapse: collapse;
}

/* ========================================================================
   CSS VARIABLES & BRANDING
========================================================================= */
:root {
  --color-primary: #156180;
  --color-primary-dark: #115072;
  --color-accent: #FFB628;
  --color-accent-contrast: #7f5300;
  --color-secondary: #F6F8FB;
  --color-bg: #FBFDFF;
  --color-white: #fff;
  --color-black: #262A2E;
  --color-grey: #8FA6B7;
  --color-green: #B8E6C0;
  --color-blue: #C6E6FA;
  --color-lilac: #ECE7F9;
  --color-pink: #FDE8EB;
  --color-shadow: rgba(20,55,125,0.06);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 24px;
  --shadow-sm: 0 2px 16px var(--color-shadow);
  --shadow-md: 0 4px 32px var(--color-shadow);
}

/* Montserrat & Roboto font import with fallback support */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  background: var(--color-bg);
  color: var(--color-black);
  font-family: var(--font-body);
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
    gap: 18px;
  }
}


/* ========================================================================
   TYPOGRAPHY & HEADINGS
========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

@media (max-width: 650px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
}

p,
ul,
ol {
  font-size: 1rem;
  color: var(--color-black);
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 400;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
.small, small { font-size: 0.92rem; color: var(--color-grey); }

hr {
  border: none;
  border-top: 1px solid #e6eaf0;
  margin: 32px 0;
}

/* ========================================================================
   HEADER & NAVIGATION
========================================================================= */
header {
  width: 100%;
  background: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(21,97,128,0.025);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  min-height: 70px;
}
header img {
  height: 46px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 500;
  padding: 5px 0;
  font-size: 1.1rem;
  opacity: 0.94;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-pink);
  color: var(--color-accent-contrast);
}
header nav .cta {
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 24px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(255,182,40,0.06);
  transition: box-shadow 0.22s, background 0.22s;
}
header nav .cta:hover,
header nav .cta:focus {
  background: #ffd983;
  color: var(--color-primary-dark);
  box-shadow: 0 6px 18px rgba(255,182,40,0.12);
}

/* Hide mobile button and menu by default on desktop */
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1024px) {
  header .container { padding: 0 8px; }
  header nav { gap: 16px; }
}
@media (max-width: 860px) {
  header nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 41;
    background: var(--color-pink);
    color: var(--color-primary-dark);
    border: none;
    padding: 8px 14px;
    border-radius: 38px;
    font-size: 2rem;
    box-shadow: 0 2px 12px var(--color-shadow);
    cursor: pointer;
    transition: background 0.18s;
  }
  .mobile-menu-toggle:hover {
    background: var(--color-accent);
    color: var(--color-white);
  }
}

/* ========================================================================
   MOBILE MENU OVERLAY
========================================================================= */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,248,251, 0.97);
  flex-direction: column;
  z-index: 1020;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-black);
  border: none;
  font-size: 2.2rem;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1101;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.16s;
}
.mobile-menu-close:hover { background: #ffd983; color: var(--color-primary); }

.mobile-nav {
  margin-top: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 16px;
  background: var(--color-white);
  transition: background 0.18s, color 0.17s;
  width: 90%;
  text-align: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-blue);
  color: var(--color-primary-dark);
}

@media (max-width: 860px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 861px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* ========================================================================
   MAIN LAYOUT & FLEXBOX PATTERNS
========================================================================= */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-sm);
  padding: 28px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--color-blue);
  color: var(--color-black);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: box-shadow 0.22s, background 0.17s;
  min-width: 0;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent-contrast);
  font-size: 1rem;
  margin-left: auto;
}
.testimonial-card p {
  color: var(--color-black);
  font-size: 1.06rem;
  margin: 0 0 0 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 850px) {
  .content-grid,
  .card-container {
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section {
    gap: 16px;
  }
}

/* ========================================================================
   ICONS & LISTS
========================================================================= */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.05em;
  font-family: var(--font-body);
  color: var(--color-black);
  line-height: 1.5;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ========================================================================
   PRIMARY BUTTONS & CTA
========================================================================= */
.cta,
button.cta,
input[type="submit"].cta {
  display: inline-block;
  background: linear-gradient(90deg, #FFD983 0%, #FFB628 100%);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 34px;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(255,182,40,0.10);
  border: none;
  margin-top: 6px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.21s, color 0.21s, box-shadow 0.23s;
}
.cta:hover,
.cta:focus {
  background: linear-gradient(270deg, #fff0a3 0%, #FFB628 100%);
  color: var(--color-black);
  box-shadow: 0 8px 34px rgba(255,182,40,0.16);
}

/* Micro-interactions for buttons */
.cta:active {
  transform: translateY(1px) scale(0.98);
}

/* ========================================================================
   TABLES & FAQ
========================================================================= */
table {
  width: 100%;
  margin-bottom: 18px;
  background: var(--color-white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 1.05rem;
}
thead {
  background: var(--color-blue);
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  color: var(--color-primary);
  font-weight: 500;
  background: var(--color-blue);
}
tbody tr:nth-child(even) {
  background: var(--color-lilac);
}

dl { margin-bottom: 18px; }
dl dt {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-top: 14px;
  font-size: 1.12em;
}
dl dd {
  margin: 0 0 12px 22px;
}

/* ========================================================================
   BADGES & CONTACT SHORTS
========================================================================= */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-green);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  margin: 8px 0 0 0;
  box-shadow: 0 1px 8px rgba(184,230,192,0.08);
}
.contact-short, .footer-contact-short {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1.02em;
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  background: var(--color-pink);
  padding: 13px 22px;
  border-radius: 18px;
  margin: 8px 0 0 0;
}
.contact-summary {
  display: flex; flex-direction: column; gap: 8px;
  margin: 10px 0;
  font-family: var(--font-body);
}

.contact-summary img{
	width: 50px
}
.map-embed {
  display: flex; align-items: center; gap: 12px;
  background: var(--color-blue);
  padding: 12px 18px;
  border-radius: 14px;
  margin-top: 9px;
}

/* ========================================================================
   FOOTER
========================================================================= */
footer {
  background: var(--color-secondary);
  padding: 30px 0 0 0;
  box-shadow: 0 -2px 10px rgba(21,97,128,0.02);
  border-top: 1.5px solid #eaf0f6;
  width: 100%;
  font-family: var(--font-body);
  color: var(--color-black);
}
.footer-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0 0 18px 0;
}
.footer-navigation nav {
  display: flex;
  gap: 22px;
}
.footer-navigation nav a {
  color: var(--color-primary-dark);
  opacity: 0.90;
  font-size: 1.05rem;
  transition: color 0.16s;
}
.footer-navigation nav a:hover {
  color: var(--color-accent-contrast);
}
.footer-navigation img {
  height: 42px;
}
.footer-contact-short {
  font-size: 1rem;
  background: var(--color-lilac);
  color: var(--color-primary-dark);
  gap: 6px;
  border-radius: 14px;
  margin-right: 0;
  box-shadow: 0 1px 5px var(--color-shadow);
  margin-top: 0;
}
.footer-legal {
  padding: 15px 0 11px 0;
  font-size: 0.98rem;
  color: var(--color-grey);
  background: rgba(252,253,255,0.75);
  border-top: 1px solid #f2f4f7;
  text-align: center;
  font-family: var(--font-body);
}
.footer-legal nav {
  display: inline;
}
.footer-legal a {
  color: var(--color-black);
  opacity: 0.75;
  transition: color 0.14s;
}
.footer-legal a:hover { color: var(--color-primary); }
@media (max-width: 850px) {
  .footer-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-contact-short {
    padding: 8px 14px;
  }
}

/* ========================================================================
   COOKIE CONSENT BANNER
========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 -4px 24px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2200;
  padding: 20px 26px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.44s cubic-bezier(0.87,0,0,1), opacity 0.4s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-banner-title {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.17rem;
  font-weight: 700;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 15px;
  margin-top: 6px;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(255,182,40,0.08);
  margin-right: 6px;
  transition: background 0.18s;
}
.cookie-btn.reject {
  background: var(--color-lilac);
  color: var(--color-primary-dark);
}
.cookie-btn.settings {
  background: var(--color-blue);
  color: var(--color-primary-dark);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff0a3;
  color: var(--color-accent-contrast);
}

@media (max-width: 650px) {
  .cookie-banner {
    padding: 14px 6px;
    border-radius: 0;
    font-size: 0.98rem;
  }
  .cookie-banner-buttons { flex-direction: column; gap: 10px; }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(20,48,78,0.14);
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {from{opacity:0;} to{opacity:1;}}
.cookie-modal {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  color: var(--color-black);
  padding: 30px 42px 26px 32px;
  max-width: 420px;
  min-width: 290px;
  width: 96vw;
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-title {
  font-family: var(--font-display);
  color: var(--color-primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: var(--color-blue);
  border: none;
  border-radius: 11px;
  font-size: 1.5rem;
  padding: 5px 12px;
  cursor: pointer;
  color: var(--color-primary);
  transition: background 0.2s;
  z-index: 2;
}
.cookie-modal-close:hover {
  background: var(--color-pink);
  color: var(--color-black);
}
.cookie-consent-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-blue);
  border-radius: 13px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--color-accent);
  margin-right: 7px;
}
.cookie-category .essential {
  opacity: 0.7;
  font-style: italic;
  font-size: 0.96em;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 15px 6px 14px 4px;
    min-width: 94vw;
  }
}

/* ========================================================================
   PASTEL THEME ENHANCERS (soft_pastel details)
========================================================================= */
.section, .card, .testimonial-card, .trust-badge, .feature-item, .contact-short, .footer-contact-short, .cookie-category, .cookie-modal {
  /* Pastel background details for dreamy effect */
  /* Use single soft color for accessibility */
  box-shadow: 0 2px 16px var(--color-shadow);
}
body {
  background: linear-gradient(100deg, #fef6f5 0%, #f0f6fb 100%);
}
header, .footer-navigation, .footer-legal, .cookie-banner, .cookie-modal {
  background: var(--color-secondary);
}
.card, .testimonial-card {
  background: var(--color-blue);
}

/* ========================================================================
   FORMS & INPUTS
========================================================================= */
input, textarea, select {
  background: var(--color-white);
  border: 1.1px solid var(--color-blue);
  border-radius: 9px;
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 18px;
  color: var(--color-black);
  font-family: var(--font-body);
  transition: border .14s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 1px 8px #cedff7;
  outline: none;
}
label {
  margin-bottom: 7px;
  color: var(--color-primary-dark);
  display: block;
  font-family: var(--font-display);
  font-size: 0.99rem;
}

/* ========================================================================
   ANIMATIONS
========================================================================= */
.fade-in {
  animation: fadeIn 0.6s ease;
}
.slide-in-bottom {
  animation: slideInBottom 0.7s cubic-bezier(.4,.11,.66,1.04);
}
@keyframes slideInBottom {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================
   MISC & UTILITIES
========================================================================= */
img[alt^="Aggroridis"] {
  filter: none;
  transition: filter 0.18s;
}
img[alt^="Aggroridis"]:hover {
  filter: brightness(1.08) saturate(1.2);
}

.main { min-height: 52vh; }
.text-center { text-align: center; }
.flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }
.gap-28 { gap: 28px; }
.space-between { justify-content: space-between; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* Focus outlines for accessibility */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================================================
   RESPONSIVE FIXES & ENHANCEMENTS
========================================================================= */
@media (max-width: 650px) {
  .container { padding: 0 4px; }
  header .container { height: 62px; min-height: 44px; }
  .footer-navigation img { height: 34px; }
}

/* Prevent element overlapping & spacing guarantee */
.section, .card, .testimonial-card, .card-container, .card-content, .content-wrapper, .content-grid,
.feature-item, .text-image-section, .trust-badge, .footer-contact-short, .contact-short {
  margin-bottom: 20px;
}
.section:last-child,
.card:last-child,
.card-container:last-child,
.content-wrapper:last-child,
.content-grid:last-child,
.feature-item:last-child,
.text-image-section:last-child,
.trust-badge:last-child,
.footer-contact-short:last-child,
.contact-short:last-child {
  margin-bottom: 0;
}

/* TABLE RESPONSIVENESS */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tr { margin-bottom: 14px; }
  td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-blue);
    background: var(--color-white);
  }
}

/* ========================================================================
   PRINT (minimal tweaks)
========================================================================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {display:none!important;}
  body { color: var(--color-black); background: #fff; }
}
