@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Color System */
    --primary-50: #f0f9f4;
    --primary-100: #dcf2e3;
    --primary-200: #bce5ca;
    --primary-300: #8ed2a8;
    --primary-400: #58b781;
    --primary-500: #2e8b57;
    --primary-600: #227345;
    --primary-700: #1d5c3a;
    --primary-800: #194a30;
    --primary-900: #153d28;

    --neutral-50: #f8f9fa;
    --neutral-100: #f1f3f5;
    --neutral-200: #e9ecef;
    --neutral-300: #dee2e6;
    --neutral-400: #ced4da;
    --neutral-500: #adb5bd;
    --neutral-600: #868e96;
    --neutral-700: #495057;
    --neutral-800: #343a40;
    --neutral-900: #212529;

    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --info: #17a2b8;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;

    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --radius: 8px;
    --text-light: #7f8c8d;
    --light-gray: #e2e8f0;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

.w-100{
    width:100%;
}

html {
    font-family: "Noto Sans", sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--neutral-900);
    font-size: var(--text-base);
    font-weight: 400;
}

/* Typography System */
.text-xs {
    font-size: var(--text-xs);
    line-height: 1.25;
}

.text-sm {
    font-size: var(--text-sm);
    line-height: 1.375;
}

.text-base {
    font-size: var(--text-base);
    line-height: 1.5;
}

.text-lg {
    font-size: var(--text-lg);
    line-height: 1.5;
}

.text-xl {
    font-size: var(--text-xl);
    line-height: 1.5;
}

.text-2xl {
    font-size: var(--text-2xl);
    line-height: 1.25;
}

.text-3xl {
    font-size: var(--text-3xl);
    line-height: 1.25;
}

.text-4xl {
    font-size: var(--text-4xl);
    line-height: 1.1;
}

.text-5xl {
    font-size: var(--text-5xl);
    line-height: 1.1;
}

.text-6xl {
    font-size: var(--text-6xl);
    line-height: 1;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}


/* Layout Components */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-3 {
    grid-column: span 3 / span 3;
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.col-span-6 {
    grid-column: span 6 / span 6;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}

.col-span-12 {
    grid-column: span 12 / span 12;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

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

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-auto {
    flex: 1 1 auto;
}

.flex-none {
    flex: none;
}

/* Spacing Utilities */
.gap-1 {
    gap: var(--space-1);
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-5 {
    gap: var(--space-5);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

.p-1 {
    padding: var(--space-1);
}

.p-2 {
    padding: var(--space-2);
}

.p-3 {
    padding: var(--space-3);
}

.p-4 {
    padding: var(--space-4);
}

.p-5 {
    padding: var(--space-5);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

.px-1 {
    padding-left: var(--space-1);
    padding-right: var(--space-1);
}

.px-2 {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
}

.px-3 {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

.px-4 {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.px-6 {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.py-1 {
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
}

.py-2 {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
}

.py-3 {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
}

.py-4 {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.py-6 {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
}

.m-auto {
    margin: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: var(--z-fixed);
    transition: var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary-700);
    text-decoration: none;
    width: 25%;
}
.header-logo{
   width: 70%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.nav-link {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-link.active {
    color: var(--primary-700);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-500);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}

.btn-secondary:hover {
    background: var(--neutral-200);
    transform: translateY(-1px);
}

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

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

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--space-32) 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-50) 100%);
    overflow: hidden;
    background-image: url(https://www.biglivetrends.com/featured/2025/10/28/Porsche-911-Turbo-S-Review_1761650700.webp);
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000, rgba(0, 0, 0, .7333333333), rgba(0, 0, 0, .6), rgba(0, 0, 0, .4), rgba(0, 0, 0, 0), rgba(0, 0, 0, .2), rgba(0, 0, 0, .6666666667), #000);
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: var(--radius-2xl);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: var(--space-6);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--neutral-200);
}

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

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary-600);
    display: block;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin-top: var(--space-1);
}

/* Category Navigation */
.category-nav {
    background: white;
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 72px;
    z-index: var(--z-sticky);
}

.category-tabs {
    display: flex;
    gap: var(--space-1);
    padding: var(--space-4) 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: var(--space-3) var(--space-5);
    background: transparent;
    border: none;
    border-radius: var(--radius-2xl);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-600);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.category-tab:hover {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.category-tab.active {
    background: var(--primary-500);
    color: white;
    font-weight: 600;
}

/* Article Cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.article-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.article-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neutral-200), var(--neutral-300));
}

.article-card:not(.featured) .article-image {
    aspect-ratio: 16 / 9;
}

.article-card.featured .article-image {
    border-radius: var(--radius-xl);
}

.article-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--primary-500);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 600;
    z-index: 1;
}

.article-content {
    padding: var(--space-6);
}

.article-card.featured .article-content {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    color: var(--neutral-600);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.article-title {
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.3;
    color: var(--neutral-900);
    margin-bottom: var(--space-3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}

.article-card.featured .article-title {
    font-size: var(--text-3xl);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.article-excerpt {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.article-tags {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.article-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--primary-300);
    color: var(--neutral-700);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 500;
}
.article-tag:hover{
    background: var(--primary-100);
    transition: 0.2s;
}


/* Vector Carousel */
.vector-carousel {
    position: relative;
}

.carousel-container {
    display: flex;
    gap: var(--space-6);
    justify-content: space-between;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.vector-item {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--neutral-200);
}

.vector-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.vector-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: white;
    font-size: var(--text-2xl);
}

.vector-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-2);
}

.vector-description {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    line-height: 1.5;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neutral-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-500);
    transform: scale(1.2);
}

