/*==================================================
  LIFE COACHING TIMELINE
  STYLE.CSS - PART 1
==================================================*/

/*-------------------------
    ROOT VARIABLES
--------------------------*/

:root{

    --bg:#081421;
    --bg2:#13263e;

    --glass:rgba(255,255,255,.08);

    --border:rgba(255,255,255,.15);

    --blue:#39A9FF;
    --purple:#8B5DFF;
    --gold:#FFD54D;

    --white:#ffffff;
    --text:#d8e3f0;

    --radius:22px;

    --shadow:
    0 10px 40px rgba(0,0,0,.35);

}


/*-------------------------
        RESET
--------------------------*/

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

html{

scroll-behavior:smooth;

}

body{

background:linear-gradient(
180deg,
var(--bg),
var(--bg2));

color:var(--text);

font-family:'Inter',sans-serif;

overflow-x:hidden;

min-height:100vh;

}


/*-------------------------
     BACKGROUND BLOBS
--------------------------*/

.background{

position:fixed;

inset:0;

overflow:hidden;

z-index:-10;

}

.blob{

position:absolute;

border-radius:50%;

filter:blur(90px);

opacity:.18;

animation:floatBlob 18s ease-in-out infinite;

}

.blob1{

width:420px;
height:420px;

background:#1d7dff;

top:-120px;
left:-120px;

}

.blob2{

width:350px;
height:350px;

background:#8b5dff;

right:-120px;
top:220px;

animation-delay:4s;

}

.blob3{

width:400px;
height:400px;

background:#18d2ff;

left:35%;
bottom:-150px;

animation-delay:8s;

}

@keyframes floatBlob{

0%{

transform:
translate(0,0)
scale(1);

}

50%{

transform:
translate(50px,-40px)
scale(1.15);

}

100%{

transform:
translate(0,0)
scale(1);

}

}


/*-------------------------
        HEADER
--------------------------*/

header{

text-align:center;

padding:0 20px 40px;

}

header h1{

font-family:'Montserrat',sans-serif;

font-size:3rem;

font-weight:700;

letter-spacing:1px;

color:white;

margin-bottom:15px;

text-shadow:
0 0 25px rgba(60,180,255,.35);

}

header p{

font-size:1.15rem;

opacity:.9;

}


/*-------------------------
      TIMELINE
--------------------------*/

.timeline{

    max-width:950px;
    margin:auto;

position:relative;

width:min(1200px,92%);

margin:auto;

padding:40px 0 120px;

}


/* Main Line — automatically ends at the center of Step 13 */
/*------------------------------------
    MAIN TIMELINE LINE
    Always behind the numbered circles
-------------------------------------*/

.timeline::before {
    content: "";
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    top: 0;
    bottom: auto;

    width: 4px;
    height: var(--timeline-line-height, 0px);

    border-radius: 20px;

    background: linear-gradient(
        180deg,
        #275cae,
        #7f59ff
    );

    box-shadow:
        0 0 14px #2c83ff,
        0 0 28px rgba(60,160,255,.30);

    z-index: 0;
    pointer-events: none;
}


/* Progress Line */

/*------------------------------------
    PROGRESS LINE
    Also remains behind circles
-------------------------------------*/

.progress-line {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    top: 0;

    width: 4px;

    height: 0;
    max-height: var(--timeline-line-height, 0px);

    background: linear-gradient(
        180deg,
        #7fd7ff,
        #ffffff
    );

    border-radius: 20px;

    z-index: 1;
    pointer-events: none;

    box-shadow:
        0 0 18px #3cb6ff,
        0 0 36px rgba(60,182,255,.65);

    transition: height .25s linear;
}

/*-------------------------
        STEP
--------------------------*/

