/* ============================================
   eziLINQ Modern Landing Page - Design System
   ============================================ */

/* ----- CSS Custom Properties (Theme Variables) ----- */
:root {
    /* Brand Colors */
    --brand-primary: #c1272d;
    --brand-dark: #9a1f24;
    --brand-light: #e8363d;
    --brand-glow: rgba(193, 39, 45, 0.3);

    /* Dark Palette (Black-based shades) */
    --charcoal: #1a1a1a;
    --charcoal-light: #252525;
    --slate: #121212;
    --navy-deep: #0a0a0a;
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #121212 50%, #0a0a0a 100%);

    /* Light Palette (Instead of pure white) */
    --warm-cream: #faf6f1;
    --soft-rose: #fff5f5;
    --off-white: #f8f9fa;
    --stone-gray: #e2dedb;
    --muted-text: #6b7280;

    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-light: #f8f9fa;
    --text-muted: #9ca3af;
    --text-body: #4b5563;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --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;
    --text-7xl: 4.5rem;

    /* Ticker */
    --ticker-speed: 40s;



    /* ----- Reset & Base Styles ----- */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

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

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-Index */
    --z-dropdown: 100;
    --z-header: 200;
    --z-overlay: 300;
    --z-modal: 400;
}

/* ----- Logo Ticker ----- */
.logo-ticker-container {
    overflow: hidden;
    padding: var(--space-md) 0;
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

.logo-ticker-container::before,
.logo-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, var(--warm-cream) 0%, transparent 100%);
}

.logo-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, var(--warm-cream) 0%, transparent 100%);
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll var(--ticker-speed) linear infinite;
    will-change: transform;
    gap: 4rem;
    align-items: center;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.logo-ticker-item {
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--warm-cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, var(--text-7xl));
}

h2 {
    font-size: clamp(2rem, 4vw, var(--text-5xl));
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--text-3xl));
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--space-md);
}

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

.text-light {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted);
}

/* ----- Layout Utilities ----- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-lg {
    max-width: 1440px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Text Alignment */
.text-center {
    text-align: center;
}

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

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

/* ----- Components ----- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--charcoal);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: var(--text-light);
}

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

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* Cards */
.card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.card-glass {
    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);
}

.card-dark {
    background: var(--charcoal-light);
    color: var(--text-light);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.badge-brand {
    background: rgba(193, 39, 45, 0.1);
    color: var(--brand-primary);
}

.badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* Icons */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--soft-rose);
    color: var(--brand-primary);
    font-size: var(--text-2xl);
    transition: all var(--transition-base);
}

.icon-box-sm {
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    font-size: var(--text-3xl);
}

/* Section Titles */
.section-header {
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.section-header .subtitle {
    display: inline-block;
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-primary);
}

.section-header h2 {
    margin-bottom: var(--space-lg);
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.title-accent {
    position: relative;
    display: inline-block;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: var(--radius-full);
}

.title-accent-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ----- Header Styles ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: var(--space-md) 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-light);
    opacity: 0.9;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    opacity: 1;
    color: var(--brand-primary);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: all var(--transition-base);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--charcoal);
    padding: var(--space-4xl) var(--space-xl);
    transition: right var(--transition-smooth);
    z-index: var(--z-modal);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ----- Hero Section ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(193, 39, 45, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(18, 18, 18, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: 100px;
}

.hero-text {
    color: var(--text-light);
}

.hero-badge {
    margin-bottom: var(--space-xl);
}

.hero-title {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--brand-primary);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: var(--radius-xl);
    opacity: 0.6;
}

.hero-shape-1 {
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: var(--brand-primary);
    animation: pulse 3s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: 20%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: var(--navy-deep);
    animation: pulse 4s ease-in-out infinite 1s;
}

.hero-shape-3 {
    top: 30%;
    left: 15%;
    width: 20px;
    height: 20px;
    background: var(--brand-light);
    border-radius: var(--radius-full);
    animation: pulse 2.5s ease-in-out infinite 0.5s;
}

