/* ============================================
   Construction Pro USA - Global Theme & Variables
   ============================================ */

:root {
    /* Primary Colors - Red Theme */
    --primary-color: #E31837;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --primary-hover: #C62828;
    
    /* Secondary Colors - Blue Theme */
    --secondary-color: #1565C0;
    --secondary-dark: #0D47A1;
    --secondary-light: #1E88E5;
    --secondary-hover: #1976D2;
    
    /* Accent Colors */
    --accent-color: #1565C0;
    --accent-light: #42A5F5;
    --accent-dark: #0D47A1;
    
    /* Dark Theme Colors */
    --dark-bg: #1a1a2e;
    --dark-secondary: #16213e;
    --dark-tertiary: #0f3460;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    --text-subtle: #b0b0b0;
    
    /* UI Colors */
    --input-border: #e0e0e0;
    --input-focus: #1565C0;
    --input-bg: #ffffff;
    --input-placeholder: #aaaaaa;
    
    /* Status Colors */
    --success-color: #4CAF50;
    --success-light: #81C784;
    --warning-color: #FFC107;
    --warning-light: #FFE082;
    --error-color: #dc3545;
    --error-light: #EF9A9A;
    --info-color: #2196F3;
    --info-light: #90CAF9;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #eeeeee;
    --bg-light: #fafafa;
    
    /* Border & Shadow */
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 15px rgba(227, 24, 55, 0.3);
    --shadow-secondary: 0 4px 15px rgba(21, 101, 192, 0.3);
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Font Sizes */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-base: 15px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-2xl: 32px;
    --font-3xl: 48px;
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index Layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ============================================
   Global Reset & Base Styles
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-base);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
}

/* ============================================
   Typography
   ============================================ */

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

h1 { font-size: var(--font-3xl); }
h2 { font-size: var(--font-2xl); }
h3 { font-size: var(--font-xl); }
h4 { font-size: var(--font-lg); }
h5 { font-size: var(--font-md); }
h6 { font-size: var(--font-base); }

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

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

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

/* ============================================
   Logo Styles
   ============================================ */

.logo-text {
    font-size: 28px;
    font-weight: var(--font-bold);
    letter-spacing: -0.5px;
}

.logo-construction {
    color: var(--primary-color);
    font-style: normal;
    font-weight: var(--font-bold);
}

.logo-pro {
    color: var(--secondary-color);
    font-weight: var(--font-bold);
    font-style: normal;
}

.logo-usa {
    color: var(--secondary-color);
    font-weight: var(--font-bold);
    font-style: normal;
}

.logo-text.logo-lg {
    font-size: 42px;
}

.logo-text.logo-sm {
    font-size: 22px;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary-cp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary-cp:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: var(--text-light);
    text-decoration: none;
}

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

.btn-secondary-cp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-light);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-secondary-cp:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-secondary);
    color: var(--text-light);
    text-decoration: none;
}

.btn-outline-cp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-outline-cp:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
    color: var(--text-primary);
    text-decoration: none;
}

.btn-danger-cp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: var(--font-sm);
    font-weight: 500;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-danger-cp:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-warning-cp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FF9800;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-warning-cp:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* ============================================
   Form Controls
   ============================================ */

.form-group-cp {
    margin-bottom: var(--spacing-lg);
}

.form-label-cp {
    display: block;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.form-input-cp {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--font-base);
    color: var(--text-primary);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    outline: none;
}

.form-input-cp::placeholder {
    color: var(--input-placeholder);
}

.form-input-cp:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-input-cp:disabled {
    background: var(--bg-tertiary);
    cursor: not-allowed;
}

.form-checkbox-cp {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-check-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.form-check {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
    cursor: pointer;
    margin: 0;
}

.form-check-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.form-check-label i {
    color: var(--secondary-color);
}

.form-error {
    color: var(--error-color);
    font-size: var(--font-xs);
    margin-top: var(--spacing-xs);
}

/* ============================================
   Cards
   ============================================ */

.card-cp {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
}

.card-header-cp {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--spacing-lg);
}