.step {
    position: relative;
    z-index: 2;

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

    margin: 110px 0;

    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


/*-------------------------
        CIRCLE
--------------------------*/

.circle {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    width: 70px;
    height: 70px;

    border-radius: 50%;

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

    font-family: 'Montserrat', sans-serif;

    font-size: 1.3rem;
    font-weight: 700;

    background: #173962;

    border: 4px solid #2c83ff;

    color: white;

    z-index: 10;

    transition: .4s;

    box-shadow:
        0 0 15px rgba(50,150,255,.35);
}


/* Active */

.step.active .circle{

background:#36a8ff;

transform:
translateX(-50%)
scale(1.15);

box-shadow:

0 0 25px #36a8ff,

0 0 50px rgba(54,168,255,.65);

}


/*-------------------------
          CARD
--------------------------*/

.card{

width:430px;

padding:35px;

border-radius:var(--radius);

background:var(--glass);

backdrop-filter:blur(14px);

border:1px solid var(--border);

box-shadow:var(--shadow);

transition:.4s;

position:relative;

overflow:hidden;

}


/* Glass highlight */

.card::before{

content:"";

position:absolute;

left:-120%;

top:0;

width:70%;

height:100%;

background:

linear-gradient(

90deg,

transparent,

rgba(255,255,255,.08),

transparent

);

transition:.7s;

}

.card:hover::before{

left:150%;

}


/* Hover */

.card:hover{

transform:

translateY(-8px)

scale(1.02);

box-shadow:

0 15px 60px rgba(0,0,0,.45),

0 0 25px rgba(70,150,255,.25);

}


/* Image */

.card img{

display:block;

width:120px;

height:87px;

margin:auto;

margin-bottom:25px;

object-fit:contain;

}


/* Title */

.card h2{

font-family:'Montserrat',sans-serif;

color:white;

font-size:1.7rem;

margin-bottom:15px;

text-align:center;

}


/* Paragraph */

.card p{

line-height:1.8;

text-align:center;

}


/* Lists */

.card ul{

margin-top:20px;

padding-left:24px;

line-height:2;

}

/*------------------------------------
    ZIG ZAG CARD POSITIONING
-------------------------------------*/

.step:nth-child(odd) .card{

margin-left:auto;
margin-right:calc(50% + 70px);

}

.step:nth-child(even) .card{

margin-right:auto;
margin-left:calc(50% + 70px);

}


/*------------------------------------
        BRANCH SECTION
-------------------------------------*/

.branch{

display:block;

width:100%;

}

.branch .circle{

top:-35px;

}

.branches{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

margin-top:70px;

position:relative;

}

.branches::before{

content:"";

position:absolute;

left:15%;
right:15%;
top:-22px;

height:4px;

background:linear-gradient(
90deg,
var(--blue),
var(--purple));

border-radius:10px;

box-shadow:
0 0 20px rgba(70,160,255,.45);

}

.branchCard{

background:var(--glass);

backdrop-filter:blur(14px);

border:1px solid var(--border);

border-radius:20px;

padding:30px 20px;

text-align:center;

transition:.35s;

box-shadow:var(--shadow);

}

.branchCard:hover{

transform:translateY(-10px);

box-shadow:

0 20px 45px rgba(0,0,0,.45),

0 0 25px rgba(80,170,255,.35);

}

.branchCard img{

width:80px;

height:80px;

object-fit:contain;

margin-bottom:18px;

}

.branchCard h3{

font-family:'Montserrat',sans-serif;

font-size:1.35rem;

color:#fff;

}


/*------------------------------------
      LIFE SKILLS GRID
-------------------------------------*/

.card ul{

list-style:none;

padding:0;

margin-top:25px;

display:grid;

grid-template-columns:repeat(2,1fr);

gap:14px;

}

.card ul li{

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

border:1px solid rgba(255,255,255,.08);

border-radius:12px;

padding:12px 14px;

transition:.3s;

}

.card ul li::before{

content:"✓ ";

color:var(--blue);

font-weight:bold;

}

.card ul li:hover{

transform:translateX(8px);

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

}


/*------------------------------------
      FINAL CARD
-------------------------------------*/

.finalCard{

background:

linear-gradient(

135deg,

rgba(255,213,77,.15),

rgba(255,255,255,.08));

border:1px solid rgba(255,213,77,.45);

}

.finalCard h2{

font-size:2.3rem;

color:var(--gold);

text-shadow:

0 0 15px rgba(255,213,77,.45);

}

.finalCard p{

font-size:1.2rem;

font-weight:500;

}

.final .circle{

background:#8d6500;

border-color:var(--gold);

box-shadow:

0 0 20px rgba(255,213,77,.45);

}


/*------------------------------------
      IMAGE ANIMATION
-------------------------------------*/

.card img,
.branchCard img{

animation:floatIcon 4s ease-in-out infinite;

}

@keyframes floatIcon{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0px);

}

}


