/* ============================================================
   DAFFOURD INVEST - Design System
   Pixel-perfect match to original Webflow site
   Font: DM Sans (closest to Clarity City used by Webflow)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  background: #060606;
  color: rgb(186, 186, 186);
  line-height: 30px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

/* --- Container --- */
.container {
  max-width: 91%;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
.display-1 {
  font-size: 80px;
  font-weight: 500;
  line-height: 100px;
  letter-spacing: normal;
  color: #fff;
}
.display-2 {
  font-size: 64px;
  font-weight: 500;
  line-height: 86px;
  letter-spacing: normal;
  color: #fff;
}
.display-3 {
  font-size: 50px;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: normal;
  color: #fff;
}

h1 { color: #fff; }
h2 { color: #fff; }
h3 { color: #fff; }

.heading-h3-size {
  font-size: 24px;
  font-weight: 600;
}

.paragraph-100, .text-200 {
  font-size: 18px;
  line-height: 30px;
}
.text-200 { color: #fff; }
.color-neutral-100 { color: #fff; }
.color-neutral-600 { color: rgb(139, 139, 139); }
.color-primary { color: rgb(0, 71, 255); }
.text-center { text-align: center; }
.bold { font-weight: 700; }

/* --- Spacing Utilities (matching Webflow mg- classes) --- */
.mg-bottom-8px { margin-bottom: 8px; }
.mg-bottom-16px { margin-bottom: 16px; }
.mg-bottom-24px { margin-bottom: 24px; }
.mg-bottom-32px { margin-bottom: 32px; }
.mg-bottom-40px { margin-bottom: 40px; }
.mg-bottom-48px { margin-bottom: 48px; }
.mg-bottom-56px { margin-bottom: 56px; }
.mg-bottom-64px { margin-bottom: 64px; }
.mg-bottom-80px { margin-bottom: 80px; }

/* ============================================================
   HEADER - fixed at top
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 32px 0;
  background: transparent;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(6, 6, 6, 0.95);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}
.site-header .logo img {
  height: 30px;
  width: auto;
}
.site-header .logo a { display: block; }

/* Hamburger */
.hamburger {
  width: 32px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   NAVIGATION OVERLAY
   ============================================================ */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #060606;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  padding: 120px 58px 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 91%;
  margin: 0 auto;
}
.nav-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.nav-overlay .nav-link {
  font-size: 22px;
  font-weight: 300;
  color: rgb(225, 225, 225);
  transition: opacity 0.3s ease;
  display: block;
  line-height: 1.4;
}
.nav-overlay .nav-link:hover {
  opacity: 0.6;
}

/* ============================================================
   HERO SECTION (homepage)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 14vh;
  z-index: 1;
  position: relative;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 1100px;
}
.hero .subtitle {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  position: relative;
  z-index: 2;
}
.hero-earth {
  width: 1200px;
  height: 1200px;
  position: absolute;
  bottom: -680px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-earth img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   SECTIONS - General (padding: 0, spacing via inner elements)
   ============================================================ */
.section {
  padding: 60px 0;
}
.section-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgb(139, 139, 139);
  margin-bottom: 16px;
}
.section-title {
  color: #fff;
}
.section-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  max-width: 720px;
}
.section-header {
  margin-bottom: 80px;
}

/* Star divider decoration */
.star-divider {
  width: 24px;
  height: 24px;
  margin: 80px auto;
  opacity: 0.3;
}

/* ============================================================
   BUTTONS - text links with border-bottom
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  padding: 0 0 8px 0;
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary:hover {
  opacity: 0.7;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 80px 0;
  border-top: 1px solid rgb(139, 139, 139);
  border-bottom: 1px solid rgb(139, 139, 139);
}
.stat-item {
  flex: 1;
  min-width: 120px;
}
.stat-number {
  font-size: 64px;
  font-weight: 500;
  line-height: 86px;
  color: #fff;
}
.stat-label {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  margin-top: 8px;
  line-height: 30px;
}

/* ============================================================
   ABOUT HOME LAYOUT (2-column: text left, stats right)
   ============================================================ */
.about-home-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-home-left {
  max-width: 600px;
}
.about-home-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.stat-item-box {
  padding: 0;
}

/* ============================================================
   PORTFOLIO HOME HEADER (title left, link right)
   ============================================================ */
.portfolio-home-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}
.portfolio-home-header .display-2 {
  margin-bottom: 0;
}

/* ============================================================
   PORTFOLIO CARDS - Matching original Webflow layout
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 40px;
}
.portfolio-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover {
  opacity: 0.8;
}
.portfolio-card a { display: block; text-decoration: none; }
.portfolio-card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: white;
  border-radius: 0;
  overflow: hidden;
}
.portfolio-card-image img {
  max-width: 72%;
  max-height: 65%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.05); }
.portfolio-card-info { padding: 0; }
.portfolio-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px 25px;
  margin-bottom: 8px;
}
.portfolio-card-name {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 40px;
}
.portfolio-card-arrow {
  color: rgb(0, 71, 255);
  font-size: 18px;
  font-weight: 700;
}
.portfolio-card-arrow::after {
  content: '→';
}
.portfolio-card-meta {
  font-size: 18px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  line-height: 1.5;
}

/* ============================================================
   APPROACH / PROCESS - Accordion style with BLUE numbers
   ============================================================ */
.process-section {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1fr;
  gap: 28px;
  align-items: start;
}
.process-sticky {
  position: sticky;
  top: 100px;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid rgb(139, 139, 139);
}
.process-step:first-child {
  padding-top: 0;
}
.process-step-number {
  font-size: 24px;
  font-weight: 500;
  color: rgb(0, 71, 255);
  white-space: nowrap;
  line-height: 64px;
}
.process-step-title {
  font-size: 50px;
  font-weight: 500;
  line-height: 64px;
  color: #fff;
}
.process-step-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  margin-top: 16px;
}

/* ============================================================
   SECTORS / FOCUS CARDS - flat style, no bg
   ============================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sector-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sector-card-icon { width: 48px; height: 48px; }
.sector-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.sector-card-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.sector-card-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px;
}
.team-card a { display: block; }
.team-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 0;
  background: #1a1a1a;
  margin-bottom: 32px;
}
.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.team-card:hover .team-card-image img { transform: scale(1.05); }
.team-card-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.4;
}
.team-card-role {
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  line-height: 1.5;
  margin-bottom: 8px;
}
.team-card-wrapper {
  display: flex;
  flex-direction: column;
}
.team-card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  transition: color 0.3s ease;
}
.team-card-link:hover { color: #fff; }

/* ============================================================
   PAGE HERO (inner pages) - LEFT aligned
   ============================================================ */
.page-hero {
  padding: 110px 0 80px;
  text-align: left;
}
.page-hero h1 {
  max-width: 800px;
  margin-bottom: 40px;
}
.page-hero .subtitle {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  max-width: 720px;
  line-height: 30px;
  margin-bottom: 60px;
}

/* Portfolio hero: title left, stats right */
.portfolio-hero-layout {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  flex-wrap: nowrap;
}
.portfolio-hero-left {
  flex: 0 1 auto;
  max-width: 50%;
}
.portfolio-hero-stats {
  display: flex !important;
  flex-direction: row !important;
  gap: 80px;
  align-items: flex-end;
  flex-shrink: 0;
}
.portfolio-hero-stats .stat-item {
  min-width: auto;
  flex: none;
  text-align: center;
}
.portfolio-hero-stats .stat-number {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
}
.portfolio-hero-stats .stat-label {
  font-size: 16px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  margin-top: 8px;
}
.stat-accent {
  color: #4a6cf7;
}
/* M&A services list */
.ma-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ma-services-list li {
  font-size: 20px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  padding: 24px 0;
  border-bottom: 1px solid rgba(139, 139, 139, 0.3);
  line-height: 1.6;
}
.ma-services-list li:first-child {
  border-top: 1px solid rgba(139, 139, 139, 0.3);
}

.section-divider {
  height: 1px;
  background: rgba(139, 139, 139, 0.4);
  margin: 40px 0;
}

.page-hero-banner-wrapper {
  max-width: 100%;
  margin: 40px 0 0 0;
  padding: 0;
}
.page-hero-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 0;
}

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.content-block { max-width: 720px; }
.content-block h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.3;
}
.content-block p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  margin-bottom: 16px;
}
.content-block ul { margin: 24px 0; }
.content-block ul li {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: rgb(139, 139, 139);
  border-radius: 50%;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1fr;
  gap: 33px 28px;
  align-items: start;
}
.two-col img {
  border-radius: 0;
  width: 100%;
  height: auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 120px 0;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.3;
}
.cta-section p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  margin-bottom: 40px;
  line-height: 30px;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 48px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgb(139, 139, 139);
}
.timeline-item { position: relative; padding-bottom: 56px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}
.timeline-year {
  font-size: 14px;
  font-weight: 500;
  color: rgb(139, 139, 139);
  margin-bottom: 8px;
}
.timeline-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.4;
}
.timeline-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}

