/* ========================= 
   Mind360 - Responsive Styles (Unified)
   ========================= */


/* Design Tokens */
:root {
    --bg-navbar: rgba(221, 238, 255, 1);
    --primary-ink: #154F9C;
    --primary-blue: #1571B0;
    --primary-gradient-start: #0F81FC;
    --primary-gradient-end: #A78BDB;
    --text-primary: #2b3b88;
    --text-secondary: #3a3a50;
    --text-muted: #6b6f8a;
    --bg-soft: #DBEFFA;
    --purple-primary: #6B54A6;
    --blue-accent: #0060B0;
    --gray-text: #4B5563;
    --surface: #ffffff;
    --alt: #f5f6fb;

    --page-max: 1212px;
    --radius-xxl: 20px;
    --radius-xl: 14px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-sm: 8px;
}

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

html {
    font-size: 16px
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1b2141;
    background: linear-gradient(180deg, #F7FBFE 0%, rgba(195, 216, 230, 0.3) 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

/* Container */
.container {
    width: min(var(--page-max), 100% - 2rem);
    margin: 0 auto;
    padding: 0 1rem
}

/* ========================= 
   GLOBAL COMPONENTS
   ========================= */

/* Header - Used across all pages */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(235, 243, 250, 1);
    padding: .8rem 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.logo-img {
    width: 183px;
    height: 54px;
}

.main-nav {
    display: flex;
    gap: clamp(.5rem, 2vw, 1rem);
    align-items: center
}

.nav-link {
    font-weight: 600;
    font-size: clamp(.875rem, 1.5vw, 1rem);
    text-decoration: none;
    color: #27355b;
    padding: .55rem 1rem;
    border-radius: var(--radius-xl);
    opacity: .8;
    transition: .2s
}

.nav-link:hover {
    opacity: 1;
    transform: translateY(-1px)
}

.nav-link.active {
    background: rgba(255, 255, 255, .6);
    opacity: 1
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 0;
    padding: .5rem;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-ink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons - Used across all pages */
.btn {
    display: inline-block;
    font-weight: 800;
    font-size: clamp(.9rem, 1.6vw, 1.05rem);
    color: #fff;
    text-decoration: none;
    padding: .8rem 1.2rem;
    border-radius: 1000px;
    background: rgba(107, 84, 166, 1);
    box-shadow: 0 8px 20px rgba(15, 129, 252, .25);
    transition: .2s;
    border: 0;
    cursor: pointer;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-2px)
}

.btn.pill {
    border-radius: 1000px
}

.btn.link {
    background: none !important;
    box-shadow: none !important;
    color: rgba(107, 84, 166, 1);
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3.6%;
}

.btn.link:hover {
    color: var(--blue-accent);
}

/* Footer - Used across all pages */
.site-footer {
    background-color: rgba(212, 242, 251, 1);
    padding: clamp(2rem, 4vw, 3rem) 0;
    margin-top: 3rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    text-align: left;
    font-size: 0.875rem;
    color: rgba(111, 108, 144, 1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    padding-bottom: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    border-bottom: 1px solid rgba(217, 219, 233, 1);
}

/* General Text Styling */
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer h4 {
    color: rgba(111, 108, 144, 1);
    text-decoration: none;
}

.site-footer a:hover {
    color: #4A3AFF;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand,
.foot-brand {
    max-width: 280px;
}

.footer-logo,
.footer-logo img {
    height: 2.5rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p,
.foot-brand p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-links,
.socials {
    display: flex;
    gap: 1rem;
}

.social-links a,
.socials a {
    font-size: 1.25rem;
    text-decoration: none;
}

.footer-column h4,
.foot-col h4 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-column ul,
.foot-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li img {
    height: 1.5rem;
    width: auto;
}

.footer-bottom a {
    color: rgba(74, 58, 255, 1);
}

.footer-column a,
.foot-col a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-column a:hover,
.foot-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom,
.foot-copy {
    text-align: center;
    padding-top: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom a,
.foot-copy a {
    color: rgba(74, 58, 255, 1);
    text-decoration: none;
}

/* Generic sections - Used across multiple pages */
.section {
    padding: clamp(2.5rem, 5vw, 4rem) 0
}

.section.alt {
    background: var(--alt);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem)
}

/* Generic cards */
.card {
    background: #fff;
    border-radius: var(--radius-xxl);
    padding: clamp(1rem, 2vw, 1.2rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08)
}

/* ========================= 
   HOME PAGE STYLES
   ========================= */

/* Hero Section */
.hero {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background-color: rgba(221, 238, 255, 1);
}

.hero-title {
    color: rgba(21, 113, 176, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 40px;
    font-style: ExtraBold;
    line-height: 1.4;
    letter-spacing: 0%;
    text-align: center;
    max-width: 100%;
    margin-bottom: 1rem;
    /* Use max-width for better responsiveness */
}

.career-hero-bg {
    background: url("assets/icons/careers.svg") no-repeat center bottom/contain;
    padding: clamp(2rem, 5vw, 4rem) 0 0;
    min-height: 100vh;
    min-width: 100%;
}

body {
    background-color: rgba(246, 246, 246, 1);
}



.hero-subtitle {
    color: rgba(0, 0, 0, 1);
    font-family: 'Inknut Antiqua', serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.7;
    font-style: medium;
    letter-spacing: 0%;
    text-align: center;
    max-width: 100%;
    margin-bottom: 2rem;
    margin: auto;
}

.slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Active state for the current dot */
.nav-dot.active {
    opacity: 1;
}

.hero-description {
    color: rgba(107, 84, 166, 1);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: medium;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0%;
    text-align: center;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.hero-card {
    width: 25%;
    min-width: 25%;
    flex-shrink: 0;
    /* Each slide takes up 1/4 of the .hero-slides container */
    height: clamp(300px, 40vw, 460px);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /* The wrapper now has the border-radius */
    box-shadow: none;
    margin: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(47, 36, 83, .45), rgba(47, 36, 83, .45))
}

.hero-card-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 90%;
    max-width: 800px;
    text-align: center;
    /* Adding text-shadow for readability */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* 2. Styles for the Slider Structure */
.hero-slider-wrapper {
    position: relative;
    max-width: 1189px;
    margin: 0 auto;
    border-radius: var(--radius-xxl);
    overflow: hidden;
    /* This hides the other slides */
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.hero-slides {
    /* Line up all four slides horizontally */
    display: flex;
    width: 400%;
    /* 100% for each of the 4 slides */
    transition: transform 0.6s ease-in-out;

}

.hero-card-content h2 {
    font-family: 'Inknut Antiqua', serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #F7F4ED;
    margin: 0
}

/* Life Areas Section */
.life-areas {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: rgba(224, 226, 248, 1)
}

.life-areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center
}

/* MODIFIED: Updated styles for the left-side heading */
.life-areas-left h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 58px;
    text-align: center;
    color: rgba(0, 96, 128, 1);
    margin-bottom: .75rem;
}

/* MODIFIED: Styling for the highlighted text with an underline */
.life-areas-left .highlight {
    color: rgba(0, 96, 128, 1);
    position: relative;
    /* Required for positioning the pseudo-element */
    padding-bottom: 10px;
    /* Add space for the curve below */
}

/* MODIFIED: Removed padding-bottom as spacing is now handled by the pseudo-element */
.life-areas-left .highlight {
    color: rgba(0, 96, 128, 1);
    position: relative;
    /* Required for positioning the pseudo-element */
}

/* MODIFIED: Creates an upward-facing curved line */
.life-areas-left .highlight::after {
    content: '';
    position: absolute;
    top: 100%;
    /* Position the element's top edge at the bottom of the text */
    left: 0;
    width: 100%;
    height: 35px;
    /* Controls the height of the curve's arc */
    border-top: 4px solid rgba(0, 96, 128, 1);
    /* CHANGED: Draw the top border */
    border-radius: 90%;
    /* This curves the top border */
    margin-top: 2px;
    /* Creates a small gap between the text and the line */

}

/* MODIFIED: Updated styles for the left-side paragraph */
.life-areas-left p {
    font-family: 'Inknut Antiqua', serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: rgba(75, 85, 99, 1);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* MODIFIED: Specific styles for the button in this section */
.life-areas-left .btn {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 3.6%;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(107, 84, 166, 1);
    align-self: flex-end;
    /* This aligns the button to the right */
    margin-top: rem;
}

/* MODIFIED: Updated styles for the right-side title */
.therapy-right-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #000;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* MODIFIED: Changed grid to 2 columns */
.therapy-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* This creates the 2-column layout */
    gap: clamp(1rem, 2vw, 1.2rem)
}

.therapy-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
    text-decoration: none;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: .2s;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center
}

.therapy-card:hover {
    transform: translateY(-4px)
}

.therapy-card img {
    width: clamp(2rem, 4vw, 2.6rem);
    height: clamp(2rem, 4vw, 2.6rem)
}

.therapy-card span {
    font-family: 'Georgia', serif;
    font-size: clamp(.9rem, 1.5vw, 1.1rem)
}

/* Preferences Form Section */
.take-control {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: linear-gradient(180deg, #F7FBFE 36.77%, rgba(195, 216, 230, .3) 100%)
}

.take-control h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 50px;
    line-height: 78px;
    text-align: center;
    color: rgba(107, 84, 166, 1);
}


.take-control p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 2rem;
    /* Added margin for spacing */
}

.preferences-form {
    background: rgba(246, 242, 255, 1);
    border-radius: var(--radius-xxl);
    padding: clamp(1.2rem, 3vw, 2rem);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08)
}

.form-header {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(107, 84, 166, 1);
    margin-bottom: 1.5rem
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default to single column */
    gap: clamp(1rem, 2vw, 1.2rem);
}

.form-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for desktop */
}

/* Make the first field span all 3 columns */
.form-grid label:first-child {
    grid-column: 1 / -1;
}

.field span {
    display: block;
    font-weight: 600;
    color: rgba(107, 84, 166, 1);
    margin-bottom: .35rem;
    font-size: clamp(.85rem, 1.2vw, .95rem)
}

select {
    width: 100%;
    padding: .8rem 1.2rem;
    border: 1px solid #d8ddff;
    border-radius: var(--radius-lg);
    background: #fff;
    font-size: clamp(.9rem, 1.2vw, 1rem)
}

.form-actions {
    text-align: right;
    /* Aligns the button to the right */
    margin-top: 1.5rem;
}

/* Transform Section */
.transform {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: rgba(247, 251, 254, 1);
}

.transform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center
}

