/* ════════════════════════════════════════
   SERVICE DETAILS — Enhanced Design
════════════════════════════════════════ */

/* ── Hero overrides ── */
.investmentSectionS1 {
    min-height: 520px;
    display: flex;
    align-items: center;
}
.investmentSectionS1:after {
    background: linear-gradient(270deg, rgba(0,0,0,.92) 20%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.1) 100%);
}
.investmentSectionS1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.8) 100%);
    z-index: -1;
}
.investmentSectionS1 .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0,199,177,.3);
    background: rgba(0,199,177,.08);
    color: #00C7B1;
    font-size: 12px;
    margin-bottom: 1.25rem;
    letter-spacing: .06em;
}
.investmentSectionS1 .divText h1 {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    line-height: 1.2;
    background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.65) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.25rem;
}
.investmentSectionS1 .divText p {
    color: rgba(255,255,255,.7);
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.investmentSectionS1 .divText .lastDiv { gap: 1rem; flex-wrap: wrap; }
.investmentSectionS1 .divText .lastDiv a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .95rem;
    transition: color .25s ease;
}
.investmentSectionS1 .divText .lastDiv a:hover { color: #00C7B1; }

/* ── Feature bullets ── */
.service-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2.5rem;
}
.service-bullet {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.7);
    font-size: .88rem;
}
.service-bullet::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00C7B1;
    flex-shrink: 0;
}

/* ── Content section ── */
.investmentSectionS2 { margin: 80px 0; }
.service-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
}
.service-content-wrapper::before {
    content: '';
    position: absolute;
    top: -80px;
    inset-inline-end: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,199,177,.05) 0%, transparent 65%);
    pointer-events: none;
}
.investmentSectionS2 .service-content-wrapper p {
    color: rgba(255,255,255,.78) !important;
    font-size: 1.4rem !important;
    line-height: 1.9 !important;
    margin-bottom: 1.25rem;
}
.investmentSectionS2 .service-content-wrapper h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-inline-start: 1rem;
    border-inline-start: 3px solid #00C7B1;
}
.investmentSectionS2 .service-content-wrapper h3 {
    color: rgba(255,255,255,.9);
    font-size: 1.2rem;
    margin: 1.75rem 0 .75rem;
}
.investmentSectionS2 .service-content-wrapper ul {
    color: rgba(255,255,255,.72);
    padding-inline-start: 1.5rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}
.investmentSectionS2 .service-content-wrapper img {
    width: 100%;
    border-radius: 14px;
    margin: 1.5rem 0;
}

/* ── CTA section override ── */
.investmentSectionS3 {
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
}
.service-cta-box {
    border-radius: 24px;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(0,199,177,.07) 0%, rgba(3,71,123,.07) 100%);
    border: 1px solid rgba(0,199,177,.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-cta-box::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0,199,177,.08) 0%, transparent 65%);
    pointer-events: none;
}
.service-cta-box .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0,199,177,.25);
    background: rgba(0,199,177,.06);
    color: #00C7B1;
    font-size: 12px;
    margin-bottom: 1.5rem;
    letter-spacing: .05em;
}
.service-cta-box h2 {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, #FFF 30%, #999 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
.service-cta-box .cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .service-content-wrapper { padding: 2.5rem 2rem; }
    .service-cta-box { padding: 3rem 2rem; }
}
@media (max-width: 768px) {
    .investmentSectionS1 { min-height: 400px; }
    .service-content-wrapper { padding: 2rem 1.5rem; border-radius: 16px; }
}
@media (max-width: 614px) {
    .investmentSectionS3 { margin-bottom: 60px; }
    .service-cta-box { padding: 2.5rem 1.5rem; border-radius: 18px; }
}

/* ── Light mode overrides ── */
body.light-mode .investmentSectionS1 .divText h1 {
    background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.65) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.light-mode .investmentSectionS1 .divText p { color: rgba(255,255,255,.8); }
body.light-mode .investmentSectionS1 .divText .lastDiv a { color: rgba(255,255,255,.75); }
body.light-mode .service-bullet { color: rgba(0,0,0,.65); }
body.light-mode .service-content-wrapper {
    background: rgba(0,0,0,.02);
    border-color: rgba(0,0,0,.08);
}
body.light-mode .investmentSectionS2 .service-content-wrapper p { color: rgba(0,0,0,.72) !important; }
body.light-mode .investmentSectionS2 .service-content-wrapper h2 { color: #111; }
body.light-mode .investmentSectionS2 .service-content-wrapper h3 { color: rgba(0,0,0,.82); }
body.light-mode .investmentSectionS2 .service-content-wrapper ul { color: rgba(0,0,0,.68); }
body.light-mode .service-cta-box h2 {
    background: linear-gradient(180deg, #111 30%, #555 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