/* ============================================================
   VALUE GRID - flat cards
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border-bottom: 1px solid rgb(139, 139, 139);
  padding-bottom: 32px;
}
.value-card-number {
  font-size: 24px;
  font-weight: 500;
  color: rgb(0, 71, 255);
  margin-bottom: 16px;
}
.value-card-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.3;
}
.value-card-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
/* Contact page: hero 2-column layout */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-hero-left {
  padding-top: 20px;
}
.contact-hero-right {
  width: 100%;
}
.contact-form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(139, 139, 139, 0.15);
  border-radius: 12px;
  padding: 40px;
}

/* Contact page: location grid */
.contact-location-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 40px;
  align-items: center;
}
.contact-location-img {
  overflow: hidden;
}
.contact-location-img img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-location-info {
  padding-left: 20px;
}

/* Contact social icons */
.contact-socials {
  display: flex;
  gap: 28px;
}
.contact-socials a {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.3s ease;
}
.contact-socials a:hover { opacity: 0.6; }
.contact-links {
  display: flex;
  gap: 32px;
}
.contact-links a {
  font-size: 16px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  transition: color 0.3s ease;
}
.contact-links a:hover { color: #fff; }

.contact-form { max-width: 720px; }
.form-group { margin-bottom: 32px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  color: rgb(139, 139, 139);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: 1px solid rgb(139, 139, 139);
  border-radius: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-success h2 { margin-top: 40px; }

/* Address block */
.address-block { margin-top: 8px; }
.address-item {
  display: flex;
  gap: 40px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(139, 139, 139, 0.3);
}
.address-item:first-child { border-top: 1px solid rgba(139, 139, 139, 0.3); }
.address-label {
  font-size: 14px;
  font-weight: 500;
  color: rgb(139, 139, 139);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 100px;
  flex-shrink: 0;
}
.address-value {
  font-size: 16px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 1.6;
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion-item { border-bottom: 1px solid rgb(139, 139, 139); }
.accordion-number {
  font-size: 16px;
  font-weight: 500;
  color: rgb(139, 139, 139);
  margin-right: 24px;
  flex-shrink: 0;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 32px 0;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  color: #fff;
}
.accordion-header:hover { color: rgb(225, 225, 225); }
.accordion-header::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-body-inner {
  padding-bottom: 32px;
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgb(139, 139, 139);
  margin-bottom: 64px;
}
.filter-tab {
  font-size: 14px;
  font-weight: 500;
  color: rgb(139, 139, 139);
  text-transform: lowercase;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}
.filter-tab:hover, .filter-tab.active { color: #fff; }
.filter-tab.active { border-bottom-color: #fff; }

/* ============================================================
   PORTFOLIO LIST
   ============================================================ */
.portfolio-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================
   INVESTOR DETAIL
   ============================================================ */
.investor-hero { padding: 180px 0 80px; }
.investor-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.investor-photo {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #1a1a1a;
}
.investor-photo img { width: 100%; height: 100%; object-fit: cover; }
.investor-name {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}
.investor-role {
  font-size: 18px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  margin-bottom: 40px;
  line-height: 30px;
}
.investor-bio p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  margin-bottom: 16px;
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-section { padding: 80px 0; }
.location-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
}
.location-image {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin-top: 40px;
}
.location-image img {
  width: 100%;
  height: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  padding: 120px 0 60px;
  margin-top: 120px;
  overflow: hidden;
}
.footer-earth {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  opacity: 0.3;
  pointer-events: none;
}
.footer-earth img { width: 100%; height: auto; }
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 91%;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgb(139, 139, 139);
}
.footer-brand .footer-logo img {
  height: 28px;
  width: auto;
  margin-bottom: 24px;
}
.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  line-height: 1.8;
}
.footer-nav-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(139, 139, 139);
  margin-bottom: 24px;
}
.footer-nav-col a,
.footer-nav-col a.nav-link {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  padding: 6px 0;
  transition: color 0.3s ease;
  line-height: 1.6;
}
.footer-nav-col a:hover,
.footer-nav-col a.nav-link:hover { color: #fff; }
.footer-newsletter h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #fff;
}
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgb(139, 139, 139);
  border-radius: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}
