/* ==========================================================================
   Basic Speed & Agility Group - site stylesheet
   css/bsg-stylesheet.css

   1. Variables & base          (shared by every page)
   2. Top bar, floating nav, footer, mobile CTA, shared components
   3. Keyframes
   4. Page-specific styles      (scoped by the class on each page's <body>)
   5. Site-wide overrides       (hero at top, QR lightbox animation)
   ========================================================================== */

:root {
    --orange: #ec6a00;
    --orange-dark: #d45f00;
    --white: #ffffff;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f8f9fa;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --green: #4CAF50;
    --bg-color: #ffffff;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #ffffff;
    --border-color: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 40px;
    padding-bottom: 20px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.top-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 3px solid var(--orange);
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.call-us-pill {
    background: rgba(236, 106, 0, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 6px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 106, 0, 0.2);
}

.call-us-pill:hover {
    background: rgba(236, 106, 0, 0.25);
    transform: translateY(-2px);
}

.call-us-pill i {
    color: var(--orange);
}

.call-us-pill a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.call-us-pill:hover a {
    color: var(--orange);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--orange);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--dark-gray);
}

.floating-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 0 5%;
    transition: all 0.3s ease;
}

.nav-container {
    background-color: var(--orange);
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    border-radius: 25px;
    padding: 8px 25px;
}

.logo {
    height: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-container.scrolled .logo {
    height: 35px;
}

.logo img {
    height: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.logo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: 1;
}

.logo:hover::before {
    width: 120px;
    height: 120px;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
    padding: 5px 15px;
    border-radius: 20px;
}

.main-nav a.active-page {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--white);
    transition: width 0.3s;
}

.main-nav a:hover:after {
    width: 100%;
}

.main-nav .cta-button:after, .dropdown-content a:after {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    z-index: 1;
    border-top: 3px solid var(--orange);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark-gray);
    border-radius: 0;
}

.dropdown-content a.new-link::after {
    content: "NEW";
    display: inline-block;
    position: static;
    width: auto;
    height: auto;
    background: var(--green);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.dropdown-content a:hover {
    color: var(--orange);
    background: rgba(236, 106, 0, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 5px;
    color: var(--white);
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.cta-button {
    background-color: var(--green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.7);
    animation: pulse-white 2s infinite;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #3d8c40;
    transform: translateY(-2px);
    animation: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.mobile-menu-btn .hamburger-icon, .mobile-menu-btn .close-icon {
    position: absolute;
    top: 50%;
    left: 1%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.mobile-menu-btn .close-icon {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-icon {
    opacity: 0;
}

.mobile-menu-btn.active .close-icon {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    .top-bar {
        padding: 8px 5%;
        height: 40px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    .floating-nav {
        top: 60px;
        position: fixed;
    }
    .nav-container {
        padding: 10px 20px;
        border-radius: 25px;
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        padding: 10px;
    }
    .main-nav ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(236, 106, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 100px 5% 50px;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        transition: right 0.5s ease;
        border-radius: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }
    .main-nav ul li {
        width: 100%;
    }
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        color: var(--white);
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    .main-nav ul.show {
        right: 0;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-left: 20px;
        margin-top: 0;
        display: none;
        transition: max-height 0.5s ease, opacity 0.5s ease;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }
    .dropdown.active .dropdown-content {
        display: block;
        max-height: 320px;
        opacity: 1;
    }
    .dropdown-content a:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
    }
    .dropdown-arrow {
        transition: transform 0.5s ease;
    }
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.page-header {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0px;
    margin-top: 0px;
}

.page-header-content {
    padding: 0 5%;
    max-width: 800px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background-color: var(--bg-color);
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--orange);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.sticky-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.sticky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}

.sticky-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.sticky-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.sticky-tagline {
    font-size: 2.5rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
    max-width: 800px;
    padding: 0 20px;
}

.sticky-content.visible .sticky-tagline {
    opacity: 1;
    transform: translateY(0);
}

.sticky-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sticky-content.visible .sticky-button {
    opacity: 1;
    transform: translateY(0);
}

.sticky-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-title:after {
    background-color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-button-large {
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 5px;
}

.cta-button-large:hover {
    background-color: var(--orange-dark);
    transform: scale(1.05);
}

footer {
    background-color: var(--bg-color);
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: var(--orange);
    bottom: -8px;
    left: 0;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: var(--orange);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--dark-gray);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--medium-gray);
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--orange);
}

.qr-code-section {
    margin-top: 20px;
}

.qr-code-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 8px;
}

.qr-code-image {
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qr-code-image:hover {
    transform: scale(1.05);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--orange);
}

.sub-footer {
    background-color: var(--bg-color);
    padding: 20px 5%;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.sub-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.sub-footer-right {
    text-align: right;
}

.sub-footer-right a {
    text-decoration: none;
    color: var(--orange);
    transition: color 0.3s;
    font-weight: 500;
}

.sub-footer-right a:hover {
    color: var(--dark-gray);
}

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-cta-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.mobile-cta-phone {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-cta-phone:hover {
    background: rgba(51, 51, 51, 0.1);
    color: var(--dark-gray);
}

.mobile-cta-email:hover {
    background: rgba(236, 106, 0, 0.1);
    color: var(--orange);
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    .sticky-tagline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    .top-bar {
        flex-direction: row;
        gap: 15px;
        text-align: center;
        padding: 0px;
        flex-wrap: nowrap;
        height: 50px;
    }
    .contact-info, .social-icons {
        flex: 1;
        justify-content: center;
        white-space: nowrap;
    }
    .page-header {
        height: 50vh;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .sticky-section {
        height: 70vh;
        margin: 0;
    }
    .sticky-background {
        background-attachment: scroll;
    }
    .sticky-content {
        height: 70vh;
    }
    .sticky-tagline {
        font-size: 1.8rem;
        padding: 0 30px;
    }
    .sticky-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sub-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .sub-footer-right {
        text-align: center;
    }
    .mobile-cta-bar {
        display: flex;
    }
    .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        height: 40vh;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .sticky-section {
        height: 60vh;
    }
    .sticky-content {
        height: 60vh;
    }
    .sticky-tagline {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    .sticky-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: row;
        gap: 0px;
    }
    .social-icons {
        gap: 10px;
    }
    .social-icons a {
        font-size: 0.9rem;
    }
    .sticky-section {
        height: 50vh;
    }
    .sticky-content {
        height: 50vh;
    }
    .sticky-tagline {
        font-size: 1.3rem;
    }
    .sticky-button {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 106, 0, 0.9);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin: 20px 0 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-btn.primary {
    background: var(--orange);
    color: var(--white);
}

.hero-btn.primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

.hero-btn.ghost {
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--white);
}

.hero-btn.ghost:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.section-lead {
    max-width: 820px;
    margin: -10px auto 45px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-color);
}

.clinics {
    background-color: var(--bg-light);
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.clinic-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    transform: translateY(-10px);
}

.clinic-card.featured {
    border: 2px solid var(--orange);
}

.popular-badge {
    position: absolute;
    top: 14px;
    right: -32px;
    background-color: var(--green);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.72rem;
    font-weight: 700;
    transform: rotate(45deg);
    width: 130px;
    text-align: center;
}

.clinic-card-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

.clinic-card-header i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.clinic-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.clinic-card-body {
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clinic-ratio {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 18px;
}

.clinic-ratio span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medium-gray);
}

.clinic-card-body ul {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}

.clinic-card-body li {
    padding: 8px 0 8px 25px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.clinic-card-body li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.clinic-card-body li:last-child {
    border-bottom: none;
}

.clinic-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.clinic-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

.clinic-note {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 1rem;
    color: var(--medium-gray);
}

.clinic-note i {
    color: var(--orange);
    margin-right: 6px;
}

.register-section {
    background-color: var(--bg-light);
}

.form-shell {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}

.clinic-form {
    background: var(--bg-color);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    border-top: 5px solid var(--orange);
}

.form-intro {
    padding: 28px 34px 0;
    color: var(--medium-gray);
}

.form-block {
    padding: 28px 34px;
    border-bottom: 1px solid var(--border-color);
}

.form-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-block-title .num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.phone-row {
    display: flex;
    gap: 10px;
}

.field .phone-row select {
    width: auto;
    flex: 0 0 auto;
}

.field .phone-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.field label, .field-label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: var(--text-color);
}

.field label .req, .field-label .req {
    color: var(--orange);
}

.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236,106,0,0.18);
}

.field .hint {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 5px;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-group input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    user-select: none;
    margin: 0;
}

.pill-group label:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.pill-group input:checked + label {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.pill-group input:focus-visible + label {
    box-shadow: 0 0 0 3px rgba(236,106,0,0.3);
}

.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
}

.consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
    flex-shrink: 0;
}

.consent a {
    color: var(--orange);
}

.form-actions {
    padding: 28px 34px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.form-actions p {
    font-size: 0.88rem;
    color: var(--medium-gray);
    max-width: 420px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--white);
    border: none;
    padding: 15px 38px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 18px rgba(76,175,80,0.35);
}

.submit-btn:hover {
    background: #3d8c40;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.form-error {
    display: none;
    margin: 0 34px 20px;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(244,67,54,0.1);
    color: #d32f2f;
    font-weight: 600;
}

.form-error.show {
    display: block;
}

.field.invalid input, .field.invalid select, .pill-group.invalid label {
    border-color: #e53935 !important;
}

.clinic-form.pulse {
    animation: clinicPulse 1s ease-out 2;
}

.clinic-form.exiting {
    animation: formExit 2.5s cubic-bezier(.55,.06,.68,.19) forwards;
    transform-origin: center top;
    pointer-events: none;
}

.form-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    padding: 90px 20px 20px;
}

.form-success.show {
    opacity: 1;
    visibility: visible;
}

.form-success .check-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(76,175,80,0.4);
    animation: popIn 0.5s cubic-bezier(.17,.89,.32,1.49);
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--medium-gray);
}

.redirect-bar {
    width: 220px;
    height: 5px;
    border-radius: 3px;
    background: var(--border-color);
    margin-top: 22px;
    overflow: hidden;
}

.redirect-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--orange);
}

.form-success.show .redirect-bar span {
    animation: fillBar 2s linear forwards;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.stat {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 16px 10px;
    text-align: center;
    border-bottom: 3px solid var(--orange);
}

@media (max-width: 992px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        height: auto;
        min-height: 60vh;
        padding: 60px 0;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-block, .form-actions, .form-intro {
        padding-left: 20px;
        padding-right: 20px;
    }
    .form-error {
        margin-left: 20px;
        margin-right: 20px;
    }
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clinic-form.exiting {
        animation-duration: 2.5s;
        animation-name: fadeOnly;
    }
}

/* Keyframes */
@keyframes pulse-white { 0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); } }

@keyframes clinicPulse { 0% { box-shadow: 0 0 0 0 rgba(236,106,0,0.55); } 100% { box-shadow: 0 0 0 16px rgba(236,106,0,0); } }

