:root {
  --navy: #0B1736;
  --navy-2: #101F45;
  --blue: #2563EB;
  --cyan: #0EA5E9;
  --white: #FFFFFF;
  --off: #F7F9FC;
  --text: #172033;
  --muted: #68748A;
  --line: #DDE4EF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.navbar {
  height: 78px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--navy);
  color: white;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 20px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.navbar nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: #D9E2F4;
}

.navbar nav a:hover {
  color: white;
}

.nav-button {
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: 14px;
}

.hero {
  min-height: 680px;
  padding: 90px 8%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
  background:
    radial-gradient(circle at 80% 35%, rgba(37,99,235,.28), transparent 30%),
    var(--navy);
  color: white;
}

.eyebrow,
.section-label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.hero h1 span,
.section-heading h2 span,
.why-content h2 span,
.contact-section h2 span {
  color: #60A5FA;
}

.tagline {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
}

.hero-text {
  max-width: 650px;
  color: #C7D2E8;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s;
}

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

.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.28);
}

.hero-points {
  display: flex;
  gap: 25px;
  margin-top: 40px;
  color: #AAB8D0;
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

.glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.35), transparent 65%);
}

.portrait-placeholder {
  position: relative;
  width: 320px;
  height: 400px;
  border-radius: 28px;
  background: linear-gradient(145deg, #1C315D, #0E1A38);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.portrait-initial {
  font-size: 150px;
  font-weight: 900;
  color: rgba(96,165,250,.35);
}

.portrait-placeholder span {
  color: #9FB0CB;
  font-size: 12px;
}

.section {
  padding: 110px 8%;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 55px;
}

.section-heading h2,
.why-content h2,
.contact-section h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 14px 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 220px;
  background: white;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(11,23,54,.08);
  border-color: #B8CBF5;
}

