/* Modern, high-fidelity CSS for Good Vibes Family Care */

/* Global Variables & Colors */
:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-teal: #4FC8DC;
    --color-teal-dark: #3eb4c7;
    --color-orange: #F69B00;
    --color-green: #43BF57;
    --color-yellow: #F7DE32;
    --color-red: #D40C24;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Vibrant Gradient Accent Backgrounds */
    --gradient-hero: linear-gradient(135deg, rgba(79, 200, 220, 0.09) 0%, rgba(246, 155, 0, 0.06) 50%, rgba(255, 255, 255, 1) 100%);
    --gradient-why-family: linear-gradient(135deg, rgba(246, 155, 0, 0.08) 0%, rgba(247, 222, 50, 0.05) 100%);
    --gradient-why-choose: linear-gradient(135deg, rgba(79, 200, 220, 0.08) 0%, rgba(67, 191, 87, 0.05) 100%);
    --gradient-testimonials: linear-gradient(135deg, rgba(212, 12, 36, 0.05) 0%, rgba(79, 200, 220, 0.05) 100%);
    --gradient-care-plan: linear-gradient(135deg, rgba(67, 191, 87, 0.07) 0%, rgba(247, 222, 50, 0.07) 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Accessibility settings */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-black);
}

p {
    color: #444444; /* Clean contrast readable gray */
}

a {
    color: inherit;
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-black);
    border-color: #E2E8F0;
}

.btn-outline:hover {
    background-color: #F8FAFC;
    border-color: var(--color-teal);
}

.btn-teal {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.btn-teal:hover {
    background-color: var(--color-teal-dark);
    box-shadow: 0 4px 12px rgba(79, 200, 220, 0.3);
}

.btn-orange-outline {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-orange);
}

.btn-orange-outline:hover {
    background-color: rgba(246, 155, 0, 0.05);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* 1. Header Section */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #F1F5F9;
    backdrop-filter: blur(8px);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-circle {
    width: 3.5rem;
    height: 3.5rem;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748B;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #4A5568;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-black);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-teal);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav-item.active::after, .nav-item:hover::after {
    width: 100%;
}

.header-ctas {
    display: flex;
    gap: 0.75rem;
}

/* 2. Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-hero);
    padding: 5rem 2rem 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 24px solid transparent;
    border-image: linear-gradient(to right, var(--color-teal), var(--color-orange), var(--color-green), var(--color-yellow), var(--color-red)) 1;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-teal);
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    position: relative;
}

.gradient-text-accent {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-orange) 50%, var(--color-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.title-spark {
    position: relative;
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    vertical-align: super;
    margin-left: 0.25rem;
}

.spark-svg {
    width: 100%;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #4A5568;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 0.85;
}

/* Beautiful arch frame for image */
.hero-img-border {
    width: 100%;
    height: 100%;
    border-radius: 230px 230px 0 0;
    overflow: hidden;
    border: 10px solid var(--color-orange);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

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

/* Colored sweeping wave accent under the arch */
.hero-rainbow-accent {
    position: absolute;
    bottom: -15px;
    left: -15px;
    right: -15px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-red) 25%, var(--color-yellow) 25%, var(--color-yellow) 50%, var(--color-green) 50%, var(--color-green) 75%, var(--color-teal) 75%);
    border-radius: 50% 50% 0 0 / 20px 20px 0 0;
    z-index: 1;
    opacity: 0.95;
    filter: blur(1px);
}

/* 3. Features Row */
.features-section {
    padding: 6rem 2rem;
    background-color: var(--color-white);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background-color: #FCFDFD;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

#feat-autism {
    border-top: 5px solid var(--color-teal);
    background-color: rgba(79, 200, 220, 0.06);
}
#feat-autism:hover {
    background-color: var(--color-white);
    box-shadow: 0 12px 30px rgba(79, 200, 220, 0.25);
    border-color: var(--color-teal);
}

#feat-respite {
    border-top: 5px solid var(--color-orange);
    background-color: rgba(246, 155, 0, 0.06);
}
#feat-respite:hover {
    background-color: var(--color-white);
    box-shadow: 0 12px 30px rgba(246, 155, 0, 0.25);
    border-color: var(--color-orange);
}

#feat-family {
    border-top: 5px solid var(--color-green);
    background-color: rgba(67, 191, 87, 0.06);
}
#feat-family:hover {
    background-color: var(--color-white);
    box-shadow: 0 12px 30px rgba(67, 191, 87, 0.25);
    border-color: var(--color-green);
}

