/* Global Styles */
:root {
    --primary-color: #B8859B;
    --primary-dark: #9A6B7F;
    --primary-light: #E8D5E8;
    --primary-lighter: #F5EDF5;
    --accent-color: #D4A5C3;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --background-secondary: #fbfbfd;
    --background-gradient: linear-gradient(135deg, #ffffff 0%, #faf8fb 100%);
    --border-color: #e8e8ed;
    --shadow-sm: 0 2px 12px rgba(184, 133, 155, 0.08);
    --shadow-md: 0 8px 24px rgba(184, 133, 155, 0.12);
    --shadow-lg: 0 16px 48px rgba(184, 133, 155, 0.16);
    --shadow-hover: 0 12px 32px rgba(184, 133, 155, 0.18);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Container Fix */
.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Selection */
::selection {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

::-moz-selection {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
    border: 2px solid var(--background-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* Focus Visible - Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Navigation */
.navbar {
    padding: 1.25rem 0;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    width: 100%;
    overflow: hidden;
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-light) 20%, 
        var(--primary-color) 50%, 
        var(--primary-light) 80%, 
        transparent 100%);
    opacity: 0.5;
}

.brand-name {
    font-size: 1.625rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.625rem 1.25rem !important;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

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

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdfbfd 0%, #f8f4f8 50%, #f5eff5 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 213, 232, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 195, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.min-vh-75 {
    min-height: 75vh;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 100%;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    border-radius: 24px;
    transform: rotate(-3deg);
    box-shadow: var(--shadow-lg);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
}

/* Buttons */
.btn-custom {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-custom:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 133, 155, 0.4);
}

.btn-custom:hover::before {
    opacity: 1;
}

.btn-custom span {
    position: relative;
    z-index: 1;
}

.btn-custom-outline {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 14px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.15);
}

.btn-custom-outline:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 133, 155, 0.3);
}

/* Sections */
.services-section,
.blog-preview-section,
.blog-section,
.content-section,
.info-section,
.values-section,
.contact-section {
    padding: 6rem 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.services-section {
    background: linear-gradient(180deg, #ffffff 0%, #fdfbfd 50%, #ffffff 100%);
}

.blog-preview-section {
    background: linear-gradient(180deg, #fdfbfd 0%, #ffffff 100%);
}

.values-section {
    background: linear-gradient(180deg, #ffffff 0%, #fdfbfd 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Service Cards */
.service-card {
    padding: 3rem;
    background: white;
    border-radius: 24px;
    border: 2px solid transparent;
    background-clip: padding-box;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 50%, var(--primary-light) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-8px);
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
}

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

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.75rem;
    display: inline-block;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.1);
    border: 2px solid transparent;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Featured Post Section */
.featured-post-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fdfbfd 0%, #ffffff 100%);
}

.featured-post {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.1), 
                0 2px 8px rgba(184, 133, 155, 0.06);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.featured-post::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.featured-post:hover {
    box-shadow: 0 16px 48px rgba(184, 133, 155, 0.18), 
                0 4px 16px rgba(184, 133, 155, 0.12);
    transform: translateY(-4px);
}

.featured-post:hover::before {
    opacity: 1;
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.3);
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.featured-post:hover .featured-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 133, 155, 0.4);
}

.featured-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-icon {
    font-size: 6rem;
    opacity: 0.6;
}

.featured-post-content {
    padding: 3.5rem;
}

.featured-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: var(--text-primary);
}

.featured-post-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.featured-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    position: relative;
}

.featured-post-meta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 4rem 0 6rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Modern Blog Cards */
.blog-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100%;
    position: relative;
}

.blog-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card-modern:hover {
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.blog-card-modern:hover::before {
    opacity: 1;
}

.blog-card-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.blog-category-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.blog-card-modern:hover .blog-category-badge {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.blog-card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card-modern:hover .blog-card-title-modern {
    color: var(--primary-color);
}

.blog-card-excerpt-modern {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: auto;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    position: relative;
}

.blog-card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    border-radius: 1px;
}

.blog-meta-modern {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.blog-link-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    color: var(--primary-dark);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.1);
    border: 2px solid transparent;
}

