* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f59e0b;
    --primary-light: #fbbf24;
    --primary-dark: #d97706;
    --secondary: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-accent: #fef3c7;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

/* Main content wrapper */
.blog-main {
    min-height: 100vh;
    margin-top: 76px;
    background: linear-gradient(to bottom, #ffffff 0%, #fffbeb 50%, #ffffff 100%);
}

/* Hero Section - Redesigned with Stunning Background */
.blog-hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: 
        linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%),
        url('data:image/svg+xml,<svg width="1200" height="800" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23fbbf24;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23f59e0b;stop-opacity:0.3" /></linearGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23grad1)"/><circle cx="300" cy="200" r="60" fill="url(%23grad1)"/><circle cx="500" cy="150" r="70" fill="url(%23grad1)"/><circle cx="700" cy="250" r="90" fill="url(%23grad1)"/><circle cx="900" cy="180" r="65" fill="url(%23grad1)"/><circle cx="1100" cy="220" r="75" fill="url(%23grad1)"/><circle cx="200" cy="400" r="85" fill="url(%23grad1)"/><circle cx="450" cy="450" r="70" fill="url(%23grad1)"/><circle cx="650" cy="500" r="80" fill="url(%23grad1)"/><circle cx="850" cy="420" r="65" fill="url(%23grad1)"/><circle cx="1050" cy="480" r="90" fill="url(%23grad1)"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: inset 0 -50px 100px rgba(0, 0, 0, 0.1);
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        ),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="honeycomb" x="0" y="0" width="56" height="100" patternUnits="userSpaceOnUse"><path d="M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></pattern></defs><rect width="100" height="100" fill="url(%23honeycomb)"/></svg>');
    opacity: 0.6;
    animation: shimmer 15s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(251, 191, 36, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(217, 119, 6, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 60%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 30px 30px;
    animation: patternFloat 25s linear infinite;
}

@keyframes patternFloat {
    0% { 
        background-position: 0 0, 0 0, 0 0; 
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% { 
        background-position: 50px 50px, 80px 80px, 30px 30px; 
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.scroll-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    animation: bounce 2s infinite, fadeIn 0.8s ease 0.6s both;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Author Section - Completely Redesigned */
.author-section {
    padding: 6rem 0;
    position: relative;
}

.author-card {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 5rem;
    align-items: start;
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.author-image-wrapper {
    position: relative;
}

.author-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.author-image:hover {
    transform: scale(1.02);
}

.author-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}

.author-badge-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.author-badge-bottom i {
    color: var(--primary);
    font-size: 1.25rem;
}

.author-badge-bottom span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.author-content {
    padding-top: 1rem;
}

.author-header {
    margin-bottom: 2.5rem;
}

.title-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.title-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    letter-spacing: -1px;
}

.title-accent {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 3px;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary);
}

.story-content {
    font-size: 1.125rem;
    line-height: 1.9;
}

.story-intro {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.6;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
}

.story-body {
    color: var(--text);
}

.story-body p {
    margin-bottom: 1.75rem;
    text-align: justify;
}

.story-body h3 {
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 0.75rem;
}

.story-body h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.story-quote {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 5px solid var(--primary);
    border-radius: 0 16px 16px 0;
    position: relative;
    box-shadow: var(--shadow);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.story-quote p {
    font-style: italic;
    font-size: 1.35rem;
    color: var(--secondary);
    margin: 0;
    padding-left: 2rem;
    font-weight: 500;
    line-height: 1.7;
}

.section-divider {
    text-align: center;
    margin: 3rem 0;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

.commitment-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e7f5ff 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.commitment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.commitment-header i {
    font-size: 1.75rem;
    color: var(--primary);
}

.commitment-header h3 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--secondary);
}

.commitment-header h3::after {
    display: none;
}

.commitment-list {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.commitment-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
    padding: 1rem;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.commitment-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.commitment-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.commitment-icon i {
    color: white;
    font-size: 1.1rem;
}

.commitment-list span {
    font-weight: 500;
    font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .author-card {
        grid-template-columns: 400px 1fr;
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .author-card {
        grid-template-columns: 350px 1fr;
        gap: 3rem;
        padding: 3rem;
    }

    .author-image img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .blog-main {
        margin-top: 66px;
    }

    .blog-hero {
        min-height: 70vh;
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .author-section {
        padding: 4rem 0;
    }

    .author-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .author-image img {
        height: 350px;
    }

    .title-wrapper h2 {
        font-size: 2.25rem;
    }

    .story-intro {
        font-size: 1.2rem;
    }

    .story-quote p {
        font-size: 1.15rem;
    }

    .commitment-list {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-main {
        margin-top: 60px;
    }

    .blog-hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .scroll-indicator {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .author-section {
        padding: 3rem 0;
    }

    .author-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .author-image {
        border-radius: 12px;
    }

    .author-image img {
        height: 300px;
    }

    .author-badge-bottom {
        padding: 0.75rem 1rem;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .author-badge-bottom span {
        font-size: 0.9rem;
    }

    .title-wrapper h2 {
        font-size: 1.875rem;
    }

    .post-meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.85rem;
    }

    .story-content {
        font-size: 1rem;
    }

    .story-intro {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .story-body h3 {
        font-size: 1.5rem;
    }

    .story-quote {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .story-quote p {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .commitment-section {
        padding: 1.5rem;
    }

    .commitment-header {
        gap: 0.75rem;
    }

    .commitment-header i {
        font-size: 1.5rem;
    }

    .commitment-header h3 {
        font-size: 1.5rem;
    }

    .commitment-list li {
        padding: 0.875rem;
    }

    .commitment-icon {
        width: 36px;
        height: 36px;
    }

    .commitment-list span {
        font-size: 0.95rem;
    }
}