.transform-left h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 78px;
    color: rgba(0, 96, 128, 1);
    margin-bottom: 2.5rem;
}

.steps {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 100px;
    /* Make space for the custom number circle */
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #333;
    display: grid;
    place-items: center;
}

/* NEW: Alternating background colors for the circles */
.steps li:nth-child(odd)::before {
    background-color: rgba(219, 239, 250, 0.7);
}

.steps li:nth-child(even)::before {
    background-color: rgba(233, 232, 245, 1);
}

/* MODIFIED: List item heading styles */
.steps li strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 35px;
    color: rgba(0, 0, 0, 1);
}

/* MODIFIED: List item description styles */
.steps li span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 35px;
    color: rgba(0, 0, 0, 1);
    opacity: 0.6;
}

/* NEW: Styles for the "Download" button */
.transform-btn {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3.6%;
    padding: 16px 24px;
    background: linear-gradient(90deg, #0F81FC 0%, #A78BDB 100%);
    box-shadow: 0 8px 20px rgba(15, 129, 252, .25);
}

/* Styles for the new slider on the right side */
.transform-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: 3rem 2rem;
    /* Increase top/bottom padding for more breathing room */
    background: linear-gradient(180deg, rgba(30, 130, 249, .2) 0%, rgba(156, 138, 221, .1) 100%);
    min-height: 650px;
    /* Set a comfortable minimum height */
}

.transform-slides {
    display: flex;
    width: 300%;
    /* 100% for each of the 3 slides */
    transition: transform 0.5s ease-in-out;
}

.phone-mockup {
    width: 33.333%;
    /* Each slide takes up one-third of the container */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Reset styles from previous static layout */
    background: none;
    padding: 0;
}

.phone-mockup img {
    max-width: 100%;
    /* Reduced width */
    max-height: 80%;
    /* Increased height */
    object-fit: contain;
}

.transform-slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

/* Re-using .nav-dot styles, but with a more visible color */
.transform-slider-nav .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-ink);
    opacity: 0.4;
    transition: opacity 0.3s ease;
    border: none;
    padding: 0;
    cursor: pointer;
}

.transform-slider-nav .nav-dot.active {
    opacity: 1;
}

/* On mobile, stack the grid and move the slider to the top */
@media (max-width: 768px) {
    .transform-grid {
        grid-template-columns: 1fr;
    }

    .transform-slider-wrapper {
        order: -1;
    }
}

/* ========================= 
   SERVICES PAGE STYLES
   ========================= */

/* Services Grid - 11 cards in 4-3-4 layout */
.service-header {
    position: sticky;
    top: 110;
    z-index: 100;
    background: linear-gradient(90deg, rgba(40, 134, 230, 0.3) 0%, rgba(133, 120, 177, 0.2) 62.01%);

    padding: .8rem 0
}

.service-grid-12 {
    --card-h: clamp(190px, 22vw, 235px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: var(--card-h);
    gap: clamp(16px, 2vw, 24px);
}


/* ========================================
   MOBILE FIX FOR SERVICE CARDS
   ======================================== */
@media (max-width: 768px) {
    .service-grid-12 {
        display: block !important;
        /* This forces the grid into a single-column layout */
    }

    .service-card {
        margin: 2% 5% !important;
        /* Applies 2% top/bottom and 5% left/right margins */
        width: auto !important;
        /* Allows the margins to define the card width */
        height: 220px !important;
        /* Sets a consistent height for the cards */

        /* Reset any leftover grid properties to prevent conflicts */
        grid-column: unset !important;
        grid-row: unset !important;
    }
}


/* Uniform service cards */
.service-card {
    position: relative;
    height: var(--card-h);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    display: block;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base overlay style */
.service-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(12px, 1.8vw, 18px);
    color: #f8fafb;
}

/* Individual card overlay colors */
.service-card:nth-child(1) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(250, 174, 68, 0.9) 100%);
}

.service-card:nth-child(2) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(68, 127, 250, 0.9) 100%);
}

.service-card:nth-child(3) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(45, 186, 124, 0.9) 100%);
}

.service-card:nth-child(4) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(132, 68, 250, 0.9) 100%);
}

.service-card:nth-child(5) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(19, 158, 163, 0.9) 100%);
}

.service-card:nth-child(6) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(232, 89, 185, 0.9) 100%);
}

.service-card:nth-child(7) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(220, 53, 69, 0.9) 100%);
}

.service-card:nth-child(8) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(102, 16, 242, 0.9) 100%);
}

.service-card:nth-child(9) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(150, 201, 61, 0.9) 100%);
}

.service-card:nth-child(10) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(25, 61, 139, 0.9) 100%);
}

.service-card:nth-child(11) .service-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 30%, rgba(153, 31, 64, 0.9) 100%);
}

.service-overlay h3 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-size: clamp(16px, 1.6vw, 20px);
    margin: 0 0 4px 0;
}

/* Explicit grid placement for 11 items (4-3-4) */
/* Column 1: rows 1-4 */
.service-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.service-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.service-card:nth-child(7) {
    grid-column: 1;
    grid-row: 3;
}

.service-card:nth-child(10) {
    grid-column: 1;
    grid-row: 4;
}

/* Column 2: rows 1-3, with fractional vertical drop */
.service-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    margin-top: calc(var(--card-h) * 0.25);
}

.service-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    margin-top: calc(var(--card-h) * 0.50);
}

.service-card:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
    margin-top: calc(var(--card-h) * 0.75);
}

/* Column 3: rows 1-4 */
.service-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.service-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.service-card:nth-child(9) {
    grid-column: 3;
    grid-row: 3;
}

.service-card:nth-child(11) {
    grid-column: 3;
    grid-row: 4;
}

/* ========================= 
   WELLNESS STORIES PAGE STYLES
   ========================= */

/* Wellness Hero */
.wellness-hero {
    background: rgba(185, 213, 241, 1);
    padding: clamp(2rem, 5vw, 4rem) 0;

}

/* Stories Section Background */
.stories-bg {
    position: relative;
}

.stories-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 545px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(183, 210, 238, 0.8) 100%);
    opacity: 0.9;
    z-index: 0;
}

.stories-bg>* {
    position: relative;
    z-index: 1;
}

/* Section titles for wellness stories */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 25px;
    color: rgba(96, 183, 255, 1);
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    color: rgba(0, 0, 0, 0.6);
    max-width: 760px;
    margin: 0 auto 20px auto;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.2rem);
    padding-top: 20px;
}

