/* ========================================================================
   DigitalBihari.in - Main Stylesheet
   MOBILE-FIRST, Ultra-Fast, SEO-Optimized Design
   Optimized for Mobile Performance and Touch Interactions
   ======================================================================== */

/* ========================================================================
   Reset & Base Styles (Mobile-First)
   ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Better mobile touch targets */
button,
a,
input,
textarea,
select {
    min-height: 44px;
    /* Apple's recommended touch target size */
    min-width: 44px;
}

:root {
    /* Primary Colors - Saffron/Orange (Bihar cultural color) */
    --primary-50: #fff7ed;
    --primary-100: #ffedd5;
    --primary-200: #fed7aa;
    --primary-300: #fdba74;
    --primary-400: #fb923c;
    --primary-500: #f97316;
    --primary-600: #ea580c;
    --primary-700: #c2410c;
    --primary-800: #9a3412;
    --primary-900: #7c2d12;

    /* Secondary Colors - Deep Blue */
    --secondary-50: #eff6ff;
    --secondary-100: #dbeafe;
    --secondary-200: #bfdbfe;
    --secondary-300: #93c5fd;
    --secondary-400: #60a5fa;
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;
    --secondary-700: #1d4ed8;
    --secondary-800: #1e40af;
    --secondary-900: #1e3a8a;

    /* Accent Colors - Green */
    --accent-50: #f0fdf4;
    --accent-100: #dcfce7;
    --accent-500: #22c55e;
    --accent-600: #16a34a;

    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);

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

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

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

a:hover {
    color: var(--primary-600);
}

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

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

ul,
ol {
    list-style: none;
}

/* ========================================================================
   Container & Grid System
   ======================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Prevent container overflow on small screens */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* ========================================================================
   Utility Classes
   ======================================================================== */
.text-center {
    text-align: center;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================================================
   Buttons
   ======================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    /* Larger padding for mobile */
    font-size: 1rem;
    /* Larger text for mobile readability */
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
    min-height: 48px;
    /* Better touch target size */
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    /* Remove iOS tap highlight */
    touch-action: manipulation;
    /* Prevent double-tap zoom */
    user-select: none;
    /* Prevent text selection on touch */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
    transform: translateY(-2px);
}

.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

.btn-secondary {
    background: var(--secondary-500);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-600);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-50);
    color: var(--primary-700);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-600);
}

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

.btn-white:hover {
    background: var(--neutral-50);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--neutral-700);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-search {
    background: var(--primary-500);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    font-weight: 600;
}

.btn-search:hover {
    background: var(--primary-600);
}

@media (max-width: 640px) {
    .btn-search {
        border-radius: var(--radius-lg);
        width: 100%;
    }
}

/* ========================================================================
   Top Bar - Hidden
   ======================================================================== */
.top-bar {
    display: none;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-base);
}

.top-bar a:hover {
    color: var(--primary-400);
}

.top-bar i {
    margin-right: 0.375rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ========================================================================
   Navigation
   ======================================================================== */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .nav-wrapper {
        padding: 0.75rem 0;
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    .nav-wrapper {
        padding: 0.5rem 0;
        gap: 0.25rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    flex-shrink: 0;
}

.logo i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.5rem;
        gap: 0.625rem;
    }

    .logo i {
        font-size: 1.75rem;
    }
}

.logo strong {
    color: var(--primary-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

.nav-menu>li>a i {
    font-size: 0.75rem;
}

/* Dropdown Menu */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    list-style: none;
    margin: 0;
}

/* Show dropdown on hover (desktop) or when active (mobile/click) */
.nav-menu .dropdown:hover .dropdown-menu,
.nav-menu .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu .dropdown>a {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--neutral-700);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    width: 100%;
}

.dropdown-menu li a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    transform: translateX(5px);
}