/* Fitness Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-8);
}

.tool-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tool-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: var(--text-xl);
}

.tool-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--neutral-900);
}

.tool-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
}

.calorie_cal {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.input-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--neutral-700);
}

.input-field {
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.tool-result {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    margin-top: 20px;
}

.result-value {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--primary-700);
    display: block;
}

.result-label {
    font-size: var(--text-sm);
    color: var(--primary-600);
    margin-top: var(--space-1);
}

/* AI Assistant */
.ai-assistant {
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.assistant-header {
    padding: var(--space-8);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.assistant-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.assistant-subtitle {
    opacity: 0.9;
    font-size: var(--text-lg);
}

.chat-container {
    height: 400px;
    overflow-y: auto;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.message {
    max-width: 80%;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-2xl);
    line-height: 1.5;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
    background: var(--neutral-700);
    color: white;
    border-bottom-left-radius: var(--space-1);
}

.user-message {
    align-self: flex-end;
    background: var(--primary-500);
    color: white;
    border-bottom-right-radius: var(--space-1);
}

.chat-input-container {
    padding: var(--space-6);
    border-top: 1px solid var(--neutral-700);
    background: var(--neutral-800);
}

.chat-input-wrapper {
    display: flex;
    gap: var(--space-3);
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: var(--space-4);
    background: var(--neutral-700);
    border: 1px solid var(--neutral-600);
    border-radius: var(--radius-xl);
    color: white;
    font-size: var(--text-base);
    resize: none;
    min-height: 56px;
    max-height: 80px;
}

.chat-input::placeholder {
    color: var(--neutral-400);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.send-button {
    width: 48px;
    height: 48px;
    background: var(--primary-500);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover {
    background: var(--primary-600);
    transform: scale(1.05);
}

.sample-prompts {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.prompt {
    padding: var(--space-2) var(--space-3);
    background: var(--neutral-700);
    color: var(--neutral-300);
    border: 1px solid var(--neutral-600);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    cursor: pointer;
    transition: var(--transition);
}

.prompt:hover {
    background: var(--neutral-600);
    color: white;
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: var(--space-10) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-4);
    display: block;
    width: 80%;
}
.footer-brand img{
    width: 100%;
}

.footer-description {
    color: var(--neutral-400);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    max-width: 400px;
}

.footer-heading {
    font-size: var(--text-lg);
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-2px);
}

.newsletter {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-3);
    background: var(--neutral-800);
    border: 1px solid var(--neutral-700);
    border-radius: var(--radius-lg);
    color: white;
    font-size: var(--text-sm);
}

.newsletter-input::placeholder {
    color: var(--neutral-500);
}

.newsletter-button {
    padding: var(--space-3) var(--space-4);
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background: var(--primary-600);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--neutral-800);
    text-align: center;
    color: var(--neutral-500);
    font-size: var(--text-sm);
}


/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: 9999px;
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.bg-white {
    background-color: white;
}

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

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

.text-white {
    color: white;
}

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

.text-neutral-600 {
    color: var(--neutral-600);
}

.text-neutral-900 {
    color: var(--neutral-900);
}

.border {
    border: 1px solid var(--neutral-300);
}

.border-t {
    border-top: 1px solid var(--neutral-300);
}

.border-b {
    border-bottom: 1px solid var(--neutral-300);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States */
.focus\:ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-100);
}

/* Print Styles */
@media print {

    .header,
    .category-nav,
    .ai-assistant,
    .footer {
        display: none;
    }

    .section {
        padding: 0;
        break-inside: avoid;
    }

    .article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--neutral-300);
    }
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.ai-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    transition: transform 0.3s;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.ai-toggle:hover {
    transform: scale(1.1);
}

.ai-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ai-chat.active {
    display: flex;
    position: fixed;
    bottom: 100px;
    right: 30px;
}

