/* ===================================
   ABOUT PAGE STYLES - REDESIGNED
   Capital Innovation Fund
   =================================== */

/* PREVENT HORIZONTAL SCROLL */
html, body {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

/* COLOR VARIABLES */
:root {
  --blue: #00273d;
  --blue-dark: #001a29;
  --blue-light: #003d5c;
  --white: #ffffff;
  --grey: #f8f9fa;
  --grey-light: #f4f4f4;
  --grey-dark: #1a1a1a;
  --grey-medium: #666666;
  --accent: #00a8e8;
  --accent-light: #33bef0;
  --success: #00ff88;
  --warning: #ffaa00;
  --border: rgba(0, 0, 0, 0.08);
}

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

body, html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ==================================
   NAVIGATION
   ================================== */
nav {
  width: 100%;
  background: var(--blue);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(0, 39, 61, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 12px 40px;
}

nav .logo img {
  height: 45px;
  transition: height 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* ==================================
   ABOUT HERO - PARALLAX
   ================================== */
.about-hero {
  height: 75vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  overflow: hidden;
  background: var(--blue-dark);
}

.parallax-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease-out;
}

.layer-back {
  z-index: 1;
}

.gradient-grid {
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(0, 168, 232, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(0, 168, 232, 0.05) 50px, rgba(0, 168, 232, 0.05) 51px),
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0, 168, 232, 0.05) 50px, rgba(0, 168, 232, 0.05) 51px);
}

.layer-mid {
  z-index: 2;
}

.data-network {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 168, 232, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
}

.layer-front {
  z-index: 3;
}

.layer-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 39, 61, 0.65) 0%, rgba(0, 39, 61, 0.85) 100%);
  z-index: 4;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1000px;
  padding: 0 40px;
  color: var(--white);
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(0, 168, 232, 0.15);
  border-radius: 30px;
  border: 1px solid rgba(0, 168, 232, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
}

.about-hero-content h1 {
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.15;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
}

.about-hero-content p {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================
   INTRODUCTION STATEMENT
   ================================== */
.intro-statement {
  padding: 100px 60px;
  background: var(--white);
}

.intro-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 32px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.intro-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--grey-dark);
  margin-bottom: 24px;
  opacity: 0.9;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.intro-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-item {
  padding: 28px;
  background: var(--grey);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateX(8px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

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

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--grey-medium);
  font-weight: 500;
}
/* ==================================
   MISSION & VISION
   ================================== */
.mission-vision {
  padding: 100px 60px;
  background: var(--grey);
}

.mission-vision-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.mission-card,
.vision-card {
  position: relative;
  padding: 50px;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark overlay via pseudo-element */
.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 26, 41, 0.92) 0%,
    rgba(0, 26, 41, 0.70) 50%,
    rgba(0, 26, 41, 0.45) 100%
  );
  border-radius: 16px;
  z-index: 1;
}

.mission-card:hover,
.vision-card:hover {
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

/* Content sits above the overlay */
.mission-card h3,
.vision-card h3 {
  position: relative;
  z-index: 2;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 168, 232, 0.6);
}

.mission-card p,
.vision-card p {
  position: relative;
  z-index: 2;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}
/* ==================================
   WHAT WE DO - LIFECYCLE TIMELINE
   ================================== */
.what-we-do {
  padding: 120px 60px;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 19px;
  color: var(--grey-medium);
  line-height: 1.6;
}

.lifecycle-timeline {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.lifecycle-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--blue));
  opacity: 0.2;
}

.timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 4px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 168, 232, 0.2);
  z-index: 2;
}

.marker-icon {
  width: 40px;
  height: 40px;
}

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

.timeline-content {
  background: var(--grey);
  padding: 36px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateX(8px);
}

.timeline-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-dark);
  opacity: 0.9;
}

/* ==================================
   COMPETITIVE ADVANTAGE
   ================================== */
.competitive-advantage {
  padding: 120px 60px;
  background: var(--grey);
}