.card-title-cp {
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

/* ============================================
   Utility Classes
   ============================================ */

/* Text Colors */
.text-primary-cp { color: var(--primary-color) !important; }
.text-secondary-cp { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-error { color: var(--error-color) !important; }
.text-muted-cp { color: var(--text-muted) !important; }
.text-light-cp { color: var(--text-light) !important; }

/* Background Colors */
.bg-primary-cp { background-color: var(--primary-color) !important; }
.bg-secondary-cp { background-color: var(--secondary-color) !important; }
.bg-dark-cp { background-color: var(--dark-bg) !important; }
.bg-light-cp { background-color: var(--bg-light) !important; }

/* Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)) !important;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary)) !important;
}

/* Shadows */
.shadow-sm-cp { box-shadow: var(--shadow-sm) !important; }
.shadow-md-cp { box-shadow: var(--shadow-md) !important; }
.shadow-lg-cp { box-shadow: var(--shadow-lg) !important; }

/* Border Radius */
.rounded-sm-cp { border-radius: var(--radius-sm) !important; }
.rounded-md-cp { border-radius: var(--radius-md) !important; }
.rounded-lg-cp { border-radius: var(--radius-lg) !important; }
.rounded-full-cp { border-radius: var(--radius-full) !important; }

/* ============================================
   Auth Pages (Login, Register, etc.)
   ============================================ */

.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    background-color: var(--bg-primary);
    max-width: 550px;
}

.auth-logo {
    margin-bottom: 40px;
}

.auth-logo img {
    height: 50px;
    width: auto;
}

.auth-header h1 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

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

.auth-form {
    margin-top: 35px;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.auth-remember span {
    font-size: var(--font-sm);
    color: var(--text-muted);
}

.auth-forgot {
    font-size: var(--font-sm);
    color: var(--primary-color);
    font-weight: var(--font-medium);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.auth-divider span {
    padding: 0 var(--spacing-md);
    font-size: var(--font-xs);
    color: var(--text-subtle);
}

.auth-social {
    display: flex;
    gap: var(--spacing-md);
}

.auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    cursor: pointer;
    transition: all var(--transition-base);
}

.auth-social-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-muted);
}

.auth-social-btn svg {
    width: 22px;
    height: 22px;
}