.newsletter-form input:focus { outline: none; border-color: #fff; }
.newsletter-form button {
  padding: 12px 24px;
  background: #fff;
  color: #060606;
  font-weight: 500;
  font-size: 14px;
  border-radius: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.newsletter-form button:hover { opacity: 0.85; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
}
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
  color: rgb(139, 139, 139);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
}
.footer-socials a:hover { color: #fff; }
.footer-lang button {
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  cursor: pointer;
}
.footer-lang button.active { color: #fff; }
.footer-lang span { color: rgb(139, 139, 139); margin: 0 4px; }

/* ============================================================
   PORTFOLIO DETAIL PAGE - Matching original Webflow layout
   ============================================================ */

/* Hero: Logo circle + Name (left) | Description (right) */
.portfolio-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 100px 0 72px;
  border-bottom: 1px solid rgb(139, 139, 139);
}
.portfolio-detail-logo-name {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.portfolio-detail-logo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portfolio-detail-logo-circle img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.portfolio-detail-header h1 {
  margin: 0;
}
.portfolio-detail-desc {
  max-width: 500px;
}
.portfolio-detail-desc p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  margin: 0;
}

/* Metadata: 4-column horizontal row */
.portfolio-detail-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 100px 0 116px;
}
.portfolio-detail-meta-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(139, 139, 139);
  margin-bottom: 16px;
}
.portfolio-detail-meta-value {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  line-height: 30px;
}
.portfolio-detail-meta-value a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}
.portfolio-detail-meta-value a:hover { opacity: 0.7; }

