/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 110%; }

body {
  font-family: 'Lato', sans-serif;
  background-color: #e8e0d8;
  color: #231f20;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Livvic', sans-serif;
  font-weight: 700;
  color: #231f20;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: block;
  text-align: center;
  font-size: 1.33rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #a4896f;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #e8e0d8;
  border-bottom: 1px solid #d4cbbf;
  padding: 1rem 2.5rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-name {
  font-family: 'Livvic', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-size: 1.08rem;
  color: #231f20;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

nav ul a:hover { color: #a4896f; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: #231f20;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Animate hamburger → X */
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0.75rem;
    border-top: 1px solid #d4cbbf;
  }

  nav ul.open { display: flex; }

  nav ul li a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid #d4cbbf;
    font-size: 1rem;
  }
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 5rem 6rem;
  gap: 5rem;
}

.hero-text {
  max-width: 560px;
  text-align: left;
}

.hero-text h1 {
  font-family: 'Livvic', sans-serif;
  font-size: clamp(3.6rem, 7.2vw, 6.6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.38rem;
  color: #231f20;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.btn-cta {
  display: inline-block;
  background-color: #231f20;
  color: #e8e0d8;
  padding: 0.68rem 1.76rem;
  border-radius: 2rem;
  font-family: 'Livvic', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s;
}

.btn-cta:hover { background-color: #a4896f; }

.btn-cta-sm {
  padding: 0.72rem 1.87rem;
  font-size: 0.94rem;
}

.icon-link {
  display: flex;
  align-items: center;
}

.hero-photo {
  flex-shrink: 0;
  width: 456px;
  height: 528px;
  border-radius: 50% / 45%;
  overflow: hidden;
  background-color: #d4cbbf;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 2.5rem;
  text-align: center;
}

.about-lead {
  font-size: 1.15rem;
  max-width: 820px;
  margin: 0 auto 1.2rem;
  font-weight: 400;
  color: #231f20;
  line-height: 1.8;
}

/* ===== PILLARS ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pillar {
  text-align: center;
}

.pillar-icon {
  width: 90px;
  height: 90px;
  background-color: #ddd7cf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pillar-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.pillar-icon img.icon-lg {
  width: 86px;
  height: 86px;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #231f20;
}

.pillar p {
  font-size: 0.9rem;
  color: #5a5052;
  line-height: 1.6;
}

/* ===== LOGO STRIP ===== */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.logo-strip img {
  height: 34px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Per-logo size adjustments */
/* About */
.logo-strip img[alt="8200"]                 { height: 38px;  margin-right: 0rem; }
.logo-strip img[alt="Intel"]                { height: 32px;  margin-right: -0.34rem; }
.logo-strip img[alt="Everc"]                { height: 65px;  margin-right: -0.97rem; }
.logo-strip img[alt="Sisense"]              { height: 61px;  margin-right: -0.97rem; }
.logo-strip img[alt="ZipRecruiter"]         { height: 29px; }

/* Services */
.logo-strip img[alt="Swimm"]                { height: 60px; }
.logo-strip img[alt="IVIX"]                 { height: 17px; }
.logo-strip img[alt="Vectorious"]           { height: 34px; }
.logo-strip img[alt="Quago"]                { height: 27px; }

/* Workshops */
.logo-strip img[alt="Give & Tech"]          { height: 52px; margin-right: 1.23rem; }
.logo-strip img[alt="Women in Data Science"]{ height: 45px; margin-right: 0.2rem; }
.logo-strip img[alt="hayaData"]             { height: 31px; margin-right: -0.25rem; }
.logo-strip img[alt="Armis"]                { height: 26px; margin-right: 0.43rem; }
.logo-strip img[alt="KALTURA"],
.logo-strip img[alt="Kaltura"]              { height: 41px; margin-right: -0.25rem; }
.logo-strip img[alt="Maccabi"]              { height: 31px; margin-right: -0.25rem; }
.logo-strip img[alt="Jolt"]                 { height: 26px; }

/* ===== SERVICES ===== */
.services {
  padding: 6rem 2.5rem;
  text-align: center;
}

.section-intro {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  color: #231f20;
  line-height: 1.8;
}

.section-subhead {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 2rem auto;
  max-width: 720px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.service h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #231f20;
}

.service p {
  font-size: 0.95rem;
  color: #5a5052;
  line-height: 1.7;
}

.section-closing {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 3rem auto 0;
  color: #231f20;
  line-height: 1.8;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ===== WORKSHOPS ===== */
.workshops {
  padding: 6rem 2.5rem;
  text-align: center;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 3.5rem;
  text-align: center;
}

.workshop h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.workshop p {
  font-size: 0.95rem;
  color: #5a5052;
  line-height: 1.7;
}

.speaking-note {
  font-size: 0.95rem;
  max-width: 700px;
  margin: 3rem auto 0;
  color: #231f20;
  line-height: 1.8;
}

/* ===== CONTENT ===== */
.content-section {
  padding: 6rem 2.5rem;
  text-align: center;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #231f20;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  color: #231f20;
}

.carousel-btn:hover {
  background: #231f20;
  color: #e8e0d8;
}

.content-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
  text-align: left;
}

.content-grid::-webkit-scrollbar { display: none; }

.content-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.content-link:hover { opacity: 0.75; }

.content-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.content-img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: 8px;
}

.content-card iframe {
  width: 100%;
  height: 152px !important;
  border-radius: 8px;
}

.yt-thumb {
  position: relative;
  width: 100%;
}

.yt-thumb .content-img {
  display: block;
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  padding-left: 4px;
  pointer-events: none;
}

.content-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.content-thumb.podcast { background-color: #6b3d9a; }
.content-thumb.spotify { background-color: #5b8a8a; }
.content-thumb.article { background-color: #c0b8af; color: #231f20; }
.content-thumb.video { background-color: #c0392b; }

.content-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #231f20;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
footer {
  padding: 2.5rem;
  border-top: 1px solid #d4cbbf;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #231f20;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 4rem 2rem;
    min-height: auto;
  }
  .hero-text { text-align: center; }
  .tagline { margin: 0 auto 2rem; }
  .hero-links { justify-content: center; }
  .hero-photo { width: 310px; height: 360px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; gap: 2rem; }
  .workshops-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-card { flex: 0 0 280px; }
}

@media (max-width: 600px) {
  html { font-size: 90%; }
  .hero { padding: 3rem 1.5rem; }
  .hero-text h1 { font-size: clamp(3.45rem, 13.2vw, 4.7rem); }
  .tagline { font-size: 1rem; }
  .about, .services, .workshops, .content-section { padding: 4rem 1.5rem; }
  /* Pillars: horizontal swipe carousel with peek */
  .pillars {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1.25rem;
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
  }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar {
    flex: 0 0 72%;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Services grid: horizontal swipe carousel with peek */
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1.25rem;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .service {
    flex: 0 0 72%;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Workshops grid: horizontal swipe carousel with peek */
  .workshops-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1.25rem;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
  }
  .workshops-grid::-webkit-scrollbar { display: none; }
  .workshop {
    flex: 0 0 80%;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* Carousel: full-width swipeable cards, hide buttons */
  .carousel-btn { display: none; }
  .carousel-wrapper { gap: 0; }
  .content-card { flex: 0 0 85vw; }

  /* Shrink all section labels on mobile */
  .section-label { font-size: 1rem; letter-spacing: 0.1em; }
}