.dropdown-menu li a i {
    font-size: 1.125rem;
    color: var(--primary-500);
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Menu Toggle - Mobile-First Approach */
.mobile-menu-toggle {
    display: flex;
    /* Show by default for mobile-first */
    flex-direction: column;
    gap: 0.375rem;
    width: 2.75rem;
    /* Larger touch target */
    height: 2.75rem;
    /* Larger touch target */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    /* Remove iOS tap highlight */
    position: relative;
    z-index: 1100;
}

.mobile-menu-toggle:hover {
    background-color: var(--neutral-100);
}

.mobile-menu-toggle:active {
    background-color: var(--neutral-200);
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 3px;
    /* Slightly thicker for better visibility */
    background: var(--neutral-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.4375rem, -0.375rem);
}

/* Hide mobile menu toggle on larger screens */
@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1.5rem 1rem;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
        gap: 0;
        z-index: var(--z-fixed);
        box-shadow: var(--shadow-lg);
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0.75rem;
        /* Larger touch targets */
        font-size: 1.125rem;
        /* Larger text for mobile */
        border-radius: var(--radius-md);
        margin-bottom: 0.25rem;
        transition: all var(--transition-fast);
        -webkit-tap-highlight-color: transparent;
    }

    .nav-menu>li>a:active {
        background-color: var(--primary-50);
        transform: scale(0.98);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .nav-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        gap: 0.75rem;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: var(--z-fixed);
        border-top: 1px solid var(--neutral-200);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active~.nav-actions {
        transform: translateX(0);
    }

    .nav-actions .btn {
        width: 100%;
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* ========================================================================
   Hero Section
   ======================================================================== */
.hero {
    position: relative;
    padding: 1.5rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .hero {
        padding: 2.5rem 0;
        min-height: 60vh;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(40px);
}

@media (min-width: 768px) {
    .hero-shape {
        opacity: 0.5;
        filter: blur(60px);
    }
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-200);
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-200);
    bottom: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-200);
    top: 50%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

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

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

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* Reduced gap for mobile */
    align-items: center;
    text-align: center;
    /* Center text on mobile */
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-content {
        gap: 2.5rem;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
        /* Left-align text on desktop */
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease 0.1s both;
    word-wrap: break-word;
}

@media (min-width: 640px) {
    .hero-title {
        margin-bottom: 1.5rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
}

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

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

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

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

/* Hero Search */
.hero-search {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease 0.3s both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 50;
}

@media (min-width: 640px) {
    .hero-search {
        padding: 1.5rem;
        border-radius: var(--radius-2xl);
        box-shadow: var(--shadow-xl);
    }
}

.search-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--neutral-100);
    padding-bottom: 0.5rem;
    overflow-x: auto;
    /* Allow horizontal scroll on mobile */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar on Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar on IE */
}

.search-tabs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar on WebKit browsers */
}

.search-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    /* Better touch targets */
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
    background: transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
    /* Prevent text wrapping */
    min-height: 44px;
    /* Better touch target */
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.search-tab.active {
    background: var(--primary-50);
    color: var(--primary-600);
}

.search-input-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
}

.search-input-group {
    position: relative;
    flex: 1;
    width: 100%;
}

@media (max-width: 640px) {
    .search-input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 641px) {
    .search-icon {
        left: 1.25rem;
        font-size: 1.125rem;
    }
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: 16px;
    transition: all var(--transition-base);
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    background: white;
    box-sizing: border-box;
}

@media (min-width: 641px) {
    .search-input {
        padding: 1rem 1.25rem 1rem 3rem;
        border-radius: var(--radius-xl) 0 0 var(--radius-xl);
        font-size: 1rem;
        min-height: 52px;
    }
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px var(--primary-100);
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    z-index: 100;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--neutral-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suggestion-item:hover {
    background-color: var(--neutral-50);
    color: var(--primary-600);
}

.suggestion-item i {
    color: var(--primary-500);
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

@media (min-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

@media (max-width: 640px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Hero Image */
.hero-image {
    display: none;
    animation: fadeIn 0.8s ease 0.5s both;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-img-wrapper {
    position: relative;
}

.hero-img-wrapper img {
    width: 100%;
    height: auto;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.floating-card.card-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

/* ========================================================================
   News Ticker
   ======================================================================== */
.news-ticker {
    background: var(--neutral-900);
    color: white;
    padding: 0.875rem 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-600);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.875rem;
}

.ticker-label i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-items {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    font-size: 0.9375rem;
}

.ticker-items span {
    white-space: nowrap;
}

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

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

/* Duplicate items for seamless scrolling */
.ticker-items::after {
    content: attr(data-content);
}

/* ========================================================================
   Section Headers
   ======================================================================== */
section {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    section {
        padding: 6rem 0;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.section-description {
    font-size: 1rem;
    color: var(--neutral-600);
    max-width: 600px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .section-description {
        font-size: 1.125rem;
    }
}

.section-header.text-center .section-description {
    margin: 0 auto;
}

/* ========================================================================
   Categories Grid
   ======================================================================== */
.categories-section {
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

@media (min-width: 640px) {
    .category-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-xl);
    }
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary-50));
    transition: height var(--transition-base);
    z-index: 0;
}

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

.category-card:hover {
    border-color: var(--primary-500);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-2xl);
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--primary-500);
    transform: scale(1.1);
}

.category-icon i {
    font-size: 2rem;
    color: var(--primary-600);
    transition: color var(--transition-base);
}

.category-card:hover .category-icon i {
    color: white;
}

.category-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    position: relative;
    z-index: 1;
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

.category-arrow {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
    color: var(--primary-600);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================================================
   Freelancers Grid
   ======================================================================== */
.featured-freelancers {
    background: var(--neutral-50);
}

.freelancers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .freelancers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .freelancers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

.freelancer-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.freelancer-header {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    text-align: center;
}

@media (min-width: 640px) {
    .freelancer-header {
        padding: 2rem;
    }
}

.freelancer-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-full);
    margin: 0 auto;
    border: 4px solid white;
    object-fit: cover;
}

.freelancer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: white;
    color: var(--warning);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.freelancer-badge.verified {
    color: var(--success);
}

.freelancer-body {
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .freelancer-body {
        padding: 1.5rem;
    }
}

.freelancer-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.freelancer-title {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
}

.freelancer-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.freelancer-rating i {
    color: var(--warning);
    font-size: 0.875rem;
}

.freelancer-rating span {
    margin-left: 0.5rem;
    color: var(--neutral-600);
    font-size: 0.875rem;
}

.freelancer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-tag {
    padding: 0.375rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.freelancer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-100);
    font-size: 0.875rem;
}

