/* ============================= */
/* NEVASOLO VIDEO HERO – FIXED   */
/* ============================= */

.nevasolo-video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #0b0d1a;
}

/* Video layer */
.nevasolo-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay for contrast */
.nevasolo-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 26, 0.45); /* slightly lighter */
  z-index: 1;
}

/* Overlay container */
.nevasolo-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  gap: 28px;
}

/* Headline */
.nevasolo-hero-overlay h1 {
  font-size: clamp(5rem, 7vw, 6rem); /* ⬆ bigger */
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  max-width: 1000px;
}

/* Subheading */
.nevasolo-hero-overlay p {
  font-size: 3rem; /* ⬆ bigger */
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 820px;
}

/* Buttons row */
.nevasolo-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.hero-btn {
  padding: 16px 34px; /* ⬆ bigger */
  border-radius: 999px;
  font-weight: 600;
  font-size: 3rem;
  text-decoration: none;
  line-height: 1;
}

/* Primary CTA */
.hero-btn.primary {
  background: #5B5FEF;
  color: #ffffff;
}

/* Secondary CTA */
.hero-btn.secondary {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: transparent;
}

/* Header stays above hero */
.header {
  position: relative;
  z-index: 10;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .nevasolo-video-hero {
    min-height: 620px;
  }

  .nevasolo-hero-overlay h1 {
    font-size: 2.4rem;
  }

  .nevasolo-hero-overlay p {
    font-size: 1.15rem;
  }
}

/* ============================= */
/* NEVASOLO ABOUT FLOW – FIXED   */
/* ============================= */

section.about .container .nevasolo-about-flow {
  position: relative;
  max-width: 1040px; /* ⬆ wider */
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

section.about .nevasolo-about-heading {
  font-size: 6rem; /* ⬆ bigger */
  font-weight: 600;
  margin-bottom: 96px;
  color: #1f2430;
}

/* Vertical connector line */
section.about .nevasolo-about-flow::before {
  content: "";
  position: absolute;
  top: 180px;
  bottom: 180px;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(91,95,239,0),
    rgba(91,95,239,0.25),
    rgba(91,95,239,0)
  );
  transform: translateX(-50%);
}

/* Item wrapper */
section.about .nevasolo-about-item {
  margin-bottom: 110px;
}

/* Force circular images */
section.about .nevasolo-about-item img {
  width: 200px !important; /* ⬆ bigger */
  height: 200px !important;
  object-fit: cover;
  border-radius: 50% !important;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

/* Titles */
section.about .nevasolo-about-item h3 {
  font-size: 5rem; /* ⬆ bigger */
  font-weight: 600;
  margin: 28px 0 14px;
  color: #1f2430;
}

/* Text */
section.about .nevasolo-about-item p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 3rem; /* ⬆ bigger */
  line-height: 1.7;
  color: #5c6475;
}

/* Rhythm offsets */
section.about .nevasolo-about-item.offset-right {
  transform: translateX(48px);
}

section.about .nevasolo-about-item.offset-left {
  transform: translateX(-48px);
}

/* Mobile reset */
@media (max-width: 768px) {
  section.about .nevasolo-about-flow {
    padding: 80px 16px;
  }

  section.about .nevasolo-about-flow::before {
    display: none;
  }

  section.about .nevasolo-about-item,
  section.about .nevasolo-about-item.offset-right,
  section.about .nevasolo-about-item.offset-left {
    transform: none;
  }
}

/* ========================================= */
/* FORCE FIX: HESTIA ABOUT IMAGE CIRCLES     */
/* ========================================= */

.hestia-about img,
.section-about img,
.about img {
  width: 200px !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto 28px auto !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08) !important;
}

/* Center all About content */
.hestia-about,
.section-about,
.about {
  text-align: center !important;
}

/* Tighten headings under images */
.hestia-about h3,
.section-about h3,
.about h3 {
  font-size: 5rem !important;
  font-weight: 600 !important;
  margin: 14px 0 10px !important;
}

/* Body copy */
.hestia-about p,
.section-about p,
.about p {
  max-width: 520px !important;
  margin: 0 auto 52px auto !important;
  font-size: 3rem !important;
  line-height: 1.7 !important;
  color: #5c6475 !important;
}

/* ============================= */
/* GLOBAL TEXT COLOURS – NEVASOLO */
/* ============================= */

/* Headings */
h1, h2, h3, h4, h5, h6,
.hestia-title,
.title,
.section-title {
  color: #1B1F3B !important;
}

/* Body text */
body,
p,
li,
span,
.wp-block-paragraph,
.about p,
.section p {
  color: #4A4F6A !important;
}

/* Muted text */
.small,
.muted,
.helper-text {
  color: #6B7280 !important;
}

/* Links */
a {
  color: #5B5FEF;
}

a:hover {
  color: #4A4EE3;
}

/* Ensure hero text stays white */
.nevasolo-video-hero h1,
.nevasolo-video-hero p,
.nevasolo-video-hero a {
  color: #ffffff !important;
}
