/*==================================================
    EMPOWER
    TERMS & CONDITIONS
===================================================*/

:root {

    --bg: #081421;
    --bg2: #13263e;

    --glass: rgba(255,255,255,.07);
    --border: rgba(255,255,255,.16);

    --blue: #39A9FF;
    --purple: #8B5DFF;
    --purple-light: #b56cff;

    --gold: #FFD54D;

    --white: #ffffff;
    --text: #d8e3f0;
    --muted: #aebed0;

    --radius: 22px;

    --shadow:
        0 15px 45px rgba(0,0,0,.35);
}


/*==================================================
    GLOBAL
===================================================*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(139,93,255,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(57,169,255,.09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            var(--bg),
            var(--bg2)
        );

    color: var(--text);

    font-family:
        "Source Sans 3",
        sans-serif;

    overflow-x: hidden;
}


/*==================================================
    PAGE
===================================================*/

.terms-page {

    width: 100%;

    min-height: 100vh;

    padding-bottom: 80px;
}


/*==================================================
    HEADER
===================================================*/

.terms-header {

    width: 100%;

    max-height: 150px;

    display: flex;

    align-items: center;

    gap: 50px;

    padding: 15px 6%;

    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(139,93,255,.20),
            rgba(57,169,255,.08)
        );

    border-bottom:
        1px solid rgba(255,255,255,.18);

    box-shadow:
        0 8px 35px rgba(0,0,0,.25);
}


/* Subtle glowing line */

.terms-header::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--purple),
            var(--blue),
            var(--purple),
            transparent
        );

    opacity: .75;
}


/*==================================================
    LOGO
===================================================*/

.terms-logo {

    flex-shrink: 0;

    display: flex;

    align-items: center;
}

.terms-logo a {

    display: block;

    text-decoration: none;
}

.terms-logo img {

    display: block;

     width: 200px;
    height: 200px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 15px rgba(139,93,255,.35)
        );

    transition:
        transform .3s ease;
}

.terms-logo img:hover {

    transform: scale(1.05);
}


/*==================================================
    HEADER TITLE
===================================================*/

.terms-header-title h1 {

    margin: 0;

    font-family:
        "Merriweather",
        serif;

    font-size:
        clamp(40px, 4vw, 38px);

    font-weight: 900;

    line-height: 0.8;

    color: var(--white);
}

.terms-header-title p {

    margin:
        8px 0 0;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: .5px;

    color: var(--purple-light);
}


/*==================================================
    MAIN CONTAINER
===================================================*/

.terms-container {

    width:
        min(1000px, 92%);

    margin:
        60px auto 0;
}


/*==================================================
    CONTENT CARD
===================================================*/

.terms-content {

    padding:
        45px;

    background:
        var(--glass);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);
}


/*==================================================
    INTRO
===================================================*/

.terms-intro {

    padding-bottom: 25px;

    margin-bottom: 35px;

    border-bottom:
        1px solid rgba(255,255,255,.12);
}

.terms-intro h2,
.terms-block h2,
.terms-agreement h2 {

    margin-top: 0;

    font-family:
        "Merriweather",
        serif;

    font-weight: 900;

    color: var(--white);
}

.terms-intro h2 {

    font-size: 30px;

    margin-bottom: 18px;
}


/*==================================================
    PARAGRAPHS
===================================================*/

.terms-content p {

    margin:
        0 0 18px;

    font-size: 17px;

    line-height: 1.75;

    font-weight: 400;

    color: var(--text);
}


/*==================================================
    TERMS BLOCK
===================================================*/

.terms-block {

    margin-bottom: 40px;

    padding-left: 25px;

    border-left:
        3px solid rgba(139,93,255,.55);
}

.terms-block h2 {

    font-size: 23px;

    margin-bottom: 15px;

    color: var(--white);
}

.terms-block p:last-child {

    margin-bottom: 0;
}


/*==================================================
    AGREEMENT SECTION
===================================================*/

.terms-agreement {

    margin-top: 55px;

    padding:
        40px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(139,93,255,.13),
            rgba(57,169,255,.06)
        );

    border:
        1px solid rgba(139,93,255,.30);

    border-radius:
        20px;

    box-shadow:
        inset 0 0 30px rgba(139,93,255,.05);
}


/* Glowing separator */

.agreement-line {

    width: 90px;

    height: 3px;

    margin:
        0 auto 25px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 0 15px rgba(139,93,255,.55);
}


.terms-agreement h2 {

    font-size: 30px;

    margin-bottom: 15px;
}

.terms-agreement p {

    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    color: var(--text);
}

.terms-agreement .return-message {

    margin-top: 20px;

    color: var(--muted);

    font-size: 16px;
}

.return-message strong {

    color: var(--white);
}


/*==================================================
    AGREE BUTTON
===================================================*/

.agree-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 10px;

    padding:
        16px 32px;

    border: none;

    border-radius: 50px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--purple-light)
        );

    color: var(--white);

    font-family:
        "Source Sans 3",
        sans-serif;

    font-size: 18px;

    font-weight: 700;

    box-shadow:
        0 10px 30px rgba(139,93,255,.35);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.agree-button span {

    font-size: 23px;

    transition:
        transform .3s ease;
}


.agree-button:hover {

    transform:
        translateY(-3px);

    background:
        linear-gradient(
            135deg,
            #a878ff,
            #c879ff
        );

    box-shadow:
        0 14px 38px rgba(139,93,255,.55);
}


.agree-button:hover span {

    transform:
        translateX(5px);
}


.agree-button:active {

    transform:
        translateY(0);
}


/*==================================================
    MOBILE
===================================================*/

@media (max-width: 700px) {

    .terms-header {

        max-height: 150px;

        padding:
            20px 5%;

        gap: 18px;
    }

    .terms-logo img {

        width: 165px;
        height: 165px;
    }

    .terms-header-title h1 {

        font-size: 28px;
    }

    .terms-header-title p {

        font-size: 17px;

        margin-top: 4px;
    }

    .terms-container {

        width: 94%;

        margin-top: 30px;
    }

    .terms-content {

        padding: 28px 20px;

        border-radius: 18px;
    }

    .terms-intro h2 {

        font-size: 25px;
    }

    .terms-content p {

        font-size: 16px;

        line-height: 1.7;
    }

    .terms-block {

        padding-left: 17px;

        margin-bottom: 32px;
    }

    .terms-block h2 {

        font-size: 20px;
    }

    .terms-agreement {

        padding:
            32px 18px;
    }

    .terms-agreement h2 {

        font-size: 25px;
    }

    .agree-button {

        width: 100%;

        padding:
            15px 20px;

        font-size: 17px;
    }
}


/*==================================================
    SMALL MOBILE
===================================================*/

@media (max-width: 430px) {

    .terms-header {

        align-items: flex-start;
    }

    .terms-logo img {

        width: 55px;
        height: 55px;
    }

    .terms-header-title h1 {

        font-size: 22px;
    }

    .terms-header-title p {

        font-size: 15px;
    }
}


/* =========================================================
   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);
}
