:root {
  --teal-dark: #0b5c73;
  --teal: #2d7889;
  --teal-light: #8bb1b9;
  --orange: #e07b22;
  --orange-light: #f4a45c;
  --white: #ffffff;
  --text-dark: #405d65;
  --section-bg: linear-gradient(135deg, #0b5c73 0%, #2d7889 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--teal-light); color: var(--white); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; }
.container { width: min(1100px, 90%); margin: auto; }

/* HEADER */
#header {
  min-height: 100vh;
  background: linear-gradient(rgba(255,255,255,.58), rgba(255,255,255,.58)), url('images/cover.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
.logo-video {
    position: absolute;
    top: 25px;
    left: 200px;
    width: 200px;
    z-index: 10;
}

.logo-video video {
    width: 100%;
    height: auto;
    display: inline-block;
    object-fit: contain;
}
nav { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-link { display: inline-flex; align-items: center; }
.logo { width: 140px; height: auto; display: block; }
nav ul { display: flex; align-items: center; gap: 28px; list-style: none; }
nav ul li a { color: var(--teal-dark); text-decoration: none; font-size: 15px; font-weight: 600; position: relative; padding: 8px 0; }
nav ul li a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--orange); transition: .25s ease; }
nav ul li a:hover::after { width: 100%; }
.menu-icon, .close-menu { display: none; cursor: pointer; }
.mobile-close { display:none; }
.header-text { min-height: calc(100vh - 90px); display: flex; flex-direction: column; justify-content: center; max-width: 800px; padding-bottom: 80px; color: var(--teal-dark); }
.hero-label { color: var(--orange); font-size: 14px; font-weight: 800; letter-spacing: 3px; margin-bottom: 12px; }
.header-text h1 { font-size: clamp(40px, 7vw, 75px); line-height: 1; font-weight: 800; text-shadow: 0 3px 8px rgba(255,255,255,.9); }
.header-text > p:not(.hero-label) { font-size: clamp(20px, 3vw, 34px); font-weight: 600; margin-top: 15px; }
.header-text > p span { color: var(--orange); }
.hero-btn { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 32px; padding: 13px 24px; border-radius: 7px; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; transition: .25s; }
.hero-btn:hover { transform: translateY(-3px); background: var(--teal-dark); }

/* COMMON */
section { position: relative; overflow: hidden; }
section .container { padding-top: 90px; padding-bottom: 90px; }
.section-heading, .why-header, .approach-header { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto 45px; }
.section-label { color: var(--orange-light); font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { color: #fff; font-size: clamp(42px, 5vw, 64px); line-height: 1.08; font-weight: 700; margin-bottom: 18px; }
.section-heading > p:last-child, .why-header > p:last-child, .approach-header > p:last-child { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }

/* ABOUT */
#about { background: var(--section-bg); }
#about::before { content:''; position:absolute; width:450px; height:450px; border-radius:50%; background:rgba(255,255,255,.035); top:-230px; left:-160px; }
.about-layout { position:relative; z-index:2; display:grid; grid-template-columns:.72fr 1.28fr; gap:65px; align-items:center; }
.about-brand { text-align:center; }
.about-logo-card { background:#fff; border-radius:22px; padding:32px; box-shadow:0 20px 50px rgba(0,0,0,.18); max-width:390px; margin:auto; }
.about-logo-card img { width:100%; display:block; object-fit:contain; }
.about-brand > p { margin-top:16px; color:rgba(255,255,255,.72); font-size:13px; letter-spacing:1.3px; text-transform:uppercase; }
.about-content > p:not(.section-label) { color:rgba(255,255,255,.84); font-size:15px; line-height:1.7; margin-bottom:17px; }
.tab-titles { display:flex; flex-wrap:wrap; gap:30px; margin:30px 0 25px; border-bottom:1px solid rgba(255,255,255,.2); }
.tab-links { position:relative; border:0; background:none; color:rgba(255,255,255,.7); padding:0 0 13px; font-size:14px; font-weight:600; cursor:pointer; }
.tab-links.active-link { color:#fff; }
.tab-links.active-link::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:3px; background:var(--orange); }
.tab-contents { display:none; color:rgba(255,255,255,.84); font-size:14px; line-height:1.7; }
.tab-contents.active-tab { display:block; }
.tab-contents h3 { color:var(--orange); font-size:26px; font-weight:500; margin-bottom:12px; }
.tab-contents ul { padding-left:19px; }
.tab-contents li { margin-bottom:5px; }

/* DETAILS */
#services { background:var(--section-bg); }
#services .section-title { color:#fff; }
.details-grid { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.details-card { background:rgba(255,255,255,.96); border-radius:14px; padding:30px 26px; box-shadow:0 15px 35px rgba(0,0,0,.12); color:var(--text-dark); transition:.3s; }
.details-card:hover { transform:translateY(-8px); box-shadow:0 22px 45px rgba(0,0,0,.18); }
.details-icon { width:60px; height:60px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--orange); color:#fff; font-size:24px; margin-bottom:20px; }
.details-card h3 { color:var(--teal-dark); font-size:24px; text-transform:uppercase; margin-bottom:12px; }
.card-intro { color:#5d747b; font-size:13px; line-height:1.6; margin-bottom:16px; }
.card-text { font-size:13px; line-height:1.55; }
.card-text strong { color:var(--teal-dark); display:block; margin-bottom:7px; }
.card-text p { margin-bottom:6px; }
.service-list, .therapy-list { padding-left:19px; font-size:13px; line-height:1.55; color:#526b73; }
.service-list li, .therapy-list li { margin-bottom:5px; }
.text-link { display:inline-flex; align-items:center; gap:7px; margin-top:18px; color:var(--teal-dark); text-decoration:none; font-size:13px; font-weight:700; }
.text-link:hover { color:var(--orange); }

/* WHY */
#why-trinexa { background:var(--section-bg); }
#why-trinexa::before, #approach::before, #contact::before { content:''; position:absolute; width:500px; height:500px; border-radius:50%; background:rgba(255,255,255,.04); top:-250px; right:-160px; pointer-events:none; }
#why-trinexa::after, #approach::after, #contact::after { content:''; position:absolute; width:350px; height:350px; border-radius:50%; background:rgba(224,123,34,.06); bottom:-180px; left:-120px; pointer-events:none; }
.why-content { position:relative; z-index:2; max-width:1100px; margin:auto; display:grid; grid-template-columns:1.5fr .8fr; gap:45px; align-items:center; }
.why-points { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; }
.why-item { display:flex; align-items:center; gap:14px; min-height:90px; padding:17px; background:rgba(255,255,255,.96); border-radius:11px; transition:.25s; }
.why-item:hover { transform:translateY(-5px); box-shadow:0 12px 30px rgba(0,0,0,.18); }
.why-icon { width:44px; height:44px; min-width:44px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--orange); color:#fff; }
.why-item h3 { color:var(--teal-dark); font-size:15px; line-height:1.3; margin-bottom:4px; }
.why-item p { color:#60777d; font-size:12px; line-height:1.4; }
.why-visual { display:flex; justify-content:center; }
.why-visual-card { width:100%; max-width:330px; min-height:330px; padding:35px 28px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25); border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.15); }
.why-visual-card > i { width:78px; height:78px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--orange); font-size:30px; margin-bottom:22px; }
.why-visual-card h3 { font-size:24px; margin-bottom:12px; }
.why-visual-card p { color:rgba(255,255,255,.78); font-size:13px; line-height:1.7; }

/* APPROACH */
#approach { background:var(--section-bg); }
.approach-grid { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:1100px; margin:auto; }
.approach-card { position:relative; min-height:230px; padding:30px 24px; background:rgba(255,255,255,.96); border-radius:13px; text-align:center; box-shadow:0 12px 30px rgba(0,0,0,.12); transition:.3s; color:var(--text-dark); }
.approach-card:hover { transform:translateY(-7px); box-shadow:0 18px 40px rgba(0,0,0,.18); }
.approach-number { position:absolute; top:14px; right:17px; color:#cfdee1; font-size:13px; font-weight:800; }
.approach-icon { width:56px; height:56px; margin:0 auto 17px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--orange); color:#fff; font-size:21px; }
.approach-card h3 { color:var(--teal-dark); font-size:19px; margin-bottom:9px; }
.approach-card p { color:#5a7178; font-size:13px; line-height:1.6; max-width:250px; margin:auto; }
.approach-button { position:relative; z-index:2; text-align:center; margin-top:35px; }
.btn { display:inline-flex; align-items:center; gap:9px; padding:13px 28px; background:var(--orange); border:2px solid var(--orange); border-radius:7px; color:#fff; text-decoration:none; font-weight:700; transition:.25s; }
.btn:hover { background:transparent; border-color:#fff; transform:translateY(-3px); }

/* CONTACT */
#contact { background:var(--section-bg); }
.contact-wrapper { position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; max-width:1100px; margin:auto; }
.contact-left .section-title { margin-bottom:10px; }
.contact-line { width:80px; height:3px; background:#fff; margin:18px 0 32px; }
.contact-detail { display:flex; align-items:center; gap:15px; text-decoration:none; margin-bottom:20px; transition:.25s; }
.contact-detail:hover { transform:translateX(5px); }
.contact-icon { width:52px; height:52px; min-width:52px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:var(--orange); color:#fff; font-size:19px; }
.contact-text { display:flex; flex-direction:column; gap:2px; }
.contact-text strong { font-size:13px; color:var(--orange-light); text-transform:uppercase; letter-spacing:1px; }
.contact-text span { color:#fff; font-size:15px; }
.contact-social { display:flex; gap:12px; margin-top:28px; }
.contact-social a { width:45px; height:45px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(255,255,255,.12); color:#fff; text-decoration:none; font-size:20px; transition:.25s; }
.contact-social a:hover { background:var(--orange); transform:translateY(-4px); }
.contact-download { display:inline-flex; align-items:center; gap:9px; margin-top:30px; padding:12px 20px; border:1px solid var(--orange); border-radius:7px; color:#fff; text-decoration:none; font-weight:600; background:var(--orange); transition:.25s; }
.contact-download:hover { background:transparent; border-color:#fff; }
.contact-right { display:flex; justify-content:center; }
.contact-logo-card { width:min(100%,430px); min-height:400px; background:rgba(255,255,255,.96); border-radius:22px; padding:40px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; box-shadow:0 20px 50px rgba(0,0,0,.18); }
.contact-logo-card img { width:min(100%,310px); max-height:260px; object-fit:contain; }
.contact-logo-card p { color:var(--teal-dark); font-weight:700; margin-top:15px; }
.contact-logo-card p span { color:var(--orange); }
.logo-divider { width:65px; height:3px; background:var(--orange); margin:17px 0; }
.contact-logo-card small { color:#668087; font-size:12px; letter-spacing:.5px; }
.copyright { text-align:center; padding:20px 15px; background:rgba(0,0,0,.13); color:rgba(255,255,255,.8); font-size:13px; }
.copyright i { color:var(--orange-light); margin-left:4px; }

/* TABLET */
@media (max-width: 950px) {
  #header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      rgba(255,255,255,.58),
      rgba(255,255,255,.58)
    ),
    url('images/phonecover.png');

  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Keep your header content above the background */
#header > * {
  position: relative;
  z-index: 1;
}

/* Blur background only on small screens */
@media (max-width: 768px) {
  #header::before {
    filter: blur(8px);
    transform: scale(1.05);
  }
}
  .container { width:min(92%, 760px); }
  .logo-video {
    position: absolute;
    top: 25px;
    left: 40px;
    width: 100px;
    z-index: 10;
}

.logo-video video {
    width: 100%;
    height: auto;
    display: inline-block;
    object-fit: contain;
}
  nav ul { gap:18px; }
  nav ul li a { font-size:13px; }
  .about-layout { grid-template-columns:1fr; gap:45px; }
  .about-brand { max-width:420px; margin:auto; }
  .details-grid { grid-template-columns:1fr; max-width:650px; margin:auto; }
  .why-content { grid-template-columns:1fr; max-width:750px; }
  .why-visual-card { max-width:520px; min-height:260px; }
  .approach-grid { grid-template-columns:repeat(2,1fr); }
  .contact-wrapper { grid-template-columns:1fr; gap:45px; max-width:750px; }
  .contact-logo-card { max-width:500px; min-height:340px; }
}

/* MOBILE */
@media (max-width: 700px) {
  #header {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      rgba(255,255,255,.58),
      rgba(255,255,255,.58)
    ),
    url('images/phonecover.png');

  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Keep your header content above the background */
#header > * {
  position: relative;
  z-index: 1;
}

/* Blur background only on small screens */
@media (max-width: 768px) {
  #header::before {
    filter: blur(8px);
    transform: scale(1.05);
  }
}
  .container { width:90%; }
  .logo-video {
    position: absolute;
    top: 25px;
    left: 40px;
    width: 100px;
    z-index: 10;
}
.logo-video video {
    width: 100%;
    height: auto;
    display: inline-block;
    object-fit: contain;
}
  section .container { padding-top:65px; padding-bottom:65px; }
  
  nav { min-height:75px; }
  .logo { width:115px; }
  .menu-icon { display:flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--teal-dark); font-size:25px; padding:8px; }
  nav ul { position:fixed; top:0; right:-260px; width:250px; height:100vh; padding:75px 28px 30px; background:var(--teal-dark); display:flex; align-items:flex-start; flex-direction:column; gap:0; z-index:1000; transition:right .3s ease; box-shadow:-10px 0 30px rgba(0,0,0,.2); }
  nav ul.open { right:0; }
  nav ul li { width:100%; margin:0; }
  nav ul li a { display:block; color:#fff; font-size:15px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.1); }
  nav ul li a::after { display:none; }
  .mobile-close { display:block; width:100%; }
  .close-menu { display:flex; position:absolute; top:22px; right:22px; border:0; background:transparent; color:#fff; font-size:23px; padding:5px; }
  .header-text { min-height:calc(100vh - 75px); padding-bottom:60px; }
  .hero-label { font-size:11px; letter-spacing:2px; }
  .header-text h1 { font-size:48px; }
  .header-text > p:not(.hero-label) { font-size:19px; }
  .section-title { font-size:42px; }
  .section-heading > p:last-child, .why-header > p:last-child, .approach-header > p:last-child { font-size:14px; }
  .tab-titles { gap:18px; overflow-x:auto; flex-wrap:nowrap; }
  .tab-links { font-size:12px; white-space:nowrap; }
  .about-content > p:not(.section-label) { font-size:14px; }
  .why-points { grid-template-columns:1fr; }
  .approach-grid { grid-template-columns:1fr; gap:15px; }
  .approach-card { min-height:auto; }
  .contact-detail { margin-bottom:17px; }
  .contact-text span { font-size:13px; }
  .contact-logo-card { padding:28px; min-height:300px; }
  .details-section { padding: 70px 20px;}
  .details-intro { padding: 25px; gap: 18px; margin-bottom: 35px; }
  .details-intro-icon { min-width: 52px; height: 52px; font-size: 20px; }
  .details-intro h2 { font-size: 28px; }
  .service-detail-card { grid-template-columns: 1fr; gap: 18px; padding: 25px; }
  .service-number { width: 52px; height: 52px; font-size: 16px; }
  .service-title-row { align-items: flex-start;  }
  .service-title-row h3 { font-size: 20px; }
  .service-title-row h3 span { font-size: 16px;  }
  .details-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .details-cta h2 { font-size: 25px; }
  .details-cta .btn { width: 100%; text-align: center; }
}

/* =========================================================
   DETAILS PAGE / SERVICES
========================================================= */

.details-section {  background: var(--section-bg);  padding: 100px 0;  color: #fff;}

/* ---------- Intro ---------- */

.details-intro { display: flex; align-items: flex-start; gap: 28px; max-width: 950px; margin: 0 auto 55px;

  padding: 35px;

  background: var(--teal-dark);
  border-radius: 18px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.details-intro-icon {
  min-width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--orange);
  color: #fff;

  border-radius: 50%;

  font-size: 25px;
}

.details-small-title {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 8px;
}

.details-intro h2 {
  font-size: 34px;
  margin-bottom: 12px;
  color: #fff;
}

.details-intro p:last-child {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}


/* ---------- Individual Service ---------- */

.service-detail-card {
  max-width: 950px;
  margin: 0 auto 25px;

  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 25px;

  padding: 32px;

  background: rgba(255,255,255,.96);

  border-radius: 18px;

  color: var(--text-dark);

  box-shadow: 0 12px 30px rgba(0,0,0,.10);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.service-detail-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}


/* ---------- Number ---------- */

.service-number {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: var(--orange);

  color: #fff;

  font-size: 18px;
  font-weight: 700;
}


/* ---------- Title ---------- */

.service-title-row {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-bottom: 12px;
}

.service-title-row i {
  color: var(--orange);

  font-size: 24px;

  flex-shrink: 0;
}

.service-title-row h3 {
  color: var(--teal-dark);

  font-size: 24px;

  margin: 0;
}

.service-title-row h3 span {
  font-weight: 500;
  font-size: 19px;
}


/* ---------- Description ---------- */

.service-description {
  color: #526b73;

  font-size: 15px;

  line-height: 1.7;

  margin-bottom: 15px;
}


/* ---------- List ---------- */

.service-detail-content ul {
  margin: 0;
  padding-left: 20px;

  color: #526b73;

  font-size: 14px;

  line-height: 1.7;
}

.service-detail-content li {
  margin-bottom: 5px;
}

.service-detail-content li::marker {
  color: var(--orange);
}


/* ==================== FINAL CTA ==================== */

.final-cta {
    background: var(--teal-dark);
    padding: 80px 0 0;
    color: #fff;
}

/* Main CTA box */
.cta-box {
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 50px;

    background: var(--teal);
    border-radius: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}





/* Contact button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #f58220;
    color: #fff;

    padding: 17px 30px;
    min-width: 180px;

    border-radius: 10px;

    text-decoration: none;
    font-size: 16px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.cta-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    background: #ff9a3c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.cta-btn:hover i {
    transform: translateX(5px);
}


/* ==================== COPYRIGHT ==================== */

.copyright {
    margin-top: 70px;
    padding: 25px 20px;

    background: rgba(0, 0, 0, 0.12);

    text-align: center;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.copyright i {
    color: #ff9a3c;
    margin-left: 5px;
}