@keyframes formExit { 0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } 25% { opacity: 1; transform: translateY(-12px) scale(1.01); filter: blur(0); } 100% { opacity: 0; transform: translateY(80px) scale(0.92) rotateX(12deg); filter: blur(6px); } }

@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

@keyframes fillBar { to { width: 100%; } }

@keyframes fadeOnly { to { opacity: 0; } }

@keyframes confetti-fall { 0% { transform: translateY(-100px) rotate(0deg) scale(1); opacity: 1; } 100% { transform: translateY(calc(100vh + 100px)) rotate(var(--rotation)) scale(0.5); opacity: 0; } }

@keyframes confetti-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } }

@keyframes confetti-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } }
@keyframes fadeOnly { to { opacity: 0; } }

/* ==========================================================================
   Page: Home  (body.page-home)
   ========================================================================== */
:where(.page-home) .hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bsag-team-training.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0px;
    margin-top: 0px;
}

:where(.page-home) .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

:where(.page-home) .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
}

:where(.page-home) .hero-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    margin: 0 5px;
}

:where(.page-home) .hero-button:nth-child(2) {
    display: inline-flex;
}

:where(.page-home) .hero-button:hover {
    background-color: #d45f00;
    transform: translateY(-3px);
}

:where(.page-home) .sticky-parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

:where(.page-home) .sticky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-athlete-coach-james.png') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}

:where(.page-home) .sticky-logo {
    max-width: 400px;
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease 0.3s;
}

:where(.page-home) .sticky-content.visible .sticky-logo {
    opacity: 1;
    transform: scale(1);
}

:where(.page-home) .sticky-tagline {
    font-size: 1.8rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

:where(.page-home) .sticky-button {
    background-color: var(--dark-gray);
    color: var(--orange);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

:where(.page-home) .sticky-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

:where(.page-home) .about {
    background-color: var(--bg-color);
}

:where(.page-home) .about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
}

:where(.page-home) .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

:where(.page-home) .stat-item {
    text-align: center;
}

:where(.page-home) .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
}

:where(.page-home) .stat-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
}

:where(.page-home) .sports {
    background-color: var(--bg-light);
}

:where(.page-home) .sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-home) .sport-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
}

:where(.page-home) .sport-item:hover {
    transform: translateY(-10px);
}

:where(.page-home) .sport-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 15px;
}

:where(.page-home) .sport-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

:where(.page-home) .coaches {
    background-color: var(--bg-color);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-home) .coaches.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-home) .coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

:where(.page-home) .coach-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
}

:where(.page-home) .coach-item:hover {
    transform: translateY(-5px);
}

:where(.page-home) .coach-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--orange);
}

:where(.page-home) .coach-name {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

:where(.page-home) .coach-title {
    font-size: 1.1rem;
    color: var(--orange);
    font-weight: 600;
}

:where(.page-home) .certifications {
    text-align: center;
    margin-top: 60px;
}

:where(.page-home) .certifications-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

:where(.page-home) .certifications-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

:where(.page-home) .cert-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

:where(.page-home) .cert-logo:hover {
    transform: scale(1.05);
}

:where(.page-home) .cert-logo img {
    max-width: 100%;
    max-height: 100%;
}

:where(.page-home) .services {
    background-color: var(--bg-color);
}

:where(.page-home) .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-home) .service-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    color: var(--text-color);
}

:where(.page-home) .service-item:hover {
    border-left: 4px solid var(--orange);
    transform: translateY(-5px);
}

:where(.page-home) .service-item h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

:where(.page-home) .service-button {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

:where(.page-home) .service-button:hover {
    background-color: #d45f00;
}

:where(.page-home) .locations {
    background-color: var(--bg-light);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

:where(.page-home) .locations.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-home) .locations-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-color);
}

:where(.page-home) .location-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

:where(.page-home) .location-item {
    background-color: var(--bg-color);
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    color: var(--text-color);
}

:where(.page-home) .location-item.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-home) .location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--orange);
}

:where(.page-home) .testimonials {
    background-color: var(--bg-color);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

:where(.page-home) .testimonials.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-home) .testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

:where(.page-home) .testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

:where(.page-home) .testimonial-item {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(100%);
    color: var(--text-color);
}

:where(.page-home) .testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

:where(.page-home) .testimonial-item.prev {
    transform: translateX(-100%);
}

:where(.page-home) .testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

:where(.page-home) .testimonial-text:before {
    content: """[bad string] font-size: 4rem;
    color: var(--orange);
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

:where(.page-home) .testimonial-author {
    font-weight: 600;
    color: var(--orange);
}

:where(.page-home) .testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

:where(.page-home) .testimonial-prev, :where(.page-home) .testimonial-next {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

:where(.page-home) .testimonial-prev:hover, :where(.page-home) .testimonial-next:hover {
    background-color: #d45f00;
    transform: scale(1.1);
}

:where(.page-home) .testimonial-progress {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    flex-grow: 1;
    max-width: 300px;
}

:where(.page-home) .testimonial-progress-bar {
    height: 100%;
    background-color: var(--orange);
    width: 0%;
    transition: width 5s linear;
}

:where(.page-home) .testimonial-progress-bar.active {
    width: 100%;
}

:where(.page-home) .instagram-section {
    padding: 80px 5%;
    background-color: var(--bg-light);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-home) .instagram-section.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-home) .instagram-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

:where(.page-home) .instagram-feed {
    display: flex;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
}

:where(.page-home) .instagram-slider {
    display: flex;
    transition: transform 0.5s ease;
}

:where(.page-home) .instagram-post {
    flex: 0 0 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

:where(.page-home) .instagram-post-inner {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

:where(.page-home) .reel-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #8a3ab9, #e95950, #bc2a8d);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3px;
}

:where(.page-home) .reel-badge i {
    font-size: 0.8rem;
}

:where(.page-home) .instagram-post-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

:where(.page-home) .instagram-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

:where(.page-home) .instagram-content {
    padding: 15px;
}

:where(.page-home) .instagram-caption {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

:where(.page-home) .instagram-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--medium-gray);
}

:where(.page-home) .instagram-likes {
    display: flex;
    align-items: center;
    gap: 5px;
}

:where(.page-home) .instagram-date {
    font-size: 0.75rem;
}

:where(.page-home) .instagram-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

:where(.page-home) .instagram-prev, :where(.page-home) .instagram-next {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

:where(.page-home) .instagram-prev:hover, :where(.page-home) .instagram-next:hover {
    background-color: #d45f00;
    transform: scale(1.1);
}

:where(.page-home) .instagram-handle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

:where(.page-home) .instagram-handle i {
    color: var(--orange);
}

:where(.page-home) .instagram-follow {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

:where(.page-home) .instagram-follow:hover {
    background-color: #d45f00;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    :where(.page-home) .instagram-post {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {
    :where(.page-home) .instagram-post {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    :where(.page-home) .instagram-post {
        flex: 0 0 50%;
    }
    :where(.page-home) .instagram-section {
        padding: 60px 5%;
    }
    :where(.page-home) .instagram-post {
        padding: 0 5px;
    }
    :where(.page-home) .instagram-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    :where(.page-home) .instagram-post {
        flex: 0 0 50%;
    }
    :where(.page-home) .instagram-image {
        height: 180px;
    }
    :where(.page-home) .instagram-caption {
        font-size: 0.8rem;
        min-height: 35px;
    }
}

:where(.page-home) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-home) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 5px;
}

:where(.page-home) .cta-button-large:nth-child(2) {
    display: inline-flex;
}

:where(.page-home) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-home) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-home) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-home) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

:where(.page-home) .coaches-message-tab {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    background: linear-gradient(135deg, rgba(236, 106, 0, 0.8), rgba(51, 51, 51, 0.8));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 12px 25px;
    border-radius: 8px 8px 8px 8px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-weight: 600;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

:where(.page-home) .coaches-message-tab.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-home) .coaches-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2001;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

:where(.page-home) .coaches-lightbox.active {
    display: flex;
    opacity: 1;
}

:where(.page-home) .coaches-lightbox-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

:where(.page-home) .coaches-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

:where(.page-home) .coaches-message-content {
    padding: 30px;
    text-align: center;
}

:where(.page-home) .coaches-message-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

:where(.page-home) .coaches-register-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--orange);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

:where(.page-home) .coaches-register-button:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-home) .coaches-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1;
}

:where(.page-home) .coaches-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    :where(.page-home) .hero-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-home) .coaches-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-home) .sticky-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    :where(.page-home) .hero {
        margin-top: 0px;
        height: 70vh;
        padding-top: 0px;
    }
    :where(.page-home) .hero-button:nth-child(2) {
        display: none;
    }
    :where(.page-home) .hero-content h1 {
        font-size: 2rem;
    }
    :where(.page-home) .stats {
        flex-direction: column;
        gap: 30px;
    }
    :where(.page-home) .testimonials-slider {
        height: 300px;
    }
    :where(.page-home) .sticky-parallax-section {
        height: 70vh;
    }
    :where(.page-home) .sticky-logo {
        max-width: 200px;
    }
    :where(.page-home) .sticky-tagline {
        font-size: 1.5rem;
        padding: 0 20px;
    }
    :where(.page-home) .certifications-logos {
        gap: 20px;
    }
    :where(.page-home) .cert-logo {
        width: 100px;
        height: 100px;
    }
    :where(.page-home) .coaches-message-tab {
        display: none;
    }
    :where(.page-home) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-home) .cta-button-large:nth-child(2) {
        display: none;
    }
}

@media (max-width: 576px) {
    :where(.page-home) .hero {
        height: 60vh;
    }
    :where(.page-home) .hero-content h1 {
        font-size: 1.8rem;
    }
    :where(.page-home) .section-title {
        font-size: 2rem;
    }
    :where(.page-home) .sports-grid, :where(.page-home) .services-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-home) .location-item {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    :where(.page-home) .testimonial-item {
        padding: 30px 20px;
    }
    :where(.page-home) .testimonial-text {
        font-size: 1.1rem;
    }
    :where(.page-home) .certifications-logos {
        gap: 15px;
    }
    :where(.page-home) .cert-logo {
        width: 80px;
        height: 80px;
    }
    :where(.page-home) .sticky-parallax-section {
        height: 60vh;
    }
    :where(.page-home) .sticky-logo {
        max-width: 150px;
        margin-bottom: 20px;
    }
    :where(.page-home) .sticky-tagline {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    :where(.page-home) .sticky-parallax-section {
        height: 50vh;
    }
    :where(.page-home) .sticky-logo {
        max-width: 120px;
        margin-bottom: 15px;
    }
    :where(.page-home) .sticky-tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}
/* ==========================================================================
   Page: About  (body.page-about)
   ========================================================================== */
:where(.page-about) {
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-border: #333333;
}

:where(.page-about) .about-hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/bsag-about-us-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-about) .about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-about) .about-hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-about) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-about) .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-gray);
    position: relative;
}

:where(.page-about) .about-story {
    background-color: var(--white);
}

:where(.page-about) .story-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

:where(.page-about) .story-text {
    flex: 1;
}

:where(.page-about) .story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

:where(.page-about) .story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

:where(.page-about) .story-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

:where(.page-about) .story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

:where(.page-about) .story-image:hover img {
    transform: scale(1.05);
}

:where(.page-about) .mission-values {
    background-color: var(--light-gray);
}

:where(.page-about) .mission-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

:where(.page-about) .mission-statement {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

:where(.page-about) .mission-statement:before, :where(.page-about) .mission-statement:after {
    content: "\"";
    font-size: 4rem;
    color: var(--orange);
    opacity: 0.3;
    position: absolute;
}

:where(.page-about) .mission-statement:before {
    top: -20px;
    left: 0;
}

:where(.page-about) .mission-statement:after {
    bottom: -40px;
    right: 0;
}

:where(.page-about) .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

:where(.page-about) .value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

:where(.page-about) .value-item:hover {
    transform: translateY(-10px);
}

:where(.page-about) .value-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 20px;
}

:where(.page-about) .value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

:where(.page-about) .philosophy {
    background-color: var(--white);
}

:where(.page-about) .philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

:where(.page-about) .philosophy-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-gray);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

:where(.page-about) .philosophy-item:hover {
    transform: translateY(-5px);
}

:where(.page-about) .philosophy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--orange);
}

:where(.page-about) .impact {
    background-color: var(--light-gray);
}

:where(.page-about) .impact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

:where(.page-about) .impact-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

:where(.page-about) .impact-stat {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
    transition: transform 0.3s ease;
}

:where(.page-about) .impact-stat:hover {
    transform: translateY(-5px);
}

:where(.page-about) .impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
}

:where(.page-about) .impact-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
}

:where(.page-about) .coaches-section {
    background-color: var(--white);
}

:where(.page-about) .coaches-container {
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-about) .coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

:where(.page-about) .coach-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-gray);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

:where(.page-about) .coach-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

:where(.page-about) .coach-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--orange);
    transition: transform 0.5s ease;
}

:where(.page-about) .coach-item:hover .coach-image {
    transform: scale(1.05);
}

:where(.page-about) .coach-name {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

:where(.page-about) .coach-title {
    font-size: 1.1rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 15px;
}

:where(.page-about) .coach-bio {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

:where(.page-about) .coach-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

:where(.page-about) .coach-social a {
    color: var(--orange);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

:where(.page-about) .coach-social a:hover {
    color: var(--dark-gray);
    transform: translateY(-3px);
}

:where(.page-about) .certifications-section {
    background-color: var(--light-gray);
}

:where(.page-about) .certifications-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

:where(.page-about) .certifications-intro {
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-about) .certifications-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

:where(.page-about) .cert-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

:where(.page-about) .cert-logo:hover {
    transform: scale(1.05);
}

:where(.page-about) .cert-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

:where(.page-about) .cert-logo:hover img {
    filter: grayscale(0%);
}

:where(.page-about) .testimonials {
    background-color: var(--white);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

:where(.page-about) .testimonials.visible {
    opacity: 1;
    transform: translateY(0);
}

:where(.page-about) .testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

:where(.page-about) .testimonials-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
}

:where(.page-about) .testimonial-item {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(100%);
}

:where(.page-about) .testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

:where(.page-about) .testimonial-item.prev {
    transform: translateX(-100%);
}

:where(.page-about) .testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

:where(.page-about) .testimonial-text:before {
    content: """[bad string] font-size: 4rem;
    color: var(--orange);
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

:where(.page-about) .testimonial-author {
    font-weight: 600;
    color: var(--orange);
}

:where(.page-about) .testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

:where(.page-about) .testimonial-prev, :where(.page-about) .testimonial-next {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

:where(.page-about) .testimonial-prev:hover, :where(.page-about) .testimonial-next:hover {
    background-color: #d45f00;
    transform: scale(1.1);
}

:where(.page-about) .testimonial-progress {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    flex-grow: 1;
    max-width: 300px;
}

:where(.page-about) .testimonial-progress-bar {
    height: 100%;
    background-color: var(--orange);
    width: 0%;
    transition: width 5s linear;
}

:where(.page-about) .testimonial-progress-bar.active {
    width: 100%;
}

:where(.page-about) .our-friends {
    background-color: var(--white);
}

:where(.page-about) .friends-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

:where(.page-about) .friends-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-about) .friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

:where(.page-about) .friend-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

:where(.page-about) .friend-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

:where(.page-about) .friend-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

:where(.page-about) .friend-item:hover .friend-icon {
    transform: scale(1.1);
}

:where(.page-about) .friend-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

:where(.page-about) .friend-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

:where(.page-about) .partners-section {
    background-color: var(--light-gray);
}

:where(.page-about) .partners-container {
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-about) .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

:where(.page-about) .partner-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

:where(.page-about) .partner-item:hover {
    transform: translateY(-5px);
}

:where(.page-about) .partner-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--orange);
}