.freelancer-meta span:first-child {
    color: var(--neutral-600);
}

.freelancer-meta i {
    color: var(--primary-500);
}

.freelancer-price {
    font-weight: 700;
    color: var(--primary-600);
}

.freelancer-footer {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
}

.freelancer-footer .btn {
    flex: 1;
}

/* ========================================================================
   How It Works
   ======================================================================== */
.how-it-works {
    background: white;
}

.home-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .home-steps-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 1.5rem;
        margin-top: 0;
    }
}

.home-steps-grid .step-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: white;
    border: 2px solid var(--neutral-100);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.home-steps-grid .step-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.home-steps-grid .step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.home-steps-grid .step-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--primary-100);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.home-steps-grid .step-card:hover .step-icon {
    background: var(--primary-500);
    transform: scale(1.1);
}

.home-steps-grid .step-icon i {
    font-size: 2rem;
    color: var(--primary-600);
    transition: color var(--transition-base);
}

.home-steps-grid .step-card:hover .step-icon i {
    color: white;
}

.home-steps-grid .step-card h3 {
    margin-bottom: 0.75rem;
}

.home-steps-grid .step-card p {
    color: var(--neutral-600);
    line-height: 1.7;
}

.step-arrow {
    display: none;
    color: var(--primary-500);
    font-size: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .step-arrow {
        display: block;
    }
}

/* ========================================================================
   Blog Categories
   ======================================================================== */
/* ========================================================================
   Featured Post Section
   ======================================================================== */
.featured-post-section {
    padding: 3rem 0;
    background: var(--neutral-50);
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

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

@media (min-width: 768px) {
    .featured-post {
        grid-template-columns: 1.2fr 1fr;
    }
}

.featured-post-image {
    position: relative;
    min-height: 250px;
    height: 100%;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.featured-post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .blog-category {
    position: static;
    display: inline-block;
    width: fit-content;
    margin-bottom: 1rem;
}

.featured-post-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post-content h2 a {
    color: var(--neutral-900);
    text-decoration: none;
}

.featured-post-content h2 a:hover {
    color: var(--primary-600);
}

.featured-post-content p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .featured-post-content {
        padding: 3rem;
    }

    .featured-post-content h2 {
        font-size: 2rem;
    }

    .featured-post-content p {
        font-size: 1.125rem;
    }
}

.blog-categories-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--neutral-100);
}

.blog-categories-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-tab {
    padding: 0.625rem 1.25rem;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-full);
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-tab:hover {
    background: white;
    border-color: var(--primary-500);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

@media (max-width: 640px) {
    .blog-categories-tabs {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-tab {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        flex-grow: 1;
        text-align: center;
    }
}

/* ========================================================================
   Blog Section
   ======================================================================== */
.blog-section {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

.blog-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.blog-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--primary-500);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.blog-content {
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .blog-content {
        padding: 1.5rem;
    }
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: var(--neutral-500);
}

.blog-meta i {
    margin-right: 0.375rem;
}

.blog-content h3 {
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--neutral-900);
    transition: color var(--transition-base);
}

.blog-content h3 a:hover {
    color: var(--primary-600);
}

.blog-content>p {
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-100);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.blog-author img {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.blog-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap var(--transition-base);
}

.blog-link:hover {
    gap: 0.75rem;
}

/* ========================================================================
   Updates Section
   ======================================================================== */
.updates-section {
    background: var(--neutral-50);
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .updates-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.update-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

@media (min-width: 640px) {
    .update-card {
        gap: 1.25rem;
        padding: 1.5rem;
        border-radius: var(--radius-xl);
    }
}

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

.update-card.job {
    border-left-color: var(--secondary-500);
}

.update-card.scheme {
    border-left-color: var(--accent-500);
}

.update-card.tech {
    border-left-color: var(--primary-500);
}

.update-card.result {
    border-left-color: var(--warning);
}

.update-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-xl);
}

.update-card.job .update-icon {
    background: var(--secondary-100);
}

.update-card.scheme .update-icon {
    background: var(--accent-100);
}

.update-card.result .update-icon {
    background: #fef3c7;
}

.update-icon i {
    font-size: 1.5rem;
    color: var(--primary-600);
}

.update-card.job .update-icon i {
    color: var(--secondary-600);
}

.update-card.scheme .update-icon i {
    color: var(--accent-600);
}

.update-card.result .update-icon i {
    color: var(--warning);
}