@keyframes pulse {

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

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

/* ----- Features Section ----- */
.features-section {
    background: var(--warm-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(193, 39, 45, 0.1);
}

.feature-card .icon-box {
    margin: 0 auto var(--space-xl);
}

.feature-card:hover .icon-box {
    background: var(--brand-primary);
    color: var(--text-light);
    transform: scale(1.1);
}

.feature-card h3,
.feature-card h4 {
    margin-bottom: var(--space-md);
}

.feature-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ----- About Section ----- */
.about-section {
    background: var(--off-white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-content h2 {
    margin-bottom: var(--space-xl);
}

.about-content .lead {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.about-content p {
    color: var(--text-body);
    margin-bottom: var(--space-xl);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--brand-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

/* ----- Process Section (How It Works) ----- */
.process-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.process-section .section-header h2,
.process-section .section-header p {
    color: var(--text-light);
}

.process-section .section-header .subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.process-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.process-card h3,
.process-card h4 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.process-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ----- Stats Section ----- */
.stats-section {
    background: var(--slate);
    color: var(--text-light);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-light), var(--brand-primary));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
}

.stat-icon {
    font-size: var(--text-3xl);
    color: var(--brand-primary);
    margin-bottom: var(--space-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ----- Features Grid Section ----- */
.features-grid-section {
    background: var(--warm-cream);
    overflow: hidden;
}

.features-large-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-box {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--stone-gray);
}

.feature-box:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.feature-box .icon {
    font-size: var(--text-3xl);
    color: var(--brand-primary);
    margin-bottom: var(--space-md);
}

.feature-box h3,
.feature-box h6 {
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.feature-box p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ----- CTA Section ----- */
.cta-section {
    background: var(--charcoal);
    color: var(--text-light);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.cta-content p {
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
}

/* ----- Footer ----- */
.footer {
    background: linear-gradient(180deg, var(--charcoal) 0%, #0a0a0a 100%);
    color: var(--text-light);
    padding-top: var(--space-5xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-4xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: var(--text-muted);
    margin: var(--space-lg) 0;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-light);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xl);
    color: var(--text-light);
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-primary);
    padding-left: var(--space-sm);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-contact li i {
    color: var(--brand-primary);
    margin-top: 3px;
}

.footer-bottom {
    padding: var(--space-xl) 0;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.footer-bottom a {
    color: var(--brand-primary);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto var(--space-2xl);
    }

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

    .hero-visual {
        margin-top: var(--space-3xl);
    }

    .features-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

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

    .about-image {
        order: -1;
    }

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

    .features-large-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-cta .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

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

    .features-grid,
    .process-grid,
    .stats-grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .features-large-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: var(--space-lg) auto;
    }

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

@media (max-width: 480px) {
    .features-large-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* ----- Animations ----- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Counter Animation */
.counter-animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-image {
    width: auto;
    height: 80px;
    object-fit: contain;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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


/* ============================================
   Page Hero Section (Inner Pages)
   ============================================ */

/* Page Hero - Dark gradient background for inner pages */
.page-hero {
    position: relative;
    padding: calc(100px + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--dark-gradient);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(193, 39, 45, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(18, 18, 18, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

/* Page Hero Content Container */
.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Page Hero Title */
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.page-hero-title .highlight {
    color: var(--brand-primary);
}

/* Page Hero Subtitle */
.page-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Page Hero Meta (for dates, categories, etc.) */
.page-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.page-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.page-hero-meta i {
    color: var(--brand-primary);
}

/* ============================================
   Breadcrumb Navigation
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-size: var(--text-sm);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.breadcrumb-item.active {
    color: var(--text-light);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
    margin: 0 var(--space-xs);
}

.breadcrumb-separator i {
    font-size: var(--text-xs);
}

/* ============================================
   Page Hero Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .page-hero {
        padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl);
    }

    .page-hero-title {
        font-size: clamp(1.75rem, 5vw, var(--text-4xl));
    }

    .page-hero-subtitle {
        font-size: var(--text-base);
    }

    .page-hero-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .breadcrumb {
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: calc(60px + var(--space-xl)) 0 var(--space-xl);
    }

    .page-hero-content {
        padding: 0 var(--space-sm);
    }
}


/* ============================================
   Contact Page Styles
   ============================================ */

/* Contact Section Layout */
.contact-section {
    background: var(--warm-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-4xl);
    align-items: start;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--brand-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-dark);
    background: var(--warm-cream);
    border: 2px solid var(--stone-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-primary);
    background: var(--off-white);
    box-shadow: 0 0 0 4px rgba(193, 39, 45, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Validation Styles */
.form-input.is-invalid,
.form-textarea.is-invalid {
    border-color: var(--brand-primary);
    background: var(--soft-rose);
}

.form-error {
    font-size: var(--text-xs);
    color: var(--brand-primary);
    margin-top: var(--space-xs);
}

/* Form Submit Button */
.form-submit {
    margin-top: var(--space-md);
}

.form-submit .btn {
    width: 100%;
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    font-size: var(--text-sm);
    font-weight: 500;
}

.alert i {
    font-size: var(--text-xl);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(193, 39, 45, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(193, 39, 45, 0.3);
}

/* Contact Info Card */
.contact-info-wrapper {
    position: sticky;
    top: 120px;
}

.contact-info-card {
    background: var(--charcoal);
    color: var(--text-light);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-2xl);
}

.contact-info-card h3 {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.contact-info-intro {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-info-item .icon-box {
    background: rgba(193, 39, 45, 0.2);
    color: var(--brand-primary);
    flex-shrink: 0;
}

.contact-info-content h6 {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.contact-info-content a,
.contact-info-content span {
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.contact-info-content a:hover {
    color: var(--brand-primary);
}

/* Contact Social Links */
.contact-social {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social h6 {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.contact-social .social-links {
    display: flex;
    gap: var(--space-md);
}

.contact-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.contact-social .social-links a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
}

/* ============================================
   Contact Page Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-info-wrapper {
        position: static;
    }

    .contact-form-wrapper,
    .contact-info-card {
        padding: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper,
    .contact-info-card {
        padding: var(--space-xl);
        border-radius: var(--radius-xl);
    }

    .contact-info-list {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper,
    .contact-info-card {
        padding: var(--space-lg);
    }

    .form-input,
    .form-textarea {
        padding: var(--space-md);
    }

    .contact-social .social-links a {
        width: 40px;
        height: 40px;
    }
}


/* ============================================
   Privacy Policy Page Styles
   ============================================ */

/* Privacy Section Layout */
.privacy-section {
    background: var(--warm-cream);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Table of Contents Sidebar */
.toc {
    position: sticky;
    top: 120px;
}

.toc-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--stone-gray);
}

.toc-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--brand-primary);
}

.toc-title i {
    color: var(--brand-primary);
}

.toc-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.toc-nav a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-body);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.toc-nav a:hover {
    background: var(--soft-rose);
    color: var(--brand-primary);
    border-left-color: var(--brand-primary);
}

.toc-nav a.active {
    background: var(--soft-rose);
    color: var(--brand-primary);
    border-left-color: var(--brand-primary);
    font-weight: 600;
}

/* Privacy Content Area */
.privacy-content {
    background: var(--off-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

/* Privacy Articles */
.privacy-article {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--stone-gray);
}

.privacy-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-article h2 {
    font-size: var(--text-2xl);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--brand-primary);
    display: inline-block;
}

.privacy-article h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.privacy-article h4 {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.privacy-article p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.privacy-article p:last-child {
    margin-bottom: 0;
}

.privacy-article a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-article a:hover {
    color: var(--brand-dark);
}

/* Privacy List Styles */
.privacy-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.privacy-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--warm-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.privacy-list li:hover {
    background: var(--soft-rose);
}

.privacy-list li i {
    color: var(--brand-primary);
    font-size: var(--text-base);
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-list li span {
    color: var(--text-body);
    line-height: 1.6;
}

.privacy-list li strong {
    color: var(--text-dark);
}

/* Privacy Highlight Box */
.privacy-highlight {
    background: var(--warm-cream);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--brand-primary);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.highlight-item i {
    color: var(--brand-primary);
    font-size: var(--text-2xl);
    flex-shrink: 0;
    margin-top: 4px;
}

.highlight-item p {
    margin-bottom: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.rights-card {
    background: var(--warm-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.rights-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.rights-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--soft-rose);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
    color: var(--brand-primary);
    font-size: var(--text-xl);
}

.rights-card:hover .rights-icon {
    background: var(--brand-primary);
    color: var(--text-light);
}

.rights-card h4 {
    font-size: var(--text-base);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.rights-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Privacy Note */
.privacy-note {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(193, 39, 45, 0.08);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    color: var(--text-body);
    margin-top: var(--space-lg);
}

.privacy-note i {
    color: var(--brand-primary);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

/* Contact Box */
.contact-box {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    background: var(--charcoal);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-top: var(--space-lg);
}

.contact-box-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.contact-box-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(193, 39, 45, 0.2);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.contact-box-item div {
    display: flex;
    flex-direction: column;
}

.contact-box-item strong {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
}

.contact-box-item span,
.contact-box-item a {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.contact-box-item a:hover {
    color: var(--brand-primary);
}

/* ============================================
   Privacy Policy Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .privacy-layout {
        grid-template-columns: 240px 1fr;
        gap: var(--space-2xl);
    }

    .privacy-content {
        padding: var(--space-2xl);
    }

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

@media (max-width: 768px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        order: 2;
    }

    .toc-card {
        padding: var(--space-lg);
    }

    .toc-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }

    .toc-nav a {
        padding: var(--space-sm);
        font-size: var(--text-xs);
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .toc-nav a:hover,
    .toc-nav a.active {
        border-left: none;
        border-bottom-color: var(--brand-primary);
    }

    .privacy-content {
        padding: var(--space-xl);
        border-radius: var(--radius-xl);
        order: 1;
    }

    .privacy-article {
        margin-bottom: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .privacy-article h2 {
        font-size: var(--text-xl);
    }

    .rights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .rights-card {
        padding: var(--space-lg);
    }

    .highlight-item {
        flex-direction: column;
        gap: var(--space-md);
    }

    .highlight-item i {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: var(--space-lg);
    }

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

    .toc-nav a {
        text-align: left;
        border-left: 3px solid transparent;
        border-bottom: none;
    }

    .toc-nav a:hover,
    .toc-nav a.active {
        border-left-color: var(--brand-primary);
        border-bottom: none;
    }

    .privacy-list li {
        padding: var(--space-sm);
    }

    .contact-box {
        padding: var(--space-lg);
    }

    .contact-box-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}


/* ============================================
   Blog Listing Page Styles
   ============================================ */

/* Blog Section */
.blogs-section {
    background: var(--warm-cream);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* Blog Card */
.blog-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

/* Blog Card Image */
.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

/* Blog Card Content */
.blog-card-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Blog Card Meta */
.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.blog-card-meta time,
.blog-card-meta .blog-card-category {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-card-meta i {
    color: var(--brand-primary);
    font-size: var(--text-xs);
}

.blog-card-category {
    color: var(--brand-primary);
    font-weight: 500;
}

/* Blog Card Title */
.blog-card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

.blog-card-title a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

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

/* Blog Card Excerpt */
.blog-card-excerpt {
    font-size: var(--text-sm);
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

/* Blog Card Link */
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-primary);
    transition: all var(--transition-fast);
    margin-top: auto;
}

.blog-card-link:hover {
    color: var(--brand-dark);
    gap: var(--space-md);
}

.blog-card-link i {
    font-size: var(--text-xs);
    transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* ============================================
   Pagination Styles
   ============================================ */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-4xl);
}

.pagination {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 var(--space-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-body);
    background: var(--off-white);
    border: 2px solid var(--stone-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.pagination-link:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: var(--soft-rose);
}

.pagination-item.active .pagination-link {
    color: var(--text-light);
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.pagination-item.disabled .pagination-link {
    color: var(--text-muted);
    background: var(--stone-gray);
    border-color: var(--stone-gray);
    cursor: not-allowed;
    opacity: 0.5;
}

/* ============================================
   Empty State Styles
   ============================================ */

.empty-state {
    text-align: center;
    padding: vaar(--text-dark);
    margin-bottom: var(--space-md);
}

.empty-state-text {
    font-size: var(--text-base);
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto var(--space-2xl);
}

.empty-state-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ============================================
   Blog Page Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .blog-card-image {
        height: 200px;
    }

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

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-link {
        min-width: 40px;
        height: 40px;
        font-size: var(--text-xs);
    }

    .empty-state {
        padding: var(--space-3xl) var(--space-lg);
    }

    .empty-state-icon {
        width: 80px;
        height: 80px;
        font-size: var(--text-4xl);
    }

    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }

    .empty-state-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .blog-card-image {
        height: 180px;
    }

    .blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .pagination-wrapper {
        margin-top: var(--space-2xl);
    }
}


/* ============================================
   Blog View Page Styles
   ============================================ */

/* Blog View Section */
.blog-view-section {
    background: var(--warm-cream);
}

/* Blog View Layout */
.blog-view-layout {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Content Wrapper */
.blog-content-wrapper {
    background: var(--off-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

/* Blog Featured Image */
.blog-featured-image {
    margin: calc(-1 * var(--space-3xl));
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Blog Intro */
.blog-intro {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--stone-gray);
}

.blog-intro .lead {
    font-size: var(--text-xl);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 0;
}

/* Blog Content - CKEditor Styling */
.blog-content {
    color: var(--text-body);
    line-height: 1.8;
    font-size: var(--text-base);
}

.blog-content h2 {
    font-size: var(--text-2xl);
    color: var(--text-dark);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}

.blog-content h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.blog-content h4 {
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.blog-content p {
    margin-bottom: var(--space-lg);
}

.blog-content a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.blog-content a:hover {
    color: var(--brand-dark);
}

.blog-content ul,
.blog-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.blog-content blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-xl);
    background: var(--warm-cream);
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-dark);
}

.blog-content blockquote p:last-child {
    margin-bottom: 0;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
}

.blog-content pre {
    background: var(--charcoal);
    color: var(--text-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--space-xl) 0;
    font-size: var(--text-sm);
}

.blog-content code {
    background: var(--warm-cream);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--brand-primary);
}

.blog-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.blog-content th,
.blog-content td {
    padding: var(--space-md);
    border: 1px solid var(--stone-gray);
    text-align: left;
}

.blog-content th {
    background: var(--warm-cream);
    font-weight: 600;
    color: var(--text-dark);
}

.blog-content figure {
    margin: var(--space-xl) 0;
}

.blog-content figcaption {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ============================================
   Social Share Styles
   ============================================ */

.social-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--stone-gray);
}

.social-share-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-dark);
}

.social-share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-share-btn.facebook {
    background: #1877f2;
}

.social-share-btn.facebook:hover {
    background: #166fe5;
}

.social-share-btn.twitter {
    background: #1da1f2;
}

.social-share-btn.twitter:hover {
    background: #1a91da;
}

.social-share-btn.linkedin {
    background: #0a66c2;
}

.social-share-btn.linkedin:hover {
    background: #095196;
}

.social-share-btn.whatsapp {
    background: #25d366;
}

.social-share-btn.whatsapp:hover {
    background: #22c55e;
}

/* ============================================
   Related Posts Section Styles
   ============================================ */

.related-posts-section {
    background: var(--off-white);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* ============================================
   Blog View Responsive Styles
   ============================================ */

@media (max-width: 1024px) {
    .blog-content-wrapper {
        padding: var(--space-2xl);
    }

    .blog-featured-image {
        margin: calc(-1 * var(--space-2xl));
        margin-bottom: var(--space-xl);
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .blog-content-wrapper {
        padding: var(--space-xl);
        border-radius: var(--radius-xl);
    }

    .blog-featured-image {
        margin: calc(-1 * var(--space-xl));
        margin-bottom: var(--space-lg);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .blog-featured-image img {
        max-height: 350px;
    }

    .blog-intro .lead {
        font-size: var(--text-lg);
    }

    .blog-content h2 {
        font-size: var(--text-xl);
    }

    .blog-content h3 {
        font-size: var(--text-lg);
    }

    .social-share {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .blog-content-wrapper {
        padding: var(--space-lg);
    }

    .blog-featured-image {
        margin: calc(-1 * var(--space-lg));
        margin-bottom: var(--space-md);
    }

    .blog-featured-image img {
        max-height: 250px;
    }

    .social-share-btn {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
}
