/* Google Fonts loaded in base.html with preconnect for faster loading */

/* Professional Creative CSS for Trainer Portfolio */

:root {
    /* Primary Brand Colors */
    --primary-color: #57B367;
    --primary-dark: #3f8d4d;
    --primary-light: #79c885;

    /* Secondary Colors */
    --secondary-color: #64748b;
    --secondary-dark: #475569;
    --secondary-light: #94a3b8;

    /* Accent Colors */
    --accent-gold: #f59e0b;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;

    /* Status Colors */
    --success-color: #10b981;
    --info-color: #06b6d4;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    /* Neutral Colors */
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #57B367 0%, #3f8d4d 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #57B367 100%);
    --gradient-warning: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-dark: linear-gradient(135deg, #3f8d4d 0%, #2e6a3a 100%);

    /* Bootstrap link overrides */
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--primary-dark);
    --bs-link-color-rgb: 87, 179, 103;
    --bs-link-hover-color-rgb: 63, 141, 77;

    /* Override Admin/Base Fonts Variables */
    --font-family-primary: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
    --font-family-monospace: 'Courier New', monospace;
}

/* RTL Support & Typography */
/* RTL Support & Typography */
body {
    direction: rtl;
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
    line-height: 1.8;
    color: var(--gray-700);
    background-color: var(--gray-50);
    font-size: 1.05rem;
}