.story-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(106, 106, 106, .25);
    padding: clamp(1rem, 2vw, 1.2rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.story-content {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.story-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    margin-bottom: 0.5rem;
}

.story-card .kicker {
    font-size: .9rem;
    opacity: .8;
    margin: .3rem 0 .6rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.story-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    color: rgba(75, 85, 99, 1);
}

/* Story card color variants */
.story-card.border-peach {
    border: 2px solid #FD7065;
    box-shadow: 0 8px 0 #FD7065;
}

.story-card.border-sky {
    border: 2px solid #4E92C4;
    box-shadow: 0 8px 0 #4E92C4;
}

.story-card.border-violet {
    border: 2px solid #995BBF;
    box-shadow: 0 8px 0 #995BBF;
}

/* Button color variants */
.btn.peach {
    background: #FD7065;
}

.btn.sky {
    background: #4E92C4;
}

.btn.violet {
    background: #995BBF;
}

.btn.bottom-right {
    align-self: flex-end;
    margin-top: auto;
    padding: 0.8rem 1.2rem;
    border-radius: 1000px;
    box-shadow: 0 8px 20px rgba(15, 129, 252, .25);
}

/* Blog Section */
.section-title-blog {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 10px;
}

.section-subtitle-blog {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: rgba(75, 85, 99, 1);
    max-width: 714px;
    margin: 0 auto 30px auto;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 1.2rem);
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(106, 106, 106, .25);
    padding: clamp(1rem, 2vw, 1.2rem);
    padding-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    min-height: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    padding-right: 1rem;
}

.blog-card img {
    height: 35px;
    width: auto;
    flex-shrink: 0;
}

.blog-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 29px;
    color: rgba(0, 0, 0, 1);
    margin: 0;
}

.blog-icon {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: #eee;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.blog-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.blog-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 29px;
    color: rgba(0, 0, 0, 1);
    margin: 0;
    flex-grow: 1;
}

/* Positioning button to bottom right within the blog-card */
.btn.link.bottom-right {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--purple-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 3.6%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Remove unwanted glow below both button types */
.btn.link {
    background: none !important;
    box-shadow: none !important;
    color: rgba(107, 84, 166, 1);
    padding: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3.6%;
}

.story-card .btn.bottom-right {
    box-shadow: none !important;
}

/* =========================
   SELF-HELP PAGE STYLES
   ========================= */
/* =========================
   SELF-HELP PAGE STYLES
   ========================= */

body.selfhelp-page {
    background-color: #E9E8F5;
    /* Light purple page background */
    overflow-x: hidden;
    /* Prevent horizontal scroll from decorative images */
}

/* Ensure decorative images don't interfere on mobile */
@media (max-width: 768px) {
    body.selfhelp-page {
        position: relative;
        background-color: #E9E8F5;
    }

    .selfhelp-hero .hero-bg-blob {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        z-index: 0;
        object-fit: contain;
        object-position: center top;
    }

    .selfhelp-hero .container {
        position: relative;
        z-index: 2;
    }

    /* Ensure assessment cards are above any background elements */
    .assess-grid {
        position: relative;
        z-index: 10;
    }

    .assess.card {
        position: relative;
        z-index: 11;
        background: #ffffff !important;
        isolation: isolate;
    }
}

.selfhelp-hero {
    background: transparent;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 0;
    margin-bottom: -80px;
    overflow: hidden;
    /* Pulls the next section up for the curve effect */
}

.hero-bg-blob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Responsive hero background */
@media (max-width: 768px) {
    .hero-bg-blob {
        object-fit: contain;
        object-position: center top;
        height: 80%;
        top: 10%;
    }
}

@media (max-width: 480px) {
    .hero-bg-blob {
        object-fit: contain;
        object-position: center top;
        height: 70%;
        top: 15%;
    }
}

.selfhelp-hero .container {
    position: relative;
    z-index: 2;
    /* Ensure text is above all images */
}

.selfhelp-hero .hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    color: #3F3D56;
    text-align: center;
    margin-top: -5rem;
    margin-bottom: 2rem;
}

.selfhelp-hero .hero-subtitle {
    font-family: 'Inknut Antiqua', serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    color: #3F3D56;
    opacity: 0.8;
    text-align: center;
    max-width: 100%;
}

/* Styles for decorative flowers in hero */
.hero-flower {
    position: absolute;
    z-index: 1;
    /* Above blob, below text */
    max-width: 60px;
    height: auto;
}

#flower1 {
    top: 30%;
    left: 15%;
    width: clamp(30px, 4vw, 40px);
}

#flower2 {
    top: 20%;
    right: 15%;
    width: clamp(35px, 5vw, 50px);
}

#flower3 {
    top: 55%;
    left: 48%;
    width: clamp(25px, 3vw, 30px);
}

#flower4 {
    top: 70%;
    right: 12%;
    width: clamp(30px, 4vw, 45px);
}

/* Hide flowers on mobile to prevent overlap */
@media (max-width: 768px) {
    .hero-flower {
        display: none;
    }
}


/* Assessment section with curved white background */
.selfhelp-assessments {
    position: relative;
    padding: 0;
    background: transparent;
    z-index: 2;
}

.selfhelp-assessments .container {
    padding-top: 5rem;
    padding-bottom: 3rem;
    /* Reduced bottom padding to remove extra background */
}

/* Mobile adjustments for self-help assessments */
@media (max-width: 768px) {
    .selfhelp-assessments {
        background: transparent;
        margin-top: 0;
        border-radius: 0;
    }

    .selfhelp-assessments .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}


/* Main grid for assessment cards */
/* Main grid for assessment cards */
.assess-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
    align-items: start;
    padding: 0 clamp(2rem, 8vw, 4rem);
    /* <-- ADD THIS LINE */
}


/* Stagger the even-numbered cards down for the "step-wise" effect */
.assess-grid .assess:nth-child(even) {
    margin-top: 4rem;
}

/* Remove staggering on smaller screens to prevent overlap */
@media (max-width: 1024px) {
    .assess-grid .assess:nth-child(even) {
        margin-top: 0 !important;
    }
}

/* Card layout with icon */
/* Card layout with icon */
.assess.card {
    display: flex;
    align-items: center;
    /* Vertically center icon and text block */
    gap: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 3.5rem;
    /* Extra space for the absolute positioned link */
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    position: relative;
    margin-top: -3rem;
    z-index: 10;
    /* <-- ADD THIS LINE */
}

/* MODIFIED: This rule now correctly styles the icon container */
.assess-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: url('assets/Vector.png') no-repeat center center;
    /* Using Vector.png as background */
    background-size: contain;
}

/* This rule styles the actual icon (Stress.png, etc.) inside the container */
.assess-icon img {
    max-width: 45%;
    max-height: 45%;
}

.assess-content {
    flex-grow: 1;
    /* Allows text block to take remaining space */
}

.assess.card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #000;
    margin: 0 0 0.25rem 0;
}

.assess.card p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-text);
    margin: 0;
}

/* Button restyled as a text link */
.assess.card .btn.link {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
    color: var(--purple-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

/* ========================================
   MOBILE FIX FOR SELF-HELP DECORATIVE IMAGES
   ======================================== */
@media (max-width: 768px) {

    .deco-img-left,
    .deco-img-right {
        display: none;
    }
}

.card {
    width: 100%;
    /* Makes the card fill its container */
    max-width: 550px;
    /* Sets a maximum size so it doesn't get too big */
}

/* Styles for large decorative images at screen edges */
.deco-img-left,
.deco-img-right {
    position: absolute;
    z-index: 1;
    /* Positioned behind cards but above background */
    opacity: 0.8;
    bottom: 8rem;
}

.deco-img-left {
    left: clamp(1rem, 5vw, 1rem);
    width: clamp(70px, 8vw, 90px);

}

.deco-img-right {
    right: clamp(3rem, 5vw, 1rem);
    width: clamp(90px, 10vw, 110px);
    bottom: 8rem;
}

/* ========================= 
   ABOUT PAGE STYLES
   ========================= */

/* About page hero */
.about-hero {
    position: relative;
    background: rgba(235, 243, 250, 1);
    overflow: hidden;
}

.about-hero>.container {
    position: relative;
    z-index: 1;
}

/* About hero titles */
.about-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
    margin-top: -2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: rgba(83, 81, 161, 1);
}

.hero-subtitle.about-subtitle {
    font-family: 'Inknut Antiqua', serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    width: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    margin-top: 1rem;
}

/* About mission section */
.about-mission {
    position: relative;
    z-index: 0;
}

.about-mission::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(235, 243, 250, 1);
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

.about-mission {
    padding-top: 24px;
    padding-bottom: 28px;
}

/* Mission titles */
.mission-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    font-size: 42.91px;
    line-height: 100%;
    letter-spacing: 0.5px;
    color: rgba(107, 84, 166, 1);
    text-align: center;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.our-promise {
    font-family: 'Beau Rivage', cursive;
    font-size: 42.91px;
    line-height: 100%;
    text-align: center;
    color: rgba(107, 84, 166, 1);
    margin: 0 0 8px;
}

.mission-subtitle {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 0.85);
}

/* About dark section with background flower */
.about-dark {
    position: relative;
    background: rgba(19, 43, 59, 1);
    padding: 64px 0 72px;
    overflow: hidden;
}

.about-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("assets/aboutt.png") center / 560px 560px no-repeat,
        radial-gradient(60% 22% at 50% 42%, rgba(255, 255, 255, 0.06), transparent 70%),
        radial-gradient(50% 18% at 50% 62%, rgba(255, 255, 255, 0.06), transparent 72%);
    opacity: 0.35;
    pointer-events: none;
}