/* Welcome Panel (Right side of auth pages) */
.auth-welcome-panel {
    flex: 1.2;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-welcome-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(227, 24, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.auth-welcome-panel::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.auth-dots-pattern {
    position: absolute;
    top: 40px;
    right: 40px;
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 12px;
}

.auth-dots-pattern span {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}

.auth-welcome-content {
    text-align: center;
    z-index: 1;
    max-width: 500px;
}

.auth-welcome-content h2 {
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.auth-welcome-content h2 span {
    color: var(--accent-color);
}

.auth-welcome-content h2 .logo-construction {
    color: var(--primary-color);
    font-style: normal;
}

.auth-welcome-content h2 .logo-pro,
.auth-welcome-content h2 .logo-usa {
    color: var(--secondary-color);
    font-style: normal;
}

.auth-welcome-content p {
    font-size: var(--font-md);
    color: var(--text-subtle);
    line-height: 1.7;
    margin-bottom: 40px;
}

.auth-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.auth-avatar-stack {
    display: flex;
}

.auth-avatar-stack img {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    border: 3px solid var(--dark-bg);
    margin-left: -12px;
    object-fit: cover;
}

.auth-avatar-stack img:first-child {
    margin-left: 0;
}

.auth-user-count {
    font-size: var(--font-sm);
    color: var(--text-subtle);
}

/* ============================================
   Dashboard Layout Styles
   ============================================ */

.dashboard-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-logo {
    font-size: 24px;
    font-weight: var(--font-bold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-logo:hover {
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    font-size: 28px;
    color: var(--secondary-color);
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-logout:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    text-decoration: none;
}

/* Dashboard Container */
.dashboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Dashboard Layout (Sidebar + Main) */
.dashboard-layout {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 160px);
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 280px;
    min-width: 280px;
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
    overflow-y: auto;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 0;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    user-select: none;
}

.nav-section-header:hover {
    background-color: var(--bg-secondary);
}

.nav-section-header.active {
    background-color: rgba(21, 101, 192, 0.1);
    border-left: 3px solid var(--secondary-color);
}

.nav-section-header.active .nav-section-title {
    color: var(--secondary-color);
    font-weight: var(--font-semibold);
}

.nav-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    font-size: 18px;
    color: var(--secondary-color);
    background-color: rgba(21, 101, 192, 0.1);
    border-radius: var(--radius-md);
}

.nav-section-title {
    flex: 1;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.nav-section-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.nav-section-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    padding-left: 20px;
}

.nav-section-menu.show {
    display: block;
}

.nav-menu-item {
    margin: 2px 0;
}

.nav-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 44px;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-right: 12px;
    transition: all var(--transition-fast);
}

.nav-menu-link:hover {
    background-color: var(--bg-secondary);
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-menu-link.active {
    background-color: rgba(21, 101, 192, 0.1);
    color: var(--secondary-color);
    font-weight: var(--font-medium);
    border-left: 3px solid var(--secondary-color);
}

.nav-menu-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background-color: var(--bg-secondary);
}

.dashboard-content {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.dashboard-content h3 {
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

/* Dashboard Footer */
.dashboard-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-size: var(--font-md);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-links-row {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-links a {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-copyright {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin: 0;
}

/* Dashboard Cards */
.dashboard-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: box-shadow var(--transition-base);
}

.dashboard-card:hover {
    box-shadow: var(--shadow-md);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-card-title {
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin: 0;
}

/* Dashboard Tables */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
}

.dashboard-table td {
    padding: 12px 16px;
    font-size: var(--font-sm);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.dashboard-table tr:hover td {
    background-color: var(--bg-light);
}

/* ===== PAGE HEADERS ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.page-header-left {
    flex: 1;
    min-width: 200px;
}

.page-title {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.page-subtitle {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin: 0;
}

.page-header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== DATA TABLE STYLES ===== */
.table-container {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.table-search {
    position: relative;
    display: flex;
    align-items: center;
}

.table-search i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.table-search input {
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    min-width: 250px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background-color: var(--bg-primary);
}

.table-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.table-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-count {
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: var(--font-semibold);
}

.badge-parent {
    background-color: rgba(21, 101, 192, 0.1);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    display: inline-block;
}

.badge-verified {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-verified i {
    color: #28a745;
}

.badge-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #856404;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-pending i {
    color: #856404;
}

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

.data-table thead {
    background-color: var(--secondary-color);
}

.data-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: white;
    white-space: nowrap;
}

.data-table th.col-id {
    width: 60px;
    text-align: center;
}

.data-table th.col-image {
    width: 80px;
    text-align: center;
}

.data-table th.col-actions {
    width: 120px;
    text-align: center;
}

.data-table tbody tr {
    transition: background-color var(--transition-fast);
}

.data-table tbody tr:hover {
    background-color: var(--bg-light);
}

.data-table td {
    padding: 14px 20px;
    font-size: var(--font-sm);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table td.col-id {
    text-align: center;
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

.data-table td.col-image {
    text-align: center;
}

.data-table td.col-actions {
    text-align: center;
}

.item-name {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

.item-description {
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Table Images */
.table-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

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

.table-image-placeholder {
    color: var(--text-muted);
    font-size: 20px;
}

.table-image-circle {
    border-radius: 50%;
}

.table-image-circle img {
    border-radius: 50%;
}

/* Current Image (Edit forms) */
.current-image-circle {
    border-radius: 50%;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-edit:hover {
    background-color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-delete:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-view {
    background-color: #6366f1;
    color: white;
}

.btn-view:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background-color: var(--bg-primary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.empty-state-icon i {
    font-size: 32px;
    color: var(--text-muted);
}

.empty-state h4 {
    font-size: var(--font-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin: 0 0 24px 0;
}

/* ===== FORM STYLES ===== */
.form-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.form-card form {
    padding: 0;
}

.form-section {
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-md);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
}

.form-section-title i {
    color: var(--secondary-color);
    font-size: 18px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--primary-color);
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

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

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

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-error {
    display: block;
    font-size: var(--font-xs);
    color: var(--primary-color);
    margin-top: 6px;
}

.form-hint {
    display: block;
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: 6px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload-label:hover {
    border-color: var(--secondary-color);
    background-color: rgba(21, 101, 192, 0.05);
}

.file-upload-label i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.file-upload-text {
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--text-primary);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* Image Preview */
.image-preview {
    position: relative;
    display: inline-block;
    margin-top: 16px;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.remove-image:hover {
    background-color: #b91c1c;
    transform: scale(1.1);
}

/* Current Image Display */
.current-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.current-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    object-fit: cover;
    display: block;
}

.remove-current-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.remove-current-image:hover {
    background-color: #b91c1c;
    transform: scale(1.1);
}

.current-image-overlay {
    margin-top: 8px;
}

.image-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-radius: var(--radius-md);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
}

.image-badge i {
    font-size: 14px;
}

/* No Image Placeholder */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.no-image-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.no-image-placeholder p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    padding: 24px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

/* Form Row (for side-by-side fields) */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-primary-cp,
    .form-actions .btn-outline-cp {
        width: 100%;
        justify-content: center;
    }
}

/* Dashboard Responsive */
@media (max-width: 992px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px 0;
    }

    .nav-section-menu {
        padding-left: 10px;
    }

    .nav-menu-link {
        padding-left: 54px;
    }
}

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

    .header-logo {
        font-size: 20px;
    }

    .dashboard-main {
        padding: 16px;
    }

    .dashboard-content {
        padding: 16px;
    }

    .footer-links {
        gap: 16px;
    }
}

/* ===== FILTER CARD STYLES ===== */
.filter-card {
    background-color: var(--bg-primary);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.filter-item {
    width: 100%;
}

.filter-item select.form-input {
    cursor: pointer;
}

/* ===== INFO CARD STYLES (Service Details) ===== */
.info-card,
.questions-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    overflow: hidden;
}

.info-card .card-header,
.questions-card .card-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card .card-header h4,
.questions-card .card-header h4 {
    margin: 0;
    font-size: var(--font-md);
    font-weight: var(--font-semibold);
}

.info-card .card-body,
.questions-card .card-body {
    padding: 20px;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.info-item {
    padding: 16px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.info-item label {
    display: block;
    font-weight: var(--font-semibold);
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: var(--font-sm);
}

.info-item p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

/* ===== QUESTION ITEM STYLES ===== */
.question-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background-color: var(--bg-light);
}

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

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

.question-header h5 {
    margin: 0 0 8px 0;
    font-size: var(--font-md);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

.question-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.question-meta .badge-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
}

.question-meta .badge-danger {
    background-color: rgba(227, 24, 55, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
}

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

.btn-small {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.btn-small.btn-warning:hover {
    background-color: #0d47a1;
    transform: translateY(-2px);
}

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

.btn-small.btn-danger:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

/* Question Options */
.question-options {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.options-label {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

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

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

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

.option-text {
    font-size: var(--font-sm);
    color: var(--text-primary);
}

.option-price {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.option-price.price-increase {
    color: var(--success-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.option-price.price-decrease {
    color: var(--primary-color);
    background-color: rgba(227, 24, 55, 0.1);
}

/* Option Item for Forms (Add/Edit Question) */
.form-section .option-item {
    background: var(--bg-secondary);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--secondary-color);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: end;
}

.option-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

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

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-danger {
    background: #ffebee;
    border-color: var(--error-color);
    color: #c62828;
}

.alert-success {
    background: #e8f5e9;
    border-color: var(--success-color);
    color: #2e7d32;
}

.alert-warning {
    background: #fff3e0;
    border-color: var(--warning-color);
    color: #e65100;
}

.alert-info {
    background: #e3f2fd;
    border-color: var(--info-color);
    color: #1565c0;
}

/* =========================================
   PROJECT PAGE STYLES
   ========================================= */

/* Details Grid Layout */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.details-section {
    margin-bottom: 32px;
}

.details-section h3 {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.info-card h4 {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.info-card p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    margin: 0;
}

.info-card p:last-child {
    border-bottom: none;
}

.info-card p strong {
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 120px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-quoted {
    background: #dbeafe;
    color: #1e40af;
}

.status-accepted {
    background: #d1fae5;
    color: #065f46;
}

.status-inprogress {
    background: #e0e7ff;
    color: #3730a3;
}

.status-completed {
    background: #d1fae5;
    color: #047857;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-active {
    background: #d1fae5;
    color: #047857;
}

.status-draft {
    background: #f3f4f6;
    color: #6b7280;
}

.status-published {
    background: #dbeafe;
    color: #1e40af;
}

/* Category and Info Badges */
.badge-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 500;
}

.badge-subcategory {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 500;
}

.badge-info {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #e5e7eb;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: 500;
}

/* Status Form Inline */
.status-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.status-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    color: var(--text-primary);
    background: white;
}

/* Description Box */
.description-box {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    font-size: var(--font-sm);
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-base);
}

.service-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-light);
    color: var(--secondary-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.service-info h5 {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.service-info span {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* Answers List */
.answers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.answer-item .question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: var(--font-sm);
}

.answer-item .answer {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: var(--radius-sm);
}

.answer-item .service-badge {
    display: inline-block;
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Back Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: 20px;
    transition: color var(--transition-base);
}

.back-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.back-link svg,
.back-link i {
    width: 16px;
    height: 16px;
}

/* =========================================
   STATS CARDS (Dashboard)
   ========================================= */

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

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

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

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon.primary {
    background: rgba(227, 24, 55, 0.1);
    color: var(--primary-color);
}

.stat-icon.secondary {
    background: rgba(21, 101, 192, 0.1);
    color: var(--secondary-color);
}

.stat-icon.success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.stat-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.stat-icon.info {
    background: rgba(33, 150, 243, 0.1);
    color: var(--info-color);
}

.stat-content h3 {
    font-size: var(--font-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1;
}

.stat-content p {
    font-size: var(--font-sm);
    color: var(--text-muted);
    margin: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 992px) {
    .auth-welcome-panel {
        display: none;
    }

    .auth-form-panel {
        max-width: 100%;
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .auth-form-panel {
        padding: 30px 20px;
    }

    .auth-welcome-content h2 {
        font-size: 36px;
    }

    .auth-social {
        flex-direction: column;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header-right {
        width: 100%;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PUBLIC SITE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.85) 100%);
}

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

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .text-primary-cp {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-subtle);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-bg);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.bg-light-cp {
    background-color: #f8f9fa;
}

.bg-dark-cp {
    background-color: var(--dark-bg);
}

.section-header {
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Service Cards - Detailed */
.service-card-detailed {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card-detailed .service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-icon-large {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-size: 64px;
    color: white;
}

.service-card-content {
    padding: 24px;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Project Cards */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view-project {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-view-project:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.project-info {
    padding: 24px;
}

.project-category {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

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

.project-location, .project-date {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.project-location i, .project-date i {
    margin-right: 6px;
    color: var(--primary-color);
}

/* Feature Items */
.feature-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Feature Cards (Why Choose Us) */
.feature-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(227, 24, 55, 0.3);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-subtle);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* Highlight Feature Card (25+ Years) */
.feature-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: none;
}

.feature-card.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(227, 24, 55, 0.4);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.feature-card .highlight-content {
    text-align: center;
}

.feature-card .highlight-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.feature-card .highlight-text {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Section Header Left Aligned */
.section-header-left {
    max-width: 600px;
}

.section-header-left .section-title {
    margin-bottom: 16px;
}

.section-header-left .text-subtle {
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
}

.feature-item h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-subtle);
    font-size: 14px;
    margin: 0;
}

/* About Image */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 16px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(227, 24, 55, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 16px;
}

.testimonial-rating i {
    font-size: 18px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-photo, .author-initial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-initial {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Client Logos Section - Auto-scrolling Marquee */
.clients-section {
    background: #f8f9fa;
    padding: 80px 0;
    overflow: hidden;
}

.clients-section .section-header {
    margin-bottom: 50px;
}

.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.logo-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

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

.logo-marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo-item img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }
    
    .logo-marquee-content {
        gap: 50px;
        padding: 0 25px;
    }
    
    .logo-item img {
        height: 60px;
        max-width: 150px;
    }
    
    .logo-marquee-wrapper::before,
    .logo-marquee-wrapper::after {
        width: 80px;
    }
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.blog-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}

.blog-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
}

.blog-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.blog-content {
    padding: 24px;
}

.blog-categories {
    margin-bottom: 12px;
}

.blog-category {
    display: inline-block;
    background: var(--secondary-light);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 6px;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

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

.blog-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.blog-meta i {
    margin-right: 4px;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-subtle);
    margin-bottom: 24px;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom li {
    color: var(--text-subtle);
}

.breadcrumb-custom li a {
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom li a:hover {
    color: var(--primary-color);
}

.breadcrumb-custom li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-subtle);
}

.breadcrumb-custom li.active {
    color: white;
}

.breadcrumb-light li, .breadcrumb-light li a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-light li.active {
    color: white;
}

/* Filter Bar */
.filter-bar {
    text-align: center;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Project Detail */
.project-detail-hero, .service-detail-hero, .article-header {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 60px 0;
}

.project-detail-title, .service-detail-title, .article-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.project-detail-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

/* Project Sidebar */
.project-sidebar, .blog-sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.sidebar-title, .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.sidebar-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-item .item-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.sidebar-item .item-label i {
    margin-right: 6px;
    color: var(--primary-color);
}

.sidebar-item .item-value {
    font-weight: 600;
    color: var(--text-primary);
}

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

.category-tag {
    background: var(--secondary-light);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--secondary-color);
    color: white;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    color: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.sidebar-cta h4 {
    color: white;
    margin-bottom: 12px;
}

.sidebar-cta p {
    color: var(--text-subtle);
    margin-bottom: 20px;
}

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

.btn-outline-cp {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.sidebar-cta .btn-outline-cp {
    border-color: white;
    color: white;
}

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

.sidebar-cta .btn-outline-cp:hover {
    background: white;
    color: var(--dark-bg);
}

.cta-phone {
    color: var(--text-subtle);
}

.cta-phone a {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

/* Gallery */
.gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gallery-item {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* Contact Page */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group-cp {
    margin-bottom: 20px;
}

.form-label-cp {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control-cp {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control-cp:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

.form-select-cp {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

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

.alert-success-cp {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
    color: white;
    border-radius: 16px;
    padding: 32px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info-card > p {
    color: var(--text-subtle);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: white;
}

.contact-details p {
    color: var(--text-subtle);
    margin: 0;
    line-height: 1.5;
}

.contact-details a {
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-social h4 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

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

/* Map Placeholder */
.map-placeholder {
    background: #e9ecef;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Quote Page */
.quote-form-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quote-form-header {
    margin-bottom: 40px;
}

.quote-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 24px;
}

.quote-form-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.quote-form-header p {
    color: var(--text-muted);
}

.quote-benefit {
    text-align: center;
    padding: 24px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 16px;
}

.quote-benefit h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.quote-benefit p {
    color: var(--text-muted);
    margin: 0;
}

/* About Page */
.about-stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

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

.value-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 20px;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.bg-accent-gradient {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-muted);
    margin: 0;
}

.core-value-item {
    text-align: center;
    padding: 24px;
}

.core-value-item i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.core-value-item h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.core-value-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Team Cards */
.team-section {
    padding: 50px 0 60px;
}

.team-section .section-header {
    margin-bottom: 30px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.team-photo {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-info span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.process-content h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Blog Sidebar */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list li a:hover, .category-list li.active a {
    background: var(--primary-color);
    color: white;
}

.newsletter-form input {
    margin-bottom: 0;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination-custom {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-custom li .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 2px solid #eee;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-custom li .page-link:hover, .pagination-custom li.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Article Styles */
.article-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}

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

.article-content h2, .article-content h3 {
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tags-label {
    font-weight: 600;
    color: var(--text-primary);
}

.article-tag {
    background: #f0f0f0;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-color);
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.share-label {
    font-weight: 600;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn.twitter { background: #1DA1F2; }
.share-btn.facebook { background: #4267B2; }
.share-btn.linkedin { background: #0077B5; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-box {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
}

.author-avatar img, .avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 700;
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.category-badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    margin-right: 8px;
    backdrop-filter: blur(10px);
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta .meta-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.article-meta .meta-item i {
    margin-right: 6px;
}

.article-categories {
    margin-bottom: 16px;
}

/* Service Detail */
.service-icon-hero {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.service-detail-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

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

.service-features h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-check i {
    color: var(--success-color);
    font-size: 20px;
}

.sidebar-info {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-info h4 {
    font-weight: 700;
    margin-bottom: 16px;
}

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

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .project-detail-title, .service-detail-title, .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .quote-form-card {
        padding: 24px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .article-share {
        flex-direction: column;
        text-align: center;
    }
}