#feat-trained {
    border-top: 5px solid var(--color-yellow);
    background-color: rgba(247, 222, 50, 0.1);
}
#feat-trained:hover {
    background-color: var(--color-white);
    box-shadow: 0 12px 30px rgba(247, 222, 50, 0.35);
    border-color: var(--color-yellow);
}

#feat-empathy {
    border-top: 5px solid var(--color-red);
    background-color: rgba(212, 12, 36, 0.06);
}
#feat-empathy:hover {
    background-color: var(--color-white);
    box-shadow: 0 12px 30px rgba(212, 12, 36, 0.25);
    border-color: var(--color-red);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-svg {
    width: 2.25rem;
    height: 2.25rem;
}

/* Icon specific theme colors */
.feat-blue {
    background-color: rgba(79, 200, 220, 0.1);
}
.feat-orange {
    background-color: rgba(246, 155, 0, 0.1);
}
.feat-green {
    background-color: rgba(67, 191, 87, 0.1);
}
.feat-yellow {
    background-color: rgba(247, 222, 50, 0.15);
}
.feat-red {
    background-color: rgba(212, 12, 36, 0.1);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-desc {
    font-size: 0.925rem;
    color: #64748B;
    line-height: 1.5;
}

/* 4. Corporate Section */
.corporate-section {
    padding: 3rem 2rem 5rem 2rem;
    background-color: var(--color-white);
}

.corporate-box {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(79, 200, 220, 0.15) 0%, rgba(67, 191, 87, 0.08) 100%); /* Soft gradient background */
    border-radius: 24px;
    padding: 3.5rem;
    border: 1px solid rgba(79, 200, 220, 0.35);
}

.corporate-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.corp-icon-title-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.corp-illustration-wrapper {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
}

.corp-svg {
    width: 100%;
    height: 100%;
}

.corp-title {
    font-size: 1.85rem;
    line-height: 1.25;
    font-weight: 800;
}

.corp-highlight {
    color: #0E8A9E;
}

.corp-paragraph {
    font-size: 1.05rem;
    color: #4A5568;
    line-height: 1.6;
}

.corporate-list {
    display: flex;
    justify-content: flex-start;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.benefit-list li {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-black);
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--color-teal);
    color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.check-icon svg {
    width: 100%;
    height: 100%;
}

.corporate-action-row {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.btn-partner {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* 5. Footer & Contacts Hub */
.footer-hub {
    background-color: var(--color-white);
    padding: 5rem 2rem 0 2rem;
    border-top: 1px solid #EDF2F7;
    position: relative;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contacts-title-area {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contacts-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contacts-accent-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contacts-accent-heart .line-left,
.contacts-accent-heart .line-right {
    height: 2px;
    background-color: #E2E8F0;
    width: 80px;
}

.footer-heart-svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.contact-card {
    background-color: #FCFDFD;
    border: 1px solid #EDF2F7;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: all 0.2s ease-in-out;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    background-color: var(--color-white);
    border-color: #CBD5E1;
}

.contact-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.contact-info {
    font-size: 0.85rem;
    color: #64748B;
}

/* Card Specific Colors */
.email-accent {
    background-color: rgba(79, 200, 220, 0.1);
    color: var(--color-teal);
}
.sms-accent {
    background-color: rgba(246, 155, 0, 0.1);
    color: var(--color-orange);
}
.phone-accent {
    background-color: rgba(67, 191, 87, 0.1);
    color: var(--color-green);
}
.linkedin-accent {
    background-color: rgba(14, 118, 168, 0.1);
    color: #0E76A8;
}
.twitter-accent {
    background-color: rgba(15, 20, 25, 0.1);
    color: #0F1419;
}
.facebook-accent {
    background-color: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}
.instagram-accent {
    background-color: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

/* Gold Custom 10X Card */
.gold-card {
    background-color: #FFFDF5;
    border-color: #FBEFCD;
}
.gold-card:hover {
    border-color: #F5D270;
}
.community-10x-accent {
    background-color: #F7DE32;
    color: var(--color-black);
}
.icon-10x-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid #EDF2F7;
    padding: 2rem 0;
    text-align: center;
}

.copyright-text {
    font-size: 0.9rem;
    color: #718096;
}

.footer-rainbow-bar {
    height: 12px;
    background: linear-gradient(to right, var(--color-teal) 20%, var(--color-orange) 20%, var(--color-orange) 40%, var(--color-green) 40%, var(--color-green) 60%, var(--color-yellow) 60%, var(--color-yellow) 80%, var(--color-red) 80%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Mobile Drawer & Navigation Logic */
.nav-toggle {
    display: none;
}

.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-ctas {
    display: none;
}

/* ==========================================================================
   3.1. Why Family Care Section
   ========================================================================== */
.why-family-care-section {
    padding: 6rem 2rem;
    background: var(--gradient-why-family);
    border-top: 1px solid #F1F5F9;
}

.why-family-care-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.why-family-care-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-family-care-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-orange);
    letter-spacing: 1.5px;
}

.why-family-care-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.why-family-care-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A5568;
}

.why-family-care-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.family-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
}

.family-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--color-teal);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.family-rainbow-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow), var(--color-red));
    z-index: 1;
    filter: blur(2px);
}