.service-number {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.service-card h3 {
  font-size: 21px;
  margin: 25px 0 10px;
}

.service-card p,
.case-card p,
.why-content p,
.timeline-item p,
.contact-section p {
  color: var(--muted);
}

.why-section {
  padding: 110px 8%;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: center;
  background: var(--off);
}

.why-visual {
  position: relative;
  height: 400px;
  display: grid;
  place-items: center;
}

.big-symbol {
  font-size: 230px;
  font-weight: 900;
  color: #DDE8FF;
}

.orbit {
  position: absolute;
  border: 1px solid #B9CCF5;
  border-radius: 50%;
}

.orbit-one {
  width: 310px;
  height: 180px;
  transform: rotate(25deg);
}

.orbit-two {
  width: 230px;
  height: 320px;
  transform: rotate(-25deg);
}

.formula {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 800;
}

.formula b {
  color: var(--blue);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  padding: 35px;
  border-radius: 20px;
  background: var(--navy);
  color: white;
  min-height: 310px;
}

.case-card.large {
  grid-row: span 2;
}

.case-top {
  display: flex;
  justify-content: space-between;
  color: #8EA8D8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.case-card h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 55px 0 25px;
}

.case-flow {
  font-size: 28px;
  color: #60A5FA;
  font-weight: 800;
  display: flex;
  gap: 15px;
  align-items: center;
}

.case-flow.small {
  font-size: 16px;
  color: #AFC2E4;
}

.case-card p {
  color: #B6C4DA;
}

.journey-section {
  padding: 110px 8%;
  background: var(--off);
}

.timeline {
  max-width: 900px;
  border-left: 2px solid #C8D5EA;
  margin-left: 12px;
}

.timeline-item {
  position: relative;
  padding: 0 0 45px 45px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.timeline-item.current::before {
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(14,165,233,.12);
}

.year {
  font-weight: 800;
  color: var(--blue);
}

.timeline-item h3 {
  margin: 0;
  font-size: 21px;
}

.contact-section {
  padding: 100px 8%;
  background: var(--navy);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.contact-section p {
  max-width: 600px;
  color: #B8C5DB;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

footer {
  padding: 45px 8%;
  background: #071128;
  color: #A7B5CC;
  text-align: center;
}

.footer-logo {
  color: white;
  font-weight: 900;
  letter-spacing: .15em;
  font-size: 22px;
}

footer span {
  font-size: 12px;
}

@media (max-width: 900px) {
  .navbar nav {
    display: none;
  }

  .hero,
  .why-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 65px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card.large {
    grid-row: auto;
  }

  .contact-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .journey-section,
  .why-section,
  .contact-section {
    padding: 75px 6%;
  }

  .hero {
    padding: 65px 6%;
  }

  .portrait-placeholder {
    width: 270px;
    height: 340px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-points {
    flex-direction: column;
    gap: 8px;
  }
}

/* REFKY Hero Portrait */
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  background: #0b1730;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-portrait {
    max-width: 460px;
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .hero-portrait {
    max-width: 100%;
    border-radius: 22px;
  }
}

/* =========================================
   REFKY HERO — FINAL REFINEMENT
   ========================================= */

.hero {
  min-height: calc(100vh - 94px);
  padding-top: 70px;
  padding-bottom: 70px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(58px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -2.5px;
  max-width: 720px;
}

.hero-content .hero-subtitle {
  font-size: 24px;
  line-height: 1.35;
  margin-top: 28px;
}

.hero-content p {
  max-width: 720px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-portrait {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1000px) {
  .hero {
    min-height: auto;
    padding-top: 55px;
  }

  .hero-content h1 {
    font-size: clamp(52px, 8vw, 72px);
  }

  .hero-portrait {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 45px;
    padding-bottom: 55px;
  }

  .hero-content h1 {
    font-size: clamp(46px, 12vw, 62px);
    letter-spacing: -1.5px;
  }

  .hero-content .hero-subtitle {
    font-size: 21px;
  }

  .hero-portrait {
    max-width: 100%;
    margin: 35px auto 0;
    border-radius: 22px;
  }
}


/* =========================================
   REFKY — WHAT I DO
   ========================================= */

#services {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}

#services .section-heading {
  max-width: 900px;
  margin-bottom: 55px;
}

#services .section-label {
  color: #20a4f3;
  font-weight: 700;
  letter-spacing: 3px;
}

#services .section-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-top: 18px;
}

#services .section-heading h2 span {
  color: #5da5ff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 34px 30px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.055),
      rgba(255,255,255,0.018)
    );
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* First three cards */
.service-card:nth-child(-n+3) {
  grid-column: span 2;
}

/* Last two cards */
.service-card:nth-child(n+4) {
  grid-column: span 3;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #168cf0, #28b8f5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(45,164,245,0.45);
  background:
    linear-gradient(
      145deg,
      rgba(30,150,240,0.10),
      rgba(255,255,255,0.025)
    );
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #25a8f5;
  margin-bottom: 55px;
}

.service-card h3 {
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.service-card p {
  color: rgba(255,255,255,0.68);
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
}

/* Tablet */
@media (max-width: 900px) {
  #services {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(-n+3),
  .service-card:nth-child(n+4) {
    grid-column: span 1;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #services {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  #services .section-heading h2 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card:nth-child(-n+3),
  .service-card:nth-child(n+4),
  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .service-number {
    margin-bottom: 35px;
  }

  .service-card h3 {
    font-size: 23px;
  }
}


/* =========================================
   FIX — WHAT I DO LIGHT SECTION
   ========================================= */

#services .service-card {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 12px 35px rgba(15, 31, 61, 0.07);
}

#services .service-card::before {
  background: linear-gradient(90deg, #168cf0, #28b8f5);
}

#services .service-card h3 {
  color: #10182d;
}

#services .service-card p {
  color: #5d6678;
}

#services .service-card:hover {
  background: #ffffff;
  border-color: rgba(30, 145, 240, 0.40);
  box-shadow: 0 22px 45px rgba(15, 31, 61, 0.12);
}

#services .service-number {
  color: #168ff0;
}


/* =========================================
   REFKY — WHY REFKY
   ========================================= */

.why-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
  padding: 130px 0;
  overflow: hidden;
  background: #f7f9fc;
}