/*------------------------------------
      CARD GLOW ON ACTIVE
-------------------------------------*/

.step.active .card{

border-color:rgba(80,180,255,.45);

box-shadow:

0 20px 60px rgba(0,0,0,.45),

0 0 30px rgba(70,170,255,.30);

}


/*------------------------------------
      TABLET
-------------------------------------*/

@media(max-width:992px){

.timeline{

width:95%;

}

.card{

width:380px;

}

.branches{

gap:18px;

}

}


/*------------------------------------
      MOBILE
-------------------------------------*/

/*------------------------------------
        MOBILE
-------------------------------------*/

@media (max-width: 768px) {

    .timeline::before {
        left: 35px;
        transform: none;

        width: 4px;
    }

    .progress-line {
        left: 35px;
        transform: none;

        width: 4px;
    }

    .step {
        display: block;
        margin: 70px 0;

        z-index: 2;
    }

    .circle {
        left: 35px;

        transform: none;

        z-index: 10;
    }

    .step.active .circle {
        transform: scale(1.12);

        z-index: 10;
    }

    .card {
        margin-left: 90px !important;
        margin-right: 20px !important;

        width: auto;
    }

    .branches {
        grid-template-columns: 1fr;
        margin-left: 90px;
    }

    .branches::before {
        display: none;
    }

    .card ul {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1rem;
    }
}


/*------------------------------------
      SMALL PHONES
-------------------------------------*/

@media(max-width:480px){

.card{

padding:24px;

}

.card h2{

font-size:1.35rem;

}

.branchCard{

padding:22px 15px;

}

.branchCard h3{

font-size:1.15rem;

}

.circle{

width:58px;

height:58px;

font-size:1rem;

}

header{

padding-top:50px;

}

}

/*=============================
      SCROLL BUTTON
==============================*/

.topButton{

position:fixed;

right:30px;

bottom:30px;

width:55px;

height:55px;

border-radius:50%;

border:none;

background:#2b8dff;

color:white;

font-size:22px;

cursor:pointer;

opacity:0;

visibility:hidden;

transition:.4s;

box-shadow:

0 0 20px rgba(40,140,255,.5);

z-index:999;

}

.topButton:hover{

transform:translateY(-6px);

background:#8b5dff;

}

.showTop{

opacity:1;

visibility:visible;

}

/*==================================================
    DESKTOP COMPACT MODE
    (Premium / Smaller Layout)
==================================================*/

@media (min-width: 992px){

:root{

    --compact-scale:.72;

}

/* Overall timeline */
.timeline{
    max-width:760px;
    padding:20px 0 80px;
}

/* Steps closer together */
.step{
    margin:70px 0;
}

/* Center line */
.timeline::before{
    width:4px;
    box-shadow:
        0 0 12px #2c83ff,
        0 0 24px rgba(60,160,255,.25);
}

.progress-line{
    width:4px;
}

/* Circles */
.circle{
    width:54px;
    height:54px;
    font-size:1rem;
    border-width:3px;
}

/* Main cards */
.card{
    width:310px;
    padding:22px;
    border-radius:16px;
}

/* Images */
.card img{
    width:62px;
    height:62px;
    margin-bottom:18px;
}

/* Headings */
.card h2{
    font-size:1.28rem;
    margin-bottom:12px;
}

/* Paragraph */
.card p{
    font-size:.92rem;
    line-height:1.6;
}

/* Lists */
.card ul{
    gap:10px;
    margin-top:18px;
}

.card ul li{
    padding:10px;
    font-size:.88rem;
}

/* Zig-zag spacing */
.step:nth-child(odd) .card{
    margin-right:calc(50% + 55px);
}

.step:nth-child(even) .card{
    margin-left:calc(50% + 55px);
}

/* Branch section */
.branches{
    gap:18px;
    margin-top:50px;
}

.branchCard{
    padding:22px 15px;
}

.branchCard img{
    width:58px;
    height:58px;
}

.branchCard h3{
    font-size:1.05rem;
}

/* Final card */
.finalCard h2{
    font-size:1.7rem;
}

.finalCard p{
    font-size:1rem;
}

/* Softer hover */
.card:hover{
    transform:translateY(-5px);
}

.branchCard:hover{
    transform:translateY(-6px);
}

}