.advantages-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.advantage-card {
  position: relative;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  border-top: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advantage-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.advantage-number {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 168, 232, 0.08);
  line-height: 1;
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

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

.advantage-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.advantage-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-dark);
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* ==================================
   TECHNOLOGY APPROACH
   ================================== */
.technology-approach {
  padding: 120px 60px;
  background: var(--white);
}

.tech-architecture {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tech-layer {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.layer-label {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.layer-components {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.component {
  padding: 28px;
  background: var(--grey);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.component:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateX(6px);
}

.component-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

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

.component h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.component p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-medium);
}

/* ==================================
   CASE STUDIES
   ================================== */
.case-studies {
  padding: 120px 60px;
  background: var(--grey);
}

.cases-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.case-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  border-top: 5px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.case-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.case-sector {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: rgba(0, 168, 232, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.case-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

.case-challenge,
.case-solution {
  margin-bottom: 24px;
}

.case-challenge h4,
.case-solution h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-medium);
  margin-bottom: 10px;
}

.case-challenge p,
.case-solution p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-dark);
  opacity: 0.9;
}

/* ==================================
   WHY IT MATTERS
   ================================== */
.why-matters {
  padding: 120px 60px;
  background: var(--blue-dark);
  color: var(--white);
}

.matters-content {
  max-width: 1300px;
  margin: 0 auto;
}

.matters-content h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.5px;
}

.matters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.matter-item {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.matter-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-8px);
}

.matter-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.matter-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.matter-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.matter-item p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================================
   PARTNER CTA
   ================================== */
.partner-cta {
  padding: 120px 60px;
  background: var(--white);
}

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

.cta-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.cta-content > p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--grey-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  opacity: 0.9;
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.cta-option {
  padding: 36px;
  background: var(--grey);
  border-radius: 12px;
  border-top: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-option:hover {
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.cta-option h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.cta-option p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-dark);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 168, 232, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==================================
   FOOTER
   ================================== */
footer {
  background: var(--grey-light);
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}

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

footer img {
  height: 50px;
}

footer .social img {
  height: 28px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

footer .social img:hover {
  transform: scale(1.15);
}

/* ==================================
   RESPONSIVE DESIGN
   ================================== */
@media (max-width: 1024px) {
  .intro-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 25px;
  }
  
  nav ul {
    gap: 20px;
  }
  
  .about-hero {
    height: 65vh;
    min-height: 500px;
  }
  
  .about-hero-content h1 {
    font-size: 40px;
  }
  
  .about-hero-content p {
    font-size: 17px;
  }
  
  .section-header h2,
  .matters-content h2,
  .cta-content h2 {
    font-size: 36px;
  }
  
  .intro-statement,
  .mission-vision,
  .what-we-do,
  .competitive-advantage,
  .technology-approach,
  .case-studies,
  .why-matters,
  .partner-cta {
    padding: 80px 40px;
  }
  
  .timeline-item {
    padding-left: 100px;
  }
  
  .timeline-marker {
    width: 70px;
    height: 70px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 12px 20px;
  }
  
  nav .logo img {
    height: 35px;
  }
  
  nav ul {
    gap: 12px;
  }
  
  nav ul li a {
    font-size: 13px;
  }
  
  .about-hero {
    height: 60vh;
    min-height: 450px;
  }
  
  .about-hero-content h1 {
    font-size: 32px;
  }
  
  .about-hero-content p {
    font-size: 16px;
  }
  
  .section-header h2,
  .matters-content h2,
  .cta-content h2 {
    font-size: 28px;
  }
  
  .intro-statement,
  .mission-vision,
  .what-we-do,
  .competitive-advantage,
  .technology-approach,
  .case-studies,
  .why-matters,
  .partner-cta {
    padding: 60px 25px;
  }
  
  .intro-content h2 {
    font-size: 30px;
  }
  
  .timeline-item {
    padding-left: 0;
    padding-top: 100px;
  }
  
  .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }
  
  .lifecycle-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .matters-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 25px;
  }
}