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

/* Mobile: Services Grid */
@media (max-width: 768px) {
  .service-grid-12 {
    display: block !important;
  }

  .service-card {
    margin: 2% 5% !important;
    width: auto !important;
    height: 220px !important;
    grid-column: unset !important;
    grid-row: unset !important;
  }

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

/* 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) {

  .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;
  }

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

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

  .pricing-grid,
  #pricing .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .price,
  #pricing .price {
    margin-bottom: 1.5rem;
  }

  .amount,
  #pricing .price .amount {
    font-size: 3rem;
  }

  #pricing .card.traditional {
    margin-top: 2rem;
  }
}

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

  .comparison-table {
    font-size: 0.85em;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 14px 10px;
  }
}

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

  #testimonials {
    padding: 60px 20px;
  }

  #testimonials h2 {
    font-size: 2.4em;
    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 {
    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 Self-Help Page */
@media (max-width: 768px) {
  body.selfhelp-page {
    background-color: #E9E8F5;
    position: relative;
  }

  .selfhelp-hero {
    padding: 1.5rem 0;
    margin-bottom: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }

  .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;
  }

  .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: 2rem;
  }

  .assess-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
  }

  .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;
  }

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

@media (max-width: 1024px) {
  .assess-grid .assess:nth-child(even) {
    margin-top: 0 !important;
  }
}

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

@media (max-width: 1280px) {
  .about-hero::after {
    right: 2rem;
    top: 0.5rem;
  }
}

@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 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;
  }

  .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;
  }

  .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: 1024px) {
  .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;
  }
}

@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;
  }
}

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

  .container {
    padding: 0 0.75rem;
  }

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

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

  .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;
  }

  .slider-nav {
    bottom: 0.8rem;
  }

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

  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    min-height: 44px;
  }

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

  #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;
  }

  select,
  input,
  button {
    min-height: 44px;
    font-size: 16px;
    border-radius: var(--radius-lg);
  }

  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;
  }

  .card {
    margin-bottom: 1rem;
  }

  .table-responsive-wrapper {
    -webkit-overflow-scrolling: touch;
  }

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

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  .slider-nav .nav-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    padding: 0 !important;
    margin: 0 4px;
  }

  .btn {
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
  }

  .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;
  }

  .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;
  }

  .grid-container {
    gap: 0.5rem !important;
    justify-content: space-around !important;
  }

  .grid-container .card {
    flex: 0 1 calc(50% - 0.5rem) !important;
    min-width: 140px !important;
    max-width: 170px !important;
    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;
  }

  #testimonials h2 {
    font-size: 2em;
  }

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

  .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;
  }

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

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

/* Extra small screens */
@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;
  }

  #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;
  }

  .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;
  }
}

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

  .tile {
    flex: 1 1 100% !important;
    min-width: unset !important;
    max-width: 280px !important;
  }

  .grid-container .card {
    flex: 1 1 100% !important;
    min-width: unset !important;
    max-width: 100%;
  }
}

@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;
  }
}

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

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

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

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

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

  .grid-container .card {
    flex: 1 1 calc(50% - 15px);
    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);
    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: 992px) {
  #pricing .pricing-grid {
    grid-template-columns: 1fr;
  }

  #pricing .card.traditional {
    margin-top: 2rem;
  }
}

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

  .hero-card-content {
    background: transparent !important;
    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;
  }

  .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;
  }

  .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;
  }

  .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;
  }
}

@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;
  }

  .hero-card-content {
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0.8rem 0.6rem !important;
    max-width: 80% !important;
    width: 80% !important;
  }

  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;
  }
}

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

  .hero-card-content {
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0.6rem 0.4rem !important;
    max-width: 75% !important;
    width: 75% !important;
  }
}

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


/* Add this to your responsive.css file or at the end of global.css */

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

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

  .footer-column,
  .foot-col {
    text-align: left !important;
  }

  .footer-column h4,
  .foot-col h4 {
    text-align: left !important;
  }

  .footer-column ul,
  .foot-col ul {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-column ul li,
  .foot-col ul li {
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .social-links,
  .socials {
    justify-content: flex-start !important;
  }

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

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

  .social-links,
  .socials {
    justify-content: flex-start !important;
  }

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

  .container {
    padding: 0 0.75rem;
  }

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

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

  /* Button vertical centering fix */
  .hero-card-content .btn,
  .advertise-card-content .btn {
    font-size: 0.65rem !important;
    padding: 0.5rem 0.5rem !important;
    max-width: 160px !important;
    line-height: 1.2 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
  }

  .hero-card-content,
  .advertise-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;
  }

  .slider-nav,
  .advertise-slider-nav {
    bottom: 0.8rem;
  }

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

  #testimonials .cta-button {
    font-size: 0.85rem !important;
    padding: 12px 16px !important;
    max-width: 90% !important;
    width: 90% !important;
    letter-spacing: 0.01em !important;
  }

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

  .grid-container .card {
    flex: 1 1 100% !important;
    min-width: unset !important;
    max-width: 300px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }

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

@media (max-width: 360px) {

  .hero-card-content .btn,
  .hero-card-content a.btn,
  .advertise-card-content .btn,
  .advertise-card-content a.btn {
    font-size: 0.6rem !important;
    padding: 0.45rem 0.4rem !important;
    max-width: 140px !important;
    min-height: 34px !important;
    line-height: 1.1 !important;
    word-break: break-all !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

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

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

  #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;
  }
}