:where(.page-about) .partner-name {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

:where(.page-about) .partner-title {
    font-size: 1rem;
    color: var(--orange);
    font-weight: 500;
}

:where(.page-about) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-about) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

:where(.page-about) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-about) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-about) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-about) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 1200px) {
    :where(.page-about) .coaches-grid, :where(.page-about) .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :where(.page-about) .about-hero-content h1 {
        font-size: 3rem;
    }
    :where(.page-about) .story-content {
        flex-direction: column;
        gap: 30px;
    }
    :where(.page-about) .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    :where(.page-about) .friends-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :where(.page-about) .about-hero {
        height: 50vh;
    }
    :where(.page-about) .about-hero-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-about) .about-hero-content p {
        font-size: 1.1rem;
    }
    :where(.page-about) .values-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-about) .philosophy-content {
        grid-template-columns: 1fr;
    }
    :where(.page-about) .impact-stats {
        gap: 20px;
    }
    :where(.page-about) .impact-stat {
        min-width: 150px;
    }
    :where(.page-about) .coaches-grid, :where(.page-about) .partners-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-about) .friends-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-about) .certifications-logos {
        gap: 20px;
    }
    :where(.page-about) .cert-logo {
        width: 120px;
        height: 120px;
    }
    :where(.page-about) .testimonials-slider {
        height: 300px;
    }
    :where(.page-about) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-about) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-about) .about-hero {
        height: 40vh;
    }
    :where(.page-about) .about-hero-content h1 {
        font-size: 2rem;
    }
    :where(.page-about) .section-title {
        font-size: 2rem;
    }
    :where(.page-about) .mission-statement {
        font-size: 1.3rem;
    }
    :where(.page-about) .impact-stat {
        min-width: 120px;
        padding: 15px;
    }
    :where(.page-about) .impact-number {
        font-size: 2.5rem;
    }
    :where(.page-about) .coach-image {
        width: 150px;
        height: 150px;
    }
    :where(.page-about) .cert-logo {
        width: 100px;
        height: 100px;
    }
    :where(.page-about) .testimonials-slider {
        height: 350px;
    }
    :where(.page-about) .testimonial-item {
        padding: 30px 20px;
    }
    :where(.page-about) .testimonial-text {
        font-size: 1.1rem;
    }
    :where(.page-about) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-about) .mission-statement {
        font-size: 1.2rem;
    }
    :where(.page-about) .impact-stats {
        gap: 15px;
    }
    :where(.page-about) .impact-stat {
        min-width: 100px;
        padding: 10px;
    }
    :where(.page-about) .impact-number {
        font-size: 2rem;
    }
    :where(.page-about) .testimonials-slider {
        height: 400px;
    }
}
/* ==========================================================================
   Page: Coaches  (body.page-coaches)
   ========================================================================== */
:where(.page-coaches) {
    --card-bg: #ffffff;
    --header-bg: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    --footer-bg: #ffffff;
    --section-bg: #f8f9fa;
    --cta-bg: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    --topbar-bg: rgba(255, 255, 255, 0.85);
    --nav-bg: #ec6a00;
}

:where(.page-coaches) .page-header {
    height: 80vh;
    background: var(--header-bg), url('../images/bsag-bfit-banner-coaches.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-coaches) .page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-coaches) .page-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-coaches) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-coaches) .coaches-intro {
    background-color: var(--bg-color);
}

:where(.page-coaches) .coaches-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

:where(.page-coaches) .coaches-intro-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-coaches) .coaches-grid-section {
    background-color: var(--section-bg);
}

:where(.page-coaches) .coaches-container {
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-coaches) .coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

:where(.page-coaches) .coach-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

:where(.page-coaches) .coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

:where(.page-coaches) .coach-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

:where(.page-coaches) .coach-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

:where(.page-coaches) .coach-card:hover .coach-image {
    transform: scale(1.05);
}

:where(.page-coaches) .coach-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 20px;
}

:where(.page-coaches) .coach-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

:where(.page-coaches) .coach-title {
    font-size: 1rem;
    color: var(--orange);
    font-weight: 500;
}

:where(.page-coaches) .coach-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

:where(.page-coaches) .coach-specialties {
    margin-bottom: 20px;
}

:where(.page-coaches) .coach-specialties h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

:where(.page-coaches) .specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:where(.page-coaches) .specialty-tag {
    background-color: rgba(236, 106, 0, 0.1);
    color: var(--orange);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

:where(.page-coaches) .coach-bio {
    font-size: 1rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

:where(.page-coaches) .coach-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

:where(.page-coaches) .coach-social a {
    color: var(--orange);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

:where(.page-coaches) .coach-social a:hover {
    color: var(--dark-gray);
    transform: translateY(-3px);
}

:where(.page-coaches) .join-team-button {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

:where(.page-coaches) .join-team-button:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-coaches) .join-team-section {
    background-color: var(--bg-color);
    text-align: center;
}

:where(.page-coaches) .join-team-content {
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-coaches) .join-team-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

:where(.page-coaches) .cta-section {
    background: var(--cta-bg), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-coaches) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

:where(.page-coaches) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-coaches) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-coaches) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-coaches) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 1200px) {
    :where(.page-coaches) .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :where(.page-coaches) .page-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-coaches) .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :where(.page-coaches) .page-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-coaches) .page-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-coaches) .coaches-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-coaches) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-coaches) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-coaches) .page-header {
        height: 45vh;
    }
    :where(.page-coaches) .page-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-coaches) .section-title {
        font-size: 2rem;
    }
    :where(.page-coaches) .coach-image-container {
        height: 200px;
    }
    :where(.page-coaches) .coach-content {
        padding: 20px;
    }
    :where(.page-coaches) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-coaches) .page-header {
        height: 30vh;
    }
}
/* ==========================================================================
   Page: Services  (body.page-services)
   ========================================================================== */
:where(.page-services) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-services) .card-new-badge {
    position: absolute;
    top: 14px;
    right: -32px;
    background-color: var(--green);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    width: 130px;
    text-align: center;
    z-index: 2;
}

:where(.page-services) .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-header-banner-04.png') no-repeat center center/cover;
}

:where(.page-services) .services-intro {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
}