.blog-card-modern:hover .blog-link-arrow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(4px) scale(1.1);
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    width: 48px;
    height: 48px;
    border: 2px solid transparent;
    background: white;
    border-radius: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06);
    position: relative;
}

.pagination-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-lighter);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 133, 155, 0.15);
}

.pagination-btn:hover::before {
    opacity: 1;
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.3);
}

.pagination-btn.active::before {
    opacity: 0;
}

/* Search Card */
.search-card {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
}

.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    font-size: 1rem;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(184, 133, 155, 0.12),
                0 2px 8px rgba(184, 133, 155, 0.08);
    transform: translateY(-1px);
}

.search-input:hover:not(:focus) {
    border-color: rgba(184, 133, 155, 0.4);
}

.search-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 14px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.2);
}

.search-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 133, 155, 0.35);
}

.search-btn:active {
    transform: translateY(0) scale(1);
}

/* Category List Modern */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-weight: 500;
}

.category-item:hover {
    background: var(--primary-lighter);
    color: var(--primary-color);
    transform: translateX(4px);
}

.category-name {
    flex: 1;
}

.category-count {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--background-secondary) 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    color: var(--primary-dark);
}

/* Popular Posts Modern */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.popular-post-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--background-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.popular-post-item:hover {
    background: var(--primary-lighter);
    transform: translateX(4px);
}

.popular-post-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.2);
    transition: all 0.3s ease;
}

.popular-post-item:hover .popular-post-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(184, 133, 155, 0.3);
}

.popular-post-info {
    flex: 1;
}

.popular-post-item .popular-post-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.popular-post-item .popular-post-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.newsletter-card .sidebar-title {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.newsletter-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    padding: 0.875rem 1.25rem;
    background: white;
    color: var(--primary-dark);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Old Blog Cards - Keep for compatibility */
.blog-card {
    background: white;
    border-radius: 24px;
    border: 2px solid transparent;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-6px);
}

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

.blog-card-body {
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
}

.blog-card-large .blog-card-body {
    padding: 3rem;
}

.blog-category {
    display: inline-block;
    padding: 0.5rem 1.125rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    color: var(--primary-dark);
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category,
.featured-post:hover .blog-category {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(184, 133, 155, 0.25);
}

.blog-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1.125rem;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.blog-card-title-large {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.6px;
    line-height: 1.25;
}

.blog-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    max-width: 100%;
    position: relative;
}

.blog-card-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    border-radius: 1px;
}

.blog-date,
.blog-read-time {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.blog-date::before {
    content: '📅 ';
    margin-right: 0.25rem;
}

.blog-read-time::before {
    content: '⏱️ ';
    margin-right: 0.25rem;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-left: auto;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Page Header */
.page-header {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #fdfbfd 0%, #f8f4f8 50%, #f5eff5 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 213, 232, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 195, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.375rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* About Page */
/* About Image Container */
.about-image-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    padding: 2rem;
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.02);
}

.content-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.8px;
}

.content-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Info Cards */
.info-card {
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    height: 100%;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.info-card:hover {
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    transform: translateY(-4px);
}

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

.info-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    position: relative;
    letter-spacing: -0.5px;
}

.info-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.info-card:hover .info-card-title::after {
    width: 100px;
}

.info-item {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.info-item:hover {
    padding-left: 2.5rem;
}

.info-item:hover::before {
    width: 6px;
    box-shadow: 0 0 12px rgba(184, 133, 155, 0.4);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    letter-spacing: -0.3px;
}

.info-item-subtitle {
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    font-size: 1rem;
}

.info-item-date {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    position: relative;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    border-color: var(--primary-light);
}

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

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.1);
    border: 2px solid transparent;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    letter-spacing: -0.3px;
}

.value-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 50%, #f8f4f8 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    max-width: 100%;
}

.sidebar-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 50%, var(--primary-light) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sidebar-card:hover {
    box-shadow: 0 8px 24px rgba(184, 133, 155, 0.12), 
                0 2px 8px rgba(184, 133, 155, 0.08);
    transform: translateY(-2px);
}

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