.chat-header {
    padding: 15px 20px;
    background: var(--primary-600);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 12px 15px;
    border-radius: 12px;
    max-width: 90%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ai-message {
    background: var(--light-gray);
    align-self: flex-start;
    color: var(--text-color);
}

.user-message {
    background: var(--primary-500);
    align-self: flex-end;
    color: white;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 20px;
    background: var(--light-gray);
    border: 1px solid var(--card-border);
    color: var(--neutral-900);
    outline: none;
    height: 50px;
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
.list-article {
    display: flex;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.list-image {
    width: 200px;
    flex-shrink: 0;
}
.list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.list-content {
    padding: 15px 25px;
    flex: 1;
}
.list-category {
    display: inline-block;
    background-color: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.list-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.list-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
.list-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}
.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--success);
}
.list-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popular-posts li {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.popular-posts li:last-child{
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: 0px;
}
.popular-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}
.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    padding-bottom: 0px;
    border-bottom: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.popular-content span {
    font-size: 0.8rem;
    color: var(--text-light);
}
.categories-list {
    list-style: none;
}
.category-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
}
.category-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}
.category-count {
    background: var(--light-gray);
    color: var(--text-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}



/* search bar section css start here */
.search-container {
    position: relative;
    display: inline-block;
}
.search-box {
    display: none;
    margin-top: 10px;
    position: absolute;
    top: 70px;
    transform: translateX(-60%);
    background: #2e8b57;
    padding: 5px;
    border-radius: 5px;
}
.search-btn {
    background-color: var(--primary-700);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}
.search-box button{
    background: #000;
    border: #000;
    padding: 8px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}
.search-btn:hover {
    background-color: var(--primary-500);
}
input[type="text"] {
    padding: 8px;
    width: 200px;
    border: none;
    border-radius: 4px;
}

/* load more css start here */
.load{
    margin-top: 30px !important;
    width: 25%;
    margin: 0 auto;
}
.load a{
   padding: var(--space-3) var(--space-4);
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    margin: 0 auto;
}


/* classes from home page */
.article-badge a {
    color: white;
    padding: 0px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .mobile-menu-btn span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: var(--neutral-700);
            border-radius: 3px;
            transition: var(--transition);
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--black-overlay);
            z-index: var(--z-overlay);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Menu */
        .mob_header {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100%;
            background-color: var(--white);
            z-index: var(--z-fixed);
            transition: var(--transition-slow);
            overflow-y: auto;
            padding: var(--space-6) var(--space-4);
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .mob_header.active {
            left: 0;
        }

        .mob_header .nav-brand {
            width: 100%;
            margin-bottom: var(--space-6);
            justify-content: center;
        }

        .mob_nav-menu {
            list-style: none;
            margin-bottom: var(--space-6);
        }

        .mob_nav-item {
            margin-bottom: var(--space-2);
        }

        .mob_nav-link {
            display: block;
            padding: var(--space-3);
            color: var(--neutral-700);
            text-decoration: none;
            font-weight: 500;
            border-radius: var(--radius-lg);
            transition: var(--transition);
        }

        .mob_nav-link:hover,
        .mob_nav-link.active {
            color: var(--primary-700);
            background-color: var(--primary-50);
        }

        .mob_header .search-box {
            position: static;
            display: block;
            box-shadow: none;
            padding: 0;
            margin-bottom: var(--space-6);
        }

        .mob_header .search-box form {
            display: flex;
        }

        .mob_header .search-box input {
            flex: 1;
        }

        .mob_header .btn-group {
            display: flex;
            flex-direction: column;
            gap: var(--space-3);
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .nav-menu {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }
        }

        @media (max-width: 768px) {
            .nav .flex.items-center.gap-4 {
                display: none;
            }

            .nav-brand {
                width: 50%;
            }
        }


.post-content img{
	    width: 100% !important;
	    height: auto !important;
	}




/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .article-card.featured {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-12) 0;
    }

    .hero {
        padding: var(--space-20) 0;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .chat-container {
        height: 300px;
    }
}

@media (max-width: 440px) {
	.nav-brand{
	    width: 65%;
	}
	p{
	    font-size: 14px !important;
	}
	.article-card.featured .article-title{
	    font-size: 1.2rem;
	}
	.article-card.featured .article-content{
	    padding: var(--space-4);
	}
	.article-badge a{
	    padding: 3px 0px;
	}
	.list-article{
	    flex-direction: column;
	}
	.two-column-layout{
	    display: block;
	}
	.list-image{
	    width: 100%;
	}
	.list-content {
	    padding: 0px 15px 15px;
	    flex: 1;
	}
	.list-title{
	    font-size: 1.2rem;
	}
	.list-excerpt{
	    -webkit-line-clamp: 5;
	}
	.list-articles{
	    margin-bottom:20px;
	}
	.text-3xl{
	    font-size: var(--text-2xl);
	}
	.yoga a{
	    display: none;
	}
	.post-content img{
	    width: 100% !important;
	    height: auto !important;
	}
	.search-box{
	    transform: translateX(0%);
	}
.nav-link.active::after {
    bottom: 5px;
}
	
}
	


 
