@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   DESIGN VARIABLES & SYSTEM
   ========================================== */
:root {
  --primary: #e86b25;
  --primary-rgb: 232, 107, 37;
  --primary-hover: #cf5612;
  --primary-light: #fef0e8;
  --black: #111111;
  --black-rgb: 17, 17, 17;
  --slate-dark: #1c1c1c;
  --slate-gray: #4e4e4e;
  --text-main: #2d2d2d;
  --text-muted: #757575;
  --bg-light: #faf8f5;
  /* Warm cream/off-white background */
  --white: #ffffff;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 30px -5px rgba(0, 0, 0, 0.06), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(232, 107, 37, 0.18);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
}

/* ==========================================
   RESET & GLOBAL STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button,
input {
  font-family: inherit;
}

/* ==========================================
   CSS PATTERNS
   ========================================== */
.pattern-grid {
  background-color: #fdfdfb;
  background-image:
    linear-gradient(to right, rgba(232, 107, 37, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 107, 37, 0.04) 1px, transparent 1px);
  background-size: 35px 35px;
}

.pattern-dots {
  background-color: #ffffff;
  background-image: radial-gradient(rgba(232, 107, 37, 0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.pattern-stripes {
  background-color: #fbf8f5;
  background-image: repeating-linear-gradient(45deg, rgba(232, 107, 37, 0.012), rgba(232, 107, 37, 0.012) 10px, transparent 10px, transparent 20px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
}

.nav-menu a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background-color: var(--primary-hover) !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 95vh;
  min-height: 700px;
  background-image: linear-gradient(to bottom, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.3) 50%, rgba(17, 17, 17, 0.8) 100%), url('media/hero_bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding: 80px 20px 140px 20px;
  /* Bottom padding makes room for floating card */
}

.hero-content {
  max-width: 800px;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo-svg {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  margin-bottom: 10px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.hero-overlay-card {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 950px;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 30px 40px;
  z-index: 10;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-bottom-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-bottom-text strong {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.section {
  padding: 100px 20px;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary);
}

.about-desc {
  font-size: 18px;
  color: var(--slate-gray);
  line-height: 1.8;
}

/* ==========================================
   SISTER COMPANIES (BENTO GRID - 6 COLUMNS)
   ========================================== */
/* Business Interests pills */
.interest-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
}

.interest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--white);
  border: 1px solid rgba(232, 107, 37, 0.18);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.interest-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(232, 107, 37, 0.12);
}

.interest-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
  transition: var(--transition-smooth);
}

/* ==========================================
   COMPANIES SLIDER — 4 visible, arrows page the rest
   ========================================== */
.companies-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 40px;
}

.slider-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* top padding leaves room for the badge overhang + hover lift */
  padding: 60px 4px 14px 4px;
}