:where(.page-services) .services-intro p {
    margin-bottom: 20px;
}

:where(.page-services) .service-categories {
    background-color: var(--bg-light);
}

:where(.page-services) .service-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-services) .service-category {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
    position: relative;
}

:where(.page-services) .service-category.highlight {
    border: 2px solid var(--orange);
}

:where(.page-services) .service-category:hover {
    transform: translateY(-10px);
}

:where(.page-services) .service-category-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

:where(.page-services) .service-category-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

:where(.page-services) .service-category-body {
    padding: 30px 20px;
}

:where(.page-services) .service-category-body ul {
    list-style: none;
    margin-bottom: 25px;
}

:where(.page-services) .service-category-body li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

:where(.page-services) .service-category-body li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

:where(.page-services) .service-category-body li:last-child {
    border-bottom: none;
}

:where(.page-services) .service-category-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
    margin-bottom: 20px;
}

:where(.page-services) .service-category-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

:where(.page-services) .service-category-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

:where(.page-services) .help-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-services) .help-step {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s;
    color: var(--text-color);
}

:where(.page-services) .help-step:hover {
    transform: translateY(-5px);
}

:where(.page-services) .step-number {
    width: 60px;
    height: 60px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

:where(.page-services) .help-step h3 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.3rem;
}

:where(.page-services) .online-coaching {
    background-color: var(--bg-light);
}

:where(.page-services) .online-coaching .services-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 40px;
}

:where(.page-services) .online-coaching .responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

:where(.page-services) .online-coaching .responsive-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

:where(.page-services) .professional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-services) .professional-service {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s;
    color: var(--text-color);
}

:where(.page-services) .professional-service:hover {
    transform: translateY(-5px);
}

:where(.page-services) .professional-service-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

:where(.page-services) .professional-service h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

:where(.page-services) .professional-services .services-intro {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    :where(.page-services) .service-categories-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-services) .help-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    :where(.page-services) .services-intro {
        font-size: 1.1rem;
    }
    :where(.page-services) .professional-services-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Page: Soccer Clinics  (body.page-soccer-clinics)
   ========================================================================== */
:where(.page-soccer-clinics) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-soccer-clinics) .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.78)), url('../images/kayla-nicole-01.jpeg') no-repeat center 35%/cover;
}

:where(.page-soccer-clinics) .coach-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: center;
}

:where(.page-soccer-clinics) .coach-photo {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

:where(.page-soccer-clinics) .coach-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 3px solid var(--orange);
    border-radius: 14px;
    z-index: 0;
}

:where(.page-soccer-clinics) .coach-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

:where(.page-soccer-clinics) .coach-photo .photo-tag {
    position: absolute;
    z-index: 2;
    left: -14px;
    bottom: 28px;
    background: var(--orange);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

:where(.page-soccer-clinics) .coach-photo .photo-tag small {
    display: block;
    font-weight: 500;
    font-size: 0.75rem;
    opacity: 0.9;
}

:where(.page-soccer-clinics) .coach-bio .kicker {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

:where(.page-soccer-clinics) .coach-bio h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 8px 0 20px;
}

:where(.page-soccer-clinics) .coach-bio p {
    font-size: 1.08rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

:where(.page-soccer-clinics) .stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--orange);
    line-height: 1.1;
}

:where(.page-soccer-clinics) .stat span {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:where(.page-soccer-clinics) .journey {
    background-color: var(--bg-light);
}

:where(.page-soccer-clinics) .timeline {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

:where(.page-soccer-clinics) .timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(var(--orange), rgba(236,106,0,0.2));
    border-radius: 2px;
}

:where(.page-soccer-clinics) .timeline-item {
    position: relative;
    background: var(--bg-color);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

:where(.page-soccer-clinics) .timeline-item:hover {
    transform: translateX(6px);
}

:where(.page-soccer-clinics) .timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 26px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--bg-light);
    box-shadow: 0 0 0 3px var(--orange);
}

:where(.page-soccer-clinics) .timeline-item .when {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

:where(.page-soccer-clinics) .timeline-item h3 {
    font-size: 1.25rem;
    margin: 4px 0 8px;
}

:where(.page-soccer-clinics) .country-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

:where(.page-soccer-clinics) .country-pills span {
    background: rgba(236,106,0,0.12);
    color: var(--orange);
    border: 1px solid rgba(236,106,0,0.3);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

:where(.page-soccer-clinics) .focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-soccer-clinics) .focus-tile {
    text-align: center;
    padding: 36px 22px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

:where(.page-soccer-clinics) .focus-tile:hover {
    transform: translateY(-6px);
}

:where(.page-soccer-clinics) .focus-tile i {
    font-size: 2.6rem;
    color: var(--orange);
    margin-bottom: 18px;
}

:where(.page-soccer-clinics) .focus-tile h3 {
    margin-bottom: 10px;
}

:where(.page-soccer-clinics) .gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-soccer-clinics) .gallery-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 360px;
    box-shadow: var(--shadow);
}

:where(.page-soccer-clinics) .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

:where(.page-soccer-clinics) .gallery-grid figure:hover img {
    transform: scale(1.06);
}

:where(.page-soccer-clinics) .gallery-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 18px 14px;
    color: var(--white);
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

:where(.page-soccer-clinics) .gallery-grid figcaption small {
    display: block;
    font-weight: 400;
    opacity: 0.85;
}

@media (max-width: 992px) {
    :where(.page-soccer-clinics) .coach-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    :where(.page-soccer-clinics) .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    :where(.page-soccer-clinics) .gallery-grid figure:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :where(.page-soccer-clinics) .coach-bio h2 {
        font-size: 1.9rem;
    }
    :where(.page-soccer-clinics) .gallery-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-soccer-clinics) .gallery-grid figure {
        height: 300px;
    }
}

@media (max-width: 480px) {
    :where(.page-soccer-clinics) .stat strong {
        font-size: 1.5rem;
    }
    :where(.page-soccer-clinics) .timeline {
        padding-left: 30px;
    }
    :where(.page-soccer-clinics) .timeline-item::before {
        left: -27px;
    }
    :where(.page-soccer-clinics) .timeline::before {
        left: 9px;
    }
}
/* ==========================================================================
   Page: Financial Literacy  (body.page-financial-literacy)
   ========================================================================== */
:where(.page-financial-literacy) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/finance-sean-swaby.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-financial-literacy) .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.82)), url('../images/finance-swaby-office.jpg') no-repeat center 30%/cover;
}

:where(.page-financial-literacy) .page-header h1 span {
    color: var(--orange);
}

:where(.page-financial-literacy) .hero-tagline {
    font-size: 1.6rem !important;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 14px !important;
}

:where(.page-financial-literacy) .hero-tagline span {
    color: var(--orange);
}

:where(.page-financial-literacy) .partner-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 22px;
}

:where(.page-financial-literacy) .intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: center;
}

:where(.page-financial-literacy) .intro-copy .kicker {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

:where(.page-financial-literacy) .intro-copy h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 8px 0 20px;
}

:where(.page-financial-literacy) .intro-copy p {
    font-size: 1.08rem;
    margin-bottom: 16px;
}

:where(.page-financial-literacy) .advisor-card {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 34px 30px;
    border-top: 5px solid var(--orange);
    box-shadow: var(--shadow);
}

:where(.page-financial-literacy) .advisor-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

:where(.page-financial-literacy) .advisor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

:where(.page-financial-literacy) .advisor-head h3 {
    font-size: 1.35rem;
    line-height: 1.2;
}

:where(.page-financial-literacy) .advisor-head small {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

:where(.page-financial-literacy) .advisor-contact {
    list-style: none;
    margin: 10px 0 22px;
}

:where(.page-financial-literacy) .advisor-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

:where(.page-financial-literacy) .advisor-contact li:last-child {
    border-bottom: none;
}

:where(.page-financial-literacy) .advisor-contact i {
    color: var(--orange);
    width: 18px;
    text-align: center;
}

:where(.page-financial-literacy) .advisor-contact a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

:where(.page-financial-literacy) .advisor-contact a:hover {
    color: var(--orange);
}

:where(.page-financial-literacy) .stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--orange);
    line-height: 1.15;
}

:where(.page-financial-literacy) .stat span {
    font-size: 0.78rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:where(.page-financial-literacy) .compare {
    background-color: var(--bg-light);
}

:where(.page-financial-literacy) .compare-table {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-color);
}

:where(.page-financial-literacy) .compare-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    border-bottom: 1px solid var(--border-color);
}

:where(.page-financial-literacy) .compare-row:last-child {
    border-bottom: none;
}

:where(.page-financial-literacy) .compare-row > div {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

:where(.page-financial-literacy) .compare-row.head > div {
    background: #1f1f1f;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

:where(.page-financial-literacy) .compare-row.head > div:last-child {
    background: var(--orange);
}

:where(.page-financial-literacy) .compare-row .expense {
    font-weight: 700;
}

:where(.page-financial-literacy) .compare-row .expense i {
    color: var(--orange);
    width: 22px;
    text-align: center;
}

:where(.page-financial-literacy) .compare-row .ohip {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

:where(.page-financial-literacy) .compare-row .ohip strong {
    color: #d32f2f;
    margin-right: 4px;
}

:where(.page-financial-literacy) .compare-row .covered {
    background: rgba(76, 175, 80, 0.08);
}

:where(.page-financial-literacy) .covered-pill {
    display: inline-block;
    background: rgba(76, 175, 80, 0.16);
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 6px 14px;
    border-radius: 18px;
}

:where(.page-financial-literacy) .compare-label {
    display: none;
}

:where(.page-financial-literacy) .layer-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-weight: 800;
    margin-bottom: 12px;
}

:where(.page-financial-literacy) .clinic-ratio small {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medium-gray);
}

:where(.page-financial-literacy) .details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

:where(.page-financial-literacy) .detail-tile {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 28px 24px;
    border-left: 5px solid var(--orange);
}

:where(.page-financial-literacy) .detail-tile .label {
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

:where(.page-financial-literacy) .detail-tile h3 {
    font-size: 1.2rem;
    margin: 6px 0 6px;
}

:where(.page-financial-literacy) .detail-tile p {
    color: var(--medium-gray);
}

:where(.page-financial-literacy) .download-card {
    max-width: 1100px;
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 26px;
    align-items: center;
    background: #1f1f1f;
    color: var(--white);
    border-radius: 14px;
    padding: 26px 30px;
    box-shadow: var(--shadow);
}

:where(.page-financial-literacy) .download-card .pdf-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

:where(.page-financial-literacy) .download-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

:where(.page-financial-literacy) .download-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

:where(.page-financial-literacy) .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 30px;
    white-space: nowrap;
    transition: all 0.3s;
}

:where(.page-financial-literacy) .download-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

:where(.page-financial-literacy) .download-btn.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

:where(.page-financial-literacy) .download-btn.outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

:where(.page-financial-literacy) .pill-group input[type=checkbox]:checked + label {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

:where(.page-financial-literacy) .cta-contact {
    margin-top: 22px;
    font-size: 1rem;
    opacity: 0.9;
}

:where(.page-financial-literacy) .cta-contact a {
    color: var(--white);
    font-weight: 600;
}

:where(.page-financial-literacy) .small-print {
    padding: 34px 5% 10px;
    background: var(--bg-color);
    opacity: 1;
    transform: none;
}

:where(.page-financial-literacy) .small-print-inner {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 22px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--medium-gray);
}

:where(.page-financial-literacy) .small-print-inner strong {
    color: var(--text-color);
}

:where(.page-financial-literacy) .small-print-inner p {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    :where(.page-financial-literacy) .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    :where(.page-financial-literacy) .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :where(.page-financial-literacy) .hero-tagline {
        font-size: 1.25rem !important;
    }
    :where(.page-financial-literacy) .intro-copy h2 {
        font-size: 1.9rem;
    }
    :where(.page-financial-literacy) .compare-row.head {
        display: none;
    }
    :where(.page-financial-literacy) .compare-row {
        grid-template-columns: 1fr;
        padding: 6px 0;
    }
    :where(.page-financial-literacy) .compare-row > div {
        padding: 8px 18px;
        flex-wrap: wrap;
    }
    :where(.page-financial-literacy) .compare-row .covered {
        background: transparent;
        padding-bottom: 14px;
    }
    :where(.page-financial-literacy) .compare-label {
        display: block;
        width: 100%;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--medium-gray);
    }
    :where(.page-financial-literacy) .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    :where(.page-financial-literacy) .download-card .pdf-icon {
        margin: 0 auto;
    }
    :where(.page-financial-literacy) .download-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :where(.page-financial-literacy) .stat strong {
        font-size: 1.3rem;
    }
}
/* ==========================================================================
   Page: Pricing  (body.page-pricing)
   ========================================================================== */