:root{
    --ui-scale:1;
}

@media (min-width:992px){
    :root{
        --ui-scale:.72;
    }
}

@media (max-width:768px){
    :root{
        --ui-scale:.82;
    }
}

.card{
    width:calc(430px * var(--ui-scale));
    padding:calc(35px * var(--ui-scale));
}

.circle{
    width:calc(70px * var(--ui-scale));
    height:calc(70px * var(--ui-scale));
}

.card img{
    width:calc(90px * var(--ui-scale));
    height:calc(90px * var(--ui-scale));
}

.card h2{
    font-size:calc(1.7rem * var(--ui-scale));
}

/*=========================================
        FLOW INTRO
=========================================*/

.flow-intro{

    width:min(1000px,92%);
    margin:60px auto;

}

.introCard{

    width:100% !important;

    display:flex;
    gap:35px;
    align-items:flex-start;

}

.intro-image{

    flex:0 0 150px;

}

.intro-image img{

    width:150px;
    height:150px;

    object-fit:cover;
    border-radius:18px;

}

.intro-text{

    flex:1;

}

.intro-text h2{

    font-family:'Montserrat',sans-serif;

    font-size:2.6rem;      /* Large desktop heading */

    font-weight:800;

    line-height:1.15;

    color:#ffffff;

    text-align:left;

    margin-bottom:25px;

    text-shadow:
        0 0 20px rgba(57,169,255,.25);

}

.intro-text p{

    text-align:left;
    line-height:1.9;
    margin-bottom:18px;

}

/* Mobile */

@media (max-width:768px){

    .flow-intro{

        width:100%;
        margin:40px auto;
        padding:0 15px;

    }

    .introCard{

        width:100% !important;

        margin:0 auto !important;

        display:flex;
        flex-direction:column;

        align-items:center;

        left:auto !important;
        right:auto !important;

    }

}

/* Intro card alignment */
.introCard{
    flex-direction:column;
}

.intro-image{
    text-align:center;
}

.intro-image img{
    margin:auto;
}

.intro-text h2{
    text-align:center;
}

/*=================================
        INTRO CARD
=================================*/

.flow-intro{

    width:min(950px,92%);
    margin:60px auto;

}

.introCard{

    width:100% !important;

    display:flex;
    align-items:flex-start;
    gap:30px;

}

.introCard img{

    width:150px !important;
    height:150px !important;

    flex-shrink:0;

    border-radius:18px;

    object-fit:cover;

    margin:0 !important;

}

.introCard h2{

    text-align:left !important;

}

.introCard p{

    text-align:left !important;

    line-height:1.8;

}

@media(max-width:768px){

    .introCard{

        display:block;

    }

    .introCard img{

        display:block;
        margin:0 auto 25px !important;

    }

    .introCard h2{

        text-align:left !important;

    }

    .introCard p{

        text-align:left !important;

    }

}


/*==================================================
    FINAL TIMELINE VISIBILITY + LAYER FIX
    Line behind circles, cards always visible
==================================================*/

.timeline {
    position: relative;
}

/* Main glowing line */
.timeline::before {
    z-index: 0 !important;
    pointer-events: none;
}

/* Progress line */
.timeline .progress-line {
    z-index: 1 !important;
    pointer-events: none;
}

/* Steps/cards */
.timeline .step {
    position: relative;
    z-index: 2;
}

/* Number circles ABOVE the line */
.timeline .step .circle {
    position: absolute;
    z-index: 20 !important;
}

/* Keep the cards visible once their animation starts */
.timeline .step.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {

    .timeline::before {
        left: 35px;
        width: 4px;
        transform: none;
    }

    .timeline .progress-line {
        left: 35px;
        width: 4px;
        transform: none;
    }

    .timeline .step {
        z-index: 2;
    }

    .timeline .step .circle {
        left: 35px;
        z-index: 20 !important;
    }
}