/* About section: Title (left) + Text (right) in 2 columns */
.portfolio-detail-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 120px;
}
.portfolio-detail-about h2 {
  margin: 0;
}
.portfolio-detail-about-text p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
  margin-bottom: 16px;
}

/* Cover image */
.portfolio-detail-cover {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.portfolio-detail-cover img { width: 100%; height: auto; display: block; }

/* Funding link */
.portfolio-detail-funding { margin-top: 60px; }
.portfolio-detail-funding a {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
  transition: opacity 0.3s ease;
}
.portfolio-detail-funding a:hover { opacity: 0.7; }

/* Legacy sidebar support (keep for backward compat) */
.portfolio-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}
.portfolio-detail-hero-img {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  margin-bottom: 60px;
}
.portfolio-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-detail-funding { margin-top: 60px; }
.portfolio-detail-funding a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}
.portfolio-detail-funding a:hover { opacity: 0.7; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  color: rgb(139, 139, 139);
  margin-bottom: 48px;
  transition: color 0.3s ease;
}
.back-link:hover { color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  padding: 120px 0;
  text-align: center;
  color: rgb(139, 139, 139);
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* Stats row: horizontal flex with equal spacing */
.about-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.about-stats-row .stat-item {
  text-align: center;
}

/* Vision + Mission: image left (narrow) + content right */
.about-vision-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.about-vision-image {
  overflow: hidden;
}
.about-vision-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-vision-content p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}
.about-vision-content ul {
  list-style: none;
  padding: 0;
}
.about-mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-mission-content p {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}
.about-mission-content ul {
  list-style: none;
  padding: 0;
}
.about-mission-image {
  overflow: hidden;
}
.about-mission-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* History: title left, timeline right */
.about-history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-history-title {
  position: sticky;
  top: 120px;
}
.about-history-timeline {}
.about-history-item {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(139, 139, 139, 0.3);
}
.about-history-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-history-year {
  font-size: 50px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-history-star {
  color: rgb(0, 71, 255);
  font-size: 24px;
  vertical-align: middle;
  margin-right: 4px;
}
.about-history-text {
  font-size: 18px;
  font-weight: 300;
  color: rgb(186, 186, 186);
  line-height: 30px;
}

/* Mantra: 3-column card grid */
.about-mantra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}
.about-mantra-card {
  background: transparent;
}
.about-mantra-num {
  display: block;
  font-size: 72px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.about-mantra-title {
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .display-1 { font-size: 60px; line-height: 72px; }
  .display-2 { font-size: 48px; line-height: 60px; }
  .display-3 { font-size: 40px; line-height: 52px; }
  .container { padding: 0 32px; }
  .two-col { gap: 28px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
  .portfolio-detail-layout { grid-template-columns: 1fr; gap: 60px; }
  .portfolio-detail-header { flex-direction: column; gap: 32px; }
  .portfolio-detail-desc { max-width: 100%; }
  .portfolio-detail-meta-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .portfolio-detail-about { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .investor-layout { grid-template-columns: 280px 1fr; gap: 60px; }
  .process-section { grid-template-columns: 1fr; }
  .process-step-title { font-size: 40px; line-height: 52px; }
  .about-home-layout { grid-template-columns: 1fr; gap: 60px; }
  .portfolio-home-header { flex-direction: column; gap: 24px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-location-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-vision-layout { grid-template-columns: 160px 1fr; gap: 40px; }
  .about-mission-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-history-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .display-1 { font-size: 48px; line-height: 56px; }
  .display-2 { font-size: 40px; line-height: 48px; }
  .display-3 { font-size: 32px; line-height: 40px; }
  .container { padding: 0 24px; }
  .hero { min-height: 80vh; }
  .portfolio-grid,
  .sectors-grid,
  .value-grid,
  .about-mantra-grid,
  .portfolio-list { grid-template-columns: 1fr; }
  .portfolio-card-name { font-size: 22px; line-height: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { gap: 24px; padding: 60px 0; }
  .stat-number { font-size: 40px; line-height: 48px; }
  .about-home-stats { gap: 24px; }
  .about-vision-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-history-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-history-year { font-size: 36px; }
  .nav-overlay { padding: 100px 24px 60px; }
  .nav-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-step { gap: 16px; padding: 32px 0; }
  .process-step-title { font-size: 32px; line-height: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .investor-layout { grid-template-columns: 1fr; }
  .investor-photo { max-width: 320px; }
  .page-hero { padding: 120px 0 40px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
  .btn-primary { font-size: 20px; }
}

@media (max-width: 480px) {
  .display-1 { font-size: 36px; line-height: 44px; }
  .display-2 { font-size: 32px; line-height: 40px; }
  .display-3 { font-size: 28px; line-height: 36px; }
  .container { padding: 0 20px; }
  .stats-row { flex-direction: column; gap: 24px; padding: 48px 0; }
  .process-step-title { font-size: 28px; line-height: 36px; }
}