.update-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.update-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    vertical-align: middle;
}

.update-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.update-badge.new {
    background: var(--accent-100);
    color: var(--accent-600);
}

.update-badge.hot {
    background: #fee2e2;
    color: #b91c1c;
}

.update-content h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.update-content h3 a {
    color: var(--neutral-900);
    transition: color var(--transition-base);
}

.update-content h3 a:hover {
    color: var(--primary-600);
}

.update-content>p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.update-meta span:first-child {
    color: var(--neutral-500);
}

.update-meta a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-600);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.update-meta .btn-primary {
    color: white;
}

.update-meta a:not(.btn):hover {
    gap: 0.75rem;
}

/* ========================================================================
   Testimonials
   ======================================================================== */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: white;
    border: 2px solid var(--neutral-100);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--warning);
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* ========================================================================
   CTA Section
   ======================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    color: white;
    padding: 5rem 0;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-wrapper {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

.cta-content h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content>p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 640px) {
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.cta-stat {
    text-align: center;
}

.cta-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cta-stat span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.cta-image {
    display: none;
}

@media (min-width: 1024px) {
    .cta-image {
        display: block;
    }
}

.cta-image img {
    width: 100%;
    height: auto;
}

/* ========================================================================
   Newsletter CTA Section
   ======================================================================== */
.newsletter-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-50), var(--white));
    border-top: 1px solid var(--neutral-200);
}

.newsletter-cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.newsletter-cta-content i {
    font-size: 3rem;
    color: var(--primary-500);
    margin-bottom: 0.5rem;
}

.newsletter-cta-content h2 {
    font-size: 2rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.newsletter-cta-content p {
    color: var(--neutral-600);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.newsletter-form-large {
    display: flex;
    width: 100%;
    gap: 0.75rem;
}

.newsletter-form-large input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.newsletter-form-large input:focus {
    border-color: var(--primary-500);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-100);
}

.newsletter-form-large button {
    white-space: nowrap;
    padding: 0.875rem 2rem;
}

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

    .newsletter-cta-content h2 {
        font-size: 1.75rem;
    }

    .newsletter-form-large {
        flex-direction: column;
    }

    .newsletter-form-large button {
        width: 100%;
    }
}

/* ========================================================================
   Footer
   ======================================================================== */
.footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 0;
    }
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
        padding-bottom: 3rem;
    }
}

.footer-column:first-child {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-column:first-child {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--primary-500);
}

.footer-logo strong {
    color: var(--primary-500);
}

.footer-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--primary-500);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
    display: inline-block;
}

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

.newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.app-download p {
    margin-bottom: 0.75rem;
}

.app-badge img {
    height: 40px;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-400);
}

/* ========================================================================
   Scroll to Top Button
   ======================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

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

.scroll-to-top:hover {
    background: var(--primary-600);
    transform: translateY(-5px);
}

/* ========================================================================
   Loading & Animations
   ======================================================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

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

.skeleton {
    background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

/* ========================================================================
   Responsive Utilities
   ======================================================================== */
@media (max-width: 640px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 641px) {
    .show-mobile {
        display: none !important;
    }
}

/* ========================================================================
   Enhanced Mobile-First Optimizations
   ======================================================================== */

