/* Ramboll Brand Stylesheet - Faithful recreation of docs.pdf */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400&display=swap');

:root {
  --header-height: 48px;
  --ramboll-cyan: #009df0;
  --ramboll-cyan-hover: #0084cc;
  --ramboll-cyan-light: #e6f6fd;
  --ramboll-navy: #273943;
  --ramboll-dark-blue: #02294f;
  --ramboll-text-muted: #5c6f7c;
  --ramboll-white: #ffffff;
  --ramboll-bg-light: #f4f6f9;
  --ramboll-border: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.12);
  --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-family);
  color: var(--ramboll-navy);
  background-color: #12181c;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ============================================================
   TOP GLOBAL NAVIGATION BAR
============================================================ */
.ramboll-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(26, 36, 43, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  height: 26px;
}

.brand-badge img {
  height: 18px;
  width: auto;
  display: block;
}

.brand-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand-subtitle {
  color: var(--ramboll-cyan);
  font-weight: 400;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.active a {
  color: #ffffff;
  background: var(--ramboll-cyan);
  box-shadow: 0 2px 8px rgba(0, 157, 240, 0.4);
}

.nav-item .badge-count {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 1px 5px;
  border-radius: 10px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   SLIDE CONTAINER - VIEWPORT FITTING SYSTEM
============================================================ */
.presentation-container {
  width: 100%;
  max-width: 100vw;
  padding: 10px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

/* Base Slide Component - Fits perfectly inside viewport height! */
.slide {
  /* Fits 16:9 ratio in available viewport height (100vh - header - padding) */
  width: min(calc((100vh - var(--header-height) - 24px) * 16 / 9), 96vw);
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: calc(100vh - var(--header-height) - 24px);
  background-color: var(--ramboll-white);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  container-type: inline-size;
  flex-shrink: 0;
}

/* Footer elements on slides */
.slide-footer-brand {
  position: absolute;
  bottom: 3.2cqw;
  left: 3.8cqw;
  font-size: 1.1cqw;
  font-weight: 400;
  color: var(--ramboll-text-muted);
  letter-spacing: 0.3px;
  z-index: 10;
}

.slide-footer-brand.light {
  color: rgba(255, 255, 255, 0.85);
}

.slide-footer-num {
  position: absolute;
  bottom: 3.2cqw;
  right: 3.8cqw;
  font-size: 1.15cqw;
  font-weight: 400;
  color: var(--ramboll-text-muted);
  z-index: 10;
}

.slide-footer-num.light {
  color: rgba(255, 255, 255, 0.85);
}

.slide-header-icon {
  position: absolute;
  top: 3.8cqw;
  right: 4.2cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  z-index: 10;
}

.slide-header-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   SLIDE 1: COVER SLIDE (HERO SCREEN)
============================================================ */
.slide-1 {
  background-image: url('../assets/cover_bg.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    70deg,
    rgba(15, 28, 38, 0.72) 0%,
    rgba(15, 28, 38, 0.4) 45%,
    rgba(15, 28, 38, 0.05) 85%
  );
  z-index: 1;
}

.slide-1-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 4.5cqw 5.5cqw 3.6cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-1-title {
  color: #ffffff;
  font-size: 4.6cqw;
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.5px;
  max-width: 60cqw;
}

.slide-1-subtitle {
  color: #ffffff;
  font-size: 2.35cqw;
  font-weight: 400;
  margin-top: 2.8cqw;
  letter-spacing: 0.2px;
}

.slide-1-brand-badge {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
}

.slide-1-brand-badge img {
  height: 4.2cqw;
  width: auto;
  display: block;
}

.slide-1-tagline {
  color: #ffffff;
  font-size: 1.25cqw;
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* ============================================================
   SLIDE 2: FOUNDATION & FOUNDERS
============================================================ */
.slide-2 {
  display: flex;
}

.slide-2-left {
  width: 42%;
  background: var(--ramboll-dark-blue);
  color: #ffffff;
  padding: 4cqw 4cqw 3cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.slide-2-top-num {
  font-size: 1.3cqw;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5cqw;
}

.slide-2-heading {
  color: var(--ramboll-cyan);
  font-size: 2.41cqw;
  font-weight: 300;
  line-height: 1.32;
  margin-bottom: 0.2cqw;
}

.slide-2-body {
  color: #ffffff;
  font-size: 2.41cqw;
  font-weight: 350;
  line-height: 1.3;
  margin-bottom: 2cqw;
}

.slide-2-founders-box {
  margin-top: auto;
}

.slide-2-founders-box img {
  max-width: 38cqw;
  height: auto;
  display: block;
}

.slide-2-founders-caption {
  font-size: 0.95cqw;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.8cqw;
  line-height: 1.3;
}

.slide-2-right {
  width: 58%;
  height: 100%;
  position: relative;
}

.slide-2-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SLIDE 3: IN INDIA
============================================================ */
.slide-3 {
  background-image: url('../assets/heritage_bg.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.45) 52%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.slide-3-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 3.5cqw 5.5cqw;
}

.slide-3-text-col {
  width: 48%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2.2cqw;
}

.slide-3-heading {
  font-size: 2.4cqw;
  font-weight: 300;
  line-height: 1.25;
}

.slide-3-points {
  display: flex;
  flex-direction: column;
  gap: 1.4cqw;
}

.slide-3-point {
  display: flex;
  gap: 0.9cqw;
  align-items: flex-start;
  font-size: 1.25cqw;
  font-weight: 400;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.95);
}

.slide-3-point::before {
  content: '•';
  font-size: 1.5cqw;
  line-height: 1;
}

/* ============================================================
   SLIDE 4: INDIA PROJECTS
============================================================ */
.slide-4 {
  display: flex;
}

.slide-4-left {
  width: 52%;
  background: var(--ramboll-cyan);
  color: #ffffff;
  padding: 4.5cqw 4.5cqw 3.5cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.slide-4-title {
  font-size: 4.6cqw;
  font-weight: 300;
  letter-spacing: -0.5px;
}

.slide-4-right {
  width: 48%;
  height: 100%;
}

.slide-4-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SLIDE 5: OUR EXPERTISE GRID
============================================================ */
.slide-5 {
  padding: 3.5cqw 3.8cqw 2.8cqw;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.slide-5-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2cqw;
}

.slide-5-title {
  color: var(--ramboll-cyan);
  font-size: 3.2cqw;
  font-weight: 400;
}

.slide-5-num {
  color: var(--ramboll-text-muted);
  font-size: 1.15cqw;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4cqw;
  flex: 1;
  margin-bottom: 1.5cqw;
}

.expertise-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  transition: background 0.3s ease;
  z-index: 1;
}

.expertise-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--ramboll-cyan);
  box-shadow: 0 10px 24px rgba(0, 157, 240, 0.35);
}

.expertise-card:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 157, 240, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.card-title {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 1.75cqw;
  font-weight: 400;
  padding: 1.5cqw 1.6cqw;
  letter-spacing: 0.2px;
}

.card-action {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.2cqw 1.6cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: 1cqw;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.expertise-card:hover .card-action {
  opacity: 1;
  transform: translateY(0);
}

.card-badge-pill {
  background: var(--ramboll-cyan);
  padding: 2px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.95cqw;
}

/* Card images */
.card-transport {
  background-image: url('../assets/exp_transport.jpeg');
}
.card-roads-rail {
  background-image: url('../assets/exp_roads_rail.jpeg');
}
.card-towers-telecom {
  background-image: url('../assets/exp_water.jpeg');
}
.card-water {
  background-image: url('../assets/exp_towers_telecom.jpeg');
}

/* ============================================================
   PROJECT DETAIL SLIDES (SLIDES 6 - 12)
============================================================ */
.slide-project {
  padding: 3.2cqw 3.8cqw 2.4cqw;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.project-header {
  margin-bottom: 1.8cqw;
  padding-right: 5cqw;
}

.project-title {
  color: var(--ramboll-cyan);
  font-size: 2.6cqw;
  font-weight: 400;
  line-height: 1.2;
}

.project-subtitle {
  color: var(--ramboll-cyan);
  font-size: 1.55cqw;
  font-weight: 300;
  margin-top: 0.3cqw;
}

.project-body {
  display: flex;
  gap: 2.8cqw;
  flex: 1;
  overflow: hidden;
  align-items: stretch;
}

.project-info-col {
  width: 44%;
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  overflow-y: auto;
  padding-right: 0.6cqw;
}

.project-desc {
  font-size: 1.12cqw;
  line-height: 1.44;
  color: var(--ramboll-navy);
}

.project-desc strong {
  font-weight: 700;
}

.project-section-title {
  font-size: 1.22cqw;
  font-weight: 700;
  color: var(--ramboll-navy);
  margin-top: 0.2cqw;
}

.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45cqw;
}

.project-list-item {
  font-size: 1.05cqw;
  line-height: 1.36;
  color: var(--ramboll-navy);
}

.project-metrics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45cqw;
}

.project-metric-item {
  font-size: 1.05cqw;
  line-height: 1.36;
  color: var(--ramboll-navy);
}

.metric-val {
  font-weight: 700;
}

.metric-sep {
  margin: 0 0.4cqw;
  color: var(--ramboll-text-muted);
}

.metric-lbl {
  color: var(--ramboll-navy);
}

.project-image-col {
  width: 56%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
}

.project-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   SLIDE 13: CLOSING SLIDE
============================================================ */
.slide-13 {
  background: var(--ramboll-cyan);
  position: relative;
}

.slide-13-content {
  height: 100%;
  padding: 5cqw 7cqw 4cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-13-title {
  color: #ffffff;
  font-size: 6.2cqw;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -1px;
}

.slide-13-badge {
  background: #ffffff;
  padding: 0.9cqw 2.2cqw;
  border-radius: 0.8cqw;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.slide-13-badge img {
  height: 3.8cqw;
  width: auto;
  display: block;
}

/* ============================================================
   SECTION JUMP BANNER / BREADCRUMB
============================================================ */
.section-alert-bar {
  width: min(calc((100vh - var(--header-height) - 24px) * 16 / 9), 96vw);
  max-width: 1200px;
  background: #1e2b34;
  border-left: 4px solid var(--ramboll-cyan);
  padding: 10px 18px;
  border-radius: 6px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.section-alert-text {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-alert-text strong {
  color: var(--ramboll-cyan);
}

.section-jump-btn {
  background: var(--ramboll-cyan);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.section-jump-btn:hover {
  background: #ffffff;
  color: var(--ramboll-dark-blue);
}

/* ============================================================
   FLOATING PRESENTATION CONTROLS (BOTTOM RIGHT)
============================================================ */
.presentation-dock {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: rgba(26, 36, 43, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dock-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px 8px;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--ramboll-cyan);
}

.dock-slide-counter {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================================
   SLIDE-BY-SLIDE MODE (FULLSCREEN OR SINGLE SLIDE VIEW)
============================================================ */
body.mode-slide-view .presentation-container {
  padding: 0;
  max-width: 100vw;
  height: calc(100vh - var(--header-height));
  justify-content: center;
  overflow: hidden;
}

body.mode-slide-view .slide {
  display: none;
  max-height: calc(100vh - var(--header-height) - 16px);
  width: auto;
  aspect-ratio: 16 / 9;
}

body.mode-slide-view .slide.active-slide {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   RESPONSIVE DESIGN (MOBILE & SMALL SCREENS)
============================================================ */
@media (max-width: 768px) {
  .ramboll-header {
    height: auto;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .slide {
    width: 98vw;
    aspect-ratio: auto;
    min-height: 480px;
    max-height: none;
  }
  .slide-2 {
    flex-direction: column;
  }
  .slide-2-left,
  .slide-2-right {
    width: 100%;
  }
  .slide-4 {
    flex-direction: column;
  }
  .slide-4-left,
  .slide-4-right {
    width: 100%;
  }
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-project .project-body {
    flex-direction: column;
  }
  .slide-project .project-info-col,
  .slide-project .project-image-col {
    width: 100%;
  }
}

/* ============================================================
   HOME COVER
============================================================ */
@font-face {
  font-family: 'Ramboll Cover';
  src: url('../assets/nunito-custom-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

body.home-page {
  display: block;
  min-height: 0;
  background: #000;
}

.home-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: url('../assets/hero-cover.webp') center / 100% 100% no-repeat;
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
}

.home-hero-title {
  position: absolute;
  top: 9.027%;
  left: 2.956%;
  margin: 0;
  color: #fff;
  font-size: 5.633vw;
  font-weight: 300;
  line-height: 1.07656;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-hero-subtitle {
  position: absolute;
  top: 54.015%;
  left: 2.956%;
  margin: 0;
  color: #fff;
  font-size: 2.503vw;
  font-weight: 300;
  line-height: 1;
}

/* ============================================================
   PDF-ACCURATE PRESENTATION PAGES
============================================================ */
html:has(body.pdf-site) {
  background: #fff;
}

body.pdf-site {
  display: block;
  min-height: 0;
  margin: 0;
  background: #fff;
  overflow-x: hidden;
}

.pdf-deck {
  width: 100%;
  margin: 0;
  padding: 0;
}

.pdf-slide {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.pdf-slide > img {
  display: block;
  width: 100%;
  height: auto;
}

.expertise-link {
  position: absolute;
  top: 26.667%;
  width: 22.344%;
  height: 62.63%;
  z-index: 1;
  outline-offset: -4px;
}

.expertise-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.expertise-link:focus-visible {
  outline: 3px solid #009df0;
}

.expertise-link--transport {
  left: 2.969%;
}

.expertise-link--roads {
  left: 26.875%;
}

.expertise-link--towers {
  left: 50.781%;
}

.expertise-link--water {
  left: 74.687%;
}

/* ============================================================
   SEMANTIC HTML PRESENTATION
============================================================ */
body.semantic-site {
  display: block;
  min-height: 0;
  background: #fff;
}

html:has(body.semantic-site) {
  scroll-behavior: auto;
}

.semantic-site .semantic-deck {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.semantic-site .slide {
  width: 100%;
  max-width: none;
  max-height: none;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  flex: none;
}

.semantic-site .slide-1 {
  background-image: url('../assets/cover_bg.jpeg');
}

.semantic-site .slide-1::before {
  background: linear-gradient(
    115deg,
    rgba(15, 28, 38, 0.48) 0%,
    rgba(15, 28, 38, 0.24) 45%,
    rgba(15, 28, 38, 0.03) 85%
  );
}

.semantic-site .slide-3::before {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.03) 0%,
    rgba(0, 0, 0, 0.18) 52%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.semantic-site .slide-1-content {
  padding: 0;
}

.semantic-site .slide-1-top-group {
  position: absolute;
  top: 7.35%;
  left: 2.95%;
}

.semantic-site .slide-1-title {
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
  font-size: 5.63cqw;
  font-weight: 300;
  line-height: 1.077;
  letter-spacing: 0;
}

.semantic-site .slide-1-subtitle {
  margin-top: 7.4cqw;
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
  font-size: 2.5cqw;
  font-weight: 300;
}

.semantic-site .slide-1-bottom-group {
  position: absolute;
  bottom: 7.5%;
  left: 2.95%;
}

.semantic-site .slide-1-brand-badge {
  gap: 1cqw;
}

.semantic-site .slide-1-brand-badge img {
  height: 2.85cqw;
}

.semantic-site .slide-1-tagline {
  font-size: 1.1cqw;
}

.semantic-site .slide-2-body,
.semantic-site .slide-2-founders-caption,
.semantic-site .slide-3-point,
.semantic-site .project-desc,
.semantic-site .project-list-item,
.semantic-site .project-metric-item {
  font-weight: 300;
}

.semantic-site .slide h1,
.semantic-site .slide h2,
.semantic-site .slide h3,
.semantic-site .slide p,
.semantic-site .slide li,
.semantic-site .slide figcaption,
.semantic-site .slide .card-title,
.semantic-site .slide .slide-footer-brand,
.semantic-site .slide .slide-footer-num,
.semantic-site .slide .slide-5-num {
  text-align: left;
}

.semantic-site .slide-3-content {
  align-items: flex-start;
  padding-top: 5.6cqw;
}

.semantic-site .slide-3-text-col {
  width: 30.5%;
  gap: 5cqw;
}

.semantic-site .slide-3-heading {
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.semantic-site .slide-3-points {
  gap: 1cqw;
}

.semantic-site .slide-3-point {
  flex-direction: row;
  padding-right: 1.6cqw;
  text-align: left;
}

.semantic-site .slide-2-left {
  padding: 4.8cqw 3cqw 3.7cqw;
}

.semantic-site .slide-2-right img,
.semantic-site .slide-4-right img {
  object-fit: cover;
}

.semantic-site .slide-4 {
  background: url('../assets/india_projects_hero.jpeg') center / cover no-repeat;
}

.semantic-site .slide-4-left {
  width: 51.4%;
  height: 48.8%;
  padding: 2.1cqw 3.75cqw;
  clip-path: polygon(0 0, 100% 0, 100% 67.1%, 56.75% 67.1%, 56.75% 100%, 0 100%);
}

.semantic-site .slide-4-right {
  display: none;
}

.semantic-site .slide-4-title {
  font-size: 5.6cqw;
}

.semantic-site .slide-4 .ramboll-logo-pill {
  position: absolute;
  left: 3.75cqw;
  bottom: 3cqw;
  display: flex;
  align-items: center;
  gap: 1.15cqw;
  color: #fff;
  transform: none;
}

.semantic-site .slide-4 .ramboll-logo-pill img {
  display: block;
  width: 12.6cqw;
  height: auto;
}

.semantic-site .slide-4 .pill-divider {
  display: none;
}

.semantic-site .slide-4 .pill-tagline {
  display: block;
  font-size: 0.95cqw;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}

.semantic-site .slide-closing {
  position: relative;
  overflow: hidden;
  background: var(--ramboll-cyan);
  color: #fff;
}

.semantic-site .slide-closing h2 {
  position: absolute;
  top: 18.5%;
  left: 11.55%;
  margin: 0;
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
  font-size: 7.55cqw;
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.03em;
  transform: scaleX(1.12);
  transform-origin: top left;
}

.semantic-site .slide-closing img {
  position: absolute;
  left: 12.05%;
  bottom: 19.95%;
  display: block;
  width: 14.2cqw;
  height: auto;
}

.semantic-site .slide-5 {
  padding: 4.8cqw 3cqw 3cqw;
}

.semantic-site .slide-5-title {
  font-size: 2.55cqw;
}

.semantic-site .expertise-grid {
  gap: 1.65cqw;
}

.semantic-site .expertise-card {
  border-radius: 0;
}

.semantic-site .expertise-card::before {
  display: none;
}

.semantic-site .card-title {
  padding: 2.1cqw 1.75cqw;
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
  font-size: 2cqw;
  font-weight: 300;
}

.semantic-site .card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.7cqw;
  align-self: flex-start;
  margin: auto 1.75cqw 1.75cqw;
  padding: 0.65cqw 1.05cqw;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1.05cqw;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  transform: none;
}

.semantic-site .expertise-card:hover .card-action {
  opacity: 1;
  transform: none;
}

.semantic-site .slide-project {
  padding: 5.92cqw 2.95cqw 3.1cqw;
}

.semantic-site .project-header {
  margin-bottom: 4.5cqw;
}

.semantic-site .project-title {
  font-size: 2.25cqw;
}

.semantic-site .project-subtitle {
  font-size: 1.58cqw;
}

.semantic-site .project-body {
  display: grid;
  grid-template-columns: 34.5% minmax(0, 1fr);
  align-items: flex-start;
  gap: 5.35cqw;
}

.semantic-site .project-info-col {
  width: 100%;
  gap: 1.25cqw;
  overflow: visible;
}

.semantic-site .project-desc,
.semantic-site .project-list-item,
.semantic-site .project-metric-item {
  font-size: 1.16cqw;
  line-height: 1.33;
}

.semantic-site .project-section-title {
  font-size: 1.16cqw;
  margin-top: 0.6cqw;
}

.semantic-site .project-list,
.semantic-site .project-metrics-list {
  gap: 0.42cqw;
}

.semantic-site .project-image-col {
  width: 100%;
  aspect-ratio: 1.605 / 1;
  border-radius: 0;
  box-shadow: none;
}

.semantic-site .project-image-col img {
  object-fit: cover;
}

.semantic-site .slide-13 {
  padding: 0;
}

.semantic-site .slide-13-content {
  padding: 7.4cqw 5cqw 5cqw;
}

.semantic-site .slide-13-title {
  font-family: 'Ramboll Cover', 'Nunito', sans-serif;
  font-size: 5.63cqw;
  font-weight: 300;
}

.semantic-site .slide-13-badge {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.semantic-site .slide-13-badge img {
  height: 3.3cqw;
}

@media (max-width: 768px) {
  .semantic-site .slide {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .semantic-site .slide-2,
  .semantic-site .slide-4,
  .semantic-site .slide-project .project-body {
    flex-direction: row;
  }

  .semantic-site .slide-2-left,
  .semantic-site .slide-2-right,
  .semantic-site .slide-4-left,
  .semantic-site .project-info-col,
  .semantic-site .project-image-col {
    width: auto;
  }
}

@media (max-width: 640px) {
  .semantic-site .slide-project {
    aspect-ratio: auto;
    padding: 8vw 7vw 10vw;
  }

  .semantic-site .slide-project .project-header {
    margin-bottom: 6vw;
    padding-right: 8vw;
  }

  .semantic-site .slide-project .project-title {
    font-size: 5.3vw;
  }

  .semantic-site .slide-project .project-subtitle {
    font-size: 3.2vw;
    line-height: 1.3;
  }

  .semantic-site .slide-project .project-body {
    display: flex;
    flex-direction: column;
    gap: 6vw;
  }

  .semantic-site .slide-project .project-info-col,
  .semantic-site .slide-project .project-image-col {
    width: 100%;
  }

  .semantic-site .slide-project .project-info-col {
    gap: 3.5vw;
  }

  .semantic-site .slide-project .project-desc,
  .semantic-site .slide-project .project-list-item,
  .semantic-site .slide-project .project-metric-item {
    font-size: 3.25vw;
    line-height: 1.45;
  }

  .semantic-site .slide-project .project-section-title {
    font-size: 3.5vw;
    margin-top: 2vw;
  }

  .semantic-site .slide-project .project-list,
  .semantic-site .slide-project .project-metrics-list {
    gap: 1.5vw;
  }

  .semantic-site .slide-project .project-image-col {
    height: 64vw;
  }

  .semantic-site .slide-project .slide-footer-brand,
  .semantic-site .slide-project .slide-footer-num {
    bottom: 3vw;
    font-size: 2.6vw;
  }
}