.why-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-symbol {
  position: relative;
  z-index: 2;
  font-size: clamp(220px, 25vw, 360px);
  line-height: 1;
  font-weight: 800;
  color: #e8f1fb;
  text-shadow: 0 20px 50px rgba(15, 31, 61, 0.08);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(30, 143, 240, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 300px;
  height: 300px;
}

.orbit-two {
  width: 410px;
  height: 410px;
  border-color: rgba(30, 143, 240, 0.10);
}

.why-content {
  max-width: 700px;
}

.why-content .section-label {
  color: #168ff0;
  font-weight: 700;
  letter-spacing: 3px;
}

.why-content h2 {
  margin: 18px 0 32px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -2px;
  color: #10182d;
}

.why-content h2 span {
  color: #5da5ff;
}

.why-content p {
  max-width: 650px;
  margin-bottom: 22px;
  color: #5d6678;
  font-size: 18px;
  line-height: 1.8;
}

.formula {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding: 22px 26px;
  width: fit-content;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(15, 31, 61, 0.07);
}

.formula span {
  color: #10182d;
  font-weight: 700;
  font-size: 16px;
}

.formula b {
  color: #168ff0;
  font-size: 20px;
}

/* Tablet */
@media (max-width: 900px) {
  .why-section {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 90px 0;
  }

  .why-visual {
    min-height: 320px;
  }

  .big-symbol {
    font-size: 250px;
  }

  .orbit-one {
    width: 230px;
    height: 230px;
  }

  .orbit-two {
    width: 320px;
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .why-section {
    padding: 75px 0;
  }

  .why-visual {
    min-height: 250px;
  }

  .big-symbol {
    font-size: 190px;
  }

  .orbit-one {
    width: 180px;
    height: 180px;
  }

  .orbit-two {
    width: 245px;
    height: 245px;
  }

  .why-content h2 {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .why-content p {
    font-size: 16px;
  }

  .formula {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 18px 12px;
  }

  .formula span {
    font-size: 14px;
  }
}


/* =========================================
   REFKY — FEATURED CASE STUDIES
   ========================================= */

#work {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #ffffff;
}

#work .section-heading {
  max-width: 850px;
  margin-bottom: 55px;
}

#work .section-label {
  color: #168ff0;
  font-weight: 700;
  letter-spacing: 3px;
}

#work .section-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-top: 18px;
  color: #10182d;
}

#work .section-heading h2 span {
  color: #5da5ff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  position: relative;
  min-height: 390px;
  padding: 36px;
  border: 1px solid #dfe6f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 31, 61, 0.07);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.case-card.large {
  grid-column: span 2;
  min-height: 430px;
  background:
    linear-gradient(135deg, #0b1730 0%, #102653 65%, #12366b 100%);
  border-color: transparent;
  color: #ffffff;
}

.case-card:not(.large):hover,
.case-card.large:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 55px rgba(15, 31, 61, 0.14);
}

.case-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 143, 240, 0.06);
  pointer-events: none;
}

.case-card.large::after {
  background: rgba(70, 160, 255, 0.10);
}

.case-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 70px;
}

.case-top span:first-child {
  color: #168ff0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.case-top span:last-child {
  color: #69758a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.case-card.large .case-top span:last-child {
  color: rgba(255,255,255,0.65);
}

.case-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  max-width: 850px;
  color: #10182d;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.case-card.large h3 {
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
}

.case-flow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  font-size: 20px;
}

.case-flow strong {
  color: #168ff0;
}

.case-card.large .case-flow strong {
  color: #62b1ff;
  font-size: 24px;
}

.case-flow span {
  color: #8792a5;
}

.case-flow.small {
  color: #168ff0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.case-card p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #69758a;
  font-size: 16px;
  line-height: 1.75;
}

.case-card.large p {
  color: rgba(255,255,255,0.72);
  max-width: 850px;
  font-size: 17px;
}

