/* 
   styles.css - Design System, Aesthetics & Keyframe Animations for Eddy Graphix
   Uses curated HSL color schemes, dark/light theme support, glassmorphism and animations.
*/

/* -------------------------------------------------------------
   1. CORE VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --brand-blue: #2563EB;
    --brand-purple: #7C3AED;
    --brand-orange: #FF6B00; /* Vibrant Orange */
    --brand-green: #22C55E;
    
    /* Legacy variables mapping for compatibility */
    --color-primary: var(--bg-secondary);
    --color-secondary: var(--brand-blue);
    --color-accent: var(--brand-orange);
    --color-accent-hover: #E05600;
    
    /* Layout Constants */
    --header-height: 80px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Dark Mode Tokens (Default) */
[data-theme="dark"] {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #1E293B;
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --text-primary: #F8FAFC;
    --text-secondary: #C7CDD8; /* Soft Gray for Paragraph text */
    --text-muted: #64748B;
    --border-color: #334155;
    --border-hover: rgba(37, 99, 235, 0.5);
    --shadow-main: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --glow-color: rgba(37, 99, 235, 0.2);
    --glass-blur: blur(16px);
    --hero-gradient: linear-gradient(90deg, rgba(30, 94, 255, 0.75) 0%, rgba(30, 94, 255, 0.35) 50%, rgba(5, 10, 18, 0.45) 100%);
    --hero-gradient-mobile: linear-gradient(180deg, rgba(30, 94, 255, 0.75) 0%, rgba(5, 10, 18, 0.6) 50%, rgba(5, 10, 18, 0.8) 100%);
    --hero-gradient-orange: linear-gradient(90deg, rgba(255, 107, 0, 0.75) 0%, rgba(255, 107, 0, 0.35) 50%, rgba(5, 10, 18, 0.45) 100%);
    --hero-gradient-orange-mobile: linear-gradient(180deg, rgba(255, 107, 0, 0.75) 0%, rgba(5, 10, 18, 0.6) 50%, rgba(5, 10, 18, 0.8) 100%);
    --heading-color: #FFFFFF; /* Pure White heading */
    --slogan-color: #E5E7EB; /* Light Gray slogan */
    --nav-link-color: #D1D5DB; /* Nav links gray */
    --nav-link-active: #FF6B00; /* Active nav orange */
}

/* Light Mode Tokens */
[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #0F172A;
    --text-secondary: #64748B; /* Soft slate gray for Paragraph text */
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --border-hover: rgba(37, 99, 235, 0.3);
    --shadow-main: rgba(15, 23, 42, 0.05);
    --shadow-hover: rgba(15, 23, 42, 0.1);
    --glow-color: rgba(37, 99, 235, 0.05);
    --glass-blur: blur(8px);
    --hero-gradient: linear-gradient(90deg, rgba(30, 94, 255, 0.2) 0%, rgba(248, 250, 252, 0.75) 50%, rgba(248, 250, 252, 0.2) 100%);
    --hero-gradient-mobile: linear-gradient(180deg, rgba(30, 94, 255, 0.2) 0%, rgba(248, 250, 252, 0.6) 50%, rgba(248, 250, 252, 0.8) 100%);
    --hero-gradient-orange: linear-gradient(90deg, rgba(255, 107, 0, 0.2) 0%, rgba(248, 250, 252, 0.75) 50%, rgba(248, 250, 252, 0.2) 100%);
    --hero-gradient-orange-mobile: linear-gradient(180deg, rgba(255, 107, 0, 0.2) 0%, rgba(248, 250, 252, 0.6) 50%, rgba(248, 250, 252, 0.8) 100%);
    --heading-color: #0F172A; /* Dark Slate heading */
    --slogan-color: #475569; /* Slate gray slogan */
    --nav-link-color: #475569; /* Inactive nav links dark gray */
    --nav-link-active: #FF6B00; /* Active nav orange */
}

/* -------------------------------------------------------------
   2. GLOBAL BODY & SCROLLBAR SETTINGS
   ------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.3s ease;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* -------------------------------------------------------------
   3. ABSTRACT VISUAL ELEMENTS (LAYER 1 BACKGROUND)
   ------------------------------------------------------------- */
