/* ============================================================
   TRIDENT M&A — style2.css
   Extends style.css with all updates for index2.html
   ============================================================ */
@import url('style.css');

/* --- 0. HERO BACKGROUND + TITLE OVERRIDE --- */
.hero-bg {
  background-image: url('../Pics/maritime5.jpg');
  background-position: center 25%;
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  opacity: 1;
  animation: none;
  transform: none;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s var(--ease-out) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.5s; }
.hero-line:nth-child(2) { animation-delay: 0.7s; padding-left: 1.0em; }
.hero-line:nth-child(3) { animation-delay: 0.9s; padding-left: 2.0em; }

/* --- PROCESS SECTION — left-align text --- */
#process .section-header {
  text-align: left;
}

#process .section-header .section-title,
#process .section-header .section-body {
  text-align: left;
}

/* --- SECTOR CHIPS — remove hover effect --- */
.sector-chip:hover {
  border-color: #d0dce8;
  color: inherit;
  background: var(--white);
  cursor: default;
}

/* --- TEAM LINKEDIN --- */
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  opacity: 0.8;
  transition: opacity 0.2s;
  text-decoration: none;
}

.team-linkedin:hover {
  opacity: 1;
}

.team-linkedin svg {
  flex-shrink: 0;
}

/* --- 1. SECTION LABEL — 20% larger (0.72rem → 0.865rem) --- */
.section-label {
  font-size: 0.865rem;
}

/* --- 2. PROCESS STEP ICONS — darker color --- */
.step-icon {
  color: var(--navy);
}

/* --- 3. NETWORK — hide decorative diagonal bg line --- */
.network-bg-line {
  display: none;
}

/* ============================================================
   ABOUT — EXPANDED COMPANY SECTION
   ============================================================ */
#about-company {
  padding: 0 0 120px;
  background: var(--white);
}

.about-company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.about-company-image {
  position: relative;
  overflow: hidden;
}

.about-company-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease-out;
}

.about-company-content {
  background: var(--navy);
  padding: 64px 64px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-company-content .section-label {
  color: var(--blue-light);
  margin-bottom: 1.25rem;
}

.about-company-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-company-content p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-company-content p:last-of-type {
  margin-bottom: 2rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.about-pillar-icon {
  width: 20px;
  height: 20px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-pillar-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ============================================================
   BUY-SIDE SECTION — de-emphasized, tasteful mention
   ============================================================ */
#buyside {
  padding: 80px 0;
  background: var(--gray-light);
  border-top: 1px solid #e0e8f0;
}

.buyside-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.buyside-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.buyside-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: saturate(0.85);
}

.buyside-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 62, 100, 0.18);
  border-radius: 4px;
}

.buyside-content .section-label {
  color: var(--blue);
}

.buyside-content h2 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.buyside-content p {
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 560px;
}

.buyside-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
}

.buyside-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #c8d9ea;
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
}

/* --- 4. STACKED LOCATIONS — remove gap between consecutive location divs --- */
.team-location + .team-location {
  margin-top: -1.05rem;
  margin-bottom: 1rem;
}

/* ============================================================
   VALUATION WIZARD SECTION
   ============================================================ */
#valuation {
  padding: 100px 0;
  background: linear-gradient(160deg, #0e2a45 0%, #163E64 55%, #1c4a7a 100%);
  position: relative;
  overflow: hidden;
}

#valuation::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(33,95,154,0.1);
  pointer-events: none;
}

.val-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.val-header .section-label { color: var(--blue-light); }

.val-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.val-header p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.val-card {
  background: var(--white);
  border-radius: 10px;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 2.75rem 2rem;
  box-shadow: 0 24px 72px rgba(0,0,0,0.28);
}

/* Progress */
.val-progress-wrap { margin-bottom: 1.5rem; }

.val-progress-track {
  height: 4px;
  background: #e8f0f8;
  border-radius: 2px;
  overflow: hidden;
}

.val-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, #3a7fd5 100%);
  border-radius: 2px;
  width: 0%;
  transition: width 0.45s ease;
}

.val-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-mid);
}

/* Steps */
.val-step { display: none; }
.val-step.active {
  display: block;
  animation: valIn 0.28s ease;
}

@keyframes valIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.val-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.val-sublabel {
  font-size: 0.82rem;
  color: var(--gray-mid);
  font-weight: 400;
  margin: 0 0 1.2rem;
}

/* Tile grids */
.val-tiles {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.val-tiles-4 { grid-template-columns: repeat(4, 1fr); }
.val-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.val-tiles-2 { grid-template-columns: repeat(2, 1fr); }

.val-tile {
  border: 1.5px solid #dce8f3;
  border-radius: 7px;
  padding: 0.85rem 0.6rem;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  min-height: 64px;
  justify-content: center;
}

.val-tile svg { color: var(--blue); flex-shrink: 0; }

.val-tile:hover {
  border-color: var(--blue);
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(33,95,154,0.12);
  transform: translateY(-1px);
}

.val-tile.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 2px 10px rgba(33,95,154,0.18);
}