/* Poem title */
.poem-title {
    font-family: 'Itim', cursive;
    font-weight: 400;
    font-size: clamp(28px, 4.2vw, 46px);
    line-height: 1.3;
    color: #fff;
    text-align: center;
    text-wrap: balance;
    margin: 0 0 26px;
}

/* Poem body */
.poem-body {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.poem-body p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: 32px;
    color: #fff;
    margin: 18px 0 26px;
    letter-spacing: 0.2px;
}

/* Closing quote */
.closing-quote {
    font-family: 'Itim', cursive;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.35;
    color: #fff;
    text-align: center;
    text-wrap: balance;
    margin-top: 36px;
}

/* Flower decoration in hero */
.about-hero::after {
    content: "";
    position: absolute;
    width: 41.9681px;
    height: 38px;
    background: url("assets/aboutFlower.png") center/contain no-repeat;
    opacity: 0.4;
    top: 0.75rem;
    right: 7rem;
    z-index: 0;
    pointer-events: none;
}

/* =========================
   UPDATED CAREERS PAGE STYLES
   ========================= */

/* Body */
body.career-page {
    background-color: #f6f6f6;
    background-image: none;
}

/* Ensure header is sticky on career page */
body.career-page .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 101 !important;
    background: rgba(235, 243, 250, 1) !important;
}

/* Hero Section Layout */
/* Hero Section Layout */
.career-hero-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    width: 100%;
    padding: 4rem 0;
    /* Change the background-size value below */
    background-size: 100% 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.career-hero-bg .hero-title {
    color: #1b2141;
    font-size: 60px;
    margin-top: -2rem;
}

.career-hero-bg .hero-subtitle {
    color: #000;
    opacity: 0.7;
    max-width: 100%;
    /* Adjust text width for better readability */
    margin-bottom: 3rem;
}

/* Open Positions Section */
.career-page .section-head {
    margin-bottom: 6rem;
    /* Add more space above cards */
}

.career-page .section-head h2 {
    font-size: 36px;
    color: #000;
}

.career-page .section-head p {
    font-size: 18px;
    color: #4B5563;
}

/* Job Cards Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /* Increase gap between cards */
    align-items: stretch;
}

.job.card {
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 13px 19px 47px rgba(0, 0, 0, 0.03);
    border: none;
    display: flex;
    flex-direction: column;
}



/* ===== Careers – Job card: icon on the left with reserved empty space below ===== */
.jobs-grid .job.card {
    /* override the earlier flex column */
    display: grid;
    grid-template-columns: 96px 1fr;
    /* left icon column + right content */
    grid-template-rows: auto auto auto 1fr auto;
    /* title, openings, "Qualifications", list, button */
    column-gap: 1.25rem;
    row-gap: .75rem;
    align-items: start;
}

/* Icon: sits in the top-left and spans 2 rows, leaving the next row empty below it */
.jobs-grid .job.card .job-img {
    grid-column: 1;
    grid-row: 1 / 3;
    /* spans title + openings rows only */
    margin: 0;
    /* remove old bottom margin from the flex layout */
    align-self: start;
    /* your size, padding, radius, and nth-child background colors remain as defined */
}

/* Place header + meta + section title + bullets in the right column */
.jobs-grid .job.card header {
    grid-column: 2;
    grid-row: 1;
}

.jobs-grid .job.card>p {
    grid-column: 2;
    grid-row: 2;
    margin-top: -2rem;
    color: #000;
}

.jobs-grid .job.card h4 {
    grid-column: 2;
    grid-row: 3;
    margin-top: -1rem;
}

.jobs-grid .job.card .bullets {
    grid-column: 2;
    grid-row: 4;
    margin-top: 0;
}

/* Button to bottom-right */
.jobs-grid .job.card .btn {
    grid-column: 2;
    grid-row: 5;
    justify-self: end;
    align-self: end;
    margin-top: 0;
    /* grid rows handle spacing */
}

/* (Optional) Small screens: slightly narrower icon column */
@media (max-width: 768px) {
    .jobs-grid .job.card {
        grid-template-columns: 76px 1fr;
    }
}

/* Job Card Icon Styling */
.job.card .job-img {
    width: 76px;
    height: 76px;
    border-radius: 15px;
    padding: 16px;
    /* Adjust padding to center the icon inside */
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.job.card:nth-child(1) .job-img {
    background-color: rgba(151, 71, 255, 1);
    /* Purple background */
}

.job.card:nth-child(2) .job-img {
    background-color: rgba(236, 115, 47, 1);
    /* Orange background */
}


/* Job Card Text */
.job.card header {
    display: block;
}

.job.card h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #2F2E51;
}

.job.card .badge {
    font-family: 'Rubik', sans-serif;
    color: #504D4E;
    background: transparent;
    font-size: 16px;
}

.job.card h4 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    color: #504D4E;
    margin-top: 2rem;
}

/* Custom Checkmark Bullets */
.job.card .bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    font-family: 'Rubik', sans-serif;
    color: #504D4E;
}

.job.card .bullets li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 1rem;
    line-height: 23px;
}

.job.card .bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.job.card:nth-child(1) {
    background: #FBF8FF;
}

.job.card:nth-child(1) .bullets li::before {
    background-color: #7D4BC0;
}

.job.card:nth-child(1) .btn {
    background-color: #9747FF;
}

.job.card:nth-child(2) {
    background: #FFF5EF;
}

.job.card:nth-child(2) .bullets li::before {
    background-color: #EC732F;
}

.job.card:nth-child(2) .btn {
    background-color: #EC732F;
}

/* Apply Button moved to bottom-right */
.job.card .btn {
    margin-top: auto;
    /* Push button to the bottom */
    align-self: flex-end;
    /* Align button to the right */
    padding-left: 2rem;
    padding-right: 2rem;
}

/* "Why Work with Mind 360" Section */
.career-page section.alt {
    background-color: #EBF3FB;
}

.tiles-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Mobile responsive for tiles-3 */
@media (max-width: 768px) {
    .tiles-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        justify-content: center !important;
    }

    .tile {
        flex: 0 1 calc(50% - 0.5rem) !important;
        min-width: 140px !important;
        max-width: 180px !important;
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    .tiles-3 {
        gap: 0.5rem !important;
        justify-content: space-around !important;
    }

    .tile {
        flex: 0 1 calc(50% - 0.25rem) !important;
        min-width: 130px !important;
        max-width: 160px !important;
        padding: 1rem 0.8rem !important;
    }

    .tile h4 {
        font-size: 1rem !important;
    }

    .tile p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 350px) {
    .tile {
        flex: 1 1 100% !important;
        min-width: unset !important;
        max-width: 280px !important;
    }
}

.tile {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.tile .tile-icon {
    margin: 0 auto 1.5rem auto;
    width: 64px;
    height: 64px;
}

.tile h4 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.tile p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================
   PRICING PAGE STYLES
   ========================= */

.background-element {
    background-color: rgba(212, 242, 251, 1);
    width: 1440px;
    height: 645px;
    position: absolute;
    top: 361px;
    opacity: 0.9;
    z-index: -1;
}

.page-section {
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
    width: 100%;
}

/* Pricing Section */
/* =========================
   CORRECTED: PRICING SECTION STYLES
   ========================= */

#pricing {
    background-color: #fff;
    text-align: center;
}

#pricing .container {
    width: 90%;
    max-width: none;
    /* This removes the previous 1212px width limit */
}

#pricing .pricing-header h1 {
    font-size: clamp(2rem, 5vw, 2.8em);
    color: #154F9C;
    margin-bottom: 8px;
    font-weight: 800;
}

#pricing .pricing-header p {
    font-size: clamp(1.1rem, 3vw, 1.3em);
    color: #6B54A6;
    font-weight: 500;
    margin-bottom: 40px;
}

/* This is the key rule for the two-column layout */
#pricing .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    text-align: left;
    align-items: start;
}

#pricing .card {
    width: 100%;
    max-width: none;
    /* Add this line to remove the width limit */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

#pricing .card.traditional {
    border: none;
    border-left: 4px solid #e53935;
    background-color: #FEF6F6;
    margin-top: 8rem;
}

#pricing .card.traditional h3 {
    color: #e53935;
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

#pricing .card.traditional p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Specific styles for the main pricing card */
#pricing .card.pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f7f9ff;
    border: 1px solid #e0e7ff;
}


#pricing .price {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #154F9C;
    width: 100%;
}

#pricing .price .currency {
    font-size: 1.0rem;
    vertical-align: super;
}

#pricing .price .amount {
    font-size: 2.5rem;
    line-height: 1;
    margin: 0 0.15rem;
    margin-left: -0.5rem;
}

#pricing .price .per-minute {
    font-size: 1.5rem;
    color: #555;
    font-weight: 500;
}