/* Ensure all elements inherit the font */
*,
*::before,
*::after {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif !important;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

body.portfolio-body {
    background: radial-gradient(circle at top left, rgba(87, 179, 103, 0.08), transparent 40%) no-repeat,
        radial-gradient(circle at bottom right, rgba(63, 141, 77, 0.1), transparent 45%) no-repeat,
        var(--gray-50);
    min-height: 100vh;
}

.portfolio-layout {
    display: flex;
    min-height: 100vh;
    flex-direction: row;
    position: relative;
}

.portfolio-sidebar {
    width: 320px;
    background: #03140b;
    color: #fff;
    padding: 2.5rem 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    right: -340px;
    height: 100vh;
    overflow-y: auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When sidebar is open */
body.sidebar-open .portfolio-sidebar {
    right: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100%;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-label {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    color: #fff;
}

.sidebar-meta span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(-6px);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav i {
    font-size: 1.3rem;
    opacity: 0.9;
}

.sidebar-nav small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.sidebar-contact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.contact-meta span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.sidebar-social {
    display: flex;
    gap: 0.7rem;
}

.sidebar-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.portfolio-main {
    flex: 1;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.portfolio-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.portfolio-content {
    flex: 1;
}

.sidebar-trigger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    color: var(--gray-800);
    font-weight: 600;
}

.sidebar-trigger span {
    width: 22px;
    height: 2px;
    background: var(--gray-800);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .portfolio-layout {
        flex-direction: column;
    }

    .portfolio-sidebar {
        width: 300px;
        right: -320px;
    }

    body.sidebar-open .portfolio-sidebar {
        right: 0;
    }

    .portfolio-main {
        padding: 0;
    }

    .portfolio-toolbar {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 9;
        border-bottom: 1px solid var(--gray-100);
        margin-bottom: 1rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 700;
    color: var(--gray-900);
}

/* Enhanced Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--gray-100);
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Professional Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    padding-top: 90px;
    padding-bottom: 2rem;
    z-index: 1;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-section .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Cards */
.card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: white;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.card-img-top {
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Professional Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.025em;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-success {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(87, 179, 103, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(87, 179, 103, 0.4);
    background: var(--gradient-primary);
    filter: brightness(1.05);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-700);
    border: 2px solid rgba(87, 179, 103, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-warning {
    background: var(--gradient-warning);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 15px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* Enhanced Forms */
.form-control {
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    background: white;
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* Enhanced Alerts */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

/* Enhanced Badges */
.badge {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.025em;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.badge.bg-success {
    background: var(--gradient-success) !important;
}

.badge.bg-warning {
    background: var(--gradient-warning) !important;
    color: var(--gray-900) !important;
}

/* Professional Footer */
footer {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.05)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="300" cy="300" r="200" fill="url(%23a)"/><circle cx="700" cy="700" r="150" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer a {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem;
}

footer a:hover {
    color: white !important;
    transform: translateX(5px);
}

footer h6 {
    font-size: 1rem;
    font-weight: 600;
}

footer .social-links a {
    font-size: 1rem;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Professional Spacing */
.section-padding {
    padding: 5rem 0;
    margin: 0;
}

.section-padding-sm {
    padding: 3rem 0;
    margin: 0;
}

.section-padding-lg {
    padding: 8rem 0;
    margin: 0;
}

/* Section Spacing Fix */
section {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

section.py-5 {
    padding: 3rem 0 !important;
    margin: 0;
    position: relative;
    z-index: 2;
}

section.py-5:first-of-type {
    margin-top: 100vh;
    /* Add space for fixed hero section */
}

/* Fix for main content to appear after fixed hero */
main {
    position: relative;
    z-index: 2;
}

/* Ensure content sections start after hero */
section:not(.hero-section) {
    position: relative;
    z-index: 2;
}


/* Courses Section Specific Fix */
.courses-section {
    position: relative;
    z-index: 3;
    background: var(--gray-100);
    margin-top: -2rem;
    padding-top: 5rem !important;
}

/* Ensure proper stacking context */
.hero-section+section {
    position: relative;
    z-index: 2;
    background: white;
}

/* Additional fix for overlapping sections */
.hero-section {
    position: relative;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: linear-gradient(to bottom, transparent, var(--gray-100));
    z-index: -1;
}

/* Fix for sections following hero */
section:not(.hero-section) {
    position: relative;
    z-index: 2;
    background: white;
}

.courses-section {
    background: var(--gray-100) !important;
    position: relative;
    z-index: 3;
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Course Cards */
.course-item .card {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--gray-200);
}

.course-item .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.course-item .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.course-meta {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: auto;
}

/* Product Cards */
.product-item .card {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--gray-200);
}

.product-item .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-item .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.product-item .card-body {
    display: flex;
    flex-direction: column;
}

.product-item .card-text {
    flex-grow: 1;
}

/* Professional Timeline */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 30px;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-right: 80px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 18px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-item .card {
    transition: all 0.3s ease;
}

.timeline-item .card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Contact Form */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2rem;
    color: white;
}

/* Enhanced Store Filters */
.store-filters {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Enhanced Cart */
.cart-item {
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Enhanced Checkout */
.checkout-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.order-summary {
    background: var(--gradient-success);
    border-radius: 20px;
    padding: 2rem;
    color: white;
}

/* Enhanced Badge Styles */
.badge-new {
    background: var(--gradient-success);
    animation: pulse 2s infinite;
}

.badge-featured {
    background: var(--gradient-warning);
    color: var(--gray-900);
}

.badge-sale {
    background: var(--gradient-secondary);
}

/* Enhanced Progress Bars */
.progress {
    height: 8px;
    border-radius: 10px;
    background: var(--gray-200);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Enhanced Modal */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
    border-radius: 20px 20px 0 0;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 20px 20px;
}

/* Enhanced Dropdown */
.dropdown-menu {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 10px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gray-100);
    transform: translateX(-5px);
}

/* Enhanced Pagination */
.pagination {
    justify-content: center;
}

.page-link {
    border-radius: 10px;
    margin: 0 0.25rem;
    border: none;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--gradient-primary);
    border: none;
}

/* Enhanced Breadcrumb */
.breadcrumb {
    background: var(--gray-100);
    border-radius: 15px;
    padding: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Enhanced Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    border-radius: 15px;
    background: white;
    border: none;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--gray-50);
    border-radius: 0 0 15px 15px;
}

/* Enhanced Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 15px 15px 0 0;
    color: var(--gray-600);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.nav-tabs .nav-link:hover {
    border: none;
    background: var(--gray-100);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

/* Enhanced Tooltips */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background: var(--gray-800);
    border-radius: 10px;
    padding: 0.5rem 1rem;
}

/* Enhanced Popovers */
.popover {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.popover-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

/* Enhanced Tables */
.table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: var(--gray-50);
    transform: scale(1.01);
}

.table td {
    padding: 1rem;
    border-color: var(--gray-200);
}

/* Enhanced List Groups */
.list-group-item {
    border: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: var(--gray-100);
    transform: translateX(10px);
}

.list-group-item.active {
    background: var(--gradient-primary);
    border: none;
}

/* Social Links */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Hero Section Improvements */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-item {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    margin-top: 2rem;
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
}

@keyframes float {

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

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

@keyframes pulse {

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

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

/* Responsive Hero Image */
@media (max-width: 768px) {
    .hero-image {
        width: 250px;
        height: 250px;
    }

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

    .hero-stats .stat-item {
        padding: 1rem 0.5rem;
    }

    .hero-image-badge {
        top: 15px;
        right: 15px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .hero-image {
        width: 200px;
        height: 200px;
    }

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

    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Contact Page Styles */
.contact-method-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-method-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group .form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: block;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
    outline: none;
}

.contact-submit-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.contact-submit-btn:hover::before {
    left: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* FAQ Section Improvements */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: 15px;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--gray-50);
    color: var(--gray-600);
    line-height: 1.6;
}

/* Blog Styles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card.featured {
    border: 2px solid var(--primary-color);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-date {
    color: var(--gray-500);
}

.blog-title {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.widget-title {
    color: var(--gray-800);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form .form-control {
    border: 2px solid var(--gray-200);
    border-right: none;
    border-radius: 25px 0 0 25px;
}

.search-form .btn {
    border-radius: 0 25px 25px 0;
    border: 2px solid var(--primary-color);
    border-left: none;
}

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

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

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.category-list a:hover {
    color: var(--primary-color);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Blog Post Styles */
.blog-post {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.post-meta {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.post-image img {
    border-radius: 10px;
}

.post-content {
    line-height: 1.8;
    color: var(--gray-700);
    font-size: 1.1rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--gray-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.post-tags {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.post-actions {
    border-top: 1px solid var(--gray-200);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}


/* Related Posts */
.related-post-item,
.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.related-post-item:hover,
.recent-post-item:hover {
    background: var(--gray-50);
}

.related-post-image,
.recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img,
.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h6,
.recent-post-content h6 {
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.related-post-content a,
.recent-post-content a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content a:hover,
.recent-post-content a:hover {
    color: var(--primary-color);
}

/* Search Results */
.search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-results .list-group-item {
    border: none;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
}

.search-results .list-group-item:last-child {
    border-bottom: none;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 1.5rem;
    }

    .blog-content {
        padding: 1rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .comments-section {
        padding: 1.5rem;
    }

    .post-actions .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

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

/* Blog Preview Cards */
.blog-preview-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

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

.blog-preview-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.blog-preview-card:hover .blog-preview-icon {
    transform: scale(1.1);
}

.blog-preview-card h5 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-preview-card p {
    color: var(--gray-600);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.blog-preview-card .btn {
    margin-top: auto;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-preview-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Preview Cards - Updated for Articles */
.blog-preview-image {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-preview-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.blog-preview-card h5 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-preview-card p {
    color: var(--gray-600);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

/* Blog Section with Primary Background */
.blog-section-primary {
    background: var(--gradient-primary) !important;
    color: white;
}

.blog-section-primary h2 {
    color: white !important;
}

.blog-section-primary .lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Custom Card with Primary Background */
.card.bg-primary,
.card.bg-primary.text-white,
.card.bg-success,
.card.bg-success.text-white {
    background: var(--gradient-primary) !important;
    background-color: #57B367 !important;
    background-image: linear-gradient(135deg, #57B367 0%, #3f8d4d 100%) !important;
    border: none !important;
    color: white !important;
}

/* Card Headers with Primary Background */
.card-header.bg-primary,
.card-header.bg-success {
    background: var(--gradient-primary) !important;
    background-color: #57B367 !important;
    background-image: linear-gradient(135deg, #57B367 0%, #3f8d4d 100%) !important;
    border: none !important;
    color: white !important;
}

/* Note: neo-hero, capsule-grid, and related styles moved to home-enhanced.css */

.empty-state {
    padding: 2rem;
    border-radius: 24px;
    background: var(--gray-100);
}

/* Portfolio section styles moved to home-enhanced.css */
.about-spectrum {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 2rem;
}

.profile-card {
    background: #03140b;
    color: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.profile-image {
    width: 100%;
    height: 320px;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: 1.5rem 0;
}

.profile-stats strong {
    font-size: 1.8rem;
    color: var(--primary-light);
    display: block;
}

.profile-meta {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.profile-meta li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.story-card {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.story-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.story-badges span {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--gray-100);
}

.video-wrapper {
    margin-top: 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.experience-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.experience-timeline article {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
}

.contact-hub {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.contact-info-card,
.contact-form-card {
    border-radius: 30px;
    padding: 2.5rem;
    background: white;
    box-shadow: var(--shadow-md);
}

.contact-info-card {
    background: var(--gradient-dark);
    color: white;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-points li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.availability {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.25);
}

.contact-form-card h3 {
    margin-bottom: 1.5rem;
}

.contact-form-card label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.contact-form-card .form-control {
    border-radius: 16px;
    border-color: var(--gray-200);
    padding: 0.85rem 1rem;
}

@media (max-width: 991px) {
    .neo-hero-grid {
        grid-template-columns: 1fr;
    }

    .vision-cards {
        grid-template-columns: 1fr;
    }

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

    .capsule-head,
    .stream-head,
    .spotlight-head,
    .about-grid {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Force page-hero background to show */
.page-hero {
    background: #57B367 !important;
    background: linear-gradient(135deg, #57B367 0%, #3f8d4d 100%) !important;
}

/* Page Hero Section (for non-home pages) */
.page-hero,
section.page-hero {
    background: var(--gradient-primary) !important;
    background-color: #57B367 !important;
    background-image: linear-gradient(135deg, #57B367 0%, #3f8d4d 100%) !important;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    width: 100%;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.page-hero .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.page-hero .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .breadcrumb-item a:hover {
    color: white;
}

/* Page Hero Stats */
.page-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-hero-stat {
    text-align: center;
    color: white;
}

.page-hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.page-hero-stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Page Hero */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero .lead {
        font-size: 1.1rem;
    }

    .page-hero-stats {
        gap: 2rem;
    }

    .page-hero-stat .number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 80px 0 40px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .lead {
        font-size: 1rem;
    }

    .page-hero-stats {
        gap: 1.5rem;
    }
}

/* Cart Badge */
#cart-count {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        right: 15px;
    }

    .timeline-item {
        padding-right: 40px;
    }

    .timeline-item::before {
        right: 9px;
    }

    section.py-5 {
        padding: 2rem 0 !important;
    }

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

    footer {
        font-size: 0.8rem;
    }

    footer .d-flex {
        flex-direction: column !important;
        text-align: center;
    }

    footer .me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 70px;
        padding-bottom: 0.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    section.py-5 {
        padding: 1.5rem 0 !important;
    }

    .section-padding {
        padding: 2rem 0;
    }

    footer {
        font-size: 0.75rem;
        padding: 1rem 0 !important;
    }

    footer h6 {
        font-size: 0.9rem;
    }

    footer .social-links a {
        font-size: 0.9rem;
    }
}

/* Custom Utilities */
.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* Animation Keyframes */
@keyframes float {

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

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

@keyframes pulse {

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

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

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* LinkedIn Widget Styles */
.linkedin-widget-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.linkedin-widget-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.linkedin-profile-card {
    position: relative;
}

.linkedin-header {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.linkedin-bg {
    background: var(--gradient-primary);
    height: 100%;
    position: relative;
}

.linkedin-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.linkedin-avatar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border: 4px solid white;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.linkedin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.linkedin-content {
    padding: 50px 20px 20px;
    text-align: center;
}

.linkedin-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.linkedin-title {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 10px;
}

.linkedin-description {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 20px;
}

.linkedin-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.linkedin-stats .stat {
    text-align: center;
}

.linkedin-stats .number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.linkedin-stats .label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.btn-linkedin {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-linkedin:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* LinkedIn Feed Preview */
.linkedin-feed-preview {
    border-top: 1px solid var(--gray-100);
    padding: 20px;
    background: var(--gray-50);
}

.feed-header h6 {
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.feed-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feed-text {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.feed-time {
    color: var(--gray-500);
}

.feed-actions {
    display: flex;
    gap: 15px;
}

.feed-actions span {
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.3s ease;
}

.feed-actions span:hover {
    color: var(--primary-color);
}

/* Responsive LinkedIn Widget */
@media (max-width: 768px) {
    .linkedin-stats {
        gap: 20px;
    }

    .linkedin-stats .number {
        font-size: 16px;
    }

    .linkedin-content {
        padding: 45px 15px 15px;
    }
}

/* LinkedIn Profile Section */
.linkedin-profile-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.linkedin-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.linkedin-avatar-large {
    position: relative;
    display: inline-block;
}

.linkedin-avatar-large img {
    width: 120px;
    height: 120px;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.online-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.linkedin-stats-large {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.linkedin-stats-large .stat-item {
    text-align: center;
}

.linkedin-stats-large .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.linkedin-stats-large .stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.btn-linkedin-large {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin-large:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(63, 141, 77, 0.35);
}

.linkedin-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* LinkedIn Feed Section */
.linkedin-feed-section {
    margin-top: 60px;
}

.linkedin-post-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.linkedin-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-avatar {
    margin-left: 15px;
}

.post-avatar img {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
}

.post-info {
    flex: 1;
}

.post-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.post-time {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.post-content {
    margin-bottom: 15px;
}

.post-content p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

.post-actions {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
}

.action-item {
    color: var(--gray-500);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-item:hover {
    color: var(--primary-color);
}

.action-item i {
    font-size: 12px;
}

/* Responsive LinkedIn Profile Section */
@media (max-width: 768px) {
    .linkedin-profile-section {
        padding: 30px 20px;
    }

    .linkedin-stats-large {
        flex-direction: column;
        gap: 20px;
    }

    .linkedin-stats-large .stat-number {
        font-size: 24px;
    }

    .linkedin-avatar-large img {
        width: 100px;
        height: 100px;
    }

    .btn-linkedin-large {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Elfsight LinkedIn Feed Styling */
.linkedin-embed-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.linkedin-activity-feed {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Elfsight Widget Customization */
.elfsight-app-98db573b-b239-42dc-893e-32098ced038c {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.elfsight-linkedin-activity {
    text-align: center;
}

/* Elfsight Widget Responsive */
@media (max-width: 768px) {
    .elfsight-app-98db573b-b239-42dc-893e-32098ced038c {
        border-radius: 10px;
    }
}

.linkedin-direct-link {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.linkedin-direct-link h5 {
    color: white;
    font-weight: 600;
}

.linkedin-direct-link p {
    color: rgba(255, 255, 255, 0.9);
}

.linkedin-direct-link .btn-linkedin-large {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.linkedin-direct-link .btn-linkedin-large:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* LinkedIn Widget Styling */
.linkedin-embed-container iframe,
.linkedin-embed-container .IN-widget {
    border-radius: 10px;
    overflow: hidden;
}

/* Custom LinkedIn Widget Styling */
.linkedin-embed-container .IN-widget {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 20px;
}

/* Responsive LinkedIn Embed */
@media (max-width: 768px) {

    .linkedin-embed-container,
    .linkedin-activity-feed {
        padding: 20px;
    }

    .linkedin-direct-link {
        padding: 30px 20px;
    }
}

/* LinkedIn Fallback Styles */
.linkedin-fallback-content {
    text-align: center;
    padding: 20px;
}

.linkedin-fallback-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.linkedin-fallback-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-left: 20px;
}

.linkedin-fallback-info h5 {
    color: var(--gray-800);
    font-weight: 700;
    margin-bottom: 5px;
}

.linkedin-fallback-info p {
    color: var(--gray-600);
    margin-bottom: 5px;
}

.linkedin-fallback-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.linkedin-fallback-stats .stat {
    text-align: center;
}

.linkedin-fallback-stats .number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.linkedin-fallback-stats .label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.linkedin-activity-fallback {
    margin-top: 20px;
}

/* Responsive LinkedIn Fallback */
@media (max-width: 768px) {
    .linkedin-fallback-header {
        flex-direction: column;
        text-align: center;
    }

    .linkedin-fallback-avatar {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .linkedin-fallback-stats {
        gap: 20px;
    }

    .linkedin-fallback-stats .number {
        font-size: 16px;
    }
}