canvas#hero-particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Floating Ambient Glow Blobs */
.ambient-glow {
    position: absolute;
    width: min(50vw, 600px);
    height: min(50vw, 600px);
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

#glow-2 {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

/* Modern Tech Grid Pattern Overlay */
.bg-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

[data-theme="light"] .bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(30, 94, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 94, 255, 0.02) 1px, transparent 1px);
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 80px) scale(1.1); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(80px, -50px) scale(0.9); }
}

/* -------------------------------------------------------------
   4. NAVIGATION MENU
   ------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background 0.3s ease, border 0.3s ease;
}

.main-header.scrolled {
    background: var(--bg-secondary);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px var(--shadow-main);
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.logo-accent {
    color: var(--color-secondary);
    text-shadow: 0 0 10px var(--glow-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-menu a:nth-child(1) { animation-delay: 0.25s; }
.nav-menu a:nth-child(2) { animation-delay: 0.35s; }
.nav-menu a:nth-child(3) { animation-delay: 0.45s; }

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-link:hover {
    color: var(--brand-orange) !important;
    transform: translateY(-3px) scale(1.05) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--brand-orange);
    font-weight: 800;
    transform: translateY(-1px) scale(1.05);
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

/* Theme Toggle Button styling */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.55s;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--border-color);
    transform: scale(1.1);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Mobile Menu Hamburger Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* -------------------------------------------------------------
   5. HOME PAGE & CINEMATIC HERO SECTION
   ------------------------------------------------------------- */
#section-home {
    min-height: 100vh;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    overflow: hidden;
}

#section-home.active {
    display: flex;
    background-color: var(--bg-primary);
}

#section-home::before {
    display: none;
}

/* Hero Slider layout */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 50px);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    z-index: 2;
    transition: transform 0.9s ease-in-out;
}

.hero-slide.exit {
    opacity: 1;
    pointer-events: none;
    transform: translate3d(-100%, 0, 0);
    z-index: 1;
    transition: transform 0.9s ease-in-out;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    filter: brightness(0.75);
}

#slide-1 .hero-slide-bg {
    background: var(--hero-gradient), url('file_000000004d40724683f6b7f6e23b8304.png') no-repeat right 60%;
    background-size: cover;
    transform: scale(1.08);
    opacity: 0;
    animation: heroBgEntrance 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

#slide-2 .hero-slide-bg {
    background: var(--hero-gradient-orange), url('second_banner.png') no-repeat right 60%;
    background-size: cover;
}

/* Slide 2 Custom Themes (Premium Gold/Orange Accent) */
#slide-2 .text-glow {
    background: linear-gradient(135deg, #ffffff 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.5);
}

#slide-2 .custom-badge {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.2);
}

#slide-2 .badge-dot {
    background-color: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
}

#slide-2 .btn-primary {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.25);
}

#slide-2 .btn-primary:hover {
    background: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

#slide-2 .btn-secondary:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15);
}

@keyframes heroBgEntrance {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Layer 2: Dark Overlay Mask */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.4) 0%, rgba(5, 10, 18, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Layer 3: Main content focus */
.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 50%;
    text-align: left;
}

/* Staggered Cinematic Animations */
.entrance-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: entranceUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* 100+ Designs badge float */
.badge-container {
    margin-bottom: 24px;
}

.custom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 94, 255, 0.1);
    border: 1px solid rgba(30, 94, 255, 0.2);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30, 94, 255, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 28px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.text-glow {
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(30, 94, 255, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 32px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 48px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* -------------------------------------------------------------
   6. UI COMPONENTS (BUTTONS & CARDS)
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--brand-purple);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--brand-purple);
    transform: translateY(-3px);
    color: var(--brand-purple);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.15);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-main);
    transition: var(--transition-smooth);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-color);
    transform: translateY(-6px);
}

/* -------------------------------------------------------------
   7. PAGE SECTIONS COMMON LAYOUT
   ------------------------------------------------------------- */