#pricing .pricing-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    color: #1571B0;
    /* Changed from skyblue to a more theme-appropriate color */
    text-align: center;
    margin-bottom: 2rem;
}



#pricing .features-list {
    list-style-type: none;
    padding: 0;
    margin: 0 auto 30px 0;
    width: 100%;
    /* Allow the list to use the full width */

    /* Arrange list items horizontally */
    justify-content: left;
    /* Align the items to the left */
    flex-wrap: wrap;
    /* Allow items to wrap on small screens */
    text-align: left;
}

#pricing .features-list li {
    display: flex;
    align-items: center;
    /* Vertically align checkmark and text */
    margin-bottom: 15px;
    color: #555;
    font-size: 1em;
    margin-left: 1rem;
}

#pricing .features-list li::before {
    content: '✓';
    color: #2196f3;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 12px;
}

#pricing .cta-button {
    display: block;
    width: 100%;
    max-width: none;
    /* Override any other max-width rules */
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-image: linear-gradient(to right, #1571B0, #154F9C);
    border: none;
    cursor: pointer;
    margin-top: auto;
    /* Push to bottom of flex container */
}

#pricing .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(21, 80, 156, 0.25);
}


#pricing .pricing-footer-text {
    margin-top: 2rem;
    text-align: left;
}

#pricing .pricing-footer-text h3 {
    font-weight: 700;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 0.5rem;
}

#pricing .pricing-footer-text p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 992px) {
    #pricing .pricing-grid {
        grid-template-columns: 1fr;
    }

    #pricing .card.traditional {
        margin-top: 2rem;
        /* Reduce excessive margin on smaller screens */
    }
}


.page-section:nth-of-type(1) .container {
    max-width: 900px;
}

.header {
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.8em;
    color: #1a237e;
    margin-bottom: 8px;
    font-weight: 700;
}

.header p {
    font-size: 1.3em;
    color: #8a2be2;
    font-weight: 400;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card.traditional {
    border: 2px solid #e53935;
    background-color: #fff3f3;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card.pricing {
    border: 1px solid #e0e7ff;
    background-color: #f7f9ff;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card h3 {
    font-size: 1.6em;
    color: #1a237e;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.price {
    font-size: 3em;
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 15px;
}

.price .currency {
    font-size: 0.8em;
    position: relative;
    top: -0.1em;
    margin-right: 5px;
}

.price-label {
    font-size: 1.2em;
    color: #555;
    margin-top: -15px;
    margin-bottom: 30px;
}

.features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
    max-width: 300px;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #555;
    font-size: 1.05em;
}

.features li::before {
    content: '✓';
    color: #2196f3;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.3em;
}

.cta-button {
    background-color: #2196f3;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    font-size: 1.1em;
    display: block;
}

.cta-button:hover {
    background-color: #1a7bb9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.footer-text {
    margin-top: 40px;
    text-align: center;
    color: #555;
    line-height: 1.6;
    font-size: 1.05em;
}


/* Why Choose Us Section */
#why-choose-us {
    background-color: #f8f9fa;
    /* Keeps the section background color */
}

#why-choose-us h2 {
    font-size: 2.8em;
    color: #1a237e;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 30px;
    justify-content: center;
}

/* Card base width for flexbox wrapping */
.grid-container .card {
    flex: 1 1 calc(25% - 30px);
    /* 4 columns on desktop */
    min-width: 200px;
    max-width: 280px;
    box-sizing: border-box;
}

/* Responsive flexbox adjustments */
@media (max-width: 1200px) {
    .grid-container {
        gap: 20px;
    }

    .grid-container .card {
        flex: 1 1 calc(33.333% - 20px);
        /* 3 columns */
        min-width: 180px;
        max-width: 250px;
    }
}

@media (max-width: 900px) {
    .grid-container {
        gap: 15px;
    }

    .grid-container .card {
        flex: 1 1 calc(50% - 15px);
        /* 2 columns */
        min-width: 160px;
        max-width: 220px;
    }
}

@media (max-width: 600px) {
    .grid-container {
        gap: 10px;
        justify-content: space-around;
    }

    .grid-container .card {
        flex: 1 1 calc(50% - 10px);
        /* 2 columns that can wrap */
        min-width: 140px;
        max-width: 170px;
        padding: 1rem !important;
        font-size: 0.9rem;
    }

    .card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem;
    }

    .card-image {
        height: 80px !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 500px) {
    .grid-container {
        gap: 8px;
    }

    .grid-container .card {
        flex: 1 1 calc(50% - 8px);
        /* Force 2 columns that wrap */
        min-width: 120px;
        max-width: 160px;
        padding: 0.8rem !important;
    }
}

@media (max-width: 350px) {
    .grid-container .card {
        flex: 1 1 100%;
        /* Single column on very small screens */
        min-width: unset;
        max-width: 100%;
    }
}

.card-image {
    width: 100%;
    /* Make image container fill the width */
    height: 150px;
    /* Give it a fixed height */
    margin-bottom: 30px;
    background-color: #e0f2f7;
    /* Use a radius for rounded corners instead of a circle */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the new rectangular shape */
}

/* This rule is for the second card specifically */
.card.professional .card-image {
    background-color: transparent;
    border-radius: 12px;
    /* Changed from 50% */
    overflow: hidden;
    width: 100%;
    /* Ensure it fills the container */
    height: 150px;
    /* Match the height of other cards */
    border: none;
    /* Remove the circular border */
}

#why-choose-us .card h3 {
    font-size: 1.2rem;
    /* Adjust this value as needed */
    margin-bottom: 0.75rem;
    /* Optional: Adjust space below heading */
}

#why-choose-us .card p {
    font-size: 1rem;
    /* Adjust this value as needed */
    line-height: 1.5;
}

.card.professional .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Comparison Section */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 1.05em;
}

.containers {
    text-align: center;
}

/* General style for all cells - border-bottom removed */
.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
}

.table-responsive-wrapper {
    overflow-x: auto;
}

/* Header-specific styles */
.comparison-table th {
    background-color: transparent;
    font-weight: 600;
    font-size: 1.1em;
}

/* --- Column-Specific Text Colors & Alignments --- */

/* Header Columns */
.comparison-table th:nth-child(1) {
    color: #333;
}

.comparison-table th:nth-child(2) {
    color: #2196f3;
    text-align: center;
}

.comparison-table th:nth-child(3) {
    color: #555;
    text-align: right;
}

/* Data Columns */
.comparison-table .feature-column {
    font-weight: 600;
    color: #1a237e;
}

.comparison-table .mind360-column {
    color: #2196f3;
    font-weight: 500;
    text-align: center;
}

.comparison-table .in-person-column {
    color: #777;
    text-align: right;
}

.checkmark {
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, #f3f0ff 0%, #e8e3ff 100%);
    padding: 80px 20px;
    position: relative;
}

#testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#testimonials h2 {
    font-size: 3.2em;
    color: #4b3d84;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.testimonial-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(75, 61, 132, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(75, 61, 132, 0.12);
}



.stars {
    color: #ffc107;
    font-size: 1.4em;
    letter-spacing: 3px;
}

.testimonial-text {
    margin-bottom: 35px;
    font-size: 1.15em;
    color: #333;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.user-info {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1c4e9 0%, #b39ddb 100%);
    color: #4b3d84;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    margin-right: 20px;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(75, 61, 132, 0.2);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    color: #2d2d2d;
    font-size: 1.25em;
    margin-bottom: 2px;
}

.user-age {
    font-size: 1em;
    color: #666;
    font-weight: 500;
}

#testimonials .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2196f3 0%, #9c27b0 100%);
    color: #ffffff;
    padding: 22px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.3);
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    white-space: normal;
    max-width: 90%;
    width: auto;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

#testimonials .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(33, 150, 243, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #7b1fa2 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    #testimonials {
        padding: 60px 20px;
    }

    #testimonials h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 35px 30px;
    }

    .testimonial-card::before {
        font-size: 3em;
        top: 20px;
        left: 25px;
    }

    .testimonial-text {
        font-size: 1.05em;
    }

    .user-avatar {
        width: 55px;
        height: 55px;
        font-size: 1.6em;
    }

    #testimonials .cta-button {
        width: 100%;
        padding: 16px 25px;
    }
}

@media (max-width: 480px) {
    #testimonials h2 {
        font-size: 2em;
    }

    .testimonial-card {
        padding: 30px 25px;
    }
}

/* ========================= 
   RESPONSIVE BREAKPOINTS
   ========================= */

