body {
    font-family: 'Inter', sans-serif !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
}

.webgl-foreground {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1 !important;
    pointer-events: none;
}

h1, h2, h3, .serif {
    font-family: 'Crimson Text', serif !important;
}

.draw-path {
    stroke-dasharray: 1000 !important;
    stroke-dashoffset: 1000 !important;
    fill: none !important;
    animation: draw 3s ease-in-out forwards !important;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

/* Toggle Switch */
.toggle-switch {
    width: 60px;
    height: 32px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-circle {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px; 
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-active .toggle-circle { 
    transform: translateX(28px); 
}

.toggle-active.toggle-switch { 
    background-color: #2e3231 !important; 
}

/* Elastic & Hover Effects */
.elastic-container { 
    perspective: 1000px; 
}

.elastic-content { 
    will-change: transform; 
    transform-style: preserve-3d; 
}

.service-card { 
    overflow: hidden; 
    position: relative; 
    will-change: transform;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(46, 50, 49, 0.1);
    border-color: rgba(46, 50, 49, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e3231 0%, #4a5568 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2e3231 0%, #1a1d1c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(46, 50, 49, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(46, 50, 49, 0.3);
}

.service-icon i {
    font-size: 28px;
    color: #ffffff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #2e3231;
}

.service-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(46, 50, 49, 0.08);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2e3231;
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    background: #2e3231;
    color: #ffffff;
    transform: translateX(4px);
}

.service-image-wrapper { 
    height: 120%; 
    width: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
    will-change: transform; 
}

.card-overlay { 
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); 
}

.shape-fill { 
    fill: #f8fafc; 
}

/* Journal Card Hover */
.journal-card:hover .journal-img { 
    transform: scale(1.05); 
}

.journal-card:hover .journal-arrow { 
    transform: translateX(5px); 
}

/* Blob Shapes */
.blob-shape-1 { 
    border-radius: 46% 54% 39% 61% / 55% 36% 64% 45% !important;
}

.blob-shape-2 { 
    border-radius: 41% 59% 43% 57% / 46% 52% 48% 54% !important;
}

.blob-shape-3 { 
    border-radius: 58% 42% 56% 44% / 42% 51% 49% 58% !important;
}

.blob-outline {
    position: absolute !important;
    inset: -15px !important;
    border: 1px solid rgba(46, 50, 49, 0.15) !important;
    z-index: 0 !important;
    pointer-events: none !important;
    transition: transform 1s ease !important;
}

.blob-container:hover .blob-outline {
    transform: scale(1.05) rotate(5deg) !important;
}

/* Initial Hide for Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
}

/* Parallax Gallery Column */
.parallax-col {
    will-change: transform;
}

/* Insurance Logos Slider */
.insurance-slider {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1rem 0;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.insurance-track {
    display: flex;
    animation: scroll-rtl 30s linear infinite;
    width: fit-content;
}

.insurance-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.insurance-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.insurance-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 50, 49, 0.2);
}

.insurance-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

.insurance-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

.insurance-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    transition: color 0.3s ease;
}

.insurance-logo:hover .insurance-logo-text {
    color: #2e3231;
}

/* Insurance Partners - Simple Marquee */
.insurance-partners {
    background: #0f172a;
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.insurance-partners .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.insurance-partners h3 {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.insurance-partners h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.partners-marquee {
    overflow: hidden !important;
    white-space: nowrap !important;
    position: relative !important;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 2rem 0;
    background: rgba(255,255,255,0.03);
}

.partners-track {
    display: flex !important;
    animation: marquee 25s linear infinite !important;
    width: max-content !important;
}

.partners-track span,
.partners-track img {
    display: inline-block;
    padding: 0 4rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
    vertical-align: middle;
    flex-shrink: 0;
}

.partners-track img {
    height: 80px;
    width: auto;
    filter: brightness(1.2) grayscale(0) opacity(0.9);
    transition: filter 0.3s, transform 0.3s;
}

.partners-track span:hover {
    color: rgba(255,255,255,1);
}

.partners-track img:hover {
    filter: brightness(1.5) grayscale(0) opacity(1);
    transform: scale(1.15);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
