/* 
 * Thrive Med Assist - Premium Medical Design System
 * 2026 Standards: Clean, Fast, High-Conversion
 */

:root {
    /* Color Palette - Thrive Medical Logo Matched */
    --color-primary: #3aa876;
    /* Thrive Green */
    --color-primary-dark: #2a8b5f;
    /* Darker Thrive Green */
    --color-secondary: #3ebce4;
    /* Thrive Water Drop Cyan */
    --color-accent: #eab308;
    /* Premium Gold Accent */

    --color-text-dark: #1E293B;
    /* Slate 800 */
    --color-text-muted: #64748B;
    /* Slate 500 */
    --color-bg-light: #F8FAFC;
    /* Slate 50 */
    --color-white: #FFFFFF;

    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;

    /* Typography — System stack fallback prevents FOUT while Google Fonts loads */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

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

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(58, 168, 118, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-contact {
    color: var(--color-white);
    font-weight: 700;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 36px;
    /* Below top bar */
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon i {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.btn:hover.btn-icon i,
.btn:hover .btn-icon i,
.btn-icon:hover i {
    transform: scale(1.15) rotate(-8deg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-primary);
}

/* ════════════════════════════════════════════
   HERO SECTION — Premium 2-Column Redesign
   ════════════════════════════════════════════ */
.hero-section {
    background:
        linear-gradient(135deg, rgba(15, 40, 28, 0.72) 0%, rgba(26, 107, 69, 0.55) 50%, rgba(62, 188, 228, 0.25) 100%),
        url('../img/hero-bg.webp') center/cover no-repeat;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(62, 188, 228, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* 2-Column Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* LEFT: Content */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Animated Trust Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: badge-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: white;
    margin: 0;
}

.hero-title-gradient {
    background: linear-gradient(90deg, #4ade80 0%, #3ebce4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-dark {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

/* Description */
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 520px;
    margin: 0;
}

.hero-desc strong {
    color: white;
}

/* CTA Buttons */
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(58, 168, 118, 0.5);
    transition: all 0.3s ease;
    font-family: var(--font-main);
    letter-spacing: 0.2px;
}

.btn-hero-primary:hover {
    background: #2a8b5f;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(58, 168, 118, 0.6);
    color: white;
}

.btn-hero-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-hero-wa:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Social Proof Stats */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 18px 24px;
    backdrop-filter: blur(8px);
    width: fit-content;
}

.hero-proof-item {
    text-align: center;
    padding: 0 20px;
}

.hero-proof-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-proof-num span {
    font-size: 1rem;
    color: #4ade80;
    font-weight: 700;
}

.hero-proof-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.hero-proof-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* RIGHT: Visual Column */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Main Image Wrapper */
.hero-img-wrap {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: block;
}

/* Floating Cards */
.hero-float-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    min-width: 240px;
    animation: float-y 4s ease-in-out infinite;
}

.float-top {
    top: 20px;
    left: -28px;
}

.float-bottom {
    bottom: 20px;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(58, 168, 118, 0.12);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.float-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.float-sub {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.float-stars {
    font-size: 0.85rem;
    color: #f59e0b;
    letter-spacing: 1px;
}

.float-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #16a34a;
    margin-left: auto;
    flex-shrink: 0;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
    animation: live-blink 1.2s ease-in-out infinite;
}

@keyframes live-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Trust Badges Grid */
.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-trust-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.hero-trust-card:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-trust-card i {
    font-size: 1.2rem;
    color: #4ade80;
}

.hero-trust-card span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-right {
        order: -1;
    }

    .hero-img {
        height: 280px;
    }

    .float-top {
        top: 10px;
        left: 10px;
    }

    .float-bottom {
        bottom: 10px;
        right: 10px;
        min-width: 200px;
    }

    .hero-social-proof {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 130px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-wa {
        justify-content: center;
    }

    .hero-float-card {
        display: none;
    }

    .hero-proof-item {
        padding: 0 12px;
    }

    .hero-proof-num {
        font-size: 1.2rem;
    }
}



/* Sections & Cards */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(58, 168, 118, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    background: #0f172a;
    color: var(--color-white);
    padding: 80px 0 20px;
    margin-top: 0;
}

.footer-grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    color: var(--color-white);
}

.footer-desc {
    color: #94a3b8;
    margin-top: 15px;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #94a3b8;
}

.footer-col ul a:hover {
    color: var(--color-white);
}

.contact-info li {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
.sticky-mobile-cta {
    display: none;
}

.hide-desktop {
    display: none;
}

.burger-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .hide-desktop {
        display: block;
    }

    .hero-section {
        padding-top: 160px;
    }

    .hero-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .footer-grid-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Sticky Mobile CTA */
    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 15px;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .btn-whatsapp-full {
        width: 100%;
        background-color: var(--color-whatsapp);
        color: var(--color-white);
        padding: 15px;
    }

    main {
        padding-bottom: 80px;
        /* Space for sticky CTA */
    }
}