/* ==========================================================================
   3.2. Why Choose Good Vibes Section
   ========================================================================== */
.why-choose-section {
    padding: 6rem 2rem;
    background: var(--gradient-why-choose);
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.why-choose-container {
    max-width: 1280px;
    margin: 0 auto;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-choose-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-teal);
    letter-spacing: 1.5px;
}

.why-choose-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 0.5rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.why-choose-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-partnership {
    border-top: 6px solid var(--color-orange);
}

.card-coaching {
    border-top: 6px solid var(--color-teal);
}

.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.why-choose-card-header {
    margin-bottom: 2rem;
}

.card-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-white);
    background-color: var(--color-teal);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(79, 200, 220, 0.2);
}

.card-partnership .card-badge {
    background-color: var(--color-orange);
    box-shadow: 0 4px 10px rgba(246, 155, 0, 0.2);
}

.why-choose-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-choose-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.list-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.text-red {
    color: var(--color-red);
}

.text-orange {
    color: var(--color-orange);
}

.text-teal {
    color: #0E8A9E;
}

.list-desc {
    font-size: 1rem;
    color: #4A5568;
}

.coaching-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

.coaching-text:last-child {
    margin-bottom: 0;
}

.text-highlight {
    font-weight: 500;
    color: var(--color-black);
    border-left: 4px solid var(--color-teal);
    padding-left: 1.25rem;
}

/* ==========================================================================
   3.3. Client Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 6rem 2rem;
    background: var(--gradient-testimonials);
}

.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-red);
    letter-spacing: 1.5px;
}

.testimonials-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 0.5rem;
}

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

.testimonial-card {
    background-color: #FCFDFD;
    border: 1px solid #EDF2F7;
    border-radius: 24px;
    padding: 4rem 2rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card:nth-child(1) {
    border-top: 5px solid var(--color-green);
    background-color: rgba(67, 191, 87, 0.05);
}
.testimonial-card:nth-child(1):hover {
    background-color: var(--color-white);
    box-shadow: 0 15px 30px rgba(67, 191, 87, 0.25);
    border-color: var(--color-green);
}

.testimonial-card:nth-child(2) {
    border-top: 5px solid var(--color-orange);
    background-color: rgba(246, 155, 0, 0.05);
}
.testimonial-card:nth-child(2):hover {
    background-color: var(--color-white);
    box-shadow: 0 15px 30px rgba(246, 155, 0, 0.25);
    border-color: var(--color-orange);
}

.testimonial-card:nth-child(3) {
    border-top: 5px solid var(--color-teal);
    background-color: rgba(79, 200, 220, 0.05);
}
.testimonial-card:nth-child(3):hover {
    background-color: var(--color-white);
    box-shadow: 0 15px 30px rgba(79, 200, 220, 0.25);
    border-color: var(--color-teal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.testimonial-avatar-wrapper {
    position: absolute;
    top: -45px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-white);
    border: 5px solid var(--color-white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.border-green {
    border-color: var(--color-green);
}

.border-orange {
    border-color: var(--color-orange);
}

.border-teal {
    border-color: var(--color-teal);
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-hashtag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-black);
}

.testimonial-quote {
    font-size: 0.975rem;
    line-height: 1.6;
    color: #4A5568;
    font-style: italic;
}

/* ==========================================================================
   3.4. Select a Plan of Care Section
   ========================================================================== */