/* Ultra-small devices (320px and up) */
@media (max-width: 374px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
        line-height: 1.2;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
    }

    .search-tabs {
        gap: 0.125rem;
    }

    .search-tab {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* Small devices (375px to 640px) */
@media (max-width: 640px) {

    /* Typography optimizations */
    h1 {
        font-size: clamp(1.875rem, 6vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    h3 {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    /* Spacing optimizations */
    .section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Card optimizations */
    .card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Grid optimizations */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Form optimizations */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 0.875rem;
        border-radius: var(--radius-md);
    }

    /* Popular searches mobile optimization */
    .popular-searches {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .popular-searches>div {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Mobile-specific utilities */
    .text-center-mobile {
        text-align: center;
    }

    .full-width-mobile {
        width: 100%;
    }

    .hidden-mobile {
        display: none !important;
    }
}

/* Medium devices (641px to 768px) - Tablet portrait */
@media (min-width: 641px) and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

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

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

    .btn {
        min-width: auto;
        width: auto;
    }
}

/* Large devices (769px to 1024px) - Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 720px;
        padding: 0 2rem;
    }

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

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

/* Performance optimizations for mobile */
@media (max-width: 768px) {

    /* Reduce animations on smaller screens for better performance */
    .hero-shape {
        animation: none;
    }

    /* Optimize images */
    img {
        height: auto;
        max-width: 100%;
    }

    /* Optimize shadows for mobile */
    .card,
    .btn,
    .search-box {
        box-shadow: var(--shadow-sm);
    }

    /* Touch-friendly interactions */
    a,
    button,
    .clickable {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }



    /* Mobile-optimized margins */
    .mb-mobile {
        margin-bottom: 1rem;
    }

    .mt-mobile {
        margin-top: 1rem;
    }
}

/* Mobile landscape optimizations */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }

    .mobile-menu-toggle {
        width: 2.25rem;
        height: 2.25rem;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Optimize for retina displays */
    .hero-shape {
        filter: blur(30px);
    }
}

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

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

/* Dark mode preparation (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
}

/* ========================================================================
   Critical Mobile Fixes - Prevent Overflow
   ======================================================================== */
@media (max-width: 768px) {

    /* Ensure no element causes horizontal scroll */
    .container,
    .nav-wrapper,
    .hero-content,
    .section,
    .footer {
        max-width: 100%;
    }

    /* Fix any wide elements */
    pre,
    code,
    table {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure buttons don't overflow */
    .btn,
    button {
        max-width: 100%;
        word-wrap: break-word;
    }

    /* Fix dropdown menus on mobile */
    .dropdown-menu {
        max-width: 100%;
        width: 100%;
    }

    /* Ensure text doesn't overflow */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* ========================================================================
   Dashboard Styles - Professional Dashboard Layout
   ======================================================================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--neutral-50);
}

.dashboard-sidebar {
    width: 260px;
    background: white;
    box-shadow: var(--shadow-md);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.dashboard-logo {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.dashboard-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    text-decoration: none;
}

.dashboard-logo i {
    color: var(--primary-600);
    font-size: 1.5rem;
}

.dashboard-nav {
    padding: 1rem 0;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--neutral-600);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.dashboard-nav-item i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.dashboard-nav-item .badge {
    margin-left: auto;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-nav-item:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.dashboard-nav-item.active {
    background: var(--primary-100);
    color: var(--primary-700);
    font-weight: 600;
}

.dashboard-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-600);
}

.dashboard-sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--error);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.dashboard-header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-header-left h1 {
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin: 0;
}

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-700);
    cursor: pointer;
    padding: 0.5rem;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--neutral-600);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.notification-btn:hover {
    color: var(--primary-600);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--error);
    color: white;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-weight: 600;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.user-menu:hover {
    background: var(--neutral-100);
}

.user-menu img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu span {
    font-weight: 500;
    color: var(--neutral-700);
}

.user-menu i {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.dashboard-content {
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue {
    background: var(--secondary-100);
    color: var(--secondary-600);
}

.stat-icon.green {
    background: var(--accent-100);
    color: var(--accent-600);
}

.stat-icon.orange {
    background: var(--primary-100);
    color: var(--primary-600);
}

.stat-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.stat-details {
    flex: 1;
}

.stat-details h3 {
    font-size: 0.875rem;
    color: var(--neutral-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0.25rem 0;
}

.stat-change {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.stat-change.positive {
    color: var(--success);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h2 {
    font-size: 1.125rem;
    color: var(--neutral-900);
    margin: 0;
}

.view-all {
    color: var(--primary-600);
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: var(--primary-700);
}

.card-body {
    padding: 1.5rem;
}

.project-item,
.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.project-item:hover,
.order-item:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
}

.project-item:last-child,
.order-item:last-child {
    margin-bottom: 0;
}

.project-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.project-details,
.order-info {
    flex: 1;
}

.project-details h4,
.order-info h4 {
    font-size: 1rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.project-details p,
.order-info p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
}

.project-meta,
.order-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.in-progress {
    background: var(--secondary-100);
    color: var(--secondary-700);
}

.status-badge.pending {
    background: var(--primary-100);
    color: var(--primary-700);
}

.status-badge.completed {
    background: var(--accent-100);
    color: var(--accent-700);
}

.progress-text {
    font-size: 0.75rem;
    color: var(--neutral-600);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--neutral-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.project-actions,
.order-actions {
    display: flex;
    align-items: center;
}

.message-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    transition: background 0.2s ease;
    position: relative;
}

.message-item:hover {
    background: var(--neutral-50);
}

.message-item:last-child {
    border-bottom: none;
}

.message-item.unread {
    background: var(--primary-50);
}

.message-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    flex: 1;
}

.message-content h4 {
    font-size: 0.875rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.message-content p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0.25rem;
}

.message-time {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.unread-badge {
    width: 8px;
    height: 8px;
    background: var(--primary-600);
    border-radius: 50%;
}

.earnings-summary {
    margin-bottom: 1.5rem;
}

.earnings-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.earnings-item.total {
    border-top: 2px solid var(--neutral-300);
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.earnings-label {
    color: var(--neutral-700);
}

.earnings-value {
    color: var(--neutral-900);
    font-weight: 600;
}

.service-performance-grid {
    display: grid;
    gap: 1rem;
}

.service-performance-item {
    padding: 1rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
}

.service-performance-item h4 {
    font-size: 0.875rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.performance-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--neutral-600);
}

.performance-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.period-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--neutral-700);
    background: white;
}

.order-amount {
    font-weight: 600;
    color: var(--success);
}

/* Admin Table Styles */
.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--neutral-600);
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
}