:where(.page-pricing) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-pricing) .card-new-badge {
    position: absolute;
    top: 14px;
    right: -32px;
    background-color: var(--green);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    width: 130px;
    text-align: center;
    z-index: 2;
}

:where(.page-pricing) .page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-banner-pricing.png') no-repeat center center/cover;
}

:where(.page-pricing) .pricing-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
}

:where(.page-pricing) .pricing-intro-content p {
    margin-bottom: 20px;
}

:where(.page-pricing) .pricing-cards {
    background-color: var(--bg-light);
}

:where(.page-pricing) .pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-pricing) .pricing-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
    position: relative;
}

:where(.page-pricing) .pricing-card:hover {
    transform: translateY(-10px);
}

:where(.page-pricing) .popular-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--orange);
    color: var(--white);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    width: 120px;
    text-align: center;
}

:where(.page-pricing) .pricing-card.popular {
    border: 2px solid var(--orange);
}

:where(.page-pricing) .pricing-card-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

:where(.page-pricing) .pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

:where(.page-pricing) .pricing-card-body {
    padding: 30px 20px;
}

:where(.page-pricing) .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
    margin-bottom: 20px;
}

:where(.page-pricing) .price span {
    font-size: 1rem;
    font-weight: 400;
}

:where(.page-pricing) .pricing-features, :where(.page-pricing) .package-features {
    list-style: none;
    margin-bottom: 25px;
}

:where(.page-pricing) .pricing-features li, :where(.page-pricing) .package-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

:where(.page-pricing) .pricing-features li:before, :where(.page-pricing) .package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

:where(.page-pricing) .pricing-features li:last-child, :where(.page-pricing) .package-features li:last-child {
    border-bottom: none;
}

:where(.page-pricing) .pricing-button, :where(.page-pricing) .package-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

:where(.page-pricing) .pricing-button:hover, :where(.page-pricing) .package-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

:where(.page-pricing) .comparison-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

:where(.page-pricing) .comparison-table thead {
    background-color: var(--orange);
    color: var(--white);
}

:where(.page-pricing) .comparison-table th {
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

:where(.page-pricing) .comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

:where(.page-pricing) .comparison-table tbody tr:last-child {
    border-bottom: none;
}

:where(.page-pricing) .comparison-table td {
    padding: 15px 20px;
    text-align: center;
}

:where(.page-pricing) .comparison-table .feature-name {
    font-weight: 600;
    text-align: left;
    background-color: var(--bg-light);
}

:where(.page-pricing) .check {
    color: #4CAF50;
    font-size: 1.2rem;
}

:where(.page-pricing) .cross {
    color: #F44336;
    font-size: 1.2rem;
}

:where(.page-pricing) .online-coaching {
    background-color: var(--bg-light);
}

:where(.page-pricing) .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto 0;
}

:where(.page-pricing) .package-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    color: var(--text-color);
}

:where(.page-pricing) .package-card:hover {
    transform: translateY(-10px);
}

:where(.page-pricing) .package-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
}

:where(.page-pricing) .package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

:where(.page-pricing) .package-body {
    padding: 30px 20px;
}

:where(.page-pricing) .package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    text-align: center;
    margin-bottom: 20px;
}

:where(.page-pricing) .faq-section {
    background-color: var(--bg-light);
}

:where(.page-pricing) .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-pricing) .faq-item {
    background-color: var(--bg-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

:where(.page-pricing) .faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s;
}

:where(.page-pricing) .faq-question:hover {
    background-color: var(--bg-light);
}

:where(.page-pricing) .faq-question.active {
    background-color: var(--orange);
    color: var(--white);
}

:where(.page-pricing) .faq-toggle {
    transition: transform 0.3s;
}

:where(.page-pricing) .faq-question.active .faq-toggle {
    transform: rotate(180deg);
}

:where(.page-pricing) .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

:where(.page-pricing) .faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

@media (max-width: 992px) {
    :where(.page-pricing) .comparison-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    :where(.page-pricing) .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-pricing) .comparison-table {
        display: block;
        overflow-x: auto;
    }
    :where(.page-pricing) .packages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :where(.page-pricing) .pricing-intro-content {
        font-size: 1.1rem;
    }
    :where(.page-pricing) .price {
        font-size: 2rem;
    }
    :where(.page-pricing) .comparison-table th, :where(.page-pricing) .comparison-table td {
        padding: 10px 15px;
    }
}
/* ==========================================================================
   Page: Locations  (body.page-locations)
   ========================================================================== */
:where(.page-locations) {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

:where(.page-locations) .page-header {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/bsag-banner-locations.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-locations) .page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-locations) .page-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-locations) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

:where(.page-locations) .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
}

:where(.page-locations) .locations-intro {
    background-color: var(--bg-primary);
}

:where(.page-locations) .locations-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

:where(.page-locations) .locations-intro-content p {
    margin-bottom: 20px;
}

:where(.page-locations) .locations-list {
    background-color: var(--light-gray);
}

:where(.page-locations) .locations-container {
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-locations) .location-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

:where(.page-locations) .location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

:where(.page-locations) .location-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

:where(.page-locations) .location-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

:where(.page-locations) .location-city {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

:where(.page-locations) .location-body {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

:where(.page-locations) .location-details {
    flex: 1;
}

:where(.page-locations) .location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

:where(.page-locations) .location-address i {
    color: var(--orange);
}

:where(.page-locations) .location-button {
    display: inline-block;
    background-color: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

:where(.page-locations) .location-button:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
}

:where(.page-locations) .location-map-preview {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 200px;
    height: 150px;
}

:where(.page-locations) .location-map-preview:hover {
    transform: scale(1.03);
}

:where(.page-locations) .location-map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

:where(.page-locations) .map-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

:where(.page-locations) .map-lightbox.active {
    display: flex;
    opacity: 1;
}

:where(.page-locations) .map-lightbox-content {
    position: relative;
    width: 90%;
    height: 80%;
    max-width: 1000px;
    text-align: center;
}

:where(.page-locations) .map-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    z-index: 2001;
}

:where(.page-locations) .map-lightbox-close:hover {
    color: var(--orange);
}

:where(.page-locations) .map-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

:where(.page-locations) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-locations) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

:where(.page-locations) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-locations) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-locations) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-locations) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 1200px) {
    :where(.page-locations) .location-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    :where(.page-locations) .location-map-preview {
        width: 100%;
        max-width: 400px;
    }
    :where(.page-locations) .location-map-preview img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 992px) {
    :where(.page-locations) .page-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-locations) .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    :where(.page-locations) .cta-button-large {
        margin: 10px 0;
        display: block;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :where(.page-locations) .page-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-locations) .page-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-locations) .location-header h3 {
        font-size: 1.3rem;
    }
    :where(.page-locations) .location-body {
        padding: 20px;
    }
    :where(.page-locations) .map-lightbox-content {
        width: 95%;
        height: 70%;
    }
    :where(.page-locations) .scroll-to-top {
        bottom: 80px;
    }
}

@media (max-width: 576px) {
    :where(.page-locations) .page-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-locations) .location-header {
        padding: 15px 20px;
    }
    :where(.page-locations) .location-header h3 {
        font-size: 1.2rem;
    }
    :where(.page-locations) .location-address {
        font-size: 1rem;
    }
    :where(.page-locations) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    :where(.page-locations) .location-body {
        padding: 15px;
    }
}
/* ==========================================================================
   Page: Shop  (body.page-shop)
   ========================================================================== */
:where(.page-shop) {
    --cream: #F5F5DC;
    --section-bg: #ffffff;
}

:where(.page-shop) .page-header {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/b-fit-t-shirt-couple-jogging.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-shop) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background-color: var(--section-bg);
}

:where(.page-shop) .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-gray);
    position: relative;
}

:where(.page-shop) .shop-mission {
    background-color: var(--cream);
}

:where(.page-shop) .mission-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
}

:where(.page-shop) .mission-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

:where(.page-shop) .mission-highlight {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--green);
    padding: 20px;
    margin: 30px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

:where(.page-shop) .mission-highlight i {
    color: var(--green);
    font-size: 1.8rem;
}

:where(.page-shop) .shop-categories {
    background-color: var(--section-bg);
}

:where(.page-shop) .categories-container {
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-shop) .category-section {
    margin-bottom: 80px;
}

:where(.page-shop) .category-title {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

:where(.page-shop) .category-title:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--orange);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

:where(.page-shop) .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

:where(.page-shop) .product-card {
    background-color: var(--section-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

:where(.page-shop) .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

:where(.page-shop) .product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

:where(.page-shop) .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

:where(.page-shop) .product-card:hover .product-image img {
    transform: scale(1.05);
}

:where(.page-shop) .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

:where(.page-shop) .product-card:hover .product-overlay {
    opacity: 1;
}

:where(.page-shop) .buy-now-btn {
    background-color: var(--orange);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

:where(.page-shop) .buy-now-btn:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-shop) .product-info {
    padding: 25px;
}

:where(.page-shop) .product-name {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

:where(.page-shop) .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 15px;
}

:where(.page-shop) .product-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
}

:where(.page-shop) .faq-section {
    background-color: var(--light-gray);
}

:where(.page-shop) .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

:where(.page-shop) .faq-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-shop) .faq-item {
    background-color: var(--section-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

:where(.page-shop) .faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

:where(.page-shop) .faq-question:hover {
    background-color: rgba(236, 106, 0, 0.05);
}

:where(.page-shop) .faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-right: 20px;
}

:where(.page-shop) .faq-toggle {
    color: var(--orange);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

:where(.page-shop) .faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

:where(.page-shop) .faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

:where(.page-shop) .faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 300px;
}

:where(.page-shop) .faq-answer p {
    color: var(--medium-gray);
    line-height: 1.6;
}

:where(.page-shop) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/b-fit-shop-workout-pose.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-shop) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

