/* ============================================================
   EYCIA â€” European Youth Cultural Initiative Association
   styles.css â€” v1.0
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:      #1a2e5a;
  --navy-dark: #111e3a;
  --navy-mid:  #243567;
  --gold:      #f4a01c;
  --gold-light:#f7bb3d;
  --gold-pale: #fde9b3;
  --white:     #ffffff;
  --off-white: #f8f8fb;
  --grey-100:  #f0f2f7;
  --grey-200:  #e2e6ed;
  --grey-300:  #c8cdd8;
  --grey-500:  #8a93a6;
  --grey-700:  #4a5068;
  --text:      #000000;
  --text-soft: #333333;
  --shadow-sm: 0 2px 8px rgba(26,46,90,.08);
  --shadow-md: 0 8px 28px rgba(26,46,90,.12);
  --shadow-lg: 0 20px 60px rgba(26,46,90,.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --nav-h:     76px;
  --transition:.3s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--grey-100); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }

/* --- Selection --- */
::selection { background: var(--gold); color: var(--navy); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5.5rem 0;
}

.section--grey {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .section-title::after { background: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,160,28,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(17,30,58,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(17,30,58,.99);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}
.navbar__logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  flex-shrink: 0;
}
.navbar__logo span { color: var(--gold); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.navbar__links a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: all var(--transition);
  transform: translateX(-50%);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--white);
}
.navbar__links a:hover::after,
.navbar__links a.active::after {
  left: .9rem; right: .9rem;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  border: 1.5px solid rgba(244,160,28,.5);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
}
.lang-toggle button {
  background: transparent;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  letter-spacing: .04em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy);
}
.lang-toggle button:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Mobile hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.navbar__hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  color: rgba(255,255,255,.9);
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  padding: .8rem 2rem;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.mobile-menu__close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.mobile-menu__lang {
  display: flex;
  border: 1.5px solid rgba(244,160,28,.5);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.5rem;
}
.mobile-menu__lang button {
  background: transparent;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 600;
  padding: .5rem 1.4rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.mobile-menu__lang button.active {
  background: var(--gold);
  color: var(--navy);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,30,58,.88) 0%,
    rgba(26,46,90,.70) 50%,
    rgba(17,30,58,.55) 100%
  );
}
.hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 60%, rgba(255,255,255,.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.25) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 70%, rgba(255,255,255,.2) 0%, transparent 100%);
  animation: starsTwinkle 4s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
  from { opacity: .5; }
  to   { opacity: 1; }
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-h);
  width: 100%;
}
.hero__eycia-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(244,160,28,.15);
  border: 1px solid rgba(244,160,28,.35);
  border-radius: 50px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}
.hero__eycia-tag::before {
  content: 'â˜…';
  color: var(--gold);
  font-size: .7rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
  max-width: 680px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero__scroll-hint::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,30,58,.9) 0%, rgba(26,46,90,.65) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero__breadcrumb {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero__breadcrumb a:hover { color: var(--gold); }

/* ============================================================
   ABOUT SNAPSHOT
   ============================================================ */
.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-snapshot__text { }
.about-snapshot__text h2 { margin-bottom: 1.2rem; }
.about-snapshot__text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-snapshot__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-snapshot__image::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-snapshot__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s ease;
}
.about-snapshot__image:hover img { transform: scale(1.03); }

/* ============================================================
   MISSION / ICON CARDS
   ============================================================ */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mission-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.mission-card:hover::before { transform: scaleX(1); }
