/* ============================================
   AVANTCERT BLOG LISTING - PREMIUM DESIGN
   Colors: Navy Blue (#001f3f, #003366) & Yellow (#FFD700, #FFC107)
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    --navy-dark: #001f3f;
    --navy-medium: #003366;
    --navy-light: #004080;
    --orange-primary: #fd910b;
    --orange-accent: #fd910b;
    --orange-light: #fd910b;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-dark: #212529;
    --text-light: #6c757d;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Helvetica Neue', 'Helvetica', 'Arial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 31, 63, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 31, 63, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 31, 63, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 31, 63, 0.24);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Missing Variables from style.css */
    /* Font Sizes */
    --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;

    /* Extended Border Radius */
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Extended Shadows */
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--gray-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 180px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: 3px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
.main-content {
    padding: var(--spacing-2xl) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ============================================
   STICKY CTA SIDEBAR
   ============================================ */
.cta-sidebar {
    position: sticky;
    top: 120px;
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    animation: fadeInLeft 0.8s ease;
}

.cta-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

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

.cta-icon {
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.cta-sidebar h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-sidebar p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cta-button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--orange-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

.cta-features {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.cta-feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--orange-primary);
    color: var(--navy-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============================================
   LUCIDE ICON STYLES
   ============================================ */
i[data-lucide] {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.cta-icon i[data-lucide] {
    width: 48px;
    height: 48px;
    color: var(--orange-primary);
}

.search-icon i[data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--gray-dark);
}

/* ============================================
   BLOG GRID
   ============================================ */
.blog-section {
    animation: fadeInRight 0.8s ease;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Search & Filter */
.search-filter {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    font-size: 1.2rem;
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-medium);
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--orange-accent);
    background: var(--orange-accent);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-category {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
    color: var(--navy-medium);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-medium);
}

.blog-date {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.blog-read-time {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.read-more {
    color: var(--orange-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: gap var(--transition-base);
}

.read-more:hover {
    gap: var(--spacing-sm);
}

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   PREMIUM SUPPORT SECTION
   ============================================ */
.premium-support-section {
    padding: var(--space-20) 0;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.premium-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.03);
    pointer-events: none;
}

.premium-support-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-16);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-2xl);
}

.premium-support-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.premium-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-4);
}

.premium-support-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.premium-support-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: var(--space-2);
}

.premium-support-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.premium-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.premium-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange-primary);
    transform: translateY(-3px);
}

.premium-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.premium-feature-icon svg,
.premium-feature-icon i {
    width: 24px;
    height: 24px;
}

.premium-feature-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.premium-feature-content p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.premium-support-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-support-cta .btn {
    margin: 0 var(--space-2);
}

/* ============================================
   FOOTER - MODERN APPLE STYLE
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 0.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--orange-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo img {
        height: 120px;
    }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--orange-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: glow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Glow animation for WhatsApp button */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
    }
}

/* Adjust WhatsApp button when back-to-top is visible */
.whatsapp-float.shift-left {
    right: calc(var(--space-8) + 72px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    background: var(--navy-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Remove orange outline on focus for back-to-top button */
.back-to-top:focus,
.back-to-top:focus-visible {
    outline: none;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .cta-sidebar {
        position: relative;
        top: 0;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-md);
        transition: left var(--transition-base);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hide navbar buttons on mobile for perfect alignment */
    .nav-wrapper>div[style*="display: flex"] {
        display: none !important;
    }

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

    .search-filter {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-sidebar {
        padding: var(--spacing-lg);
    }

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

    .article-content {
        padding: var(--spacing-md);
    }

    .toc-card {
        padding: var(--spacing-md);
    }
}

/* ============================================
   ARTICLE PAGE SPECIFIC STYLES
   ============================================ */

/* Article Hero */
.article-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-dark);
    margin-top: 80px;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--orange-primary);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
    color: var(--orange-primary);
}

.article-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.article-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

/* Table of Contents Card */
.toc-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-light);
}

.toc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.toc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.toc-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toc-link {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.toc-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--orange-accent);
    transform: translateX(5px);
}

.toc-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange-accent);
    min-width: 30px;
    height: 30px;
    /* Added height for consistency */
    display: flex;
    /* Added flex for centering */
    align-items: center;
    /* Added for centering */
    justify-content: center;
    /* Added for centering */
    background: var(--white);
    /* Added background for visual separation */
    border-radius: var(--radius-sm);
    /* Added border-radius */
    flex-shrink: 0;
}