:where(.page-shop) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-shop) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-shop) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-shop) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 1200px) {
    :where(.page-shop) .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    :where(.page-shop) .page-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-shop) .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    :where(.page-shop) .category-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    :where(.page-shop) .page-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-shop) .page-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-shop) .products-grid {
        grid-template-columns: 1fr;
    }
    :where(.page-shop) .product-image {
        height: 250px;
    }
    :where(.page-shop) .mission-highlight {
        font-size: 1.1rem;
        padding: 15px;
    }
    :where(.page-shop) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-shop) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-shop) .page-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-shop) .category-title {
        font-size: 1.5rem;
    }
    :where(.page-shop) .product-name {
        font-size: 1.1rem;
    }
    :where(.page-shop) .product-price {
        font-size: 1.3rem;
    }
    :where(.page-shop) .faq-question {
        padding: 20px;
    }
    :where(.page-shop) .faq-question h3 {
        font-size: 1.1rem;
    }
    :where(.page-shop) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-shop) .mission-highlight {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    :where(.page-shop) .buy-now-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}
/* ==========================================================================
   Page: Connect  (body.page-connect)
   ========================================================================== */
:where(.page-connect) {
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-border: #333333;
    --dark-light-gray: #2a2a2a;
}

:where(.page-connect) .page-header {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/bsag-connect-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-connect) .page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-connect) .page-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-connect) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-connect) .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-gray);
    position: relative;
}

:where(.page-connect) .contact-section {
    background-color: var(--white);
}

:where(.page-connect) .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

:where(.page-connect) .contact-column {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

:where(.page-connect) .contact-column h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-gray);
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.3);
}

:where(.page-connect) .contact-intro {
    color: var(--medium-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

:where(.page-connect) .contact-details {
    margin-top: 20px;
}

:where(.page-connect) .contact-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

:where(.page-connect) .contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

:where(.page-connect) .contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

:where(.page-connect) .contact-item h4 i {
    color: var(--orange);
    font-size: 1.1rem;
}

:where(.page-connect) .contact-item p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-left: 28px;
}

:where(.page-connect) .contact-item a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

:where(.page-connect) .contact-item a:hover {
    color: #d45f00;
    text-decoration: underline;
}

:where(.page-connect) .social-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

:where(.page-connect) .social-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

:where(.page-connect) .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

:where(.page-connect) .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(236, 106, 0, 0.1);
    border-radius: 50%;
    color: var(--orange);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

:where(.page-connect) .social-links a:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

:where(.page-connect) .form-section {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

:where(.page-connect) .form-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-gray);
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.3);
}

:where(.page-connect) .form-container {
    margin-top: 20px;
}

:where(.page-connect) .form-notice {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    padding: 15px;
    background-color: rgba(236, 106, 0, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--orange);
}

:where(.page-connect) .form-notice i {
    color: var(--orange);
    margin-right: 8px;
}

:where(.page-connect) .contact-form iframe {
    border: none;
    width: 100%;
    height: 720px;
    border-radius: 8px;
}

:where(.page-connect) .faq-section {
    background-color: var(--light-gray);
}

:where(.page-connect) .faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--medium-gray);
}

:where(.page-connect) .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

:where(.page-connect) .faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

:where(.page-connect) .faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

:where(.page-connect) .faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

:where(.page-connect) .faq-question:hover {
    background-color: rgba(236, 106, 0, 0.05);
}

:where(.page-connect) .faq-question h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
}

:where(.page-connect) .faq-toggle {
    color: var(--orange);
    transition: transform 0.3s ease;
}

:where(.page-connect) .faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

:where(.page-connect) .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

:where(.page-connect) .faq-item.active .faq-answer {
    max-height: 500px;
}

:where(.page-connect) .faq-answer p {
    padding: 0 30px 25px;
    color: var(--medium-gray);
    line-height: 1.7;
}

:where(.page-connect) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-connect) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

:where(.page-connect) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-connect) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-connect) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-connect) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 992px) {
    :where(.page-connect) .page-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-connect) .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    :where(.page-connect) .contact-column, :where(.page-connect) .form-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    :where(.page-connect) .page-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-connect) .page-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-connect) .contact-form iframe {
        height: 650px;
    }
    :where(.page-connect) .social-links {
        gap: 12px;
    }
    :where(.page-connect) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-connect) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-connect) .page-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-connect) .section-title {
        font-size: 2rem;
    }
    :where(.page-connect) .contact-column, :where(.page-connect) .form-section {
        padding: 25px 20px;
    }
    :where(.page-connect) .contact-item h4 {
        font-size: 1.1rem;
    }
    :where(.page-connect) .contact-item p {
        font-size: 0.95rem;
    }
    :where(.page-connect) .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    :where(.page-connect) .faq-question h3 {
        font-size: 1.1rem;
    }
    :where(.page-connect) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-connect) .page-header-content h1 {
        font-size: 1.8rem;
    }
    :where(.page-connect) .contact-form iframe {
        height: 600px;
    }
    :where(.page-connect) .contact-item h4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    :where(.page-connect) .contact-item p {
        margin-left: 0;
    }
}
/* ==========================================================================
   Page: Connect Thank You  (body.page-connect-thank-you)
   ========================================================================== */
:where(.page-connect-thank-you) {
    --success-green: #4CAF50;
    --card-bg: #ffffff;
    --header-bg: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    --footer-bg: #ffffff;
    --success-bg: #f8f9fa;
    --resources-bg: #f8f9fa;
    --cta-bg: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    --topbar-bg: rgba(255, 255, 255, 0.85);
    --nav-bg: #ec6a00;
}

:where(.page-connect-thank-you) .thank-you-header {
    height: 80vh;
    background: var(--header-bg), url('../images/bsag-register-thank-you-banner-01.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-connect-thank-you) .thank-you-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-connect-thank-you) .thank-you-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-connect-thank-you) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

:where(.page-connect-thank-you) .success-section {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

:where(.page-connect-thank-you) .success-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background-color: var(--success-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

:where(.page-connect-thank-you) .success-icon {
    width: 100px;
    height: 100px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

:where(.page-connect-thank-you) .success-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

:where(.page-connect-thank-you) .success-container p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

:where(.page-connect-thank-you) .success-details {
    text-align: left;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

:where(.page-connect-thank-you) .success-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

:where(.page-connect-thank-you) .next-steps-list {
    list-style: none;
}

:where(.page-connect-thank-you) .next-steps-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

:where(.page-connect-thank-you) .next-steps-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

:where(.page-connect-thank-you) .next-steps-list li i {
    color: var(--success-green);
    font-size: 1.3rem;
    margin-top: 3px;
}

:where(.page-connect-thank-you) .next-steps-list li strong {
    color: var(--text-color);
}

:where(.page-connect-thank-you) .countdown-timer {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, var(--orange), #f90);
    border-radius: 15px;
    color: white;
}

:where(.page-connect-thank-you) .countdown-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
}

:where(.page-connect-thank-you) .countdown-display {
    display: flex;
    justify-content: center;
    gap: 30px;
}

:where(.page-connect-thank-you) .countdown-item {
    text-align: center;
}

:where(.page-connect-thank-you) .countdown-value {
    font-size: 3rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    min-width: 100px;
    margin-bottom: 10px;
}

:where(.page-connect-thank-you) .countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

:where(.page-connect-thank-you) .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

:where(.page-connect-thank-you) .action-button {
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

:where(.page-connect-thank-you) .action-button-primary {
    background-color: var(--orange);
    color: white;
}

:where(.page-connect-thank-you) .action-button-primary:hover {
    background-color: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(236, 106, 0, 0.3);
}

:where(.page-connect-thank-you) .action-button-secondary {
    background-color: var(--dark-gray);
    color: white;
}

:where(.page-connect-thank-you) .action-button-secondary:hover {
    background-color: #222;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.3);
}

:where(.page-connect-thank-you) .resources-section {
    background-color: var(--resources-bg);
}

:where(.page-connect-thank-you) .resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-connect-thank-you) .resource-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

:where(.page-connect-thank-you) .resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

:where(.page-connect-thank-you) .resource-image {
    height: 200px;
    overflow: hidden;
}

:where(.page-connect-thank-you) .resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

:where(.page-connect-thank-you) .resource-card:hover .resource-image img {
    transform: scale(1.05);
}

:where(.page-connect-thank-you) .resource-content {
    padding: 25px;
}

:where(.page-connect-thank-you) .resource-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

:where(.page-connect-thank-you) .resource-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

:where(.page-connect-thank-you) .resource-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

:where(.page-connect-thank-you) .resource-link:hover {
    color: #d45f00;
    gap: 12px;
}

:where(.page-connect-thank-you) .cta-section {
    background: var(--cta-bg), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-connect-thank-you) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 10px;
}

:where(.page-connect-thank-you) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-connect-thank-you) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-connect-thank-you) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-connect-thank-you) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

:where(.page-connect-thank-you) .confetti {
    position: fixed;
    width: 15px;
    height: 15px;
    pointer-events: none;
    z-index: 10000;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    opacity: 0.9;
    border-radius: 3px;
}

:where(.page-connect-thank-you) .confetti:nth-child(3n) {
    width: 12px;
    height: 12px;
}

:where(.page-connect-thank-you) .confetti:nth-child(3n/**/+1) {
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    :where(.page-connect-thank-you) .thank-you-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-connect-thank-you) .countdown-display {
        gap: 20px;
    }
    :where(.page-connect-thank-you) .countdown-value {
        font-size: 2.5rem;
        min-width: 80px;
    }
    :where(.page-connect-thank-you) .resources-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :where(.page-connect-thank-you) .thank-you-header {
        height: 50vh;
    }
    :where(.page-connect-thank-you) .thank-you-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-connect-thank-you) .thank-you-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-connect-thank-you) .success-container {
        padding: 40px 20px;
    }
    :where(.page-connect-thank-you) .success-container h2 {
        font-size: 2rem;
    }
    :where(.page-connect-thank-you) .success-details {
        padding: 20px;
    }
    :where(.page-connect-thank-you) .countdown-display {
        flex-direction: column;
        gap: 15px;
    }
    :where(.page-connect-thank-you) .countdown-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    :where(.page-connect-thank-you) .countdown-value {
        margin-bottom: 0;
        min-width: 80px;
    }
    :where(.page-connect-thank-you) .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    :where(.page-connect-thank-you) .action-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    :where(.page-connect-thank-you) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-connect-thank-you) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-connect-thank-you) .thank-you-header {
        height: 40vh;
    }
    :where(.page-connect-thank-you) .thank-you-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-connect-thank-you) .section-title {
        font-size: 2rem;
    }
    :where(.page-connect-thank-you) .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    :where(.page-connect-thank-you) .next-steps-list li {
        flex-direction: column;
        gap: 10px;
    }
    :where(.page-connect-thank-you) .resources-container {
        grid-template-columns: 1fr;
    }
    :where(.page-connect-thank-you) .cta-button-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-connect-thank-you) .thank-you-header-content h1 {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   Page: Register  (body.page-register)
   ========================================================================== */
:where(.page-register) {
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --footer-bg: #ffffff;
    --subfooter-border: #eee;
}

:where(.page-register) .page-header {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/bsag-register-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-register) .page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-register) .page-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-register) .registration-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
}