/* Mobile: Services Grid */
@media (max-width: 768px) {
    .service-grid-12 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .service-card {
        height: clamp(180px, 40vw, 240px);
    }

    .service-card:nth-child(2),
    .service-card:nth-child(5),
    .service-card:nth-child(8) {
        margin-top: 0;
    }

    .service-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Mobile: Blogs Grid */
@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        padding-bottom: 4rem !important;
        min-height: 180px !important;
        position: relative !important;
    }

    .blog-content {
        margin-bottom: 2rem !important;
        padding-right: 1rem !important;
    }

    .blog-icon {
        margin-bottom: 0;
    }

    .btn.link.bottom-right {
        position: absolute !important;
        bottom: 1rem !important;
        right: 1rem !important;
        z-index: 10 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 0.2rem 0.5rem !important;
        border-radius: 4px !important;
        font-size: 14px !important;
    }
}

/* Mobile: Stories Grid */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================= 
   MOBILE RESPONSIVE STYLES
   ========================= */

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(235, 243, 250, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 101 !important;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: var(--radius-lg);
    }

    .logo-img {
        width: 140px;
        height: auto;
    }
}

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

    /* Override base button styles for hero buttons */
    .hero-card-content .btn,
    .hero-card-content a.btn,
    .hero-slides .btn,
    .hero-slides a.btn {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        word-break: break-word !important;
    }

    .hero {
        padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2.2vw, 1.15rem);
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: 2rem;
    }

    .hero-slider-wrapper {
        margin: 0 -1rem;
        border-radius: var(--radius-lg);
    }

    .hero-card {
        height: clamp(250px, 35vw, 300px);
    }

    .hero-card-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 0.5rem;
        background: transparent;
        backdrop-filter: none;
        max-width: 90%;
        width: 90%;
        box-sizing: border-box;
        border-radius: var(--radius-lg);
    }

    .hero-card-content h2 {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        text-align: center;
        line-height: 1.3;
    }

    .hero-card-content .btn {
        font-size: clamp(0.7rem, 1.8vw, 0.85rem) !important;
        padding: 0.5rem 0.6rem !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.1 !important;
        max-width: 180px !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        display: block !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
    }

    .slider-nav {
        bottom: 1rem;
        gap: 0.8rem;
    }

    .nav-dot {
        width: 10px !important;
        height: 10px !important;
        min-width: 10px;
        min-height: 10px;
        position: relative;
        padding: 0;
        border-radius: 50%;
    }

    .nav-dot::before {
        content: '';
        position: absolute;
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        border-radius: 50%;
    }
}

/* Mobile Life Areas Section */
@media (max-width: 768px) {
    .life-areas {
        padding: clamp(2rem, 4vw, 3rem) 0;
    }

    .life-areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .life-areas-left h2 {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
        line-height: 1.3;
    }

    .life-areas-left .highlight::after {
        height: 25px;
    }

    .life-areas-left p {
        font-size: clamp(0.95rem, 2vw, 1.05rem);
        margin-top: 2rem;
    }

    .therapy-right-title {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .therapy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .therapy-card {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
        min-height: 100px;
    }

    .therapy-card img {
        width: 2rem;
        height: 2rem;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .therapy-card span {
        font-size: clamp(0.8rem, 1.8vw, 0.95rem);
        line-height: 1.2;
    }
}

/* Mobile Take Control Section */
@media (max-width: 768px) {
    .take-control {
        padding: clamp(2rem, 4vw, 3rem) 0;
    }

    .take-control h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.2;
    }

    .take-control p {
        font-size: clamp(1rem, 2.2vw, 1.15rem);
        margin-bottom: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-grid label:first-child {
        grid-column: 1;
    }

    .form-actions {
        text-align: center;
    }
}

/* Mobile Transform Section */
@media (max-width: 768px) {
    .transform {
        padding: clamp(2rem, 4vw, 3rem) 0;
    }

    .transform-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .transform-left h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.2;
        text-align: center;
        margin-bottom: 2rem;
    }

    .steps {
        gap: 1.5rem;
    }

    .steps li {
        padding-left: 80px;
        min-height: 60px;
    }

    .steps li::before {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .steps li strong {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        line-height: 1.3;
    }

    .steps li span {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
    }

    .phone-mockup {
        order: -1;
        padding: 1.5rem;
    }

    .phone-mockup img {
        max-width: 250px;
    }
}

/* Mobile Pricing Section */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-column-left,
    .pricing-column-right {
        text-align: center;
    }

    .card.pricing {
        padding: 2rem 1.5rem;
    }

    .price {
        margin-bottom: 1.5rem;
    }

    .amount {
        font-size: 3rem;
    }
}

/* Mobile Why Choose Us Section */
@media (max-width: 768px) {
    .grid-container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        justify-content: center !important;
    }

    .card {
        text-align: center;
        padding: 1.5rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .card h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    }

    .card-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 120px !important;
        margin: 0 auto 1rem !important;
    }
}

/* Mobile Comparison Table */
@media (max-width: 768px) {
    .table-responsive-wrapper {
        overflow-x: auto;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .comparison-table {
        min-width: 600px;
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        text-align: center;
    }

    .comparison-table .feature-column {
        text-align: left;
        font-weight: 600;
    }
}

/* Mobile Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .user-info {
        margin-top: 1rem;
    }

    /* Mobile CTA Button */
    #testimonials .cta-button {
        font-size: 1rem !important;
        padding: 16px 20px !important;
        max-width: 95% !important;
        width: 95% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.2 !important;
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* Mobile Services Grid */
@media (max-width: 768px) {
    .service-grid-12 {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 1rem;
    }

    .service-card:nth-child(2),
    .service-card:nth-child(5),
    .service-card:nth-child(8) {
        margin-top: 0;
    }

    .service-card {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .service-overlay h3 {
        font-size: 1.1rem;
    }
}

/* Mobile Stories and Blogs */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-card,
    .blog-card {
        padding: 1.5rem;
        padding-bottom: 4rem !important;
        min-height: 200px !important;
    }

    .blog-card .blog-content {
        margin-bottom: 2.5rem !important;
    }

    .blog-card .btn.link.bottom-right {
        position: absolute !important;
        bottom: 1rem !important;
        right: 1rem !important;
        font-size: 14px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 0.2rem 0.5rem !important;
        border-radius: 4px !important;
        z-index: 10 !important;
    }
}

/* Mobile Self-Help Page */
@media (max-width: 768px) {
    .selfhelp-hero {
        padding: 1.5rem 0;
        margin-bottom: 0;
        min-height: 300px;
        position: relative;
        overflow: hidden;
    }

    .selfhelp-hero .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-top: 0;
        margin-bottom: 1rem;
        position: relative;
        z-index: 3;
    }

    .selfhelp-hero .hero-subtitle {
        font-size: clamp(1rem, 2.2vw, 1.15rem);
        margin-bottom: 2rem;
        position: relative;
        z-index: 3;
    }

    .hero-flower {
        display: none;
    }

    .hero-bg-blob {
        width: 100%;
        height: 80%;
        object-fit: contain;
        object-position: center top;
        opacity: 0.6;
        top: 0;
    }

    .selfhelp-assessments {
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        position: relative;
        z-index: 2;
    }

    .selfhelp-assessments .container {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .assess-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .assess-grid .assess:nth-child(even) {
        margin-top: 0;
    }

    .assess.card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        padding-bottom: 4rem;
        position: relative;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: var(--radius-xl);
        background: #ffffff;
        z-index: 10;
        transform: none !important;
        margin-top: 0 !important;
        isolation: isolate;
    }

    .assess-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        flex-shrink: 0;
    }

    .assess.card h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        margin-bottom: 0.5rem;
    }

    .assess.card p {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .assess.card .btn.link {
        position: static;
        margin-top: auto;
        font-size: 0.9rem;
    }
}

/* Mobile About Page */
@media (max-width: 768px) {
    .about-hero::after {
        right: 1rem;
        width: 80px;
        height: 80px;
    }

    .about-dark .poem-body {
        max-width: 92vw;
        font-size: clamp(1rem, 2.2vw, 1.15rem);
    }
}

/* Mobile Careers Page */
@media (max-width: 768px) {
    .career-hero-bg {
        min-height: 50vh;
        padding: 2rem 0;
        background-size: 80%;
        background-position: center bottom;
    }

    .career-hero-bg .hero-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .career-hero-bg .hero-subtitle {
        font-size: clamp(1rem, 2.2vw, 1.15rem);
        line-height: 1.5;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .jobs-grid .job.card {
        grid-template-columns: 60px 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }

    .jobs-grid .job.card .job-img {
        width: 50px;
        height: 50px;
    }

    .jobs-grid .job.card header h3 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        margin-bottom: 0.5rem;
    }

    .jobs-grid .job.card>p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .jobs-grid .job.card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .jobs-grid .job.card .bullets {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .jobs-grid .job.card .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        margin-top: 0.5rem;
    }

    /* Fix "Why Work with Mind360" section */
    .career-page section.alt {
        padding: 2rem 0;
        overflow-x: hidden;
    }

    .career-page section.alt .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .career-page section.alt h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .career-page section.alt .grid-container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        justify-content: center !important;
    }

    .career-page section.alt .card {
        flex: 1 1 calc(50% - 1rem) !important;
        min-width: 150px !important;
        max-width: 200px !important;
        padding: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
        box-sizing: border-box !important;
    }

    .career-page section.alt .card-image {
        width: 100% !important;
        max-width: 120px !important;
        height: 100px !important;
        margin: 0 auto 1rem !important;
    }
}

