@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --accent: #ff6b5f;
  --text: #1c1d2a;
  --muted: #5f6275;
  --border: rgba(18, 22, 33, 0.08);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at top left,
      rgba(255, 107, 95, 0.3),
      transparent 60%);
  opacity: 0.65;
}

body::before {
  top: -120px;
  left: -80px;
  transform: rotate(-8deg);
}

body::after {
  bottom: -140px;
  right: -60px;
  background: radial-gradient(circle at bottom right,
      rgba(34, 69, 146, 0.25),
      transparent 65%);
  filter: blur(0.5px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;

}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 15px 35px rgba(255, 107, 95, 0.35);
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.ghost {
  background: rgba(28, 29, 42, 0.08);
  color: var(--text);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.hero {
  min-height: 90vh;
  background-image: linear-gradient(rgba(7, 9, 15, 0.68),
      rgba(7, 9, 15, 0.85)),
    url("../images/zaganos.jpg");
  background-size: cover;
  background-position: center;
  padding: 2rem clamp(1rem, 6vw, 6rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  color: #ffffff;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 0.75rem;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(16px);
  color: var(--text);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.05em;
}



.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero-content {
  max-width: 600px;
  margin-top: 4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero--sub {
  min-height: 60vh;
  padding-bottom: 3rem;
}

main {
  padding: 4rem clamp(1rem, 6vw, 6rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.focus-section {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.focus-section .eyebrow {
  align-self: center;
}

.focus-section p {
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

.page {
  padding: 3rem clamp(1rem, 6vw, 6rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.grid-section.reversed {
  direction: rtl;
}

.grid-section.reversed>* {
  direction: ltr;
}

.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(15, 18, 26, 0.1);
}

.card ul {
  padding-left: 1rem;
  margin: 0;
  color: var(--muted);
}

.card li+li {
  margin-top: 0.5rem;
}

.card.accent {
  border-color: rgba(255, 131, 103, 0.4);
  background: linear-gradient(135deg,
      rgba(255, 131, 103, 0.2),
      rgba(24, 28, 39, 1));
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.about-highlights {
  display: grid;
  gap: 1.25rem;
}

/* Milestone Section - Editorial Design */
.milestone-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.milestone-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.milestone-text {
  position: relative;
  z-index: 2;
}

.milestone-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 3rem;
}

.milestone-year::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
}

.milestone-text h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, rgba(28, 29, 42, 0.8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.milestone-story {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.milestone-visual {
  position: relative;
}

.milestone-visual::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--accent);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(40px);
  z-index: 0;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.milestone-visual img {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 1;
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.milestone-visual:hover img {
  transform: rotate(0deg) scale(1.02);
}

@media (max-width: 768px) {
  .milestone-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .milestone-year {
    padding-left: 0;
  }

  .milestone-year::before {
    display: none;
  }

  .milestone-visual img {
    transform: rotate(0);
  }

  .milestone-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
  }
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.cta-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 25px 50px rgba(17, 21, 33, 0.08);
}

.cta-card.secondary {
  background: #fef4f2;
}

.cta-card .btn {
  align-self: flex-start;
}

footer {
  padding: 2rem clamp(1rem, 6vw, 6rem);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  background: #fff;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -10px 30px rgba(17, 21, 33, 0.04);
}

.socials {
  display: flex;
  gap: 1.25rem;
  font-weight: 500;
}

.section-heading {
  max-width: 640px;
}

.accordion-section {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem clamp(1rem, 5vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(17, 21, 33, 0.08);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.accordion-item,
.lesson-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 18px 35px rgba(17, 21, 33, 0.05);
}

.accordion-trigger,
.lesson-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.indicator {
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.accordion-item.open .indicator,
.lesson-item.open .indicator {
  transform: rotate(45deg);
}

.accordion-content,
.lesson-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}

.lesson-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.lesson-content-inner {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(17, 21, 33, 0.08);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 90%;
    right: 1rem;
    flex-direction: column;
    background: #fff;
    width: min(240px, 80vw);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 18px 35px rgba(17, 21, 33, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .success-section {
    padding: 2rem 1.25rem;
  }
}

/* --- New Aesthetic Enhancements --- */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 95, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 95, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 95, 0);
  }
}

@keyframes gradient-text {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Enhancements */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #ffffff, #ffcdc9, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: gradient-text 5s ease infinite, fadeInUp 0.8s ease forwards 0.2s;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-content>* {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}

.hero-content p {
  animation-delay: 0.4s;
}

.hero-actions {
  animation-delay: 0.6s;
}

/* .hero--sub removed to unify heights */

/* Card & Section Hover Effects */
.card,
.cta-card,
.success-section {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 18, 26, 0.15);
}

.success-section:hover {
  transform: scale(1.01);
  box-shadow: 0 40px 80px rgba(17, 21, 33, 0.12);
}

/* Button Glow */
.btn.primary {
  position: relative;
  overflow: hidden;
}

.btn.primary:hover {
  animation: pulse-glow 2s infinite;
  transform: translateY(-3px);
}

/* Image Enhancements */
.success-image {
  transition: transform 0.5s ease;
}

.success-section:hover .success-image {
  transform: scale(1.03) rotate(1deg);
}

/* Focus Section Icons/Decorations (Optional addition) */
.focus-section h2 {
  position: relative;
  display: inline-block;
}

.focus-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* --- Modern Polish Enhancements --- */

/* Scrolling Navigation Enhancement */
.top-nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.top-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
}

/* Active Nav Link Indicator */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Button Hover Effects */
.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn.ghost:hover {
  background: rgba(28, 29, 42, 0.12);
  transform: translateY(-2px);
}

/* Enhanced Card Depth with Layered Shadows */
.card,
.cta-card {
  box-shadow:
    0 1px 3px rgba(17, 21, 33, 0.04),
    0 4px 12px rgba(17, 21, 33, 0.06);
}

.card:hover,
.cta-card:hover {
  box-shadow:
    0 4px 8px rgba(17, 21, 33, 0.06),
    0 12px 32px rgba(17, 21, 33, 0.12),
    0 0 0 1px rgba(255, 107, 95, 0.1);
}

/* Success Section Enhanced */
.success-section {
  box-shadow:
    0 2px 6px rgba(17, 21, 33, 0.04),
    0 8px 24px rgba(17, 21, 33, 0.08);
}

.success-section:hover {
  box-shadow:
    0 4px 12px rgba(17, 21, 33, 0.08),
    0 16px 48px rgba(17, 21, 33, 0.12),
    0 0 0 1px rgba(255, 107, 95, 0.08);
}

/* Image Polish: Subtle Glow Effect */
.success-image {
  box-shadow:
    0 8px 24px rgba(17, 21, 33, 0.12),
    0 0 0 1px rgba(17, 21, 33, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
}

.success-section:hover .success-image {
  box-shadow:
    0 12px 32px rgba(255, 107, 95, 0.2),
    0 0 0 1px rgba(255, 107, 95, 0.15),
    0 0 40px rgba(255, 107, 95, 0.1);
  transform: scale(1.03) rotate(1deg);
}

/* Eyebrow Animation (except in hero) */
.eyebrow:not(.hero .eyebrow) {
  animation: fadeInLeft 0.6s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Footer Social Links Polish */
.socials a {
  position: relative;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.socials a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.socials a:hover {
  color: var(--accent);
}

.socials a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Photo Gallery Section --- */

.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-section h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text);
  display: inline-block;
  position: relative;
  letter-spacing: -0.02em;
}

.gallery-section h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.3;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 4px 12px rgba(17, 21, 33, 0.08),
    0 0 0 1px rgba(17, 21, 33, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(17, 21, 33, 0.12),
    0 0 0 1px rgba(255, 107, 95, 0.15),
    0 0 20px rgba(255, 107, 95, 0.08);
}

.photo-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Aesthetic & Atmosphere Enhancements --- */

/* 1. Giant Team Number Watermark */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.08);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  opacity: 0.6;
}

/* Ensure Hero Content sits above watermark */
.hero-content {
  position: relative;
  z-index: 2;
}

.top-nav {
  position: relative;
  z-index: 10;
}

/* CTA Cards Redesign - Borderless Modern */
.cta-card {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid rgba(28, 29, 42, 0.1);
  transition: all 0.3s ease;
}

.cta-card.cta-education,
.cta-card.cta-design {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(28, 29, 42, 0.1);
  box-shadow: none;
  color: var(--text);
  overflow: visible;
}

/* Remove the pseudo-element gradients */
.cta-card.cta-education::before,
.cta-card.cta-design::before {
  display: none;
}

/* Typography Focus */
.cta-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cta-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.cta-card .eyebrow {
  background: transparent;
  color: var(--accent);
  padding: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  backdrop-filter: none;
  display: block;
}

/* Hover Effects - Subtle Slide & Accent Color */
.cta-card:hover {
  border-left-color: var(--accent);
  transform: translateX(10px);
}



/* Button Styling - Enhanced Visibility */
.cta-card .btn {
  background: rgba(28, 29, 42, 0.05);
  color: var(--text);
  border: 1px solid rgba(28, 29, 42, 0.2);
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card .btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 95, 0.4);
}