.mission-card__icon {
  width: 68px; height: 68px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 1.7rem;
  transition: all var(--transition);
}
.mission-card:hover .mission-card__icon {
  background: var(--gold);
  transform: scale(1.1);
}
.mission-card h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.mission-card p { color: var(--text-soft); font-size: .93rem; }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.event-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.event-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.event-card:hover .event-card__image img { transform: scale(1.06); }
.event-card__date-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: .4rem .8rem;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.event-card__date-badge .day { font-size: 1.3rem; display: block; }
.event-card__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.event-card__location {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.event-card h3 { margin-bottom: .6rem; font-size: 1.2rem; }
.event-card p { color: var(--text-soft); font-size: .9rem; flex: 1; margin-bottom: 1.2rem; }
.event-card .btn { width: 100%; justify-content: center; }

/* Past event style */
.event-card--past {
  opacity: .65;
  filter: grayscale(30%);
}
.event-card--past .event-card__image img { filter: grayscale(40%); }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.news-card__image {
  height: 200px;
  overflow: hidden;
}
.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.06); }
.news-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card__meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
  font-size: .82rem;
  color: var(--grey-500);
}
.news-card__category {
  background: var(--gold-pale);
  color: var(--navy);
  padding: .2rem .6rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.news-card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.news-card p { color: var(--text-soft); font-size: .9rem; flex: 1; margin-bottom: 1.2rem; }
.news-card .read-more {
  color: var(--navy);
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: all var(--transition);
}
.news-card .read-more:hover { color: var(--gold); gap: .6rem; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(244,160,28,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(244,160,28,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.newsletter__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.newsletter__inner h2 { color: var(--white); margin-bottom: .8rem; }
.newsletter__inner h2::after { background: var(--gold); }
.newsletter__inner p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: .8rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  outline: none;
  transition: all var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}
.newsletter-form .btn { white-space: nowrap; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.value-item {
  text-align: center;
  padding: 1.8rem 1rem;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
  transition: all var(--transition);
}
.value-item:hover {
  background: rgba(244,160,28,.12);
  border-color: rgba(244,160,28,.35);
  transform: translateY(-4px);
}
.value-item__icon {
  font-size: 2.2rem;
  margin-bottom: .8rem;
}
.value-item h4 { color: var(--white); font-size: 1rem; }

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.team-card__photo {
  height: 220px;
  overflow: hidden;
  background: var(--grey-100);
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.06); }
.team-card__body { padding: 1.4rem 1rem; }
.team-card h4 { margin-bottom: .3rem; }
.team-card__role {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.team-card p { color: var(--text-soft); font-size: .88rem; }

/* ============================================================
   PARTNERS GRID
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
}
.partner-logo {
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  color: var(--grey-500);
  font-weight: 600;
  transition: all var(--transition);
}
.partner-logo:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-filters {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--grey-300);
  background: transparent;
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.project-card__image {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.project-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-card__image img { transform: scale(1.06); }
.project-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 50px;
}
.project-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.project-card p { color: var(--text-soft); font-size: .9rem; flex: 1; margin-bottom: 1.2rem; }

/* ============================================================
   SIDEBAR LAYOUT (News)
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.sidebar { }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--grey-200);
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--grey-200);
  position: relative;
}
.sidebar-widget h4::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.sidebar-categories li {
  border-bottom: 1px solid var(--grey-100);
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  color: var(--text-soft);
  font-size: .9rem;
  transition: color var(--transition);
}
.sidebar-categories a:hover { color: var(--gold); }
.sidebar-categories .count {
  background: var(--grey-100);
  color: var(--grey-500);
  font-size: .75rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 50px;
}
.recent-post-item {
  display: flex;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--grey-100);
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-item__thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.recent-post-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-item h5 { font-size: .85rem; font-weight: 600; margin-bottom: .2rem; line-height: 1.3; }
.recent-post-item__date { color: var(--grey-500); font-size: .78rem; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-item {
  background: var(--grey-100);
  color: var(--text-soft);
  font-size: .78rem;
  padding: .25rem .65rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.tag-item:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
}
.contact-form-card h3 { margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,46,90,.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-info-card h3::after { background: var(--gold); }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.contact-info-item__icon {
  width: 44px; height: 44px;
  background: rgba(244,160,28,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-info-item__label { font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.contact-info-item__value { font-size: .95rem; color: rgba(255,255,255,.9); line-height: 1.5; }
.contact-info-item__value a { color: var(--gold); }
.contact-info-item__value a:hover { text-decoration: underline; }

.contact-map {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  font-size: .9rem;
}
.contact-socials {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
}
.contact-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--transition);
}
.contact-socials a:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { }
.footer__logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer__logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
}
.footer__brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 1.2rem; }
.footer__social { display: flex; gap: .7rem; }
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); color: var(--navy); }
.footer__col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.2rem;
}
.footer__col ul li { margin-bottom: .5rem; }
.footer__col ul a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--gold); }
.footer__bottom {
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copyright { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   ANIMATIONS (scroll-triggered)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .mission-cards { grid-template-columns: 1fr; }
  .about-snapshot { grid-template-columns: 1fr; gap: 2rem; }
  .about-snapshot__image { order: -1; }
  .about-snapshot__image::before { display: none; }
  .events-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 4rem 0; }
  .page-hero { height: 280px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 1.2rem; }
  .hero { min-height: 85vh; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PROJECTS LIST (eycas.org style â€” image + title + desc)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.projects-list-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--grey-200);
}

.projects-list-item:last-child {
  border-bottom: none;
}

.projects-list-item:nth-child(even) {
  direction: rtl;
}

.projects-list-item:nth-child(even) > * {
  direction: ltr;
}

.projects-list-item__image {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
}

.projects-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-list-item:hover .projects-list-item__image img {
  transform: scale(1.04);
}

.projects-list-item__content {
  direction: ltr;
}

.projects-list-item__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.projects-list-item__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-700);
}

@media (max-width: 768px) {
  .projects-list-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0;
    direction: ltr !important;
  }
  
  .projects-list-item__image {
    aspect-ratio: 16 / 9;
  }
}


/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (Terms & Conditions, Privacy Policy)
   ═══════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--grey-600);
  background: var(--grey-100);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--grey-200);
}

.legal-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 0.6rem;
}

.legal-section ul {
  padding-left: 1.5rem;
}

.legal-section ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}

.legal-section ul li strong {
  color: var(--navy);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 0 0.5rem;
  }
}