.admin-table td {
    padding: 0.875rem 0.75rem;
    font-size: 0.875rem;
    color: var(--neutral-700);
    border-bottom: 1px solid var(--neutral-200);
}

.admin-table tr:hover {
    background: var(--neutral-50);
}

.freelancer-ranking {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.ranking-item:hover {
    border-color: var(--primary-300);
    background: var(--primary-50);
}

.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.rank-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #696969;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #e89a5e);
    color: #654321;
}

.ranking-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.freelancer-info {
    flex: 1;
}

.freelancer-info h4 {
    font-size: 0.875rem;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.freelancer-info p {
    font-size: 0.75rem;
    color: var(--neutral-600);
    margin-bottom: 0.25rem;
}

.freelancer-info .rating {
    font-size: 0.75rem;
    color: var(--primary-600);
}

.freelancer-stats span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success);
}

.platform-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.platform-stat {
    text-align: center;
}

.platform-stat i {
    font-size: 2rem;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.platform-stat h4 {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
}

/* How It Works Page Styles */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.5rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.how-it-works-section.alt {
    background: var(--neutral-50);
}

/* Pricing Page Styles */
.pricing-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.pricing-info h2 {
    font-size: 2rem;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

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

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    text-align: center;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-body {
    padding: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--neutral-700);
}

.pricing-feature i {
    color: var(--success);
    font-size: 1.125rem;
}

.pricing-footer {
    padding: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.price-tag {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1;
}

.period {
    display: block;
    color: var(--neutral-600);
    margin-top: 0.5rem;
}

.pricing-example {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
}

.pricing-example h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 2rem;
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.example-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.example-card h4 {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
}

.example-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.example-card p {
    font-size: 0.75rem;
    color: var(--neutral-600);
}

.example-arrow {
    font-size: 1.5rem;
    color: var(--primary-600);
}

/* ========================================================================
   FAQ Styles - Accordion Component
   ======================================================================== */
.faq-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

.faq-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.faq-search {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.faq-search-wrapper i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    pointer-events: none;
}

.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-600);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    padding: 0 1.5rem;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: var(--neutral-700);
    line-height: 1.8;
    margin: 0;
}

.faq-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
}

.faq-cta h3 {
    font-size: 1.875rem;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.faq-cta p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

.faq-no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.faq-no-results p {
    color: var(--neutral-600);
    font-size: 1.125rem;
    margin: 0;
}

.faq-no-results a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
}

.faq-no-results a:hover {
    text-decoration: underline;
}

/* ========================================================================
   Form Styles - Professional Form Design
   ======================================================================== */
.contact-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    font-size: 1.875rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper>p {
    color: var(--neutral-600);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--neutral-900);
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--neutral-300);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group input[required]+label::after,
.form-group select[required]+label::after,
.form-group textarea[required]+label::after {
    content: ' *';
    color: var(--error);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
    animation: shake 0.3s ease;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: var(--success);
}

.form-group .success-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success);
    font-size: 1.25rem;
}

@keyframes shake {

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

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-submit-btn.loading {
    pointer-events: none;
}

.form-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Auth Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form .form-group {
    position: relative;
}

.auth-form .form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    pointer-events: none;
}

.auth-form input {
    padding-left: 2.75rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.125rem;
}

.password-toggle:hover {
    color: var(--primary-600);
}

/* Checkbox and Radio Styles */
.form-checkbox,
.form-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"],
.form-radio input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.form-radio input[type="radio"] {
    border-radius: 50%;
}

.form-checkbox label,
.form-radio label {
    cursor: pointer;
    font-weight: 400;
}

/* OTP Input Styles */
.otp-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    outline: none;
}

/* Form Validation Messages */
.form-error-message {
    display: none;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group.error .form-error-message {
    display: block;
}

.field-error-message {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.form-success-message {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .faq-categories {
        gap: 0.5rem;
    }

    .faq-category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .otp-inputs {
        gap: 0.5rem;
    }

    .otp-input {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.25rem;
    }
}

/* Update Card Enhancements */
.update-card.job .update-icon,
.update-card.tech .update-icon,
.update-card.scheme .update-icon {
    background: var(--primary-100);
    color: var(--primary-600);
}

.job-details,
.scheme-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.875rem;
}

.job-details span,
.scheme-benefits span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--neutral-600);
}

.job-details i,
.scheme-benefits i {
    color: var(--primary-600);
}

/* Responsive Dashboard Styles */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

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

    .example-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

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

@media (max-width: 768px) {
    .dashboard-header {
        padding: 1rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

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

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

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

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

    .project-item,
    .order-item {
        flex-direction: column;
    }

    .user-menu span {
        display: none;
    }
}

/* ========================================================================
   Service Pages Styles
   ========================================================================= */

/* Page Header */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    text-align: center;
    margin-top: 0;
}

.page-header-content {
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: inline-block;
}

.page-header h1 i {
    font-size: 0.9em;
    margin-right: 0.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--neutral-600);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.breadcrumb a {
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.3s ease;
    min-height: auto;
    min-width: auto;
}