/* Medium mobile screens - ensure cards wrap */
@media (max-width: 650px) {
    .career-page section.alt .card {
        flex: 1 1 calc(50% - 0.5rem) !important;
        min-width: 130px !important;
        max-width: 180px !important;
        padding: 1rem !important;
    }

    .career-page section.alt .grid-container {
        gap: 0.5rem !important;
    }
}

/* Extra small screens - single column for career cards */
@media (max-width: 480px) {
    .career-page section.alt .grid-container {
        justify-content: center !important;
    }

    .career-page section.alt .card {
        flex: 1 1 100% !important;
        min-width: unset !important;
        max-width: 300px !important;
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .career-page section.alt .card-image {
        height: 80px !important;
        max-width: 100px !important;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .grid-container {
        gap: 1.5rem !important;
    }

    .grid-container .card {
        flex: 1 1 calc(50% - 1.5rem) !important;
        min-width: 200px !important;
    }

    .jobs-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Mobile Container Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-slider-wrapper {
        margin: 0 -0.75rem;
    }

    .table-responsive-wrapper {
        margin: 0 -0.75rem;
        padding: 0 0.75rem;
    }

    /* Extra small screen adjustments */
    .hero-card-content .btn {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.5rem !important;
        max-width: 160px !important;
        line-height: 1.1 !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .hero-card-content {
        padding: 0.6rem 0.4rem !important;
        max-width: 85% !important;
        width: 85% !important;
    }

    .therapy-cards {
        gap: 0.6rem;
    }

    .therapy-card {
        padding: 0.6rem;
        min-height: 80px;
    }

    .therapy-card span {
        font-size: 0.8rem;
    }

    /* Ensure nav dots stay small */
    .slider-nav {
        bottom: 0.8rem;
    }

    .nav-dot {
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        min-height: 8px !important;
    }
}

/* Extra small screens - aggressive button fixes */
@media (max-width: 360px) {

    .hero-card-content .btn,
    .hero-card-content a.btn {
        font-size: 0.6rem !important;
        padding: 0.4rem 0.4rem !important;
        max-width: 140px !important;
        min-height: 32px !important;
        line-height: 1.0 !important;
        word-break: break-all !important;
        white-space: normal !important;
        text-overflow: clip !important;
        overflow: hidden !important;
        display: block !important;
        width: 100% !important;
    }

    .hero-card-content {
        padding: 0.5rem 0.3rem !important;
        max-width: 80% !important;
        width: 80% !important;
        gap: 0.6rem !important;
    }

    .hero-card-content h2 {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem) !important;
        margin-bottom: 0.3rem;
    }

    /* Extra small screen CTA button fix */
    #testimonials .cta-button {
        font-size: 0.75rem !important;
        padding: 10px 12px !important;
        max-width: 85% !important;
        width: 85% !important;
        line-height: 1.0 !important;
        word-break: break-all !important;
        letter-spacing: 0 !important;
    }

    /* Extra small screen fixes for self-help and careers */
    .selfhelp-hero {
        min-height: 250px;
    }

    .assess.card {
        padding: 1rem !important;
        padding-bottom: 3rem !important;
    }

    .assess-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .career-hero-bg {
        min-height: 40vh;
        background-size: 70%;
    }

    .jobs-grid .job.card {
        padding: 1rem !important;
        grid-template-columns: 50px 1fr !important;
    }

    .jobs-grid .job.card .job-img {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Mobile Button Adjustments */
@media (max-width: 480px) {
    .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        min-height: 44px;
        /* Minimum touch target size */
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        min-height: 44px;
    }

    /* Specific fix for testimonials CTA button on small screens */
    #testimonials .cta-button {
        font-size: 0.85rem !important;
        padding: 12px 16px !important;
        max-width: 90% !important;
        width: 90% !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        line-height: 1.1 !important;
        letter-spacing: 0.01em !important;
    }

    /* Ensure form elements are touch-friendly */
    select,
    input,
    button {
        min-height: 44px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        border-radius: var(--radius-lg);
    }

    /* Improve form field appearance on mobile */
    select {
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1rem;
        padding-right: 3rem;
    }

    /* Better card spacing on mobile */
    .card {
        margin-bottom: 1rem;
    }

    /* Improve table scrolling on mobile */
    .table-responsive-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    /* Better spacing for mobile */
    .section {
        padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    }

    /* Improve readability on small screens */
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Remove the enlarged touch targets for nav dots */
    .slider-nav .nav-dot {
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        min-height: 10px !important;
        padding: 0 !important;
        margin: 0 4px;
    }

    /* Better button text handling */
    .btn {
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }

    /* Ensure buttons don't overflow */
    .hero-card-content {
        padding: 1rem 0.5rem;
    }
}

/* =========================
   FIXES FOR MOBILE RESPONSIVENESS
   ========================= */

/* 1. Fix for cards going out of screen in "Why Work with Mind360" section */
@media (max-width: 768px) {
    .career-page section.alt .grid-container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .career-page section.alt .card {
        flex: 0 1 calc(50% - 0.5rem) !important;
        min-width: 140px !important;
        max-width: 180px !important;
        padding: 1rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .career-page section.alt .grid-container {
        justify-content: space-around !important;
        gap: 0.5rem !important;
    }

    .career-page section.alt .card {
        flex: 0 1 calc(50% - 0.25rem) !important;
        min-width: 130px !important;
        max-width: 160px !important;
    }
}

@media (max-width: 350px) {
    .career-page section.alt .card {
        flex: 1 1 100% !important;
        min-width: unset !important;
        max-width: 280px !important;
    }
}

/* 2. Remove black background from hero card content in mobile view */
@media (max-width: 768px) {
    .hero-card-content {
        background: transparent !important;
        /* No background overlay */
        backdrop-filter: none !important;
        border-radius: var(--radius-lg) !important;
        padding: 1rem 0.8rem !important;
        max-width: 85% !important;
        width: 85% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .hero-card-content {
        background: transparent !important;
        /* No background overlay */
        backdrop-filter: none !important;
        padding: 0.8rem 0.6rem !important;
        max-width: 80% !important;
        width: 80% !important;
    }
}

@media (max-width: 360px) {
    .hero-card-content {
        background: transparent !important;
        /* No background overlay */
        backdrop-filter: none !important;
        padding: 0.6rem 0.4rem !important;
        max-width: 75% !important;
        width: 75% !important;
    }
}

/* 3. Fix gap between "Openings" and "Intern" heading in careers */
.job.card header {
    margin-bottom: 0.5rem;
}

.job.card header h3 {
    margin-bottom: 0.25rem;
}

.job.card>p {
    margin-top: 0 !important;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .jobs-grid .job.card>p {
        margin-top: 0 !important;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .jobs-grid .job.card header {
        margin-bottom: 0.25rem;
    }

    .jobs-grid .job.card header h3 {
        margin-bottom: 0.1rem;
        line-height: 1.2;
    }
}

/* 4. Additional mobile fixes for better layout */
@media (max-width: 768px) {

    /* Ensure proper container padding */
    .career-page section.alt .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Better spacing for section headers */
    .career-page .section-head {
        margin-bottom: 2rem !important;
    }

    .career-page .section-head h2 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        margin-bottom: 0.5rem !important;
    }

    .career-page .section-head p {
        font-size: clamp(1rem, 2.5vw, 1.15rem) !important;
    }
}

/* 5. Fix for very small screens to prevent horizontal scroll */
@media (max-width: 320px) {
    .career-page section.alt .container {
        padding: 0 0.5rem !important;
    }

    .career-page section.alt .grid-container {
        gap: 0.25rem !important;
    }

    .career-page section.alt .card {
        min-width: 120px !important;
        max-width: 140px !important;
        padding: 0.8rem !important;
        font-size: 0.85rem !important;
    }

    .career-page section.alt .card h4 {
        font-size: 1rem !important;
    }

    .career-page section.alt .card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
}

/* ULTIMATE FIX - Override all conflicting styles */
@media (max-width: 768px) {
    body.career-page section.alt .grid-container {
        display: flex !important;
        flex-wrap: wrap !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    body.career-page section.alt .card {
        display: block !important;
        flex: 0 1 calc(50% - 0.5rem) !important;
        min-width: 140px !important;
        max-width: 180px !important;
        width: auto !important;
        height: auto !important;
        padding: 1rem !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        grid-column: unset !important;
        grid-row: unset !important;
    }
}

@media (max-width: 480px) {
    body.career-page section.alt .grid-container {
        gap: 0.5rem !important;
        justify-content: space-around !important;
    }

    body.career-page section.alt .card {
        flex: 0 1 calc(50% - 0.25rem) !important;
        min-width: 130px !important;
        max-width: 160px !important;
    }
}

@media (max-width: 350px) {
    body.career-page section.alt .card {
        flex: 1 1 100% !important;
        min-width: unset !important;
        max-width: 280px !important;
    }
}

/* Mobile: About Page Flower */
@media (max-width: 1280px) {
    .about-hero::after {
        right: 2rem;
        top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero::after {
        right: 1rem;
        top: 0.5rem;
        transform: scale(0.92);
    }
}

/* Mobile: About Dark Section */
@media (max-width: 640px) {
    .about-dark .poem-body {
        max-width: 92vw;
    }

    .about-dark .poem-body p {
        font-size: 16.5px;
        line-height: 28px;
        margin: 14px 0 20px;
    }

    .about-dark .closing-quote {
        margin-top: 28px;
    }
}

/* Mobile: Pricing & General Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2em;
    }

    .header p,
    .price-label {
        font-size: 1.1em;
    }

    .price {
        font-size: 2.2em;
    }

    .card h3 {
        font-size: 1.3em;
    }

    .features li {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
        padding: 12px 30px;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .card.traditional,
    .card.pricing {
        max-width: 90%;
    }

    #why-choose-us h2,
    #testimonials h2 {
        font-size: 2.2em;
    }

    .grid-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .testimonial-card {
        max-width: 100%;
    }

    .comparison-table th,
    .comparison-table td {
        font-size: 0.9em;
        padding: 12px;
    }

    /* Add this new block to the end of style.css */
    @media (max-width: 768px) {
        .comparison-table {
            /* This makes the text in the table about 15% smaller */
            font-size: 0.85em;
        }

        .comparison-table th,
        .comparison-table td {
            /* This reduces the spacing inside cells to save room */
            padding: 14px 10px;
        }
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .header p {
        font-size: 1em;
    }

    .card {
        padding: 20px;
    }

    .price {
        font-size: 2em;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }

    .testimonial-card::before {
        font-size: 4em;
    }

    .user-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }

    .user-name {
        font-size: 1em;
    }

    .user-age {
        font-size: 0.85em;
    }
}

/* ========================= 
   PRIVACY POLICY PAGE STYLES (Full Screen Layout)
   ========================= */

/* Apply a flex layout to the body to control height */
.privacy-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensure body takes at least full viewport height */
    margin: 0;
}

/* Make the main content area grow to fill available space */
.privacy-main {
    flex-grow: 1;
    display: flex;
}

/* The blue screen now has padding to control the text position */
.privacy-policy {
    width: 100%;
    background-color: aliceblue;
    overflow-y: auto;
    /* Adds a scrollbar if the content is too long */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    /* Vertical padding + 10% horizontal padding for text margins */
    padding: clamp(1.5rem, 4vw, 3rem) 10%;
    box-sizing: border-box;
    /* Ensures padding is included in the element's total width */
}

/* Styles are now applied to elements directly inside .privacy-policy */
.privacy-policy .title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
    font-family: 'Arial', sans-serif;
}

.privacy-policy .policy-section {
    margin-bottom: 20px;
}

.privacy-policy .section-title {
    font-size: 25px;
    margin-bottom: 10px;
    font-weight: bold;
    padding-bottom: 5px;
    color: #333;
    font-family: 'Arial', sans-serif;
    border-bottom: none;
}

.privacy-policy .section-text {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.privacy-policy .section-text strong {
    color: #333;
    font-weight: bold;
}

.privacy-policy a.highlight {
    color: #007BFF;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.privacy-policy a.highlight:hover {
    color: #0056b3;
}


/* listing */

.listingPage {
    background-color: #f8f9fc;
}

.listingPage .listingTopSection .title_Wrap {
    padding: 32px 0;
}

.listingPage .listingTopSection .title_Wrap h2 {
    color: rgba(29, 36, 51, 1);
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
}

/* TOP FILTER BAR STYLES */
.listingPage .listingTopSection .filterWrapper ul::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.listingPage .listingTopSection .filterWrapper ul {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    padding: 0 0 8px;
    list-style: none;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.listingPage .listingTopSection .filterWrapper ul li button {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e1e6ef;
    background: #fff;
    border-radius: 10px;
    color: #333;
    text-transform: capitalize;
    white-space: nowrap;
    font-weight: 500;
    cursor: pointer;
}

.filter-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grid-fill" viewBox="0 0 16 16"><path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5z"/></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.filter-icon.all {
    background-color: #fff;
}

.filter-icon.anxiety {
    background-color: #e3dffc;
}

.filter-icon.career {
    background-color: #dceefc;
}

.filter-icon.clinical {
    background-color: #fce3e3;
}

.filter-icon.depression {
    background-color: #e0f2fe;
}

.filter-icon.marital {
    background-color: #fceee3;
}

.filter-icon.rehab {
    background-color: #f5f5f5;
}

.activeCategory {
    background: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd !important;
}

/* SIDEBAR FILTER STYLES */
.listingPage .filterSidebar .accordion {
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    padding: 16px;
    background-color: #fff;
}

.listingPage .filterSidebar .accordion-item {
    border: none;
    border-bottom: 1px solid #e1e6ef;
    padding: 16px 0;
}

.listingPage .filterSidebar .accordion-item:first-child {
    padding-top: 0;
}

.listingPage .filterSidebar .accordion-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.listingPage .filterSidebar .accordion-button {
    padding: 0;
    width: 100%;
    border: none;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listingPage .filterSidebar .accordion-button::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.listingPage .filterSidebar .accordion-button.open::after {
    transform: rotate(180deg);
}

/* 
.listingPage .filterSidebar .accordion-body {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, opacity 0.35s ease-out, visibility 0.35s ease-out;
} */

.listingPage .filterSidebar .accordion-body.open {
    padding-top: 15px;
    visibility: visible;
    opacity: 1;
}

.listingPage .filterSidebar .accordion-body ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.listingPage .filterSidebar .accordion-body ul li {
    margin: 12px 0;
}

.listingPage .filterSidebar .accordion-body ul li label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.listingPage .filterSidebar input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    outline: none;
    flex-shrink: 0;
}

.listingPage .filterSidebar input[type="radio"]:checked {
    border-color: #0d6efd;
}

.listingPage .filterSidebar input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: #0d6efd;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* PSYCHOLOGIST CARD STYLES */
.psychologistBlockId {
    border: 1px solid #e1e6ef;
    border-radius: 20px;
    padding: 20px 16px;
    background: #fff;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
}

.psychologistBlockId .imgWrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psychologistBlockId img,
.psychologistBlockId svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psychologistBlockId h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 16px 0 6px 0;
}

.psychologistBlockId p {
    color: #666;
    font-size: 14px;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    min-height: 63px;
    margin-top: 5px;
    flex-grow: 1;
}

.psychologistBlockId ul.language {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin: 10px 0;
    font-size: 13px;
    color: #777;
    min-height: 20px;
    text-align: center;
}

.psychologistBlockId ul.language li {
    margin: 0 3px;
    display: inline-block;
}

.psychologistBlockId .btnsWrap {
    border-top: 1px solid #e1e6ef;
    padding-top: 15px;
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.psychologistBlockId .btnsWrap button {
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.psychologistBlockId .btnsWrap button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.psychologistBlockId .btnsWrap button.chatBlueBtn {
    color: #0d6efd;
}

.psychologistBlockId .btnsWrap button.callBlueBtn {
    color: #198754;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.get-app-modal {
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    max-width: 450px;
    width: 90%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .get-app-modal {
    transform: scale(0.9);
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.get-app-modal {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .get-app-modal {
    transform: scale(0.9);
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.get-app-modal {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .get-app-modal {
    transform: scale(0.9);
}

.get-app-modal .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0d6efd;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.get-app-modal .close-btn:hover {
    background-color: #f0f0f0;
}

.get-app-modal h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1d2433;
}

.get-app-modal p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.8rem;
}

.get-app-modal .app-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.get-app-modal .app-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 42px;
    min-width: 140px;
}

.get-app-modal .app-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.get-app-modal .app-buttons a.google-play {
    background-color: #000;
    color: #fff;
}

.get-app-modal .app-buttons a.app-store {
    background-color: #000;
    color: #fff;
}

.get-app-modal .app-buttons a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.get-app-modal .app-buttons a .store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.get-app-modal .app-buttons a .store-text .small {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
}

.get-app-modal .app-buttons a .store-text .large {
    font-size: 14px;
    font-weight: 600;
}


.listingPage .filterSidebar .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out;
    padding-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, opacity 0.35s ease-out, visibility 0.35s ease-out;
}

.no-scroll {
    overflow: hidden;
}