.val-tile-lg {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 0.75rem;
  min-height: 60px;
}

/* Profit type radio toggle */
.val-profit-toggle {
  display: flex;
  gap: 0.65rem;
  margin: 0.75rem 0 0.25rem;
}

.val-radio-label {
  flex: 1;
  cursor: pointer;
}

.val-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.val-radio-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid #dce8f3;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  user-select: none;
}

.val-radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c0d4e8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s;
}

.val-radio-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.15s;
}

.val-radio-label input[type="radio"]:checked + .val-radio-btn {
  border-color: var(--blue);
  background: var(--blue-light);
}

.val-radio-label input[type="radio"]:checked + .val-radio-btn .val-radio-dot {
  border-color: var(--blue);
}

.val-radio-label input[type="radio"]:checked + .val-radio-btn .val-radio-dot::after {
  opacity: 1;
}

.val-radio-label:hover .val-radio-btn {
  border-color: var(--blue);
  background: #f0f7ff;
}

/* Number inputs */
.val-input-wrap { position: relative; margin: 1.25rem 0 0.35rem; }

.val-input-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-mid);
  pointer-events: none;
  z-index: 1;
}

.val-number-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2rem;
  border: 1.5px solid #dce8f3;
  border-radius: 7px;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
  -moz-appearance: textfield;
}

.val-number-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,95,154,0.1);
}

.val-number-input::-webkit-inner-spin-button,
.val-number-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.val-input-note {
  font-size: 0.77rem;
  color: var(--gray-mid);
  font-weight: 400;
  margin-top: 0.35rem;
}

/* Contact form */
.val-contact-note {
  font-size: 0.84rem;
  color: var(--gray-mid);
  font-weight: 400;
  margin: 0.2rem 0 1.2rem;
  line-height: 1.55;
}

.val-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.val-form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.val-form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.val-form-field .req { color: var(--blue); }

.val-form-field input {
  padding: 0.75rem 1rem;
  border: 1.5px solid #dce8f3;
  border-radius: 7px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}

.val-form-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33,95,154,0.1);
}

.val-form-field input.val-error { border-color: #c0392b; }

/* Skip link */
.val-skip {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-mid);
  font-weight: 400;
  cursor: pointer;
  margin-top: 0.75rem;
  text-decoration: underline;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font);
  width: 100%;
}

.val-skip:hover { color: var(--navy); }

/* Error message */
.val-error-msg {
  font-size: 0.8rem;
  color: #c0392b;
  font-weight: 400;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

/* Navigation */
.val-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eef2f7;
}

.val-back-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-mid);
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
  visibility: hidden;
}

.val-back-btn.visible { visibility: visible; }
.val-back-btn:hover { color: var(--navy); }

.val-next-btn,
.val-submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 5px;
  padding: 0.8rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

.val-next-btn:hover,
.val-submit-btn:hover { background: #1a4f83; }

.val-next-btn:disabled,
.val-submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Thank you */
.val-thankyou { text-align: center; padding: 1.5rem 0.5rem 0.5rem; }

.val-thankyou-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ebf5e8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #2d8a4e;
}

.val-thankyou h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.val-thankyou p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-dark);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto 1.75rem;
}

.val-thankyou-email {
  font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 768px) {
  #about-company { padding: 0 0 84px; }
  #buyside       { padding: 56px 0; }
  #valuation     { padding: 70px 0; }
  .hero-title    { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

@media (max-width: 720px) {
  .val-card { padding: 2rem 1.5rem 1.5rem; }
  .step { padding-left: 4rem; }
  .step-content { padding: 0.9rem 1.1rem; }
}

@media (max-width: 420px) {
  .step { padding-left: 3.5rem; padding-bottom: 2rem; }
  .step-number { width: 44px; height: 44px; font-size: 0.9rem; }
  .step::before { left: 21px; top: 44px; }
}

@media (max-width: 580px) {
  .val-tiles-4 { grid-template-columns: repeat(2, 1fr); }
  .val-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .val-card { padding: 1.5rem 1rem 1.25rem; }
  .val-tiles-3 { grid-template-columns: repeat(2, 1fr); }
  .val-question { font-size: 1rem; }
}

@media (max-width: 900px) {
  .about-company-inner {
    grid-template-columns: 1fr;
  }

  .about-company-image img {
    min-height: 300px;
  }

  .about-company-content {
    padding: 48px 32px;
  }

  .buyside-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .buyside-image img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-company-content {
    padding: 36px 24px;
  }
}