.sidebar-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.4px;
    padding-bottom: 1rem;
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.sidebar-card:hover .sidebar-title::after {
    width: 80px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-list a:hover {
    color: var(--primary-color);
    background-color: var(--primary-lighter);
    transform: translateX(4px);
}

.category-list span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.125rem 0.625rem;
    background-color: var(--background-secondary);
    border-radius: 12px;
}

.popular-post {
    padding: 1.25rem 0;
    padding-left: 0.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
}

.popular-post:hover {
    padding-left: 1rem;
}

.popular-post:last-child::after {
    display: none;
}

.popular-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

.popular-post-title a {
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: var(--primary-color);
}

.popular-post-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Article Page */
.article-page {
    padding: 4rem 0;
}

.article-header {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 30%, transparent 100%);
    border-radius: 2px;
}

.article-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 100%;
}

.article-author {
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2.5rem;
    position: relative;
}

.article-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, transparent 100%);
    border-radius: 2px;
}

.article-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.tag {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    font-size: 0.9375rem;
    color: var(--primary-dark);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.1);
    border: 2px solid transparent;
    position: relative;
}

.tag::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 133, 155, 0.2);
}

.tag:hover::before {
    opacity: 1;
}

.article-cta {
    margin-top: 4rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 50%, #f8f4f8 100%);
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
}

.article-cta h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.8px;
    position: relative;
    z-index: 1;
}

.article-cta p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.related-posts {
    margin-top: 5rem;
    padding-top: 3rem;
    position: relative;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, transparent 100%);
    border-radius: 2px;
}

.related-posts-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: -0.7px;
}

