@charset "UTF-8";

/* Variables (Aligning with potential light theme & clean UI) */
:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --accent: #3b82f6;
    --accent-light: rgba(59, 130, 246, 0.1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Sayari Header */
.sayari-header {
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-color) 100%);
    position: relative;
    overflow: hidden;
}

.heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.heading span {
    color: var(--accent);
}

.heading-sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: #64748b;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-color);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Sayari Container */
.sayari-section {
    padding: 40px 20px 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.sayari-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* Premium Cards */
.sayari-card {
    flex: 1 1 360px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02), 
        0 20px 30px -10px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeUpIn 0.8s ease backwards;
}

@keyframes fadeUpIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.sayari-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    100% { background-position: 200% center; }
}

.sayari-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.03), 
        0 30px 40px -15px rgba(59, 130, 246, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.sayari-card:hover::before {
    opacity: 1;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 25px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    padding: 6px 14px;
    border-radius: 20px;
    align-self: flex-start;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.card-content {
    flex-grow: 1;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.card-content .quote-icon {
    position: absolute;
    top: -25px;
    left: -15px;
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.05);
    z-index: -1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.card-date {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.card-share {
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 50%;
}

.card-share:hover {
    color: white;
    background: var(--accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .heading {
        font-size: 2.8rem;
    }
    .sayari-header {
        padding-top: 100px;
    }
    .sayari-container {
        grid-template-columns: 1fr;
    }
    .sayari-card {
        padding: 30px 25px;
    }
}