.care-plan-section {
    padding: 6rem 2rem;
    background: var(--gradient-care-plan);
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.care-plan-container {
    max-width: 1200px;
    margin: 0 auto;
}

.care-plan-header {
    text-align: center;
    margin-bottom: 4rem;
}

.care-plan-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-green);
    letter-spacing: 1.5px;
}

.care-plan-title {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    margin-top: 0.5rem;
}

.care-plan-table-wrapper {
    background: var(--color-white);
    border-radius: 20px;
    overflow-x: auto;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.care-plan-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.care-plan-table th, 
.care-plan-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #EDF2F7;
}

.care-plan-table th {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--color-black);
    letter-spacing: 0.5px;
    text-align: center;
}

.care-plan-table th:nth-child(1) {
    background-color: rgba(79, 200, 220, 0.25);
    text-align: left;
}

.care-plan-table th:nth-child(2) {
    background-color: rgba(246, 155, 0, 0.12);
}

.care-plan-table th:nth-child(3) {
    background-color: rgba(79, 200, 220, 0.12);
}

.care-plan-table th:nth-child(4) {
    background-color: rgba(67, 191, 87, 0.12);
}

.care-plan-table tbody tr:nth-child(1) {
    background-color: rgba(246, 155, 0, 0.02);
}

.care-plan-table tbody tr:nth-child(2) {
    background-color: rgba(79, 200, 220, 0.02);
}

.care-plan-table tbody tr:nth-child(3) {
    background-color: rgba(67, 191, 87, 0.02);
}

.care-plan-table tbody tr:last-child td {
    border-bottom: none;
}

.row-service-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-black);
}

.cell-check {
    text-align: center;
}

.table-check-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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

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

.table-check-icon svg {
    width: 100%;
    height: 100%;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .why-family-care-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .why-family-care-content {
        align-items: center;
    }

    .why-choose-title,
    .why-family-care-title,
    .testimonials-title,
    .care-plan-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.75rem);
    }
    
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .corporate-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1.5rem;
    }

    .header-ctas {
        display: none; /* Hide desktop CTAs */
    }

    .nav-toggle-btn {
        display: flex; /* Show Hamburger */
    }

    /* Transform nav-menu into full-screen drawer on mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        align-items: flex-start;
    }

    .nav-item {
        font-size: 1.25rem;
        width: 100%;
        border-bottom: 1px solid #EDF2F7;
        padding-bottom: 0.75rem;
    }

    .nav-item::after {
        display: none; /* Disable line animation */
    }

    .mobile-nav-ctas {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1.5rem;
    }

    .mobile-nav-ctas .btn {
        width: 100%;
    }

    /* Open Navigation when checked */
    .nav-toggle:checked ~ .nav-menu {
        right: 0;
    }

    /* Hamburger morph into close (X) */
    .nav-toggle:checked ~ .nav-toggle-btn .hamburger-bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-toggle-btn .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-btn .hamburger-bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Swipeable feature cards with snapping on mobile */
    .features-section {
        padding: 4rem 1rem;
    }

    .features-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 1rem 0 2rem 0;
        gap: 1.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .features-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .feature-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        margin: 0;
    }

    /* Why Family Care mobile layout */
    .why-family-care-section {
        padding: 4rem 1.5rem;
    }
    
    .why-family-care-title {
        font-size: 2rem;
    }
    
    .family-image-wrapper {
        max-width: 320px;
    }

    /* Why Choose mobile layout */
    .why-choose-section {
        padding: 4rem 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-choose-card {
        padding: 2rem 1.5rem;
    }

    /* Testimonials mobile layout */
    .testimonials-section {
        padding: 4rem 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        padding-top: 2.5rem;
    }
    
    .testimonial-card {
        padding: 3.5rem 1.5rem 2rem 1.5rem;
    }

    /* Care Plan Table mobile layout */
    .care-plan-section {
        padding: 4rem 1.5rem;
    }
    
    .care-plan-table th, 
    .care-plan-table td {
        padding: 1rem 1.25rem;
    }

    /* Adjust Corporate B2B Box */
    .corporate-box {
        padding: 2.25rem 1.5rem;
        border-radius: 16px;
    }

    .corp-title {
        font-size: 1.5rem;
    }

    .corp-icon-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .corp-illustration-wrapper {
        width: 90px;
        height: 70px;
    }

    .btn-partner {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .contacts-title {
        font-size: 1.85rem;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 3.5rem;
    }

    .contact-card {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