:where(.page-register) .registration-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

:where(.page-register) .registration-header {
    background-color: var(--orange);
    color: var(--white);
    padding: 40px;
    text-align: center;
}

:where(.page-register) .registration-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

:where(.page-register) .registration-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

:where(.page-register) .registration-form {
    padding: 40px;
}

:where(.page-register) .form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

:where(.page-register) .form-section:last-of-type {
    border-bottom: none;
}

:where(.page-register) .form-section-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.3);
}

:where(.page-register) .form-group {
    margin-bottom: 25px;
}

:where(.page-register) .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

:where(.page-register) label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

:where(.page-register) .required {
    color: #ff4d4d;
}

:where(.page-register) input, :where(.page-register) select, :where(.page-register) textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--card-bg);
    color: var(--text-color);
}

:where(.page-register) input:focus, :where(.page-register) select:focus, :where(.page-register) textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236, 106, 0, 0.1);
}

:where(.page-register) textarea {
    resize: vertical;
    min-height: 100px;
}

:where(.page-register) .form-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 5px;
    font-style: italic;
}

:where(.page-register) .error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

:where(.page-register) .form-group.error .error-message {
    display: block;
}

:where(.page-register) .form-group.error input, :where(.page-register) .form-group.error select, :where(.page-register) .form-group.error textarea {
    border-color: #ff4d4d;
}

:where(.page-register) .submit-button {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 30px;
}

:where(.page-register) .submit-button:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-register) .submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

:where(.page-register) .loading-spinner {
    display: none;
    text-align: center;
    padding: 40px;
}

:where(.page-register) .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

:where(.page-register) .form-section {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

:where(.page-register) .form-section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-gray);
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.3);
}

:where(.page-register) .form-container {
    margin-top: 20px;
}

:where(.page-register) .form-notice {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
    padding: 15px;
    background-color: rgba(236, 106, 0, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--orange);
}

:where(.page-register) .form-notice i {
    color: var(--orange);
    margin-right: 8px;
}

:where(.page-register) .contact-form iframe {
    border: none;
    width: 100%;
    height: 720px;
    border-radius: 8px;
}

:where(.page-register) .success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background-color: #f0fff4;
    border-radius: 10px;
    border: 2px solid #4CAF50;
    margin-top: 20px;
}

:where(.page-register) .success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

:where(.page-register) .success-message h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

:where(.page-register) .success-message p {
    color: var(--medium-gray);
    margin-bottom: 15px;
}

:where(.page-register) .cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-register) .cta-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--light-bg);
    position: relative;
    z-index: 0;
    transition: background-color 0.3s ease;
}

:where(.page-register) .cta-section .section-title {
    color: var(--dark-gray);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

:where(.page-register) .cta-section .section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--orange);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

:where(.page-register) .cta-content {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

:where(.page-register) .cta-button-large {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

:where(.page-register) .cta-button-large:hover {
    background-color: #d45f00;
    transform: scale(1.05);
}

:where(.page-register) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-register) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-register) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 992px) {
    :where(.page-register) .page-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-register) .registration-header {
        padding: 30px;
    }
    :where(.page-register) .registration-form {
        padding: 30px;
    }
    :where(.page-register) .cta-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    :where(.page-register) .page-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-register) .page-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-register) .registration-header h2 {
        font-size: 2rem;
    }
    :where(.page-register) .registration-header p {
        font-size: 1.1rem;
    }
    :where(.page-register) .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    :where(.page-register) .cta-section .section-title {
        font-size: 2rem;
    }
    :where(.page-register) .cta-content {
        font-size: 1.1rem;
    }
    :where(.page-register) .scroll-to-top {
        bottom: 80px;
    }
}

@media (max-width: 576px) {
    :where(.page-register) .page-header {
        height: 45vh;
    }
    :where(.page-register) .page-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-register) .page-header-content p {
        font-size: 1rem;
    }
    :where(.page-register) .registration-header {
        padding: 25px 20px;
    }
    :where(.page-register) .registration-header h2 {
        font-size: 1.8rem;
    }
    :where(.page-register) .registration-form {
        padding: 25px 20px;
    }
    :where(.page-register) .form-section-title {
        font-size: 1.3rem;
    }
    :where(.page-register) .submit-button {
        padding: 15px;
        font-size: 1.1rem;
    }
    :where(.page-register) .cta-section .section-title {
        font-size: 1.8rem;
    }
    :where(.page-register) .cta-button-large {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-register) .page-header-content h1 {
        font-size: 1.8rem;
    }
    :where(.page-register) .registration-header h2 {
        font-size: 1.6rem;
    }
    :where(.page-register) .cta-section .section-title {
        font-size: 1.6rem;
    }
}
/* ==========================================================================
   Page: Register Thank You  (body.page-register-thank-you)
   ========================================================================== */
:where(.page-register-thank-you) {
    --success-green: #4CAF50;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #ddd;
    --footer-bg: #ffffff;
    --subfooter-border: #eee;
}

:where(.page-register-thank-you) .shop-pill a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

:where(.page-register-thank-you) .shop-pill:hover a {
    color: var(--orange);
}

:where(.page-register-thank-you) .thank-you-header {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/bsag-register-thank-you-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-register-thank-you) .thank-you-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-register-thank-you) .thank-you-header-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-register-thank-you) .success-section {
    padding: 80px 5%;
    background-color: var(--light-bg);
    transition: background-color 0.3s ease;
}

:where(.page-register-thank-you) .success-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

:where(.page-register-thank-you) .success-icon {
    width: 120px;
    height: 120px;
    background-color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    animation: bounce 1s ease;
}

:where(.page-register-thank-you) .success-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

:where(.page-register-thank-you) .success-container p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:where(.page-register-thank-you) .success-details {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    text-align: left;
    transition: background-color 0.3s ease;
}

:where(.page-register-thank-you) .success-details h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
    text-align: center;
}

:where(.page-register-thank-you) .next-steps-list {
    list-style: none;
}

:where(.page-register-thank-you) .next-steps-list li {
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    font-size: 1.05rem;
}

:where(.page-register-thank-you) .next-steps-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--success-green);
    font-size: 1.2rem;
}

:where(.page-register-thank-you) .next-steps-list strong {
    color: var(--dark-gray);
}

:where(.page-register-thank-you) .next-steps-list hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 10px 0;
    width: 90%;
    opacity: 0.3;
}

:where(.page-register-thank-you) .countdown-timer {
    background-color: var(--orange);
    color: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
}

:where(.page-register-thank-you) .countdown-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

:where(.page-register-thank-you) .countdown-display {
    display: flex;
    justify-content: center;
    gap: 30px;
}

:where(.page-register-thank-you) .countdown-item {
    text-align: center;
}

:where(.page-register-thank-you) .countdown-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

:where(.page-register-thank-you) .countdown-label {
    font-size: 1rem;
    opacity: 0.9;
}

:where(.page-register-thank-you) .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

:where(.page-register-thank-you) .action-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
}

:where(.page-register-thank-you) .action-button-primary {
    background-color: var(--orange);
    color: var(--white);
}

:where(.page-register-thank-you) .action-button-primary:hover {
    background-color: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 106, 0, 0.3);
}

:where(.page-register-thank-you) .action-button-secondary {
    background-color: var(--dark-gray);
    color: var(--white);
}

:where(.page-register-thank-you) .action-button-secondary:hover {
    background-color: #222;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

:where(.page-register-thank-you) .resources-section {
    padding: 80px 5%;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

:where(.page-register-thank-you) .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-gray);
}

:where(.page-register-thank-you) .resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

:where(.page-register-thank-you) .resource-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

:where(.page-register-thank-you) .resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

:where(.page-register-thank-you) .resource-image {
    height: 200px;
    overflow: hidden;
}

:where(.page-register-thank-you) .resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

:where(.page-register-thank-you) .resource-card:hover .resource-image img {
    transform: scale(1.05);
}

:where(.page-register-thank-you) .resource-content {
    padding: 25px;
}

:where(.page-register-thank-you) .resource-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

:where(.page-register-thank-you) .resource-content p {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

:where(.page-register-thank-you) .resource-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

:where(.page-register-thank-you) .resource-link:hover {
    gap: 12px;
}

:where(.page-register-thank-you) .cta-section {
    padding: 80px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('../images/bsag-coach-farrah-02.png') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-register-thank-you) .cta-section img {
    margin-bottom: 30px;
}

:where(.page-register-thank-you) .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-register-thank-you) .cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

:where(.page-register-thank-you) .cta-button-large {
    display: inline-block;
    padding: 20px 40px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 200px;
}

:where(.page-register-thank-you) .cta-button-large:hover {
    background-color: #d45f00;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236, 106, 0, 0.4);
}

:where(.page-register-thank-you) .cta-button-large.dark {
    background-color: var(--dark-gray);
}

:where(.page-register-thank-you) .cta-button-large.dark:hover {
    background-color: #222;
}

@media (max-width: 992px) {
    :where(.page-register-thank-you) .thank-you-header-content h1 {
        font-size: 3rem;
    }
    :where(.page-register-thank-you) .success-container {
        padding: 40px;
    }
    :where(.page-register-thank-you) .success-container h2 {
        font-size: 2rem;
    }
    :where(.page-register-thank-you) .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :where(.page-register-thank-you) .thank-you-header {
        height: 40vh;
    }
    :where(.page-register-thank-you) .thank-you-header-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-register-thank-you) .thank-you-header-content p {
        font-size: 1.1rem;
    }
    :where(.page-register-thank-you) .success-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    :where(.page-register-thank-you) .countdown-display {
        gap: 15px;
    }
    :where(.page-register-thank-you) .countdown-value {
        font-size: 2.5rem;
    }
    :where(.page-register-thank-you) .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    :where(.page-register-thank-you) .action-button {
        width: 100%;
        max-width: 300px;
    }
    :where(.page-register-thank-you) .resources-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :where(.page-register-thank-you) .thank-you-header {
        height: 35vh;
    }
    :where(.page-register-thank-you) .thank-you-header-content h1 {
        font-size: 2rem;
    }
    :where(.page-register-thank-you) .thank-you-header-content p {
        font-size: 1rem;
    }
    :where(.page-register-thank-you) .success-container {
        padding: 30px 20px;
    }
    :where(.page-register-thank-you) .success-container h2 {
        font-size: 1.8rem;
    }
    :where(.page-register-thank-you) .success-container p {
        font-size: 1.1rem;
    }
    :where(.page-register-thank-you) .countdown-value {
        font-size: 2rem;
    }
    :where(.page-register-thank-you) .cta-button-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-register-thank-you) .thank-you-header-content h1 {
        font-size: 1.8rem;
    }
    :where(.page-register-thank-you) .countdown-display {
        gap: 10px;
    }
    :where(.page-register-thank-you) .countdown-value {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   Page: Terms  (body.page-terms)
   ========================================================================== */
:where(.page-terms) {
    --section-bg: #ffffff;
}

:where(.page-terms) .terms-hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/bsag-about-us-banner.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
    margin-top: 0;
}