/*==================================================
    FINAL MOBILE FLOW-CHART WIDTH FIX
    Prevent cards from going outside the viewport
==================================================*/

@media (max-width: 768px) {

    /* Keep timeline inside the actual mobile viewport */
    .timeline {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    /* Each step uses the full available timeline width */
    .timeline .step {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    /* Mobile cards:
       90px reserved for the timeline/circle area,
       remaining width belongs to the card */
    .timeline .step .card {
        width: calc(100% - 110px) !important;
        max-width: calc(100% - 110px) !important;

        margin-left: 90px !important;
        margin-right: 20px !important;

        box-sizing: border-box;
    }

    /* Branch cards must also stay inside viewport */
    .timeline .branches {
        width: calc(100% - 110px);
        max-width: calc(100% - 110px);

        margin-left: 90px;
        margin-right: 20px;

        box-sizing: border-box;
    }

    .timeline .branchCard {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/*==================================================
    SMALL PHONES
==================================================*/

@media (max-width: 480px) {

    .timeline {
        width: 100%;
    }

    .timeline .step .card {
        width: calc(100% - 105px) !important;
        max-width: calc(100% - 105px) !important;

        margin-left: 85px !important;
        margin-right: 20px !important;
    }

    .timeline .branches {
        width: calc(100% - 105px);
        max-width: calc(100% - 105px);

        margin-left: 85px;
        margin-right: 20px;
    }
}


/* =========================================================
   EMPOWER — LIGHT / WHITISH THEME OVERRIDE
   Generated from the supplied dark-theme CSS.
   Keeps the original layout, animation, glow and hover effects,
   while converting surfaces, text, borders and links to a
   bright white / light-grey palette.
   ========================================================= */

:root{
  --bg:#f4f6f9;
  --bg2:#eef2f6;
  --surface:#ffffff;
  --surface-1:#fbfcfd;
  --surface-2:#f3f5f7;
  --surface-3:#e8ecf1;

  --glass:rgba(255,255,255,.78);
  --border:rgba(113,126,143,.22);
  --border-soft:rgba(113,126,143,.16);

  --blue:#2c83ff;
  --blue-light:#78b7ff;
  --purple:#7657e8;
  --purple-light:#a78bfa;
  --gold:#d49a22;
  --gold-light:#f3c85b;

  --teal:#087f80;
  --cyan:#19a8c8;
  --green:#20b95c;

  --text:#26313d;
  --text-soft:#4f5c69;
  --text-muted:#707c88;
  --white:#ffffff;

  --shadow:
    0 12px 38px rgba(37,52,69,.12),
    0 2px 10px rgba(37,52,69,.07);
}

html,body{
  background:
    radial-gradient(circle at 12% 8%,rgba(118,87,232,.08),transparent 30%),
    radial-gradient(circle at 88% 12%,rgba(44,131,255,.08),transparent 30%),
    linear-gradient(180deg,#eef2f6 0%,#f5f7f9 45%,#ffffff 100%) !important;
  color:var(--text) !important;
}

body{
  min-height:100vh;
}

/* ---------- Global links: no underlines + elegant light gradients ---------- */
a,
a:visited,
a:hover,
a:active{
  text-decoration:none !important;
}

a{
  color:#46566b;
  transition:
    color .28s ease,
    background-position .35s ease,
    filter .28s ease,
    transform .28s ease,
    text-shadow .28s ease;
}

a:hover{
  color:#2c83ff;
}

/* Text-gradient links where the original theme used luminous accents */
nav a,
.navigation a,
header a,
footer a,
.about-navigation a,
.terms-logo a,
.terms-content a,
.about-container a,
.certificates-container a,
.services-page a,
.terms-page a,
.contact-page a{
  background-image:linear-gradient(90deg,#6d737b 0%,#ffffff 48%,#7657e8 100%);
  background-size:220% 100%;
  background-position:0% 50%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent !important;
}

nav a:hover,
.navigation a:hover,
header a:hover,
footer a:hover,
.about-navigation a:hover,
.terms-logo a:hover,
.terms-content a:hover,
.about-container a:hover,
.certificates-container a:hover,
.services-page a:hover,
.terms-page a:hover,
.contact-page a:hover{
  background-position:100% 50%;
  filter:drop-shadow(0 2px 7px rgba(118,87,232,.20));
}

/* ---------- Header / navigation ---------- */
header,
.site-header,
.about-header,
.terms-header,
.main-header{
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.98) 0%,
      rgba(247,249,251,.96) 52%,
      rgba(238,242,247,.96) 100%) !important;
  color:var(--text) !important;
  border-color:rgba(113,126,143,.22) !important;
  box-shadow:
    0 8px 28px rgba(37,52,69,.09),
    inset 0 -1px 0 rgba(255,255,255,.9) !important;
}

header::after,
.site-header::after,
.about-header::after,
.terms-header::after{
  background:
    linear-gradient(90deg,
      transparent,
      #b7b9c0 18%,
      #ffffff 34%,
      #7657e8 50%,
      #ffffff 66%,
      #b7b9c0 82%,
      transparent) !important;
  box-shadow:
    0 0 7px rgba(255,255,255,.95),
    0 0 16px rgba(118,87,232,.22) !important;
}

/* ---------- Footer ---------- */
footer,
.site-footer{
  background:
    linear-gradient(180deg,
      #e3e7eb 0%,
      #edf0f3 30%,
      #f7f8f9 67%,
      #ffffff 100%) !important;
  color:#4b5662 !important;
  border-top:1px solid rgba(113,126,143,.24) !important;
  box-shadow:
    0 -8px 28px rgba(37,52,69,.08),
    inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.site-footer a,
footer a{
  color:#505b68 !important;
}

/* Preserve the moving footer-light effect, but make it bright */
.footer-light{
  background:
    linear-gradient(90deg,
      transparent,
      #b9bdc3,
      #ffffff,
      #d8d0f2,
      #ffffff,
      #b9bdc3,
      transparent) !important;
  box-shadow:
    0 0 7px rgba(255,255,255,.98),
    0 0 15px rgba(118,87,232,.25),
    0 0 26px rgba(44,131,255,.15) !important;
}

/* ---------- Surfaces / cards / glass panels ---------- */
.card,
[class*="card"],
.panel,
[class*="panel"],
.glass,
.glass-card,
.contactCoachCard,
.contactCard,
.contactInfo,
.terms-content{
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.90),
      rgba(248,250,252,.78)) !important;
  border-color:rgba(113,126,143,.20) !important;
  box-shadow:
    0 14px 40px rgba(37,52,69,.10),
    0 2px 9px rgba(37,52,69,.06) !important;
  color:var(--text) !important;
}

/* Keep glass highlights / shine effects */
.card::before,
[class*="card"]::before{
  opacity:.28;
}

/* ---------- Text readability ---------- */
h1,h2,h3,h4,h5,h6,
.about-heading h1,
.about-heading h2,
.certificates-heading h2,
.terms-intro h2,
.terms-block h2,
.terms-agreement h2,
.contactCoachCard h2,
.contactHero h1{
  color:#202b37 !important;
  text-shadow:none !important;
}

p,
li,
span,
label,
.coach-story,
.terms-content,
.contact-page .contactCoachCard p,
.contact-page .contactHero p{
  color:var(--text-soft) !important;
}

small,
.muted,
.text-muted,
.terms-header-title p{
  color:var(--text-muted) !important;
}

strong,
b{
  color:#293442;
}

/* Accent headings retain original blue/purple/gold identity */
.about-label,
.certificates-heading > span{
  color:#7657e8 !important;
}

.about-heading h1 span{
  color:#7657e8 !important;
}

.about-heading-line{
  background:linear-gradient(90deg,#d9a52a,#f3c85b,#d9a52a) !important;
  box-shadow:0 0 14px rgba(212,154,34,.28) !important;
}

.terms-header-title h1{
  color:#b8790c !important;
}

.terms-header-title p{
  color:#7657e8 !important;
}

/* ---------- Borders / separators ---------- */
hr,
.terms-intro,
.section-divider{
  border-color:rgba(113,126,143,.20) !important;
}

/* ---------- Forms ---------- */
input,
select,
textarea{
  background:
    linear-gradient(180deg,#ffffff,#f7f9fb) !important;
  color:#26313d !important;
  border:1px solid #cbd2da !important;
  box-shadow:
    inset 0 1px 2px rgba(37,52,69,.035),
    0 2px 8px rgba(37,52,69,.035) !important;
}

input::placeholder,
textarea::placeholder{
  color:#8a949f !important;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#7657e8 !important;
  box-shadow:
    0 0 0 3px rgba(118,87,232,.10),
    0 8px 22px rgba(37,52,69,.08) !important;
}

/* ---------- Buttons: light gradient versions of dark luminous buttons ---------- */
button,
.btn,
.button,
.book-session-button{
  border-color:rgba(118,87,232,.35) !important;
  color:#39465a !important;
  background:
    linear-gradient(135deg,
      #ffffff 0%,
      #f1f3f6 48%,
      #e4e8ee 100%) !important;
  box-shadow:
    0 7px 20px rgba(37,52,69,.10),
    inset 0 1px 0 rgba(255,255,255,.95) !important;
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease,
    filter .3s ease !important;
}

button:hover,
.btn:hover,
.button:hover,
.book-session-button:hover{
  transform:translateY(-2px);
  border-color:rgba(118,87,232,.55) !important;
  box-shadow:
    0 11px 27px rgba(37,52,69,.13),
    0 0 18px rgba(118,87,232,.12),
    inset 0 1px 0 rgba(255,255,255,1) !important;
  filter:brightness(1.015);
}

/* WhatsApp keeps its recognizable brand effect */
.contact-page .whatsappButton{
  color:#ffffff !important;
  background:linear-gradient(135deg,#25d366,#20b95c) !important;
}

/* ---------- Timeline / circular accents ---------- */
.circle{
  background:
    linear-gradient(145deg,#ffffff,#e9edf2) !important;
  border-color:#2c83ff !important;
  color:#31506d !important;
  box-shadow:
    0 0 15px rgba(44,131,255,.20),
    inset 0 1px 0 #fff !important;
}

.step.active .circle{
  background:linear-gradient(145deg,#ffffff,#e7f1ff) !important;
  color:#2c83ff !important;
  box-shadow:
    0 0 25px rgba(44,131,255,.25),
    0 0 50px rgba(44,131,255,.12) !important;
}

/* ---------- Image frames ---------- */
.coach-photo,
img[class*="certificate"],
.certificate-open img{
  border-color:rgba(113,126,143,.20) !important;
  box-shadow:
    0 18px 48px rgba(37,52,69,.14) !important;
}

/* ---------- Modal / certificate viewer: white shell, readable controls ---------- */
#certificateViewer{
  background:rgba(245,247,250,.96) !important;
}

#certificateViewer .certificate-viewer-content{
  background:#ffffff !important;
  border:1px solid rgba(113,126,143,.22) !important;
  box-shadow:0 20px 70px rgba(37,52,69,.18) !important;
}

#certificateViewer button,
#certificateViewer .close,
#certificateViewer a{
  color:#334155 !important;
  background:#ffffff !important;
  border-color:#cbd2da !important;
}

/* ---------- Services / terms teal identity ---------- */
.services-page,
.terms-page{
  color:var(--text) !important;
}

.services-page .terms-header,
.terms-page .terms-header{
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.98),
      rgba(241,249,249,.96)) !important;
}

.services-page a:hover,
.terms-page a:hover{
  color:#087f80 !important;
}

.services-page [class*="card"],
.terms-page [class*="card"]{
  border-color:rgba(8,127,128,.18) !important;
}

/* ---------- Generic dark-theme remnants: safe light conversions ---------- */
[style*="color:#fff"],
[style*="color:#ffffff"],
[style*="color:white"]{
  color:#26313d !important;
}

::selection{
  background:rgba(118,87,232,.18);
  color:#202b37;
}

:focus-visible{
  outline:2px solid rgba(118,87,232,.55);
  outline-offset:3px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:#edf0f3;
}

::-webkit-scrollbar-thumb{
  background:
    linear-gradient(180deg,#c6cbd2,#9ea6b0);
  border-radius:10px;
  border:2px solid #edf0f3;
}

::-webkit-scrollbar-thumb:hover{
  background:
    linear-gradient(180deg,#a9b0ba,#7f8995);
}

/* =========================================================
   FIX: HEADER BOOK A SESSION BUTTON
   Prevent global gradient-link styling from making
   the button text invisible.
========================================================= */

header a.book-session-button,
header a.book-session-button:link,
header a.book-session-button:visited,
header a.book-session-button:hover,
header a.book-session-button:active,

.book-session-button,
.book-session-button:link,
.book-session-button:visited,
.book-session-button:hover,
.book-session-button:active {

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 11px 22px !important;

    min-width: 150px;

    min-height: 46px;

    box-sizing: border-box;

    border-radius: 30px !important;

    border: 1px solid rgba(218, 164, 42, .55) !important;

    /* Light gold gradient matching the original theme */

    background: linear-gradient(
        135deg,
        #E7B63F 0%,
        #F8D46A 48%,
        #D99A20 100%
    ) !important;

    background-image: linear-gradient(
        135deg,
        #E7B63F 0%,
        #F8D46A 48%,
        #D99A20 100%
    ) !important;

    /* CRITICAL FIX */

    background-clip: border-box !important;

    -webkit-background-clip: border-box !important;

    color: #263548 !important;

    -webkit-text-fill-color: #263548 !important;

    text-decoration: none !important;

    text-shadow: none !important;

    font-family: 'Inter', sans-serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.2;

    white-space: nowrap;

    opacity: 1 !important;

    visibility: visible !important;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease,
        border-color .3s ease;

    box-shadow:
        0 7px 20px rgba(180, 135, 35, .18),
        inset 0 1px 0 rgba(255, 255, 255, .65);

}


/* Make the actual text inside the button visible */

header a.book-session-button *,
.book-session-button * {

    color: #263548 !important;

    -webkit-text-fill-color: #263548 !important;

    background: none !important;

    background-image: none !important;

    background-clip: border-box !important;

    -webkit-background-clip: border-box !important;

    text-shadow: none !important;

}


/* Hover */

header a.book-session-button:hover,
.book-session-button:hover {

    color: #172333 !important;

    -webkit-text-fill-color: #172333 !important;

    background: linear-gradient(
        135deg,
        #F3C951 0%,
        #FFE18A 48%,
        #E3A52B 100%
    ) !important;

    background-image: linear-gradient(
        135deg,
        #F3C951 0%,
        #FFE18A 48%,
        #E3A52B 100%
    ) !important;

    transform: translateY(-2px) !important;

    border-color: rgba(208, 151, 29, .75) !important;

    box-shadow:
        0 11px 27px rgba(180, 135, 35, .20),
        0 0 18px rgba(230, 181, 61, .18),
        inset 0 1px 0 rgba(255, 255, 255, .9) !important;

    filter: brightness(1.03);

}


/* Prevent the global gradient link rule from affecting
   the Book a Session button */

header a.book-session-button::before,
header a.book-session-button::after,
.book-session-button::before,
.book-session-button::after {

    -webkit-text-fill-color: initial !important;

    color: initial !important;

}

/* =========================================================
   FINAL LINK-GRADIENT EXCLUSIONS
   Buttons must NOT use gradient text treatment.
========================================================= */

a.book-session-button,
a.whatsappButton,
a.btn,
a.button,
button {

    -webkit-text-fill-color: currentColor !important;

    background-clip: border-box !important;

    -webkit-background-clip: border-box !important;

    text-decoration: none !important;

}


/* Header booking button */

a.book-session-button {

    color: #263548 !important;

    -webkit-text-fill-color: #263548 !important;

}


/* WhatsApp button */

a.whatsappButton {

    color: #ffffff !important;

    -webkit-text-fill-color: #ffffff !important;

}


/* Children inside buttons */

a.book-session-button *,
a.whatsappButton *,
button * {

    -webkit-text-fill-color: currentColor !important;

}