/* Tablet */
@media (max-width: 800px) {
  #work {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card.large {
    grid-column: auto;
  }

  .case-card {
    min-height: 350px;
  }

  .case-card.large {
    min-height: 390px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #work {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  #work .section-heading h2 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .case-card,
  .case-card.large {
    min-height: auto;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .case-top {
    margin-bottom: 55px;
  }

  .case-card h3,
  .case-card.large h3 {
    font-size: 30px;
  }

  .case-card.large .case-flow strong {
    font-size: 20px;
  }

  .case-flow {
    gap: 10px;
    flex-wrap: wrap;
  }
}


/* =========================================
   REFKY — PROFESSIONAL JOURNEY
   ========================================= */

#journey {
  padding: 120px 0;
  background: #f7f9fc;
}

#journey .section-heading {
  max-width: 850px;
  margin-bottom: 70px;
}

#journey .section-label {
  color: #168ff0;
  font-weight: 700;
  letter-spacing: 3px;
}

#journey .section-heading h2 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-top: 18px;
  color: #10182d;
}

#journey .section-heading h2 span {
  color: #5da5ff;
}

#journey .timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0;
}

/* Central line */
#journey .timeline::before {
  content: "";
  position: absolute;
  left: 175px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dce5f2;
}

#journey .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 75px;
  padding: 0 0 55px;
}

#journey .timeline-item:last-child {
  padding-bottom: 0;
}

/* Timeline dot */
#journey .timeline-item::before {
  content: "";
  position: absolute;
  left: 169px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #168ff0;
  box-sizing: border-box;
  z-index: 2;
}

#journey .timeline-item.current::before {
  width: 18px;
  height: 18px;
  left: 167px;
  top: 3px;
  background: #168ff0;
  border-color: #168ff0;
  box-shadow: 0 0 0 7px rgba(22, 143, 240, 0.10);
}

#journey .year {
  padding-top: 0;
  text-align: right;
  color: #168ff0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

#journey .timeline-item > div:last-child {
  padding: 0 0 0 35px;
}

#journey .timeline-item h3 {
  margin: 0 0 10px;
  color: #10182d;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.7px;
}

#journey .timeline-item p {
  margin: 0;
  max-width: 680px;
  color: #69758a;
  font-size: 16px;
  line-height: 1.7;
}

#journey .timeline-item.current {
  background: #0b1730;
  border-radius: 22px;
  padding: 30px 30px 30px 0;
  margin-left: -30px;
  margin-right: -30px;
}

#journey .timeline-item.current::before {
  left: 197px;
}

#journey .timeline-item.current .year {
  padding-top: 2px;
}

#journey .timeline-item.current > div:last-child {
  padding-left: 65px;
}

#journey .timeline-item.current h3 {
  color: #ffffff;
}

#journey .timeline-item.current p {
  color: rgba(255,255,255,0.68);
}

/* Tablet */
@media (max-width: 800px) {

  #journey {
    padding: 90px 0;
  }

  #journey .timeline {
    padding-left: 25px;
  }

  #journey .timeline::before {
    left: 25px;
  }

  #journey .timeline-item {
    grid-template-columns: 1fr;
    padding: 0 0 45px 55px;
  }

  #journey .timeline-item::before {
    left: 18px;
  }

  #journey .timeline-item.current {
    margin-left: 0;
    margin-right: 0;
    padding: 25px 25px 25px 55px;
  }

  #journey .timeline-item.current::before {
    left: 18px;
  }

  #journey .year {
    text-align: left;
    margin-bottom: 10px;
  }

  #journey .timeline-item > div:last-child,
  #journey .timeline-item.current > div:last-child {
    padding-left: 0;
  }
}

/* Mobile */
@media (max-width: 600px) {

  #journey {
    padding: 75px 0;
  }

  #journey .section-heading h2 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  #journey .timeline {
    padding-left: 20px;
  }

  #journey .timeline::before {
    left: 20px;
  }

  #journey .timeline-item {
    padding-left: 45px;
  }

  #journey .timeline-item::before {
    left: 13px;
  }

  #journey .timeline-item.current {
    padding-left: 45px;
  }

  #journey .timeline-item.current::before {
    left: 13px;
  }

  #journey .timeline-item h3 {
    font-size: 26px;
  }
}