.breadcrumb a:hover {
    color: var(--primary-600);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--neutral-400);
}

/* Service Details Section */
.service-details-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.service-main-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-main-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.service-main-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.service-main-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
}

/* Service Features List */
.service-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.75rem;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.service-features-list i {
    color: var(--accent-600);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

/* Tech Stack Grid */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tech-badge {
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--primary-200);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--primary-100);
    transform: translateY(-2px);
}

/* Portfolio Categories */
.portfolio-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.portfolio-category {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.portfolio-category:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
}

.portfolio-category i {
    font-size: 2rem;
    color: var(--primary-600);
    margin-bottom: 0.75rem;
}

.portfolio-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.375rem;
}

.portfolio-category p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.service-sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.service-sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
    border-left: 4px solid var(--primary-500);
    padding-left: 1rem;
    text-align: left;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-600);
    text-align: center;
    margin: 1rem 0;
}

.service-sidebar-card>p {
    text-align: center;
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Service Stats */
.service-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.service-stat:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
}

/* Package List */
.package-list {
    display: grid;
    gap: 1rem;
}

.package-item {
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-600);
}

.package-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.25rem;
}

.package-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-600);
    margin: 0;
}

/* Related Services */
.related-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-services li {
    margin-bottom: 0.75rem;
}

.related-services a {
    color: var(--neutral-700);
    text-decoration: none;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.related-services a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-600);
}

.related-services a:hover {
    color: var(--primary-600);
    padding-left: 0.5rem;
}

/* Services Listing Page */
.services-listing-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--neutral-600);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Service Card */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.service-card>p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.service-card-features i {
    color: var(--accent-600);
    font-size: 0.875rem;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    margin-top: auto;
}

.service-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-600);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    padding: 4rem 0;
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Service Pages */
@media (max-width: 1024px) {
    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header h1 i {
        font-size: 1.5rem;
    }

    .service-main-content h2 {
        font-size: 1.5rem;
    }

    .service-main-content h3 {
        font-size: 1.25rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-categories {
        grid-template-columns: 1fr;
    }

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

    .service-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================================================
   Print Styles
   ========================================================================= */
@media print {

    .top-bar,
    .navbar,
    .scroll-to-top,
    .cta-section,
    .footer,
    .dashboard-sidebar,
    .dashboard-header {
        display: none;
    }

    .dashboard-main {
        margin-left: 0;
    }
}

/* ========================================================================
   Pagination
   ======================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn,
.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 44px;
    padding: 0 1rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    color: var(--neutral-700);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.pagination-number {
    padding: 0;
}

.pagination-btn:hover:not(:disabled),
.pagination-number:hover:not(.active) {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.pagination-number.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--neutral-50);
}

.pagination-btn i {
    font-size: 0.875rem;
}

.pagination-btn:first-child i {
    margin-right: 0.5rem;
}

.pagination-btn:last-child i {
    margin-left: 0.5rem;
}

@media (max-width: 640px) {
    .pagination {
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .pagination-btn,
    .pagination-number {
        height: 40px;
        min-width: 40px;
        width: 40px;
        padding: 0;
        font-size: 0.875rem;
    }

    /* Hide text on mobile, show only icons */
    .pagination-btn {
        font-size: 0;
    }

    .pagination-btn i {
        font-size: 1rem;
        margin: 0 !important;
    }
}

/* ========================================================================
   Small Categories Grid (Updates Page)
   ======================================================================== */
.updates-categories-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--neutral-100);
}

.categories-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .categories-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid-small {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
    border: 1px solid transparent;
}

.category-card-small:hover {
    background: white;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.category-icon-small {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    color: var(--primary-600);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.category-card-small:hover .category-icon-small {
    background: var(--primary-500);
    color: white;
}

.category-card-small h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-900);
}

.category-card-small p {
    font-size: 0.75rem;
    color: var(--neutral-600);
    margin: 0;
}

/* ========================================================================
   Search & Filter Section (Services & Freelancers)
   ======================================================================== */
.search-filter-section {
    background: var(--neutral-50);
    padding: 2rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.search-filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .search-filter-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-box-large {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-large input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.search-box-large input:focus {
    border-color: var(--primary-500);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-100);
}

.search-box-large>i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    font-size: 1.25rem;
    pointer-events: none;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.filter-select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background-color: white;
    font-size: 0.9375rem;
    color: var(--neutral-700);
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'none\' viewBox=\'0 0 24 24\' stroke=\'%236b7280\'%3E%3Cpath stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'M19 9l-7 7-7-7\'%3E%3C/path%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    min-width: 160px;
    transition: all var(--transition-base);
}

.filter-select:focus {
    border-color: var(--primary-500);
    outline: none;
}

.updates-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    color: var(--neutral-700);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.filter-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .updates-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }
}

/* ========================================================================
   Blog Details Page
   ======================================================================== */
