/* ==========================================================
   Positive Pathways — Brand UI/UX Overrides
   Layered on top of custom.css
   ========================================================== */

/* ── 1. HEADER ─────────────────────────────────────────── */

/* Give the initial header a white base so logo is always visible */
header.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(107, 56, 120, 0.12);
    box-shadow: 0 2px 20px rgba(107, 56, 120, 0.08);
}

/* Nav links: purple in light header */
.main-menu ul li a {
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 12px 20px !important;
    border-radius: 6px;
    transition: all 0.25s ease-in-out;
}

.main-menu ul li a:hover,
.main-menu ul li a:focus {
    color: var(--accent-color);
    background-color: rgba(107, 56, 120, 0.06);
}

/* Highlighted "book appointment" nav pill */
.main-menu ul li.highlighted-menu a {
    background-color: var(--primary-color);
    color: #ffffff !important;
    border-radius: 8px;
    font-family: var(--default-font);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-menu ul li.highlighted-menu a:hover {
    background-color: var(--accent-color);
}

/* Sticky active state */
header.main-header .header-sticky.active::before {
    background: #ffffff;
    opacity: 1;
}

header.main-header .header-sticky.active {
    box-shadow: 0 4px 24px rgba(107, 56, 120, 0.15);
}

/* Navbar vertical padding */
.navbar {
    padding: 20px 0;
}

/* Header CTA button — matches nav prominence */
.header-btn .btn-default {
    font-family: var(--default-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 28px;
}

/* ── 2. HERO ────────────────────────────────────────────── */

/* Brand-purple tinted overlay instead of plain dark gray */
.hero::before {
    background:
        linear-gradient(160deg, rgba(107, 56, 120, 0.75) 0%, rgba(30, 12, 40, 0.6) 100%),
        linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
}

/* Hero quote: larger, italic, centered */
.hero-content .section-title h1 {
    font-size: 52px;
    font-style: italic;
    line-height: 1.3em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content .section-title span {
    display: inline-block;
    font-size: 15px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-top: 16px;
    font-family: var(--default-font);
}

/* ── 3. PAGE HEADER (inner pages) ──────────────────────── */

.page-header {
    position: relative;
}

/* Purple gradient overlay on inner-page banners */
.page-header::before {
    background:
        linear-gradient(135deg, rgba(107, 56, 120, 0.85) 0%, rgba(139, 82, 160, 0.65) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

/* ── 4. SECTION TITLES ──────────────────────────────────── */

.section-title h2 {
    font-size: 40px;
    line-height: 1.2em;
}

/* ── 5. ABOUT US SECTION ────────────────────────────────── */

.about-us {
    background: linear-gradient(160deg, #fdf9ff 0%, #f5f0f8 100%);
    padding: 100px 0;
}

/* Subtle card-like styling for the content column */
.about-us-content {
    padding: 20px 10px 20px 40px;
}

/* ── 6. WHY CHOOSE US ───────────────────────────────────── */

.why-choose-us {
    background: #ffffff;
}

.why-choose-item {
    background: #fdf9ff;
    border: 1px solid rgba(107, 56, 120, 0.1);
    border-radius: 12px;
    padding: 18px 20px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-choose-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(107, 56, 120, 0.12);
    transform: translateX(4px);
}

.why-choose-item .icon-box {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.why-choose-item .icon-box img {
    filter: brightness(0) invert(1);
    width: 28px;
    height: 28px;
}

.why-choose-item-content h3 {
    font-size: 16px;
    font-family: var(--default-font);
    font-weight: 600;
    text-transform: capitalize;
    color: var(--primary-color);
    margin: 0;
}

.why-choose-body-content {
    background: linear-gradient(135deg, var(--primary-color), #8B52A0);
    border-radius: 16px;
    padding: 32px;
    color: #ffffff;
}

.why-choose-body-content h3 {
    color: #ffffff;
    margin-bottom: 16px;
}

.why-choose-body-content p {
    color: rgba(255,255,255,0.88);
    margin-bottom: 24px;
}

/* ── 7. HOW IT WORKS ────────────────────────────────────── */

.how-it-work {
    background: linear-gradient(160deg, #fdf9ff 0%, #f5f0f8 100%);
    padding: 80px 0;
}

.how-work-step-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(107, 56, 120, 0.1);
    padding: 28px 24px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 12px rgba(107, 56, 120, 0.06);
}

.how-work-step-item:hover {
    box-shadow: 0 8px 32px rgba(107, 56, 120, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.how-work-step-no h3 {
    font-size: 52px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px rgba(107, 56, 120, 0.2);
    line-height: 1em;
    font-family: var(--accent-font);
}

.how-work-step-item:hover .how-work-step-no h3 {
    -webkit-text-stroke: 2px var(--accent-color);
}

.how-work-step-content h3 {
    font-size: 17px;
    font-family: var(--default-font);
    font-weight: 600;
    text-transform: capitalize;
    color: var(--primary-color);
}

/* ── 8. TESTIMONIALS ────────────────────────────────────── */

.our-testimonial {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B52A0 100%);
    padding: 80px 0;
}

.our-testimonial .section-title h2,
.our-testimonial .section-title h3 {
    color: #ffffff;
}

.our-testimonial .section-title h3::before {
    background: rgba(255,255,255,0.6);
}

.testimonial-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 40px 32px !important;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 18px;
    margin: 0 2px;
}

.testimonial-content p {
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    font-style: italic;
    line-height: 1.8em;
    margin-bottom: 24px;
}

.author-content h3 {
    color: var(--accent-color);
    font-size: 18px;
    font-family: var(--default-font);
    font-weight: 600;
}

/* ── 9. OUR APPROACH (Positive Pathways page) ───────────── */

.our-approach {
    background: #ffffff;
    padding: 80px 0;
}

.our-approach-item {
    background: #fdf9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 22px 24px 22px 52px;
    margin-bottom: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(107, 56, 120, 0.06);
}

.our-approach-item::before {
    top: 22px;
    left: 16px;
    transform: none;
    color: var(--accent-color);
}

.our-approach-item:hover {
    border-left-color: var(--accent-color);
    box-shadow: 0 6px 24px rgba(107, 56, 120, 0.12);
    transform: translateX(4px);
}

.our-approach-item h3 {
    font-size: 16px;
    font-family: var(--default-font);
    font-weight: 600;
    text-transform: capitalize;
    color: var(--primary-color);
}

.our-approach-item p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* ── 10. CONTACT PAGE ───────────────────────────────────── */

.contact-info-item {
    background: #fdf9ff;
    border: 1px solid rgba(107, 56, 120, 0.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 12px rgba(107, 56, 120, 0.06);
}

.contact-info-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(107, 56, 120, 0.15);
    transform: translateY(-4px);
}

.contact-info-item .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #8B52A0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    margin-bottom: 20px;
}

.contact-info-item .icon-box img {
    filter: brightness(0) invert(1);
}

.contact-info-content h3 {
    font-size: 13px;
    font-family: var(--default-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.contact-info-content p {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.7em;
}

/* Book appointment CTA section */
.book-appointment-section {
    background: linear-gradient(160deg, #fdf9ff 0%, #f0e8f5 100%) !important;
}

.book-appointment-section .section-title h2 {
    color: var(--primary-color);
}

/* ── 11. BUTTONS ────────────────────────────────────────── */

.btn-default {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
    transition: all 0.3s ease-in-out;
}

.btn-default:hover {
    box-shadow: 0 6px 20px rgba(107, 56, 120, 0.35);
    transform: translateY(-1px);
}

.btn-default.btn-highlighted {
    border-width: 2px;
    box-shadow: none;
}

/* ── 12. GENERAL SECTION SPACING ────────────────────────── */

.why-choose-us,
.how-it-work {
    padding: 80px 0;
}

/* Soft divider between sections */
.about-us + .why-choose-us,
.about-us + .our-approach {
    border-top: 1px solid rgba(107, 56, 120, 0.08);
}

/* ── 13. FOOTER LOGO ────────────────────────────────────── */

footer .navbar-brand,
footer .footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

footer .footer-logo img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ── 14. MOBILE NAV ─────────────────────────────────────── */

.slicknav_menu {
    background: var(--primary-color);
}

.slicknav_nav .slicknav_row,
.slicknav_nav li a {
    color: #ffffff;
}

.slicknav_nav a:hover,
.slicknav_nav .slicknav_row:hover {
    color: var(--accent-color);
    background: rgba(255,255,255,0.08);
}

/* ── 15. TYPOGRAPHY ─────────────────────────────────────── */

/* Cormorant Garamond: headings get italic weight for elegance */
h1, h2, h3,
.section-title h1,
.section-title h2,
.text-anime-style-2 {
    font-family: var(--accent-font);
    font-weight: 600;
}

/* Hero quote stays italic */
.hero-content .section-title h1 {
    font-weight: 500;
    font-style: italic;
}

/* Sub-labels use DM Sans medium */
.section-title h3,
.contact-info-content h3,
.how-work-step-content h3,
.why-choose-item-content h3,
.our-approach-item h3 {
    font-family: var(--default-font);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Body copy: DM Sans regular */
body,
p,
.contact-info-content p,
.testimonial-content p,
.about-biography p {
    font-family: var(--default-font);
    font-weight: 400;
    line-height: 1.75em;
}

/* ── 16. BIO PAGE ────────────────────────────────────────── */

/* Team-single section background */
.page-team-single {
    background: linear-gradient(160deg, #fdf9ff 0%, #f5f0f8 100%);
    padding: 100px 0;
}

/* Sidebar card overrides */
.team-sidebar-box {
    border: 1px solid rgba(107, 56, 120, 0.1);
    box-shadow: 0 8px 40px rgba(107, 56, 120, 0.12);
}

.team-sidebar-image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
}

.team-sidebar-body {
    background: #ffffff;
    padding: 28px 28px 20px;
}

.team-sidebar-body ul li {
    border-bottom-color: rgba(107, 56, 120, 0.08);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.team-sidebar-body ul li span {
    font-family: var(--default-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    width: 38%;
}

.team-sidebar-body ul li p {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5em;
}

.team-sidebar-footer {
    background: linear-gradient(135deg, var(--primary-color), #8B52A0);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-sidebar-footer span {
    font-family: var(--default-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.team-sidebar-footer ul li a {
    border-color: rgba(255,255,255,0.5);
    width: 38px;
    height: 38px;
}

.team-sidebar-footer ul li a i {
    font-size: 16px;
}

/* Main content area */
.team-single-content {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 2px solid rgba(107, 56, 120, 0.1);
}

.bio-page-label {
    font-family: var(--default-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.team-single-content h2 {
    font-size: 52px;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.1em;
}

.bio-subtitle {
    font-family: var(--default-font);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 24px;
    margin-top: 0;
}

/* Experience items — two-column grid */
.team-member-experience {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 0;
}

.member-experience-info {
    width: calc(50% - 20px);
}

.member-experience-info-item {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(107, 56, 120, 0.08);
}

.member-experience-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Section heading with icon */
.bio-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bio-section-heading i {
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
}

.bio-section-heading h3 {
    font-family: var(--default-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-transform: capitalize;
}

.member-experience-info-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.75em;
    margin-bottom: 10px;
}

/* Tags */
.specialisation-tags,
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.specialisation-tags span {
    background: rgba(107, 56, 120, 0.07);
    color: var(--primary-color);
    border: 1px solid rgba(107, 56, 120, 0.18);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--default-font);
}

.languages-label {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 8px;
    margin-top: 6px;
}

.language-tags span {
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--default-font);
}

/* CTA */
.bio-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* ── Stats Strip ─────────────────────────────────────────── */

.bio-stats-strip {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8B52A0 100%);
    padding: 60px 0;
}

.bio-stat-item {
    text-align: center;
    padding: 20px 10px;
}

.bio-stat-item i {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 14px;
    display: block;
}

.bio-stat-item h3 {
    font-family: var(--accent-font);
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1em;
}

.bio-stat-item h3 span {
    display: block;
    font-size: 13px;
    font-family: var(--default-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.bio-stat-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.4em;
}

@media (max-width: 991px) {
    .team-single-content {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 40px;
    }

    .team-member-experience {
        flex-direction: column;
        gap: 0;
    }

    .member-experience-info {
        width: 100%;
    }
}