.companies-track {
  display: flex;
  align-items: stretch;
  gap: var(--slider-gap, 18px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 5 cards per screen on large desktop */
.company-card {
  flex: 0 0 calc((100% - 4 * var(--slider-gap, 18px)) / 5);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 107, 37, 0.06);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 18px 22px 18px;
}

/* Arrows — inner, overlapping the viewport with a subtle background */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.slider-arrow-prev {
  left: 10px;
}

.slider-arrow-next {
  right: 10px;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-arrow:hover:not(:disabled) {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(232, 107, 37, 0.2);
}

.slider-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Position dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(232, 107, 37, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot:hover {
  background-color: rgba(232, 107, 37, 0.5);
}

.slider-dot.is-active {
  background-color: var(--primary);
  width: 22px;
  border-radius: 4px;
}

/* Copy block grows so images + buttons align across every card */
.company-text {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Read more / Read less toggle */
.read-more-btn {
  align-self: center;
  background: none;
  border: none;
  padding: 0;
  margin-top: 2px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition-smooth);
}

.read-more-btn:hover {
  color: var(--primary-hover);
}

[hidden] {
  display: none !important;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 107, 37, 0.25);
}

.company-badge-logo {
  width: 106px;
  height: 106px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -53px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  transition: var(--transition-smooth);
}

.company-card:hover .company-badge-logo {
  border-color: var(--primary);
  transform: translateX(-50%) scale(1.05);
}

.company-badge-logo svg {
  width: 52px;
  height: 52px;
}

.company-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.company-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Legal entity name shown under a brand name */
.company-entity {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2px;
  line-height: 1.4;
  margin-top: -4px;
  margin-bottom: 9px;
}

/* Client / export rosters */
.company-clients {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.clients-label {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: 100px;
  padding: 2px 7px;
  margin-right: 5px;
}

.company-img-wrapper {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #fcfaf8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 200px;
  margin-top: auto;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.company-card:hover .company-img-wrapper {
  transform: scale(1.05);
}

.company-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 15px;
  border-radius: 20px;
  background-color: var(--primary-light);
  transition: var(--transition-smooth);
  white-space: nowrap;
  /* keep the pill on one line in narrow cards */
  flex-shrink: 0;
}

.company-link svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.company-card:hover .company-link {
  background-color: var(--primary);
  color: var(--white);
}

.company-card:hover .company-link svg {
  transform: translateX(3px);
}

/* Graphic panel used where no authentic photography exists (Tricity Infra) */
.company-graphic-panel {
  background: linear-gradient(135deg, #fef0e8 0%, #fdf6f1 100%);
  border: 1px solid rgba(232, 107, 37, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 24px 18px;
  overflow: hidden;
}

.graphic-skyline {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 100%;
  width: 100%;
  max-width: 260px;
}

.skyline-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary) 0%, rgba(232, 107, 37, 0.45) 100%);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.skyline-bar:nth-child(1) {
  height: 38%;
}

.skyline-bar:nth-child(2) {
  height: 62%;
}

.skyline-bar:nth-child(3) {
  height: 88%;
}

.skyline-bar:nth-child(4) {
  height: 52%;
}

.skyline-bar:nth-child(5) {
  height: 74%;
}

.skyline-bar:nth-child(6) {
  height: 44%;
}

.company-card:hover .skyline-bar {
  opacity: 1;
}

.company-card:hover .skyline-bar:nth-child(1) {
  height: 46%;
}

.company-card:hover .skyline-bar:nth-child(2) {
  height: 70%;
}

.company-card:hover .skyline-bar:nth-child(3) {
  height: 96%;
}

.company-card:hover .skyline-bar:nth-child(4) {
  height: 60%;
}

.company-card:hover .skyline-bar:nth-child(5) {
  height: 82%;
}

.company-card:hover .skyline-bar:nth-child(6) {
  height: 52%;
}

/* ==========================================
   JOURNEY / TIMELINE SECTION
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 1100px;
  margin: 50px auto 0 auto;
  padding: 40px 0;
}

.timeline-track {
  position: absolute;
  top: 78px;
  left: 10%;
  width: 80%;
  height: 6px;
  background-color: rgba(17, 17, 17, 0.06);
  z-index: 1;
  border-radius: 3px;
  overflow: hidden;
}

.timeline-track-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 50%, var(--black) 100%);
  background-size: 200% 100%;
  animation: timelineFlow 5s linear infinite;
}

@keyframes timelineFlow {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: 0% 0;
  }
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-node {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--black));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(232, 107, 37, 0.2);
  border: 4px solid var(--white);
  position: relative;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
  z-index: 3;
}

.timeline-node svg {
  width: 30px;
  height: 30px;
  color: var(--white);
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-node {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 30px rgba(232, 107, 37, 0.35);
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.timeline-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px 25px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 107, 37, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  width: 100%;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 107, 37, 0.2);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: var(--white);
  border-left: 1px solid rgba(232, 107, 37, 0.05);
  border-top: 1px solid rgba(232, 107, 37, 0.05);
  z-index: 1;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-card::before {
  border-color: rgba(232, 107, 37, 0.2);
}

.timeline-stat {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   IMPACT / STATS COUNTER SECTION
   ========================================== */
.impact-section {
  padding: 90px 20px;
  background-color: var(--bg-light);
}

.impact-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.section-title-line {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
  margin: 15px auto 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.impact-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(232, 107, 37, 0.12);
  box-shadow: var(--shadow-md);
  padding: 42px 20px 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  opacity: 0;
  transition: var(--transition-smooth);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 107, 37, 0.3);
}

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

.impact-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition-smooth);
  border: 1.5px solid rgba(232, 107, 37, 0.15);
}

.impact-icon-box svg {
  width: 34px;
  height: 34px;
  transition: var(--transition-smooth);
}

.impact-card:hover .impact-icon-box {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(232, 107, 37, 0.25);
  border-color: var(--primary);
}

.impact-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -1px;
  transition: var(--transition-smooth);
}

.impact-card:hover .impact-number {
  color: var(--primary);
}

.impact-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-gray);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================
   LEADERSHIP SECTION (SLIDE-UP DRAWER CARDS)
   ========================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.leader-card {
  position: relative;
  height: 330px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 107, 37, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 107, 37, 0.2);
}