:where(.page-terms) .terms-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

:where(.page-terms) .terms-hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-terms) section {
    padding: 80px 5%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background-color: var(--section-bg);
}

:where(.page-terms) .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-gray);
    position: relative;
}

:where(.page-terms) .terms-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--light-gray);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

:where(.page-terms) .terms-intro {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(236, 106, 0, 0.2);
}

:where(.page-terms) .terms-intro h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

:where(.page-terms) .terms-intro p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto;
}

:where(.page-terms) .terms-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--section-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--orange);
    transition: transform 0.3s ease;
}

:where(.page-terms) .terms-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

:where(.page-terms) .terms-section h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

:where(.page-terms) .terms-section h3 i {
    color: var(--orange);
    font-size: 1.5rem;
}

:where(.page-terms) .terms-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

:where(.page-terms) .terms-content p {
    margin-bottom: 20px;
}

:where(.page-terms) .terms-content ul {
    margin-bottom: 25px;
    padding-left: 30px;
}

:where(.page-terms) .terms-content li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

:where(.page-terms) .terms-content li:before {
    content: "•";
    color: var(--orange);
    font-weight: bold;
    position: absolute;
    left: -15px;
    font-size: 1.2rem;
}

:where(.page-terms) .warning-box {
    background-color: rgba(236, 106, 0, 0.1);
    border: 1px solid rgba(236, 106, 0, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

:where(.page-terms) .warning-box:before {
    content: "⚠";
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: var(--section-bg);
    color: var(--orange);
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

:where(.page-terms) .warning-box h4 {
    color: var(--orange);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

:where(.page-terms) .warning-box h4 i {
    font-size: 1.2rem;
}

:where(.page-terms) .important-note {
    background-color: rgba(51, 51, 51, 0.05);
    border-left: 4px solid var(--dark-gray);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

:where(.page-terms) .important-note strong {
    color: var(--dark-gray);
}

:where(.page-terms) .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

:where(.page-terms) .action-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 200px;
}

:where(.page-terms) .action-button-primary {
    background-color: var(--orange);
    color: var(--white);
}

:where(.page-terms) .action-button-primary:hover {
    background-color: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 106, 0, 0.3);
}

:where(.page-terms) .action-button-secondary {
    background-color: var(--dark-gray);
    color: var(--white);
}

:where(.page-terms) .action-button-secondary:hover {
    background-color: #222;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

:where(.page-terms) .cta-section {
    padding: 80px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('../images/bsag-coach-kayla.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

:where(.page-terms) .cta-section img {
    margin-bottom: 30px;
}

:where(.page-terms) .cta-button-large {
    display: inline-block;
    padding: 20px 40px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 200px;
}

:where(.page-terms) .cta-button-large:hover {
    background-color: #d45f00;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(236, 106, 0, 0.4);
}

:where(.page-terms) .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-terms) .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

:where(.page-terms) .scroll-to-top:hover {
    background: #d45f00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media (max-width: 992px) {
    :where(.page-terms) .terms-hero-content h1 {
        font-size: 3rem;
    }
    :where(.page-terms) .terms-container {
        padding: 40px;
    }
    :where(.page-terms) .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :where(.page-terms) .terms-hero {
        height: 40vh;
    }
    :where(.page-terms) .terms-hero-content h1 {
        font-size: 2.5rem;
    }
    :where(.page-terms) .terms-hero-content p {
        font-size: 1.1rem;
    }
    :where(.page-terms) .terms-container {
        padding: 30px 20px;
    }
    :where(.page-terms) .terms-section {
        padding: 20px;
    }
    :where(.page-terms) .terms-section h3 {
        font-size: 1.5rem;
    }
    :where(.page-terms) .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    :where(.page-terms) .action-button {
        width: 100%;
        max-width: 300px;
    }
    :where(.page-terms) .scroll-to-top {
        bottom: 80px;
    }
    :where(.page-terms) .cta-button-large {
        margin: 10px 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    :where(.page-terms) .terms-hero {
        height: 35vh;
    }
    :where(.page-terms) .terms-hero-content h1 {
        font-size: 2rem;
    }
    :where(.page-terms) .terms-hero-content p {
        font-size: 1rem;
    }
    :where(.page-terms) .terms-intro h2 {
        font-size: 1.5rem;
    }
    :where(.page-terms) .terms-intro p {
        font-size: 1rem;
    }
    :where(.page-terms) .warning-box {
        padding: 20px;
    }
    :where(.page-terms) .cta-button-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    :where(.page-terms) .terms-hero-content h1 {
        font-size: 1.8rem;
    }
    :where(.page-terms) .terms-container {
        padding: 20px 15px;
    }
    :where(.page-terms) .terms-section {
        padding: 15px;
    }
}
/* ==========================================================================
   Page: Unsubscribe  (body.page-unsubscribe)
   ========================================================================== */
:where(.page-unsubscribe) {
    --red: #f44336;
}

:where(.page-unsubscribe) .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

:where(.page-unsubscribe) .logo-section {
    text-align: center;
    margin-bottom: 40px;
}

:where(.page-unsubscribe) .logo-section img {
    height: 60px;
    margin-bottom: 15px;
}

:where(.page-unsubscribe) .logo-section h1 {
    color: var(--orange);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

:where(.page-unsubscribe) .logo-section p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

:where(.page-unsubscribe) .unsubscribe-form-container {
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
    border-top: 5px solid var(--orange);
}

:where(.page-unsubscribe) .unsubscribe-header {
    text-align: center;
    margin-bottom: 30px;
}

:where(.page-unsubscribe) .unsubscribe-header h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

:where(.page-unsubscribe) .unsubscribe-header p {
    color: var(--medium-gray);
    font-size: 1rem;
}

:where(.page-unsubscribe) .unsubscribe-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

:where(.page-unsubscribe) .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

:where(.page-unsubscribe) .form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

:where(.page-unsubscribe) .form-group input[type="email"] {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

:where(.page-unsubscribe) .form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236, 106, 0, 0.2);
}

:where(.page-unsubscribe) .radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 5px;
}

:where(.page-unsubscribe) .radio-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

:where(.page-unsubscribe) .radio-option:hover {
    border-color: var(--orange);
    background-color: rgba(236, 106, 0, 0.05);
}

:where(.page-unsubscribe) .radio-option input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--orange);
}

:where(.page-unsubscribe) .radio-option label {
    font-weight: normal;
    cursor: pointer;
    flex: 1;
}

:where(.page-unsubscribe) .radio-option .option-description {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 5px;
    font-weight: normal;
}

:where(.page-unsubscribe) .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

:where(.page-unsubscribe) .submit-btn {
    flex: 1;
    padding: 14px 20px;
    background-color: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

:where(.page-unsubscribe) .submit-btn:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 106, 0, 0.3);
}

:where(.page-unsubscribe) .cancel-btn {
    flex: 1;
    padding: 14px 20px;
    background-color: transparent;
    color: var(--medium-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

:where(.page-unsubscribe) .cancel-btn:hover {
    background-color: var(--bg-color);
    border-color: var(--medium-gray);
    color: var(--text-color);
}

:where(.page-unsubscribe) .success-message {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
    border-top: 5px solid var(--green);
    display: none;
}

:where(.page-unsubscribe) .success-message i {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 20px;
}

:where(.page-unsubscribe) .success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

:where(.page-unsubscribe) .success-message p {
    color: var(--medium-gray);
    margin-bottom: 25px;
}

:where(.page-unsubscribe) .back-home-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

:where(.page-unsubscribe) .back-home-btn:hover {
    background-color: #d45f00;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    :where(.page-unsubscribe) .logo-section h1 {
        font-size: 2rem;
    }
    :where(.page-unsubscribe) .unsubscribe-form-container {
        padding: 30px 20px;
    }
    :where(.page-unsubscribe) .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    :where(.page-unsubscribe) .main-content {
        padding: 40px 5%;
    }
    :where(.page-unsubscribe) .logo-section h1 {
        font-size: 1.8rem;
    }
    :where(.page-unsubscribe) .unsubscribe-header h2 {
        font-size: 1.5rem;
    }
    :where(.page-unsubscribe) .radio-option {
        padding: 12px;
    }
}

/* ==========================================================================
   Site-wide overrides (keep last)
   ========================================================================== */

/* Hero image sits at the very top of every page (behind the top bar and
   floating nav) on desktop and mobile. Content is padded to clear the nav. */
body,
body[class] { padding-top: 0 !important; }

.hero,
.page-header,
.about-hero,
.terms-hero,
.thank-you-header {
    margin-top: 0 !important;
    height: auto !important;
    min-height: 80vh;
    padding-top: 150px !important;
    padding-bottom: 60px !important;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero,
    .page-header,
    .about-hero,
    .terms-hero,
    .thank-you-header {
        min-height: 60vh;
        padding-top: 130px !important;
        padding-bottom: 50px !important;
    }
}

/* Hero sections are visible immediately (no slide-in), so they always start at the very top */
section.hero,
section.about-hero,
section.terms-hero {
    opacity: 1 !important;
    transform: none !important;
}

/* Unsubscribe page has no hero: keep its content clear of the fixed nav */
.page-unsubscribe .main-content { padding-top: 180px; }

/* QR code lightbox: 2.5 second open and 2.5 second close */
.lightbox {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 2.5s ease, visibility 0s linear 2.5s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 2.5s ease, visibility 0s linear 0s;
}

.lightbox .lightbox-content {
    transform: scale(0.4) rotate(-8deg);
    opacity: 0;
    transition: transform 2.5s cubic-bezier(.22, 1, .36, 1), opacity 2.5s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.lightbox.closing .lightbox-content {
    transition: transform 2.5s cubic-bezier(.64, 0, .78, 0), opacity 2.5s ease;
}

/* Terms & Conditions floating print button (created by bsg-scripts.js) */
.print-terms-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(236, 106, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.print-terms-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(236, 106, 0, 0.4);
}

@media print {
    .top-bar, .floating-nav, .mobile-cta-bar, .print-terms-btn, .lightbox { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .clinic-form.exiting { animation-duration: 2.5s; animation-name: fadeOnly; }
}
