* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  cursor:  url("cursor.cur") 16 16, auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #5c76ec 0%, #10318a 100%);
}
a{
  cursor:  url("cursor_2.cur") 16 16, pointer;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; padding: .5rem .75rem; background: #fff; border-radius: .5rem; box-shadow: 0 8px 16px rgba(0,0,0,.15); }

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: fixed; top: 0; width: 100%; z-index: 1000; transition: all 0.3s ease;
}
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.logo { font-size: 1.8rem; font-weight: bold; color: #4a5568; text-decoration: none; }

.menu-toggle { background: none; border: 0; font-size: 1.8rem; cursor: pointer; line-height: 1; }

.nav-links { list-style: none; gap: 2rem; align-items: center; }
.nav-links[hidden] { display: none; }
.nav-links a { text-decoration: none; color: #4a5568; font-weight: 500; transition: all 0.3s ease; position: relative; }
.nav-links a:hover { color: #667eea; transform: translateY(-2px); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background: #667eea; transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }

@media (min-width: 769px) {
  .nav-links { display: flex !important; }
  .menu-toggle { display: none; }
}

/* Focus styles */
a:focus-visible, button:focus-visible, .cta-button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #667eea; outline-offset: 3px; border-radius: 12px;
}

/* Hero Section */
.hero {
  height: 100vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  color: white; 
  position: relative;   
  overflow: hidden;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* First image fades in/out */
.fade1 {
  animation: fade1 8s infinite;
}

/* Second image fades in/out delayed */
.fade2 {
  animation: fade2 8s infinite;
}

@keyframes fade1 {
  0%, 45%   { opacity: 1; }
  50%, 0% { opacity: 0; }
}

@keyframes fade2 {
  0%, 45%   { opacity: 0; }
  50%, 0% { opacity: 1; }
}

.hero h1 { 
  font-size: 3.5rem; 
  margin-bottom: 1rem; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
  position: relative;
}

.hero p { 
  font-size: 1.3rem; 
  margin: 0 auto 2rem; 
  max-width: 600px; 
  z-index: 2; 
  position: relative;
  text-shadow: 0px 0px 6px black;
}

.cta-button {
  display: inline-block; padding: 15px 30px; background: rgba(255, 255, 255, 0.2); color: white; text-decoration: none; border-radius: 50px; border: 2px solid white; font-weight: bold; transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.cta-button:hover { background: white; color: #667eea; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); }

/* Teachers Section */
.teachers { padding: 100px 0; background: white; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #4a5568; }

.teachers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; margin-top: 3rem; }
.teacher-card { background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%); padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; position: relative; overflow: hidden; }
.teacher-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.teacher-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #667eea, #764ba2); }

/* Δίπλα-δίπλα avatar + κείμενο σε desktop */
.teacher-card{
  display:grid;
  grid-template-columns: 160px 1fr;
  align-items:center;
  gap:1.25rem;
}

/* Avatar ring + crop */
.avatar{
  --size: 110px;
  width: var(--size);
  height: var(--size);
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  padding: 3px; /* πάχος ring */
  background: linear-gradient(135deg,#667eea,#764ba2); /* ring */
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.avatar img{
  width: 100%;
  height: 100%;
  display:block;
  border-radius: 50%;
  object-fit: cover;       /* σωστό crop */
  object-position: center; /* κεντράρισμα προσώπου */
}


/* Κάθετη στο mobile */
@media (max-width: 720px){
  .teacher-card{ grid-template-columns: 1fr; }
  .avatar{ --size: 140px; }
}

/* Pricing */
.pricing { padding: 100px 0; background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pricing-card { background: white; padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); text-align: center; transition: all 0.3s ease; position: relative; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.pricing-card.featured { border: 3px solid #667eea; transform: scale(1.05); }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #4a5568; }
.price { font-size: 2.5rem; font-weight: bold; color: #667eea; margin-bottom: 1rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { padding: 0.5rem 0; color: #718096; }
.pricing-features li::before { content: '✓'; color: #48bb78; font-weight: bold; margin-right: 0.5rem; }

/* Calendar */
.calendar { padding: 100px 0; background: white; }
.calendar-container { background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%); padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; margin-top: 2rem; }
.calendar-day { background: white; padding: 1rem; border-radius: 10px; text-align: center; transition: all 0.3s ease; cursor: pointer; border: 0; }
.calendar-day:hover { background: #667eea; color: white; }
.calendar-day.available { border: 2px solid #48bb78; }

/* Teacher Schedule Toggle */
.teacher-toggle { 
  background: rgba(102, 126, 234, 0.1); 
  color: #667eea; 
  border: 2px solid #667eea; 
  padding: 12px 24px; 
  margin: 0 10px; 
  border-radius: 25px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: all 0.3s ease; 
}
.teacher-toggle:hover { 
  background: rgba(102, 126, 234, 0.2); 
  transform: translateY(-2px); 
}
.teacher-toggle.active { 
  background: #667eea; 
  color: white; 
  box-shadow: 0 5px 15px rgba(72, 72, 75, 0.3); 
}
/*disabled*/
.disabled {
  pointer-events: none;   /* blocks clicks to remember for other projects*/
  opacity: 0.5;           /* makes it look dimmed */
}

/*REVIEW FACEBOOK*/
.the_reviews{
  background: linear-gradient(135deg, #c0caf6 0%, #9bb6ff 100%);
  border: #10318a;
  backdrop-filter: blur(12px);
  padding: 30px;
  color: white;
  border-radius: 30px; 
  padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; position: relative; overflow: hidden; 

}

.the_reviews::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #667eea, #764ba2); }
.the_reviews:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }

/* Teacher Schedule Containers */
.teacher-schedule { 
  opacity: 0; 
  transform: translateY(20px); 
  transition: all 0.4s ease; 
  pointer-events: none; 
}
.teacher-schedule.active { 
  opacity: 1; 
  transform: translateY(0); 
  pointer-events: all; 
}
.teacher-schedule[hidden] { display: none; }

/* Registration */
.registration { padding: 100px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.form-container { background: white; padding: 3rem; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #4a5568; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 1rem; transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
.submit-btn { width: 100%; padding: 15px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); }

/* Footer */
footer { background: #2d3748; color: white; padding: 3rem 0; text-align: center; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer-section h3 { margin-bottom: 1rem; color: #667eea; }
.footer-section p, .footer-section li { color: #a0aec0; margin-bottom: 0.5rem; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .teachers-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher-toggle { margin: 5px; padding: 10px 20px; font-size: 0.9rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* === Styling για το όμορφο CTA === */
:root{
  --bg1:#f5f7ff;
  --bg2:#eef2ff;
  --card-bg: rgba(255,255,255,0.65);
  --border: rgba(17,24,39,0.08);
  --text:#0f172a;
  --muted:#475569;
  --fb:#1877F2;
  --ring: rgba(24,119,242,.25);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg1:#0b1220;
    --bg2:#0f172a;
    --card-bg: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --text:#e5e7eb;
    --muted:#a3adc2;
  }
}

.reviews-section{
  background: radial-gradient(1200px 600px at 20% -10%, var(--bg2), transparent 60%),
              radial-gradient(900px 500px at 100% 10%, var(--bg1), transparent 50%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  padding: 56px 16px;
  border-radius: 24px;
}

.reviews-shell{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.reviews-title{
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
  color: var(--text);
  letter-spacing: .2px;
}

.reviews-sub{
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: .95rem;
}

/* Card / Button */
.reviews-card{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 18px 18px 18px 14px;
  max-width: 840px;

  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.reviews-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.12);
  border-color: rgba(17,24,39,.12);
}

.reviews-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 8px var(--ring);
}

/* sheen effect */
.sheen{
  position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 25%, transparent 45%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  border-radius: inherit;
  pointer-events:none;
}
.reviews-card:hover .sheen{ transform: translateX(120%); }

/* Avatar / image */
.avatar{
  width: 72px; height: 72px; margin: 0 6px 0 0;
  border-radius: 16px; overflow: hidden; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--border);
}
.avatar img{ width: 100%; height: 100%; object-fit: cover; display:block; }

/* Meta content */
.meta{ text-align: left; }
.brand{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing:.2px; color: var(--text);
}
.fb-logo{ width: 20px; height: 20px; fill: var(--fb); }

.stars{
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; margin-bottom: 6px;
  color: var(--muted);
  font-weight: 600; font-size: .95rem;
}
.star{ width: 18px; height: 18px; fill: #fbbf24; opacity: .95; }
.score{ margin-left: 4px; opacity: .9; }

.headline{
  margin: 2px 0 0;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.25rem);
  color: var(--text);
}
.helper{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

/* CTA pill */
.cta{
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--fb), #3aa0ff);
  color: #fff; font-weight: 700;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(24,119,242,.35);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.reviews-card:hover .cta{
  transform: translateX(2px);
  box-shadow: 0 10px 26px rgba(24,119,242,.45);
}
.arrow{ width: 20px; height: 20px; fill: currentColor; }

/* Responsive */
@media (max-width: 640px){
  .reviews-card{ grid-template-columns: 56px 1fr; row-gap: 12px; }
  .cta{ grid-column: 1 / -1; justify-self: end; }
  .avatar{ width: 56px; height: 56px; border-radius: 12px; }
}


/* ========================= */
/* Terms Modal styles        */
/* ========================= */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
}
.terms-modal[hidden] { display: none; }
.terms-dialog {
  width: min(900px, 92vw);
  max-height: 85vh;            /* Κρατά το modal σταθερό σε όλη την οθόνη */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,.35);

  display: flex;               /* ΑΝΤΙ για grid */
  flex-direction: column;      /* Header, body, footer σε στήλη */

  overflow: hidden;            /* Απόλυτα σωστό για modal */
  position: relative;          /* Για το κουμπί X */
}
.terms-header { padding: 1.25rem 1.5rem; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.terms-header h2 { font-size: 1.4rem; }
.terms-body {
  padding: 1rem 1.25rem; overflow: auto; line-height: 1.7; color: #2d3748;
}
.terms-body h3 { margin: 1rem 0 .25rem; color: #4a5568; font-size: 1.1rem; }
.terms-body p { margin-bottom: .75rem; }
.terms-body ul { margin: .25rem 0 .75rem 1.25rem; }
.terms-actions {
  display: flex; gap: .75rem; align-items: center; justify-content: space-between; padding: .85rem 1rem; background: #f7fafc; border-top: 1px solid #e2e8f0;
}
.terms-left { display: flex; align-items: center; gap: .6rem; }
.btn { border: 0; padding: .75rem 1rem; border-radius: 10px; font-weight: 700; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: #edf2f7; color: #1a202c; }
.fineprint { font-size: .85rem; color: #718096; }
.required-badge { background:#edf2f7; color:#2d3748; padding:.25rem .5rem; border-radius:6px; font-size:.8rem; margin-left:.5rem; }