.leader-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-position: center top;
  transition: var(--transition-smooth);
}

.leader-card:hover .leader-img {
  transform: scale(1.08);
  filter: brightness(0.5) contrast(1.1);
}

/* Monogram placeholder — stands in until official photography is supplied */
.leader-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(232, 107, 37, 0.22) 0%, rgba(232, 107, 37, 0) 62%),
    linear-gradient(160deg, var(--slate-dark) 0%, var(--black) 100%);
  transition: var(--transition-smooth);
}

.leader-monogram span {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary);
  opacity: 0.9;
  transform: translateY(-34px);
  transition: var(--transition-smooth);
}

.leader-card:hover .leader-monogram span {
  transform: translateY(-34px) scale(1.06);
  opacity: 1;
}

/* Academic / professional credentials line */
.leader-creds {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 9px;
  letter-spacing: 0.2px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.leader-card:hover .leader-creds {
  opacity: 1;
  transform: translateY(0);
}

.leader-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.9) 60%, rgba(17, 17, 17, 0.55) 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  padding: 18px 20px 20px 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Collapsed peek shows name + role; hover slides the full panel up */
  transform: translateY(calc(100% - 74px));
  transition: var(--transition-smooth);
  color: var(--white);
}

.leader-card:hover .leader-info {
  transform: translateY(0);
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leader-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

.leader-role {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 12px;
  display: block;
}

.leader-bio {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
}

.leader-card:hover .leader-bio {
  opacity: 1;
  transform: translateY(0);
}

.leader-social {
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.leader-card:hover .leader-social {
  opacity: 1;
  transform: translateY(0);
}

.leader-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-smooth);
}

.leader-social-link:hover {
  background-color: var(--primary);
}

.leader-social-link svg {
  width: 13px;
  height: 13px;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
footer {
  background-color: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 20px 20px 20px;
  border-top: 3px solid var(--primary);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer contact block */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-contact-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--primary);
}

.footer-contact-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
}

.footer-contact-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
}

.footer-contact-text a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact-text a:hover {
  color: var(--primary);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-svg {
  width: 90px;
  height: 90px;
}

.footer-brand-title {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '⊙';
  color: var(--primary);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.newsletter-input-wrapper {
  position: relative;
  width: 100%;
}

.newsletter-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
}

.footer-social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ==========================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================== */

/* Large Desktops and Laptops */
@media (max-width: 1200px) {

  /* 4 cards per screen */
  .company-card {
    flex-basis: calc((100% - 3 * var(--slider-gap, 18px)) / 4);
  }
}

/* Tablets and Medium Screens */
@media (max-width: 992px) {
  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 34px;
  }

  /* 3 cards per screen */
  .company-card {
    flex-basis: calc((100% - 2 * var(--slider-gap, 18px)) / 3);
  }

  /* Timeline responsive adapts are defined inline inside the section styles */

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* Small Tablets and Large Mobile Screens */
@media (max-width: 768px) {

  /* 2 cards per screen */
  .company-card {
    flex-basis: calc((100% - 1 * var(--slider-gap, 18px)) / 2);
  }

  /* Timeline — stack vertically, hide track */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-track {
    display: none;
  }

  .timeline-node {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .timeline-node svg {
    width: 22px;
    height: 22px;
  }

  .timeline-card {
    padding: 20px 18px;
  }

  .timeline-stat {
    font-size: 24px;
  }

  .timeline-container {
    padding: 20px 0;
    margin-top: 30px;
  }

  .nav-menu {
    display: none;
    /* In production a hamburger menu would go here */
  }

  .hero {
    height: auto;
    min-height: 80vh;
    padding-bottom: 270px;
    /* Space for the floating card */
  }

  .hero-overlay-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 50px;
    width: 100%;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

/* Mobile Screens */
@media (max-width: 576px) {
  p {
    font-size: 12px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: 28px;
  }

  /* 2 cards per screen with 2px gap */
  .companies-track {
    --slider-gap: 2px;
    gap: 2px;
  }

  .company-card {
    flex-basis: calc((100% - 2px) / 2);
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

  .slider-arrow-prev {
    left: 6px;
  }

  .slider-arrow-next {
    right: 6px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .impact-card {
    padding: 26px 10px 22px 10px;
  }

  .impact-icon-box {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }

  .impact-icon-box svg {
    width: 26px;
    height: 26px;
  }

  .impact-number {
    font-size: 30px;
  }

  .impact-label {
    font-size: 12.5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}