.toc-text {
    color: var(--navy-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Article Content Layout */
.article-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Sidebar Navigation */
.sidebar {
    position: sticky;
    top: 120px;
    border-left: 2px solid var(--gray-light);
    padding-left: var(--spacing-lg);
}

.sidebar-sticky {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
}

.progress-indicator {
    height: 4px;
    background: var(--gray-medium);
    border-radius: 2px;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--orange-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-md);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* Custom scrollbar for entire sidebar */
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: var(--gray-light);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: var(--orange-primary);
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: var(--orange-accent);
}

/* Firefox scrollbar */
.sidebar-sticky {
    scrollbar-width: thin;
    scrollbar-color: var(--orange-primary) var(--gray-light);
}

.sidebar-link {
    display: block;
    padding: var(--spacing-sm);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--navy-dark);
    background: rgba(255, 215, 0, 0.08);
    border-left-color: var(--orange-accent);
    padding-left: calc(var(--spacing-sm) + 5px);
}

.cta-box {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--navy-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.cta-box h4 {
    color: var(--orange-primary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}

/* Article Content */
.article {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
}

.content-section {
    margin-bottom: var(--spacing-2xl);
    scroll-margin-top: 100px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--orange-accent);
    display: inline-block;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-text strong {
    color: var(--navy-dark);
    font-weight: 600;
}

/* Highlight Boxes */
.key-point {
    padding: var(--spacing-lg);
    background: rgba(255, 215, 0, 0.06);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange-accent);
    transition: all var(--transition-base);
    margin: var(--spacing-lg) 0;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.highlight-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Principles/Benefits Grid */
.principles-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.principle-card,
.benefit-card {
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.principle-card:hover,
.benefit-card:hover {
    border-color: var(--orange-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.principle-icon,
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

/* Override for SVG icon containers */
.principle-icon.icon-container,
.benefit-icon.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: rgba(255, 215, 0, 0.08);
    /* Changed from gradient to solid */
    border: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-icon.icon-container .svg-icon,
.benefit-icon.icon-container .svg-icon {
    width: 40px;
    height: 40px;
    stroke: var(--orange-accent);
    fill: none;
}

.principle-card:hover .principle-icon.icon-container,
.benefit-card:hover .benefit-icon.icon-container {
    background: rgba(255, 215, 0, 0.12);
    /* Changed from gradient to solid */
    border-color: var(--orange-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.principle-card:hover .svg-icon,
.benefit-card:hover .svg-icon {
    stroke: var(--orange-primary);
}

.principle-card h3,
.benefit-card h4 {
    color: var(--navy-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.principle-card p,
.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.benefit-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-accent);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--navy-dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.benefit-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Process Diagram */
.process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--orange-accent);
    border-radius: var(--radius-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.process-step h4 {
    color: var(--navy-dark);
    margin-bottom: var(--spacing-xs);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--orange-accent);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--spacing-xl) - 6px);
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--orange-accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--orange-accent);
}

.timeline-content {
    padding: var(--spacing-lg);
    background: var(--gray-light);
    border-radius: var(--radius-md);
}

.timeline-content h4 {
    color: var(--navy-dark);
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Info Banner */
.info-banner {
    padding: var(--spacing-lg);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.info-banner p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.info-banner strong {
    color: var(--orange-primary);
}

/* Article CTA Section */
.article-cta {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: var(--navy-dark);
    /* Changed from gradient to solid */
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-dark);
}

/* WhatsApp Button Style */
.btn-whatsapp {
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: var(--white);
}

/* Responsive for Article Pages */
@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .article-hero-title {
        font-size: 2.2rem;
    }

    .article {
        padding: var(--spacing-lg);
    }

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

    .process-diagram {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   PREMIUM ICON STYLES
   ============================================ */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all var(--transition-base);
}

.icon-lg {
    width: 48px;
    height: 48px;
}

.icon-xl {
    width: 64px;
    height: 64px;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255, 215, 0, 0.08);
    transition: all var(--transition-base);
}

.icon-container:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

/* SVG Icon Styles */
.svg-icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: all var(--transition-base);
}

.icon-primary {
    color: var(--orange-accent);
}

.icon-secondary {
    color: var(--navy-medium);
}

.icon-white {
    color: var(--white);
}

/* Icon Animations */
@keyframes iconFloat {

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

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

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-rotate:hover {
    animation: iconRotate 0.6s ease-in-out;
}

/* ============================================
   PREMIUM ENHANCEMENTS
   ============================================ */

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth Hover Lift */
.hover-lift {
    transition: all var(--transition-base);
}

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

/* Gradient Text */
.gradient-text-premium {
    color: var(--orange-primary);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Premium Button Styles */
.btn-premium {
    position: relative;
    overflow: hidden;
    background: var(--orange-primary);
    /* Changed from gradient to solid */
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

/* Skeleton Loading */
.skeleton {
    background: #f0f0f0;
    /* Changed from gradient to solid */
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
*:focus-visible {
    outline: 3px solid var(--orange-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Premium Card Hover */
.premium-card {
    position: relative;
    transition: all var(--transition-base);
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.04);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    border-radius: inherit;
}

.premium-card:hover::after {
    opacity: 1;
}

/* Text Selection */
::selection {
    background: var(--orange-accent);
    color: var(--navy-dark);
}

::-moz-selection {
    background: var(--orange-accent);
    color: var(--navy-dark);
}