.page-section {
    display: none;
    min-height: 100vh;
    padding: calc(var(--header-height) + 60px) 40px 100px;
    position: relative;
    z-index: 2;
    animation: pageFadeIn 0.6s ease forwards;
}

.page-section.active {
    display: block;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------------------------------------------------
   8. DESIGN GALLERY PORTFOLIO
   ------------------------------------------------------------- */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.search-box-container {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-box-container input {
    width: 100%;
    padding: 14px 20px 14px 46px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
}

.search-box-container input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px var(--glow-color);
}

.search-box-container input:focus ~ .search-icon {
    color: var(--color-secondary);
    transform: translateY(-50%) scale(1.05);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.price-filter-container select {
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.price-filter-container select:focus {
    border-color: var(--color-secondary);
}

/* Category Tabs */
.category-tabs-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 768px) {
    .category-tabs-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 12px;
        margin-bottom: 28px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-tabs-container::-webkit-scrollbar {
        display: none;
    }
    .category-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 10px;
    }
    .cat-tab {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 13px;
    }
}

.cat-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cat-tab:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.cat-tab.active {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* Gallery Grid & Design Cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.design-card {
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 120%; /* 5:6 proportion */
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth fade-in, subtle de-blur and scale alignment on load */
.card-img-wrapper img.lazy-image {
    opacity: 0;
    filter: blur(6px) grayscale(20%);
    transform: scale(1.04);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-img-wrapper img.lazy-image.loaded {
    opacity: 1;
    filter: blur(0) grayscale(0);
    transform: scale(1);
}

.design-card:hover .card-img-wrapper img.lazy-image.loaded {
    transform: scale(1.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badge Layout over Image */
.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    font-family: var(--font-heading);
}

.badge-free, .access-Free {
    background: rgba(34, 197, 94, 0.15) !important;
    color: var(--brand-green) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

.badge-premium, .access-Premium {
    background: rgba(249, 115, 22, 0.15) !important;
    color: var(--brand-orange) !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.1) !important;
}

.card-like-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition-fast);
}

.card-like-btn:hover {
    transform: scale(1.1);
    background: #ef4444;
    border-color: #ef4444;
}

.card-like-btn.liked {
    background: #ef4444;
    border-color: #ef4444;
}

.card-like-btn.liked svg {
    fill: currentColor;
}

.card-like-btn svg {
    width: 18px;
    height: 18px;
}

/* Card Details */
.card-details {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 8px;
    /* Limit lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-item svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* Empty State / Pagination */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 2px dashed var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    margin: 40px auto;
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
}

.gallery-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* -------------------------------------------------------------
   9. HIRE ME SECTION & SERVICE REQUEST FORM
   ------------------------------------------------------------- */
.hire-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Form Styles */
.form-card {
    position: relative;
    padding: 40px;
    overflow: hidden;
}

.form-tagline {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-smooth);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Success Form Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 400px;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon {
    width: 32px;
    height: 32px;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 12px;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 15px;
}

/* Contact Details Info Sidebar */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    padding: 40px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 16px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.contact-link-item svg {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.link-label strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
}

.link-label span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Interactive Contact Hover Styling */
.contact-link-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.wa-item:hover { border-color: #25d366; }
.wa-item:hover .icon-circle { background: rgba(37, 211, 102, 0.1); }
.wa-item:hover svg { color: #25d366; }

.email-item:hover { border-color: var(--color-secondary); }
.email-item:hover .icon-circle { background: rgba(30, 94, 255, 0.1); }
.email-item:hover svg { color: var(--color-secondary); }

.call-item:hover { border-color: var(--color-accent); }
.call-item:hover .icon-circle { background: rgba(245, 185, 66, 0.1); }
.call-item:hover svg { color: var(--color-accent); }

/* -------------------------------------------------------------
   10. ADMIN DASHBOARD & ANALYTICS VIEWS
   ------------------------------------------------------------- */
.admin-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin: 8px 0;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.error-msg-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef5f5f;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

/* Dashboard Panel Layout */
.admin-dashboard-container {
    animation: entranceUp 0.8s ease forwards;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
}

.dashboard-header p {
    color: var(--text-secondary);
}

/* Metrics Cards */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.stat-footer {
    font-size: 11px;
    color: var(--text-muted);
}

/* SVG Chart panel styles */
.analytics-charts-panel {
    padding: 30px;
    margin-bottom: 40px;
}

.chart-header {
    margin-bottom: 24px;
}

.chart-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
}

.chart-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

.chart-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
}

/* Split Form/Requests Dashboard Row */
.dashboard-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.upload-panel, .requests-panel {
    padding: 30px;
}

.upload-panel h3, .requests-panel h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 6px;
}

.panel-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

/* Dotted file drop container */
.file-drop-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-drop-area:hover, .file-drop-area.dragover {
    border-color: var(--color-secondary);
    background: rgba(30, 94, 255, 0.05);
}

.file-drop-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.drop-text {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.image-preview-container {
    position: relative;
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
}

.image-preview-container img {
    max-width: 100%;
    max-height: 350px;
    height: auto;
    object-fit: contain;
    display: block;
}

.remove-preview-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.85);
    border: none;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Active Client Requests list styling */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.request-item-card {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.request-item-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.request-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.request-client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
}

.request-date {
    font-size: 11px;
    color: var(--text-muted);
}

.request-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(30, 94, 255, 0.1);
    color: var(--color-secondary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.request-brief {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.request-contact-line {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.request-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-deadline-info {
    font-size: 12px;
    color: var(--text-secondary);
}

.request-status-select {
    padding: 6px 12px;
    font-size: 12px;
    width: auto;
    border-radius: 6px;
}

.request-status-select[data-status="Pending"] { color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
.request-status-select[data-status="In Progress"] { color: #3b82f6; border-color: rgba(59, 130, 246, 0.3); }
.request-status-select[data-status="Completed"] { color: #10b981; border-color: rgba(16, 185, 129, 0.3); }

/* Asset management grid table */
.assets-management-section {
    padding: 30px;
}

.assets-table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

.assets-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.assets-table th, .assets-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.assets-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table-img-preview {
    width: 50px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    background: #000;
}

.table-design-title {
    font-weight: 700;
    color: var(--text-primary);
}

.table-design-id {
    font-size: 11px;
    color: var(--text-muted);
}

.table-stats-col {
    font-size: 12px;
    color: var(--text-secondary);
}

.table-actions-cell {
    display: flex;
    gap: 8px;
}

.btn-icon-only {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.btn-icon-only svg {
    width: 16px;
    height: 16px;
}

.btn-icon-only:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-delete-asset:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* -------------------------------------------------------------
   11. MEDIA PREVIEW LIGHTBOX MODAL
   ------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none; /* Controlled by js class toggling */
    justify-content: center;
    align-items: center;
    padding: 40px;
    animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1002;
}

.modal-close-btn:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1001;
}

/* Left side zoom canvas wrapper */
.modal-image-wrapper {
    position: relative;
    background: #02050a;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zoom-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
}

.zoom-container:active {
    cursor: grabbing;
}

.zoom-container img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
}

.zoom-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
}

.zoom-btn {
    background: none;
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

.zoom-percent {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    min-width: 45px;
    text-align: center;
}

/* Right side details sidebar */
.modal-details-sidebar {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 24px;
}

.sidebar-header .badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.category-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
}

.sidebar-body {
    flex-grow: 1;
    margin-bottom: 30px;
}

.sidebar-body p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.modal-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    text-align: center;
}

.modal-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-stat .stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

/* -------------------------------------------------------------
   12. FOOTER
   ------------------------------------------------------------- */
.app-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 30px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-about p {
    color: var(--text-secondary);
    max-width: 480px;
}

.footer-socials h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.05);
}

.social-icons a:hover svg {
    transform: scale(1.15);
}

/* Brand specific hover transitions */
.social-icons a.soc-tiktok:hover {
    background: #000000;
    border-color: #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4), 0 0 5px rgba(254, 44, 85, 0.4);
}

.social-icons a.soc-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

.social-icons a.soc-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 0 15px rgba(220, 39, 67, 0.5);
}

.social-icons a.soc-pinterest:hover {
    background: #bd081c;
    border-color: #bd081c;
    box-shadow: 0 0 15px rgba(189, 8, 28, 0.5);
}

.social-icons a.soc-twitter:hover {
    background: #0f1419;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   13. RESPONSIVE DESIGN ADJUSTMENTS (MOBILE & TABLET)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }
    
    .hero-slogan {
        font-size: 26px;
    }
    
    .hire-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-split-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        height: 90vh;
        overflow-y: auto;
    }
    
    .modal-details-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
        height: auto;
    }
    
    .modal-image-wrapper {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    /* Mobile Menu Drawer style */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 99;
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .theme-toggle-btn {
        margin-top: 20px;
        width: 44px;
        height: 44px;
    }
    
    /* Hamburger toggle animation states */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero adjustments */
    #section-home {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    #section-home.active {
        display: flex;
        background-color: var(--bg-primary);
        background: none;
    }
    
    #section-home::before {
        display: none;
    }
    
    .hero-slide {
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
        justify-content: center;
    }
    
    #slide-1 .hero-slide-bg {
        background: var(--hero-gradient-mobile), url('file_000000004d40724683f6b7f6e23b8304.png') no-repeat center bottom;
        background-size: cover;
        transform: none;
        animation: none;
        opacity: 1;
    }
    
    #slide-2 .hero-slide-bg {
        background: var(--hero-gradient-orange-mobile), url('second_banner.png') no-repeat center bottom;
        background-size: cover;
    }
    
    .hero-container {
        width: 100%;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-slogan {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    /* Section adjustments */
    .page-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box-container {
        max-width: 100%;
    }
    
    .price-filter-container select {
        width: 100%;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Scroll Reveal Transition styling */
.reveal-on-scroll {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Accessibility: Support reduced motion settings */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
        transform: none !important;
    }
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Centralized Badges & Statuses */
.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-Pending {
    background: rgba(249, 115, 22, 0.15) !important;
    color: var(--brand-orange) !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
}

.status-InProgress {
    background: rgba(37, 99, 235, 0.15) !important;
    color: var(--brand-blue) !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

.status-Completed {
    background: rgba(34, 197, 94, 0.15) !important;
    color: var(--brand-green) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

.badge-count {
    background: var(--brand-orange) !important;
    color: #FFFFFF !important;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
}

/* Lazy Image Fade-in */
.lazy-image {
    opacity: 0;
    filter: blur(8px) grayscale(20%);
    transform: scale(1.04);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.lazy-image.loaded {
    opacity: 1;
    filter: blur(0) grayscale(0);
    transform: scale(1);
}

/* Skeletons Pulsing Animations */
@keyframes skeleton-pulse {
    0% { background-color: rgba(255, 255, 255, 0.05); }
    50% { background-color: rgba(255, 255, 255, 0.15); }
    100% { background-color: rgba(255, 255, 255, 0.05); }
}

[data-theme="light"] .skeleton-image-pulse,
[data-theme="light"] .skeleton-text-pulse,
[data-theme="light"] .skeleton-stats-pulse {
    animation: skeleton-pulse-light 1.5s infinite ease-in-out !important;
}

@keyframes skeleton-pulse-light {
    0% { background-color: rgba(0, 0, 0, 0.04); }
    50% { background-color: rgba(0, 0, 0, 0.08); }
    100% { background-color: rgba(0, 0, 0, 0.04); }
}

.skeleton-card {
    pointer-events: none !important;
}

.skeleton-image-pulse {
    width: 100%;
    padding-top: 120%; /* 5:6 aspect ratio */
    border-radius: 12px 12px 0 0;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-text-pulse {
    height: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-text-pulse.short {
    width: 40%;
}

.skeleton-text-pulse.title {
    width: 80%;
    height: 16px;
}

.skeleton-stats-pulse {
    height: 20px;
    width: 100%;
    margin-top: 12px;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}