/* Contact Page */
.contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    padding: 3rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info-card:hover {
    box-shadow: 0 12px 40px rgba(184, 133, 155, 0.15), 
                0 4px 12px rgba(184, 133, 155, 0.1);
    transform: translateY(-4px);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.contact-info-item {
    display: flex;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
    padding-left: 0.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    border-radius: 1px;
}

.contact-info-item:hover {
    padding-left: 1rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item:last-child::after {
    display: none;
}

.contact-info-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 16px rgba(184, 133, 155, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-info-label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    letter-spacing: -0.2px;
}

.contact-info-value {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfbfd 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(184, 133, 155, 0.06), 
                0 1px 3px rgba(184, 133, 155, 0.04);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form-card:hover::before {
    opacity: 1;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.form-control-custom {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    position: relative;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(184, 133, 155, 0.12),
                0 2px 8px rgba(184, 133, 155, 0.08);
    background-color: white;
    outline: none;
}

.form-control-custom:hover:not(:focus) {
    border-color: var(--primary-light);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #fdfbfd 0%, #f8f4f8 100%);
    padding: 5rem 0 2.5rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 25%, 
        var(--primary-light) 50%, 
        var(--accent-color) 75%, 
        var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: gradientMove 8s ease infinite;
}

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

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2.5rem;
    position: relative;
    text-align: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
    border-radius: 1px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .page-title {
        font-size: 2.75rem;
        word-wrap: break-word;
    }

    .article-title {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .sidebar {
        position: static;
        margin-top: 4rem;
    }

    .service-card,
    .info-card {
        padding: 2.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .hero-image-container,
    .about-image-container {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -0.8px;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        word-wrap: break-word;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .page-title {
        font-size: 2.25rem;
        word-wrap: break-word;
    }

    .article-title {
        font-size: 2rem;
        letter-spacing: -0.8px;
        word-wrap: break-word;
    }

    .services-section,
    .blog-preview-section,
    .blog-section,
    .content-section,
    .info-section,
    .values-section,
    .contact-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .cta-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .service-card,
    .blog-card-body,
    .info-card,
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }

    .value-card {
        padding: 1.75rem;
    }

    .article-cta {
        padding: 2.5rem 1.75rem;
    }

    .article-cta h3 {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .content-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .blog-card-title-large {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .related-posts-title {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .navbar {
        padding: 1rem 0;
    }

    /* Prevent horizontal scroll */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.875rem;
        word-wrap: break-word;
    }

    .section-title {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .page-title {
        font-size: 1.875rem;
        word-wrap: break-word;
    }

    .article-title {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .btn-custom,
    .btn-custom-outline {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        width: 100%;
    }

    .service-icon,
    .value-icon {
        font-size: 2.75rem;
    }

    .contact-info-icon {
        font-size: 1.75rem;
        width: 50px;
        height: 50px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .service-card,
    .blog-card-body,
    .info-card,
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(184, 133, 155, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(8px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(184, 133, 155, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.scroll-to-top:hover::before {
    opacity: 0.6;
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(184, 133, 155, 0.2);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: -0.2px;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Enhanced Hover States */
.service-card,
.blog-card,
.value-card,
.info-card {
    will-change: transform;
}

/* Micro-interactions */
.service-card .service-title,
.blog-card .blog-card-title {
    transition: color 0.3s ease;
}

.service-card:hover .service-title,
.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

/* Icon Pulse Effect */
@keyframes iconPulse {

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

    50% {
        transform: scale(1.05);
    }
}

.service-icon,
.value-icon {
    animation: iconPulse 3s ease-in-out infinite;
}

.service-card:hover .service-icon,
.value-card:hover .value-icon {
    animation: none;
}

/* Gradient Text Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

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

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

.hero-subtitle,
.brand-name {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Shimmer Effect on Hover */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.btn-custom::after {
    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 ease;
}

.btn-custom:hover::after {
    left: 100%;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Improved Button States */
.btn-custom,
.btn-custom-outline {
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.btn-custom:active,
.btn-custom-outline:active {
    transform: scale(0.98);
}

/* Enhanced Form Inputs */
.form-control-custom::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.form-control-custom:focus::placeholder {
    opacity: 0.4;
}

.form-control-custom:hover {
    border-color: var(--primary-light);
}

.form-control-custom:valid {
    border-color: #4CAF50;
}

.form-control-custom:invalid:not(:placeholder-shown) {
    border-color: #f44336;
}

/* Form Label Animation */
.form-label {
    transition: all 0.3s ease;
}

.form-control-custom:focus+.form-label,
.form-control-custom:not(:placeholder-shown)+.form-label {
    color: var(--primary-color);
}

/* Success Message */
@keyframes successPulse {

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

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

.success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    animation: successPulse 0.5s ease-out;
}

/* Improved Link Hover */
a:not(.btn):hover {
    transition: color 0.3s ease;
}

/* Premium Badge Effect */
.blog-category {
    position: relative;
    overflow: hidden;
}

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

.blog-card:hover .blog-category::before {
    left: 100%;
}

/* Floating Animation */
@keyframes float {

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

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

/* Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

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

.btn-custom,
.btn-custom-outline {
    position: relative;
    overflow: hidden;
}

.btn-custom::after,
.btn-custom-outline::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.btn-custom:active::after,
.btn-custom-outline:active::after {
    animation: ripple 0.6s ease-out;
}

/* Text Reveal Animation */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-title,
.hero-subtitle,
.hero-description {
    animation: textReveal 0.8s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-description {
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-buttons {
    animation: textReveal 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Card Stacking Effect */
.service-card,
.blog-card,
.value-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::after,
.blog-card::after,
.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184, 133, 155, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.service-card:hover::after,
.blog-card:hover::after,
.value-card:hover::after {
    opacity: 1;
}

/* 3D Tilt Effect on Hover */
@media (hover: hover) and (pointer: fine) {

    .service-card,
    .blog-card,
    .value-card {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    }
}

/* Glow Effect */
.service-card:hover,
.blog-card:hover,
.value-card:hover {
    box-shadow:
        var(--shadow-hover),
        0 0 40px rgba(184, 133, 155, 0.15);
}

/* Premium Border Gradient */
.info-card,
.contact-info-card,
.contact-form-card {
    position: relative;
}

.info-card::before,
.contact-info-card::before,
.contact-form-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 50%, var(--primary-light) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.info-card:hover::before,
.contact-info-card:hover::before,
.contact-form-card:hover::before {
    opacity: 1;
}

/* Navbar Enhancement */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Better Typography Hierarchy */
.hero-title,
.section-title,
.page-title,
.article-title {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Premium Underline Effect */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Blog Read More Enhancement */
.blog-read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-read-more:hover::after {
    transform: translateX(4px);
}

/* Category Badge Hover */
.category-list a {
    position: relative;
}

.category-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.category-list a:hover::before {
    height: 70%;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.stat-number {
    animation: countUp 0.8s ease-out forwards;
}

/* Image Container Enhancement */
.hero-image-container::before,
.about-image-container::before {
    transition: transform 0.6s ease;
}

.hero-image-container:hover::before,
.about-image-container:hover::before {
    transform: rotate(-6deg) scale(1.05);
}

/* Navbar Brand Hover */
.brand-name {
    transition: all 0.3s ease;
}

.navbar-brand:hover .brand-name {
    transform: scale(1.05);
    display: inline-block;
}

/* Section Header Decoration */
.section-header::after {
    transition: width 0.6s ease;
}

.section-header:hover::after {
    width: 120px;
}

/* Improved Spacing System */
.section-spacer {
    height: 6rem;
}

/* Performance Optimizations */
.service-card,
.blog-card,
.value-card,
.info-card,
.stat-card {
    contain: layout style paint;
}

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Row Fix for Overflow */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row>* {
    padding-left: 15px;
    padding-right: 15px;
}

/* Lazy Loading Placeholder */
.lazy-loading {
    background: linear-gradient(90deg, var(--background-secondary) 25%, var(--background) 50%, var(--background-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Print Styles */
@media print {

    .navbar,
    .scroll-to-top,
    .hero-buttons,
    .footer {
        display: none;
    }

    .hero-section,
    .page-header {
        background: white;
        padding: 2rem 0;
    }

    .service-card,
    .blog-card,
    .value-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --background: #1d1d1f;
        --background-secondary: #2d2d2f;
        --border-color: #424245;
    }
    */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {

    .service-card,
    .blog-card,
    .value-card {
        border-width: 2px;
    }

    .btn-custom,
    .btn-custom-outline {
        border-width: 3px;
    }
}

@media (max-width: 767px) {
    .section-spacer {
        height: 4rem;
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stat-card {
        padding: 2rem 1rem;
    }

    .hero-image-container,
    .about-image-container {
        min-height: 300px;
        padding: 1rem;
    }

    .hero-image,
    .about-image {
        max-width: 100%;
    }

    /* Reduce animations on mobile */
    .service-icon,
    .value-icon {
        animation: none;
    }
}
/
* Blog Modern Responsive */
@media (max-width: 991px) {
    .blog-card-modern {
        grid-template-columns: 200px 1fr;
    }
    
    .featured-post-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-card-modern {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image {
        min-height: 200px;
    }
    
    .blog-card-content {
        padding: 1.75rem;
    }
    
    .featured-post-section {
        padding: 3rem 0;
    }
    
    .featured-post-image {
        min-height: 250px;
    }
    
    .featured-post-content {
        padding: 2rem;
    }
    
    .featured-post-title {
        font-size: 1.75rem;
    }
    
    .featured-post-excerpt {
        font-size: 1rem;
    }
    
    .blog-grid-section {
        padding: 3rem 0 4rem;
    }
    
    .blog-grid {
        gap: 1.5rem;
    }
    
    .blog-card-title-modern {
        font-size: 1.25rem;
    }
    
    .blog-pagination {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

@media (max-width: 575px) {
    .featured-badge {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .featured-icon {
        font-size: 4rem;
    }
    
    .blog-icon {
        font-size: 3rem;
    }
    
    .featured-post-content {
        padding: 1.5rem;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .featured-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title-modern {
        font-size: 1.125rem;
    }
    
    .blog-link-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .search-input {
        padding: 0.75rem 1rem;
    }
    
    .search-btn {
        width: 40px;
        height: 40px;
    }
    
    .popular-post-item {
        padding: 1rem;
    }
    
    .popular-post-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