.article-header-section {
    padding: 3rem 0 2rem;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.article-header-content .breadcrumb {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.article-meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--neutral-600);
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 0.875rem;
}

.author-name {
    font-weight: 600;
    color: var(--neutral-900);
}

.read-time {
    color: var(--neutral-500);
}

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

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--neutral-800);
}

.article-featured-image {
    margin-bottom: 2.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.article-featured-image:hover img {
    transform: scale(1.02);
}

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

.article-content .lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--neutral-900);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 2rem;
}

.article-content h2 {
    font-size: 1.875rem;
    margin: 3rem 0 1.25rem;
    color: var(--neutral-900);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
    color: var(--neutral-800);
}

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

.article-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.article-content ul li::marker {
    color: var(--primary-500);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-500);
    background: var(--primary-50);
    padding: 2rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--neutral-800);
    font-size: 1.25rem;
    font-weight: 500;
    position: relative;
}

.article-content blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    color: var(--primary-200);
    opacity: 0.5;
}

.code-block {
    background: var(--neutral-900);
    color: var(--neutral-100);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.9375rem;
}

.share-buttons {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-icons {
    display: flex;
    gap: 0.75rem;
}

.share-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform var(--transition-base);
}

.share-icon:hover {
    transform: translateY(-3px);
}

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

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

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

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

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-100);
    color: var(--neutral-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-widget h3::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2em;
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-list li {
    margin-bottom: 0;
}

.toc-list a {
    color: var(--neutral-600);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.toc-list a:hover {
    color: var(--primary-700);
    background: var(--primary-50);
    padding-left: 0.75rem;
}

.toc-list a::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--neutral-400);
    transition: color var(--transition-base);
}

.toc-list a:hover::before {
    color: var(--primary-500);
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
}

.related-post-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.related-post-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    color: var(--neutral-800);
    line-height: 1.4;
}

.related-post-info span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.related-post-item:hover h4 {
    color: var(--primary-600);
}

.sidebar-newsletter-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
}


/* ========================================================================
   Breadcrumb Fixes for Light Backgrounds
   ======================================================================== */
.article-header-section .breadcrumb a {
    color: var(--neutral-600);
    opacity: 1;
}

.article-header-section .breadcrumb a:hover {
    color: var(--primary-600);
    text-decoration: none;
}

.article-header-section .breadcrumb span {
    color: var(--neutral-400);
    opacity: 1;
}

/* ========================================================================
   Mobile Optimizations for Blog
   ======================================================================== */
@media (max-width: 768px) {
    .article-header-section {
        padding: 1.5rem 0;
        text-align: left;
    }

    .article-header-content {
        text-align: left;
    }

    .article-header-content .breadcrumb {
        justify-content: flex-start;
        margin-bottom: 1rem;
        font-size: 0.8125rem;
        flex-wrap: wrap;
    }

    .article-meta-top {
        justify-content: flex-start;
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .article-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .article-author-meta {
        justify-content: flex-start;
    }

    .article-section {
        padding: 1.5rem 0;
    }

    .article-layout {
        gap: 2.5rem;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-content .lead {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .article-featured-image {
        margin-bottom: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .article-content blockquote {
        padding: 1.5rem;
        margin: 2rem 0;
        font-size: 1.125rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .share-icons {
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .related-posts-list {
        align-items: flex-start;
        width: 100%;
    }

    .related-post-item {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }
}

/* ========================================================================
   Search Results Page
   ======================================================================== */
.search-header-section {
    background: var(--neutral-50);
    padding: 3rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.search-results-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.results-info p {
    color: var(--neutral-600);
}

.search-results-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.search-result-card {
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.search-result-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
    transform: translateY(-2px);
}

.result-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
    display: inline-block;
    background: var(--primary-50);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.result-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

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

.result-description {
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results-content {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
}

.no-results-content i {
    font-size: 3rem;
    color: var(--neutral-300);
    margin-bottom: 1.5rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-800);
}

.no-results-content p {
    color: var(--neutral-600);
    margin-bottom: 2rem;
}

.popular-suggestions .tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.popular-suggestions a {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    color: var(--neutral-700);
    text-decoration: none;
    font-size: 0.875rem;
    border: 1px solid var(--neutral-200);
    transition: all 0.2s;
}

.popular-suggestions a:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
}

@media (max-width: 768px) {
    .search-result-card {
        flex-direction: column;
        gap: 1rem;
    }

    .result-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ========================================================================
   Modal Styles
   ======================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: var(--z-modal);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--neutral-900);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--neutral-500);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.modal-close:hover {
    background: var(--neutral-100);
    color: var(--error);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 10;
}

/* Form Styles for Modals */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-700);
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

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

.file-upload-wrapper {
    border: 2px dashed var(--neutral-300);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-500);
    background: var(--primary-50);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-preview {
    max-width: 100%;
    max-height: 200px;
    margin-top: 1rem;
    border-radius: var(--radius-md);
    display: none;
}

.file-upload-preview.active {
    display: block;
}

