





/* ==========================================
   ULTRA-PROFESSIONAL PUBLIC WEBSITE
   MODERN & SOPHISTICATED DESIGN
   ========================================== */

/* === ENHANCED ROOT VARIABLES === */
:root {
    /* Override Bootstrap's pagination CSS variables globally */
    --bs-pagination-active-color: #ffffff !important;
    --bs-pagination-active-bg: #2d5076 !important;
    --bs-pagination-active-border-color: #2d5076 !important;
    --bs-pagination-hover-color: #ffffff !important;
    --bs-pagination-hover-bg: #3e6a91 !important;
    --bs-pagination-hover-border-color: #3e6a91 !important;
    --bs-pagination-focus-color: #ffffff !important;
    --bs-pagination-focus-bg: #3e6a91 !important;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(45, 80, 118, 0.25) !important;
    /* Premium Color Palette - Subtle Lighter Theme */
    --primary: #2d5076;
    --primary-light: #3e6a91;
    --primary-dark: #1c3550;
    --primary-gradient: linear-gradient(135deg, #2d5076 0%, #3e6a91 100%);
    
    --secondary: #5a9db1;
    --secondary-light: #78b0c2;
    --secondary-dark: #468799;
    --secondary-gradient: linear-gradient(135deg, #5a9db1 0%, #78b0c2 100%);
    
    --accent: #f7fafc;
    --accent-blue: #ecf5ff;
    --accent-gray: #f8fafc;
    
    /* Sophisticated Neutrals - Subtle Lighter */
    --white: #ffffff;
    --gray-50: #fafbfc;
    --gray-100: #f4f6f8;
    --gray-200: #e7eaee;
    --gray-300: #d5dae0;
    --gray-400: #a4abb5;
    --gray-500: #75808e;
    --gray-600: #566070;
    --gray-700: #414b59;
    --gray-800: #283038;
    --gray-900: #1a202a;
    
    /* Status Colors - Subtle Lighter */
    --success: #0ea76a;
    --warning: #e18907;
    --danger: #e53e3e;
    --info: #1a8cd8;
    
    /* Professional Typography - Refined Sizes */
    --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Typography Scale */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Professional Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Sophisticated Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Professional Border Radius */
    --radius-none: 0;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Professional Transitions */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* === GLOBAL RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}


/* === PROFESSIONAL TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

/* Enhanced text rendering for better readability */


h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 600;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--text-xl);
    font-weight: 600;
}

h5 {
    font-size: var(--text-lg);
    font-weight: 600;
}

h6 {
    font-size: var(--text-base);
    font-weight: 600;
}


.lead {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.5;
}
.text-primary {
    color: var(--primary);
}
/* === PROFESSIONAL NAVIGATION === */
.professional-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    padding: 0;
    margin-bottom:64px;
}

.professional-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
   
}

@media (min-width: 769px) and (max-width: 1024px) {
    .navbar-container {
        padding: 0 var(--space-lg);
    }
    .navbar-wrapper {
        flex-wrap: nowrap;
        height: 64px;
        padding-top: 0;
        padding-bottom: 0;
        column-gap: var(--space-md);
    }
    .navbar-brand-section {
        padding-right: var(--space-lg);
        flex: 0 0 auto;
    }
    .brand-text .brand-tagline {
        display: none;
    }
    .navbar-menu {
        order: 0;
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        width: auto;
        min-width: 0;
    }
    .navbar-menu .nav-links {
        display: flex;
        gap: var(--space-sm);
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
    }
    .nav-links .nav-link {
        padding: 6px 10px;
        white-space: nowrap;
    }
    .navbar-actions {
        order: 0;
        flex: 0 0 auto;
        margin-left: var(--space-lg);
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }
    .navbar-actions .action-btn {
        padding: 8px 12px;
        white-space: nowrap;
    }
    .navbar-actions .dropdown-menu {
        min-width: 240px;
        right: 0;
        left: auto;
    }
}

/* Logo Section */
.navbar-brand-section {
    flex-shrink: 0;
    margin-right: auto;
    padding-right: var(--space-3xl);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: var(--transition-normal);
}

.navbar-brand:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.brand-logo {
    width:82px;
/*    height: 32px;*/
/*    border-radius: var(--radius-md);*/
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar-brand:hover .brand-logo {
    box-shadow: var(--shadow-lg);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
/*    letter-spacing: -0.02em;*/
}

.brand-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-xl);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 54, 93, 0.15);
    border-color: var(--primary);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link i {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition-normal);
}

.nav-link:hover i {
    opacity: 1;
}

/* Action Buttons */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
    margin-left: auto;
    padding-left: var(--space-3xl);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-xs);
    margin-right: var(--space-xs);
    border: 2px solid var(--primary);
    background: var(--white);
}

/* === User Dropdown Custom Styling === */
.navbar-actions .dropdown-menu {
    min-width: 220px;
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    padding: 12px 0;
    margin-top: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.navbar-actions .dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.navbar-actions .dropdown-item {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border-radius: 8px;
}

.navbar-actions .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-actions .dropdown-item:hover,
.navbar-actions .dropdown-item:focus {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
}

.navbar-actions .dropdown-item:hover::before,
.navbar-actions .dropdown-item:focus::before {
    transform: scaleY(1);
}

.navbar-actions .dropdown-item i {
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    text-align: center;
}

.navbar-actions .dropdown-item:hover i,
.navbar-actions .dropdown-item:focus i {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-actions .dropdown-divider {
    margin: 8px 16px;
    border-top: 1px solid var(--gray-200);
    opacity: 0.6;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}



.navbar-actions .dropdown-item[type="submit"]:hover i {
    color: var(--white) !important;
}

/* Animation for dropdown appearance */
@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* === ENHANCED PROJECTS TABLE STYLING === */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(26, 54, 93, 0.12);
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
/*    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);*/
}

.card-body {
    padding: 1rem 1.5rem;
/*    min-height:230px;*/
}

/* Table Header Styling */
.table-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    border: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header i {
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.table-header:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.table-header:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Table Body Styling */
.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 4px 0;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #f0f8ff 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.1);
}

.table tbody td {
    padding: 1rem 0.5rem;
    border: none;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
    color: var(--gray-700);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Project Name Styling */
/*.table tbody td:first-child {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}*/

.table tbody td:first-child small {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.85rem;
}

/* Badge Styling */

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%) !important;
    color: var(--white);
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white);
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--info) 0%, #1976d2 100%) !important;
    color: var(--white);
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%) !important;
    color: var(--white);
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #f57c00 100%) !important;
    color: var(--white);
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #d32f2f 100%) !important;
    color: var(--white);
}

/* Action Buttons Styling */
.btn-group .btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-width: 2px;
    position: relative;
    overflow: hidden;
}

.btn-group .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-group .btn:hover::before {
    left: 100%;
}

.btn-outline-secondary {
    border-color: var(--gray-400);
    color: var(--gray-600);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
    border-color: var(--gray-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25);
}

.btn-outline-danger {
    border-color: var(--danger);
    color: var(--danger);
    background: transparent;
}

.btn-outline-danger:hover {
    background: linear-gradient(135deg, var(--danger) 0%, #d32f2f 100%);
    border-color: #d32f2f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Pagination Styling - Enhanced with Project Blue Theme */
/* Override Bootstrap's default pagination colors with project blue */
.pagination {
    margin-top: 2rem;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: none !important;
    color: var(--primary) !important;
    font-weight: 600;
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%) !important;
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.08);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
    border-color: transparent !important;
}

.pagination .page-link:focus {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.25) !important;
    border-color: transparent !important;
    outline: none;
}

/* Override Bootstrap's active pagination styles with higher specificity */
.pagination .page-item.active .page-link,
.pagination .page-link.active,
.pagination .active > .page-link {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a7b 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
    border-color: transparent !important;
    z-index: 3;
}

.pagination .page-item.disabled .page-link,
.pagination .page-link.disabled,
.pagination .disabled > .page-link {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%) !important;
    color: var(--gray-400) !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    border-color: transparent !important;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover,
.pagination .page-link.disabled:hover,
.pagination .disabled > .page-link:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%) !important;
    color: var(--gray-400) !important;
}

/* Ensure pagination icons are properly styled */
.pagination .page-link i {
    font-size: 0.875rem;
    line-height: 1;
}



/* === ENHANCED STAT CARDS STYLING === */


.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(26, 54, 93, 0.2);
}

.stat-card:hover::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.stat-card:hover::after {
    left: 100%;
}

.stat-card .card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover h3 {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover p {
    color: var(--primary);
    transform: translateX(4px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(26, 54, 93, 0.2));
}

.stat-card:hover i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(26, 54, 93, 0.3));
}

/* Stat Card Color Variants */
.stat-card-primary {
    border-left: 4px solid var(--primary);
}

.stat-card-primary::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.stat-card-primary:hover::before {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.stat-card-primary i {
    color: var(--primary);
}

.stat-card-primary:hover i {
    color: var(--primary-dark);
}

.stat-card-success {
    border-left: 4px solid var(--success);
}

.stat-card-success::before {
    background: linear-gradient(90deg, var(--success) 0%, #45a049 100%);
}

.stat-card-success:hover::before {
    background: linear-gradient(90deg, #2e7d32 0%, var(--success) 100%);
}

.stat-card-success h3 {
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-success:hover h3 {
    background: linear-gradient(135deg, #2e7d32 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-success i {
    color: var(--success);
}

.stat-card-success:hover i {
    color: #2e7d32;
}

.stat-card-info {
    border-left: 4px solid var(--info);
}

.stat-card-info::before {
    background: linear-gradient(90deg, var(--info) 0%, #1976d2 100%);
}

.stat-card-info:hover::before {
    background: linear-gradient(90deg, #1565c0 0%, var(--info) 100%);
}

.stat-card-info h3 {
    background: linear-gradient(135deg, var(--info) 0%, #1976d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-info:hover h3 {
    background: linear-gradient(135deg, #1565c0 0%, var(--info) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-info i {
    color: var(--info);
}

.stat-card-info:hover i {
    color: #1565c0;
}

.stat-card-warning {
    border-left: 4px solid var(--warning);
}

.stat-card-warning::before {
    background: linear-gradient(90deg, var(--warning) 0%, #f57c00 100%);
}

.stat-card-warning:hover::before {
    background: linear-gradient(90deg, #ef6c00 0%, var(--warning) 100%);
}

.stat-card-warning h3 {
    background: linear-gradient(135deg, var(--warning) 0%, #f57c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-warning:hover h3 {
    background: linear-gradient(135deg, #ef6c00 0%, var(--warning) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-warning i {
    color: var(--warning);
}

.stat-card-warning:hover i {
    color: #ef6c00;
}

/* Stat Card Grid Layout */
.row.mb-4 {
    margin-bottom: 2rem !important;
}

.col-md-3 {
    margin-bottom: 1.5rem;
}

/* Stat Card Animation Keyframes */
@keyframes statCardPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.stat-card:hover {
    animation: statCardPulse 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card .card-body {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .stat-card p {
        font-size: 1rem;
    }
    
    .stat-card i {
        font-size: 2rem;
    }
    
    .col-md-3 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-card .card-body {
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
    }
    
    .stat-card i {
        font-size: 1.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-header {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .table-header i {
        font-size: 0.9rem;
    }
    
    .table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

.user-name {
    font-weight: 600;
    color: var(--primary-dark);
    margin-right: 0.25rem;
    font-size: 1rem;
}

.user-role {
    font-size: 0.85rem;
    color: var(--secondary-dark);
    font-weight: 400;
    margin-left: 0.1rem;
}

/* Override for user button specific styling */
.user-btn .user-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    margin-right: 0.5rem;
}

.user-btn .user-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    opacity: 0.9;
    margin-left: 0;
}

.signin-btn {
    color: var(--gray-700);
    background: var(--gray-100);
    border-color: var(--gray-200);
}

.signin-btn:hover {
    color: var(--primary);
    background: var(--white);
    border-color: var(--primary);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.primary-btn {
    color: var(--white);
    background: var(--primary-gradient);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    gap: 4px;
}

/* Hamburger bars */
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ==========================================
   HERO SECTION - UNIFIED STYLING
   Single hero style for all public pages
   ========================================== */

.hero {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
    min-height: 25vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    animation: fadeInUp 1s ease-out;
/*    max-width: 900px;*/
    margin: 0 auto;
}
@media (max-width: 1800px) {
    .hero-content {
        max-width: none;
    }
}
.hero h1,
.hero .hero-title {
    color: var(--white);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.01em;
    font-size: 2rem;
    margin: 1rem auto 1rem;
    max-width: none;
    padding: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    animation: slideInDown 1.2s ease-out 0.3s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .hero .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero h1,
    .hero .hero-title {
        font-size: 1.4rem;
        padding: 0;
        line-height: 1.3;
    }
}

.hero .lead {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.05rem;
    animation: slideInUp 1.2s ease-out 0.6s both;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Description Wrapper */
.hero-description-wrapper {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

/* Hero Description (Unified Container) */
.hero .hero-description {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Hero Description Content (Always visible) */
.hero-description-content {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.05rem;
    text-align: left;
    padding: 1.5rem 2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero .lead {
        font-size: 0.95rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        line-height: 1.7;
    }
    
    .hero-description-content {
        font-size: 0.95rem;
        padding: 1.25rem 1.5rem;
        line-height: 1.8;
    }
    
    .hero-description-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .hero-description-toggle {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Hero Stats (for Projects page) */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
/*    margin-bottom: 2rem;*/
    flex-wrap: wrap;
    padding: 1rem 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.hero-stat-item i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-stat-label {
    font-weight: 400;
    opacity: 0.9;
}

.hero-stat-value {
    font-weight: 600;
    font-size: 1.05rem;
}

/* Hero Actions (Buttons) */
.hero-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom:20px;
}

.hero-actions .btn {
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.hero-actions .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero-actions .btn:hover::after {
    left: 100%;
}

/* Hero Bidding Info (for Project Details) */
.hero-bidding-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.hero-bidding-info .days-remaining {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--warning) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.hero-bidding-info .days-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* === ENHANCED PROFESSIONAL BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.25);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    color: var(--primary);
    border-color: var(--white);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    min-height: 44px;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    min-height: 36px;
}

/* === PROFESSIONAL CONTAINERS === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}



.section-header {
    text-align: center;
    margin: auto;
    position: relative;
    padding: 1.2rem 0 0 0;
}

/* Removed decorative line above section headers */

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Removed decorative line below section headers */

.section-header .lead {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



.section-header.featured-projects h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--primary-color);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(30, 58, 95, 0.1);
}

.section-header.featured-projects .lead {
/*    font-size: var(--text-xl);*/
    color: var(--gray-700);
    font-weight: 400;
}

/* === ENHANCED STATS SECTION === */
.stats {
    background: linear-gradient(135deg, var(--gray-50) 0%, #f8fafb 100%);
    padding: var(--space-3xl) 0;
    position: relative;
    z-index: 3;
}

/* Shimmer effect for cards */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.stat-card:hover {
    background-image: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md) auto;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
}

.stat-card:hover .stat-icon::after {
    opacity: 1;
}

.stat-icon i {
    color: var(--white);
    font-size: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: var(--text-base);
}

/* === PROFESSIONAL PROJECT CARDS === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
    perspective: 1000px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* === ENHANCED FEATURE CARDS === */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: linear-gradient(135deg, var(--white) 0%, #fafbfc 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15);
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature-icon-container {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-container::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.2);
}

.feature-card:hover .feature-icon-container::after {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.feature-icon {
    font-size: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-title {
    color: var(--primary);
    transform: translateX(4px);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-description {
    color: var(--gray-700);
}

/* Feature card color variants */
.feature-card.primary .feature-icon-container {
    background: rgba(30, 58, 95, 0.1);
}

.feature-card.primary .feature-icon {
    color: var(--primary);
}

.feature-card.primary .feature-icon-container::after {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.feature-card.primary:hover .feature-icon {
    color: var(--white) !important;
}

.feature-card.secondary .feature-icon-container {
    background: rgba(127, 179, 211, 0.1);
}

.feature-card.secondary .feature-icon {
    color: var(--secondary);
}

.feature-card.secondary .feature-icon-container::after {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.feature-card.secondary:hover .feature-icon {
    color: var(--white) !important;
}

.feature-card.success .feature-icon-container {
    background: rgba(76, 175, 80, 0.1);
}

.feature-card.success .feature-icon {
    color: var(--success);
}

.feature-card.success .feature-icon-container::after {
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%);
}

.feature-card.success:hover .feature-icon {
    color: var(--white) !important;
}

.feature-card.info .feature-icon-container {
    background: rgba(33, 150, 243, 0.1);
}

.feature-card.info .feature-icon {
    color: var(--info);
}

.feature-card.info .feature-icon-container::after {
    background: linear-gradient(135deg, var(--info) 0%, #1976d2 100%);
}

.feature-card.info:hover .feature-icon {
    color: var(--white) !important;
}

.feature-card.warning .feature-icon-container {
    background: rgba(255, 152, 0, 0.1);
}

.feature-card.warning .feature-icon {
    color: var(--warning);
}

.feature-card.warning .feature-icon-container::after {
    background: linear-gradient(135deg, var(--warning) 0%, #f57c00 100%);
}

.feature-card.warning:hover .feature-icon {
    color: var(--white) !important;
}

.feature-card.danger .feature-icon-container {
    background: rgba(244, 67, 54, 0.1);
}

.feature-card.danger .feature-icon {
    color: var(--danger);
}

.feature-card.danger .feature-icon-container::after {
    background: linear-gradient(135deg, var(--danger) 0%, #d32f2f 100%);
}

.feature-card.danger:hover .feature-icon {
    color: var(--white) !important;
}

/* Shimmer effect for feature cards */
.feature-card:hover {
    background-image: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* === HORIZONTAL CARDS INFOGRAPHIC === */


.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.process-card-horizontal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(26, 54, 93, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.8s ease-out forwards;
}

.process-card-horizontal:nth-child(1) { animation-delay: 0.2s; }
.process-card-horizontal:nth-child(2) { animation-delay: 0.4s; }
.process-card-horizontal:nth-child(3) { animation-delay: 0.6s; }
.process-card-horizontal:nth-child(4) { animation-delay: 0.8s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--info) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-card-horizontal:hover::before {
    opacity: 1;
}

.process-card-horizontal:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(26, 54, 93, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-header {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.card-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 
        0 8px 24px rgba(26, 54, 93, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconPulse 2s ease-in-out infinite;
}

.card-icon-circle i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.icon-glow {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.process-card-horizontal:hover .card-icon-circle {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 12px 32px rgba(26, 54, 93, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.process-card-horizontal:hover .icon-glow {
    opacity: 0.8;
}

.process-card-horizontal:hover .card-icon-circle i {
    transform: scale(1.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.card-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    border: 3px solid white;
    transition: all 0.4s ease;
    animation: numberBounce 0.6s ease-out 1s forwards;
    transform: scale(0);
}

@keyframes numberBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.process-card-horizontal:hover .card-number {
    transform: scale(1.3);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}

.card-connector {
    position: relative;
    flex: 1;
    margin-left: 2rem;
}

.connector-line-horizontal {
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
    position: relative;
    animation: lineGrowHorizontal 1.2s ease-out 0.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.connector-arrow-horizontal {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--secondary);
    animation: arrowFadeInHorizontal 0.6s ease-out 1.7s forwards;
    opacity: 0;
}

@keyframes lineGrowHorizontal {
    to {
        transform: scaleX(1);
    }
}

@keyframes arrowFadeInHorizontal {
    to {
        opacity: 1;
    }
}
/*
.card-body {
    padding: 0 2rem 2rem 2rem;
}*/

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
/*    margin-bottom: 1rem;*/
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.process-card-horizontal:hover .card-title {
    transform: translateX(5px);
}

.card-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.process-card-horizontal:hover .card-description {
    color: var(--gray-700);
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(26, 54, 93, 0.05) 100%);
    border: 1px solid rgba(26, 54, 93, 0.2);
    border-radius: 20px;
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: tagSlideIn 0.8s ease-out 1.2s forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes tagSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-tag:nth-child(1) { animation-delay: 1.3s; }
.feature-tag:nth-child(2) { animation-delay: 1.4s; }
.feature-tag:nth-child(3) { animation-delay: 1.5s; }

.process-card-horizontal:hover .feature-tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

/* Card-specific styling */
.card-1 .card-icon-circle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.card-2 .card-icon-circle {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.card-3 .card-icon-circle {
    background: linear-gradient(135deg, var(--info) 0%, #1976d2 100%);
}

.card-4 .card-icon-circle {
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .card-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .card-body {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .card-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .card-icon-circle i {
        font-size: 1.75rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
    
    .card-connector {
        display: none;
    }
}

@media (max-width: 480px) {
    .card-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .card-body {
        padding: 0 1rem 1rem 1rem;
    }
    
    .card-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .card-icon-circle i {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}
/*public/project page styling */
.project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    min-height: 320px;
    max-height: 400px;
    border: 1px solid #e0e6ec;
}

.project-card-clickable {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card-clickable:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 8px 32px rgba(26, 54, 93, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
/*    border: 1px solid var(--primary);*/
}

.project-card-clickable:hover .project-click-hint {
    opacity: 1;
    transform: translateX(0);
}

.project-click-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem;
    opacity: 0.6;
    transform: translateX(-3px);
    transition: all 0.3s ease;
}


@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.project-card {
    animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-header {
    padding: 1.5rem 1.25rem 1rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.6) 0%, 
        rgba(241, 245, 249, 0.6) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/*.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(30, 58, 95, 0.1), 
        transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-header::before {
    left: 100%;
}
*/
.project-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.project-card:hover .project-title {
    color: var(--primary);
    transform: translateX(4px);
    text-shadow: 0 2px 8px rgba(30, 58, 95, 0.2);
}

.project-location {
    color: var(--gray-600);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}
.project-location {
    color: var(--gray-700);
    transform: translateX(4px);
}

.project-location i {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

 .project-location i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 2px 4px rgba(30, 58, 95, 0.3));
    color: var(--primary);
}

.project-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: calc(100% - 120px);
}
.project-body {
    transform: translateY(-2px);
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.project-meta-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}



.project-meta-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.project-meta-value {
    font-weight: 600;
    color: var(--gray-800);
    font-size: var(--text-base);
}

.project-description {
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.project-description {
    color: var(--gray-700);
    transform: translateX(2px);
}

.project-badges {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}


.badge-status {
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.text-primary {
    color: var(--primary) !important;
}
.badge-department {
    background: linear-gradient(135deg, var(--info) 0%, #0369a1 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3);
}

 .badge-status {
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

 .badge-department {
    box-shadow: 0 6px 16px rgba(3, 105, 161, 0.4);
}

 .badge-date {
    box-shadow: 0 6px 16px rgba(75, 85, 99, 0.4);
}

 .badge-closed {
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
}

.project-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-top: auto;
    padding-top: 0.5rem;
    z-index: 2;
}

 .project-actions {
    transform: translateY(-2px);
}

.project-actions .btn {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

.project-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-actions .btn::before {
    left: 100%;
}

 .project-actions .btn {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

.project-actions .btn i {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

 .project-actions .btn i {
    transform: translateX(3px) scale(1.1);
}

.project-budget {
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-budget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(5, 150, 105, 0.1), 
        transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

 .project-budget::before {
    left: 100%;
}

 .project-budget {
    color: #047857;
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 var(--space-lg);
    }
    
    .nav-links {
        gap: var(--space-sm);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .navbar-wrapper {
        height: 56px;
        align-items: center;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: var(--space-sm);
        width: 40px;
        height: 40px;
    }
    .brand-text { display: none; }
    .navbar-brand-section { margin-right: auto; }
    .navbar-actions { gap: var(--space-sm); padding-left: var(--space-md); }
    .navbar-actions .action-btn { padding: 6px 10px; font-size: 0.75rem; line-height: 1; }

    /* Ensure active nav item is readable in mobile dropdown */
    .navbar-menu.mobile-active .nav-link {
        color: var(--gray-800) !important;
    }
    .navbar-menu.mobile-active .nav-link i {
        color: var(--gray-600) !important;
    }
    .navbar-menu.mobile-active .nav-link.active {
        background: var(--gray-100) !important;
        color: var(--gray-900) !important;
        box-shadow: var(--shadow-sm);
    }
    .navbar-menu.mobile-active .nav-link.active i {
        color: var(--gray-700) !important;
    }
    
    .hero {
        padding: 80px 0 40px 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .hero-stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .hero-bidding-info {
        padding: 1rem;
    }
    
    .hero-bidding-info .days-remaining {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .project-card {
        border-radius: 12px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        min-height: 280px;
        max-height: 350px;
    }
    
    .project-header {
        padding: 1.25rem 1rem 0.75rem 1rem;
    }
    
    .project-body {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 var(--space-md);
    }
    /* Prevent tiny-screen horizontal overflow and right-side gap */
    html, body { max-width: 100%; overflow-x: hidden; }
    .professional-navbar, .navbar-container, .navbar-wrapper { width: 100%; }
    .container { max-width: 100%; }
    .navbar-actions .action-btn { padding: 6px 8px; }
    
    /* Reduce stats card sizes on mobile */
    .stat-card {
        padding: var(--space-md);
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: var(--space-sm);
    }
    .stat-icon i {
        font-size: 1.25rem;
    }
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: var(--space-xs);
    }
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Center footer content on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }
    .footer-section {
        text-align: center;
    }
    .footer-section ul {
        text-align: center;
    }
    
    /* Center contact details card on mobile */
    .contact-info-card {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-details-content {
        text-align: center;
    }
    
    /* Hide user role on mobile */
    .user-role {
        display: none;
    }
    
    /* Reorder user dropdown: name first, then avatar */
    .action-btn.user-btn {
        flex-direction: row-reverse;
        gap: var(--space-sm);
    }
    
    .brand-text {
        display: none;
    }
    
    .hero {
        padding: 60px 0 30px 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .lead {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stat-item {
        font-size: 0.7rem;
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .hero-bidding-info .days-remaining {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}
/* Projects Display Section */
.projects-display-section {
    padding: 1rem 0;
}

/* Control Bar */
.projects-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid var(--gray-200);
}

.projects-info {
    flex: 1;
}

.projects-heading {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.projects-count {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.projects-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Sort Dropdown */
.sort-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0;
}

.sort-select {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
}

    .sort-select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    }

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: 8px;
}

.view-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .view-btn:hover {
        background: var(--gray-200);
        color: var(--gray-900);
    }

    .view-btn.active {
        background: white;
        color: var(--primary);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
/* Filters Row */
.projects-filters {
    display: grid;
    grid-template-columns: 1fr repeat(3, minmax(180px, 220px)) auto auto;
    gap: 0.75rem;
    margin-top: 0.75rem;
    align-items: center;
}

/* Search input */
.projects-search {
    position: relative;
}

.projects-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--gray-500);
    pointer-events: none;
}

.projects-search-input {
    width: 100%;
    padding: 0.6rem 0.9rem 0.6rem 2.2rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    background: #fff;
}

    .projects-search-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    }

/* Selects (match sort-select look) */
.projects-select {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    min-width: 180px;
}

    .projects-select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    }

/* Buttons */
.projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

    .projects-btn:hover {
        box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
    }

    .projects-btn:active {
        transform: translateY(1px);
    }

.projects-btn-clear {
    background: #fff;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

    .projects-btn-clear:hover {
        border-color: var(--gray-400);
    }

/* Make room on smaller screens */
@media (max-width: 1024px) {
    .projects-filters {
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows: auto;
    }

    .sort-dropdown-wrapper {
        grid-column: span 1;
    }

    .projects-btn, .projects-btn-clear {
        grid-column: span 1;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .projects-filters {
        grid-template-columns: 1fr;
    }
}

/* Grid View - Keep existing styles */
.projects-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

    .projects-grid.active-view {
        display: grid;
    }

/* Table View */
.projects-table-wrapper {
    display: none;
    animation: fadeIn 0.4s ease;
}

    .projects-table-wrapper.active-view {
        display: block;
    }

.table-responsive {
    overflow-x: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

    .projects-table thead {
        background: #e7eaee;
    }

        .projects-table thead th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

    .projects-table tbody tr {
        border-bottom: 1px solid var(--gray-200);
        transition: all 0.3s ease;
    }

        .projects-table tbody tr:hover {
            background: var(--gray-50);
            transform: scale(1.01);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

    .projects-table tbody td {
        padding: 1.25rem 1rem;
        vertical-align: middle;
    }

/* Responsive improvements for Projects table */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
    }
    .projects-table {
        min-width: 720px; /* keep columns readable; enable scroll */
        font-size: 0.9rem;
    }
    .projects-table thead th {
        padding: 0.6rem 0.5rem;
        white-space: nowrap;
        font-size: 0.85rem;
    }
    .projects-table tbody td {
        padding: 0.6rem 0.5rem;
    }
    .table-col-name { min-width: 220px; }
    .table-col-location { min-width: 140px; }
    .table-col-status { min-width: 120px; }
    .table-col-action { min-width: 120px; }
    .btn-table-action {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

.table-col-name {
    min-width: 280px;
}

.table-project-name {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .table-project-name strong {
        color: var(--gray-900);
        font-size: 1rem;
    }

.table-project-desc {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.4;
}

.table-col-location {
    min-width: 180px;
    /* color: var(--gray-700); */
}

    .table-col-location i {
        margin-right: 0.5rem;
    }

.table-col-department {
    min-width: 140px;
}

.table-col-status {
    min-width: 140px;
}

.table-col-budget {
    min-width: 120px;
    font-size: 1.05rem;
}

.table-col-action {
    min-width: 120px;
    text-align: center;
}

.table-row-clickable {
    cursor: pointer;
}

.btn-table-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-table-action:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.3);
        color: white;
    }

/* Enhanced Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--gray-200);
}

.pagination-info {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.pagination-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

    .pagination-link:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.2);
    }

    .pagination-link.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
        font-weight: 600;
        box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.2);
    }

    .pagination-link i {
        font-size: 0.9rem;
    }

/* No Results */
.no-results-container {
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.no-results-title {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-results-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.action-buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .projects-control-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .projects-controls {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sort-dropdown-wrapper {
        flex: 1;
    }

    .sort-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .projects-control-bar {
        padding-bottom: 1.5rem;
    }

    .projects-heading {
        font-size: 1.5rem;
    }

    .projects-count {
        font-size: 0.85rem;
    }

    .projects-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .sort-dropdown-wrapper {
        width: 100%;
    }

    .view-toggle {
        width: 100%;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    /* Table scrolls horizontally on mobile */
    .table-responsive {
        margin: 0 -1rem;
        border-radius: 0;
    }

    .projects-table {
        font-size: 0.85rem;
    }

        .projects-table thead th,
        .projects-table tbody td {
            padding: 0.75rem;
        }

    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .no-results-icon {
        font-size: 3rem;
    }

    .no-results-title {
        font-size: 1.5rem;
    }

    .action-buttons-container {
        flex-direction: column;
    }

        .action-buttons-container .btn {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .projects-heading {
        font-size: 1.25rem;
    }

    .projects-count {
        font-size: 0.8rem;
    }

    .view-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }

    .sort-select {
        font-size: 0.85rem;
    }

    .pagination-link {
        min-width: 32px;
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.8rem;
    }
}

/* Loading State */
.projects-loading {
    text-align: center;
    padding: 3rem;
}

.projects-loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Badge Styles (if not already defined) */
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 400;
    border-radius: 6px;
    letter-spacing: 0.3px;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
    .badge:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.badge-status {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.badge-department {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.badge-date {
    background: var(--gray-100);
    color: var(--gray-700);
}

.badge-closing-soon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-closed {
    background: var(--gray-300);
    color: var(--gray-700);
}

/* Smooth transitions for view switching */
.active-view {
    animation: fadeIn 0.4s ease;
}

/* Focus states for accessibility */
.view-btn:focus,
.sort-select:focus,
.pagination-link:focus,
.btn-table-action:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .projects-control-bar,
    .pagination-container,
    .btn-table-action {
        display: none;
    }

    .projects-table-wrapper {
        display: block !important;
    }

    .projects-grid {
        display: none !important;
    }

    .projects-table tbody tr:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
    }
}
/*ENDS HERE the PUBLIC PROJECT details STYLING */
/* === ENHANCED FOOTER === */
/* Base footer shell */
.footer {
    background: radial-gradient(1200px 600px at 50% -100px, rgba(255,255,255,0.04), transparent), linear-gradient(135deg, #0f1e2b, #16283b);
    color: #e8edf3;
    padding: 40px 16px 28px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.footer__container {
    max-width: 1040px; /* keeps things tight = no wasted space */
    margin: 0 auto;
}

.footer__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.2px;
    color: #fff;
    position: relative;
}

    .footer__title::after {
        content: "";
        display: block;
        width: 120px;
        height: 2px;
        margin: 12px auto 0;
        background: rgba(255,255,255,0.16);
        border-radius: 1px;
    }

/* GRID: fills horizontally first  2�3 columns on wide screens, 1 on mobile */
.locations {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
    margin: 14px auto 8px;
}

/* Card (details element) */
.location {
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    overflow: clip;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    will-change: transform;
}

    .location:hover {
        background: rgba(255,255,255,0.07);
    }

/* Header row */
.location__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    outline: none;
}

    .location__summary::-webkit-details-marker {
        display: none;
    }

    .location__summary:focus-visible {
        box-shadow: 0 0 0 2px #91c4ff;
        border-radius: 10px;
    }

.location__label {
    font-weight: 600;
    font-size: 16px;
    color: #eaf1f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron */
.chev {
    transition: transform 200ms ease;
    opacity: .9;
}

.location[open] .chev {
    transform: rotate(90deg);
}

/* Body */
.location__body {
    padding: 0 14px 12px 40px; /* left indent aligns with chevron */
    color: rgba(232, 237, 243, 0.85);
    font-size: 14px;
    line-height: 1.5;
    display: grid;
    gap: 6px;
    animation: slideDown 220ms ease;
}

    .location__body i {
        margin-right: 8px;
        opacity: .9;
    }

/* Bottom strip */
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 18px;
    padding-top: 14px;
    text-align: center;
    font-size: 13.5px;
    color: rgba(232,237,243,0.75);
}

    .footer__bottom a {
        color: rgba(232,237,243,0.82);
        text-decoration: none;
    }

        .footer__bottom a:hover {
            color: #fff;
        }

/* Motion */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive fine-tuning */
@media (max-width: 640px) {
    .locations {
        grid-template-columns: 1fr;
    }

    .location__label {
        font-size: 15px;
    }
}

@media (min-width: 1100px) {
    .locations {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    /* force 3 tidy cols on wide screens */
}

/* === ENHANCED FORMS === */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/*.form-control {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
    color: var(--gray-700);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 54, 93, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}*/

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

/* === PROFESSIONAL ALERTS === */
.alert {
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
    border-color: rgba(5, 150, 105, 0.2);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    border-color: rgba(220, 38, 38, 0.2);
}

.alert-info {
    background: rgba(2, 132, 199, 0.1);
    color: #0369a1;
    border-color: rgba(2, 132, 199, 0.2);
} 

/* === INTERACTIVE USER AVATAR ICON === */
.user-avatar-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

/* === ENHANCED USER BUTTON HOVER EFFECTS === */
.user-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.08);
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
}

.user-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.user-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    border-radius: 10px;
}

.user-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.15);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.user-btn:hover::before {
    left: 100%;
}

.user-btn:hover::after {
    opacity: 0.1;
}

.user-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.12);
}

/* Enhanced text styling similar to red image */
.user-btn .user-name {
    color: var(--gray-800);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    margin-right: 0.5rem;
}

.user-btn .user-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.user-btn:hover .user-name {
    color: var(--primary-dark);
    transform: translateX(2px);
}

.user-btn:hover .user-role {
    color: var(--primary-dark);
    opacity: 1;
    transform: translateX(2px);
}

/* Focus state for accessibility */
.user-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.user-btn:focus .user-name,
.user-btn:focus .user-role {
    color: var(--primary-dark);
}

.avatar-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
}

.avatar-icon {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
}

.avatar-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.avatar-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 3;
}

/* Hover Effects */
.user-btn:hover .avatar-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.25);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.user-btn:hover .avatar-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.user-btn:hover .avatar-ring {
    opacity: 1;
    transform: scale(1.05);
}

.user-btn:hover .avatar-shine {
    left: 100%;
}

/* Active State */
.user-btn:active .avatar-circle {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

/* Focus State for Accessibility */
.user-btn:focus .avatar-circle {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Animation for Initial Load */
@keyframes avatarPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
    }
}

.avatar-circle {
    animation: avatarPulse 2s ease-in-out infinite;
}

/* Pause animation on hover */
.user-btn:hover .avatar-circle {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .avatar-circle {
        width: 36px;
        height: 36px;
    }
    
    .avatar-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .avatar-circle {
        width: 32px;
        height: 32px;
    }
    
    .avatar-icon {
        font-size: 1rem;
    }
}

/* ==========================================
   MODERN PROCESS FLOW INFOGRAPHIC STYLES
   ========================================== */

.modern-process-flow {
    margin: var(--space-sm) 0 var(--space-xl) 0;
    overflow: hidden;
    position: relative;
}

.flow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    min-height: 400px;
}



/* Process Steps */
.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    flex: 1;
    max-width: 220px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* Step Info Positioning */
.step-info {
    text-align: center;
    max-width: 200px;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out;
}

.step-info:nth-child(1) { animation-delay: 0.2s; }
.step-info:nth-child(2) { animation-delay: 0.3s; }
.step-info:nth-child(3) { animation-delay: 0.4s; }
.step-info:nth-child(4) { animation-delay: 0.5s; }
.step-info:nth-child(5) { animation-delay: 0.6s; }
.step-info:nth-child(6) { animation-delay: 0.7s; }

.step-info-above {
    order: 1;
    margin-bottom: var(--space-lg);
}

.step-info-below {
    order: 3;
    margin-top: var(--space-lg);
}

.step-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
    animation: textGlow 3s ease-in-out infinite;
}

.step-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
    transition: var(--transition-normal);
}

/* Step Circles */
.step-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    transition: var(--transition-normal);
    z-index: 3;
    animation: fadeInUp 0.8s ease-out;
}

.step-circle:nth-child(1) { animation-delay: 0.1s; }
.step-circle:nth-child(2) { animation-delay: 0.2s; }
.step-circle:nth-child(3) { animation-delay: 0.3s; }
.step-circle:nth-child(4) { animation-delay: 0.4s; }
.step-circle:nth-child(5) { animation-delay: 0.5s; }
.step-circle:nth-child(6) { animation-delay: 0.6s; }

.circle-outer-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 4px solid;
    animation: borderRotate 20s linear infinite;
    overflow: hidden;
}

.circle-outer-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

.circle-inner-white {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: 2;
    animation: circlePulse 2s ease-in-out infinite;
}

.step-circle:hover .circle-inner-white {
    transform: scale(1.15);
    animation-play-state: paused;
}

.circle-inner-white i {
    font-size: 2.5rem;
    color: white;
    transition: var(--transition-normal);
    animation: iconFloat 2s ease-in-out infinite;
}

.step-circle:hover .circle-inner-white i {
    animation-play-state: paused;
}



/* Color Themes - Unified Wooten Blue */
.step-circle.teal .circle-outer-ring,
.step-circle.green .circle-outer-ring,
.step-circle.orange .circle-outer-ring,
.step-circle.red .circle-outer-ring,
.step-circle.purple .circle-outer-ring,
.step-circle.pink .circle-outer-ring {
    border-color: #1e3a5f;
    background: #1e3a5f;
}

.step-circle.teal .circle-inner-white i,
.step-circle.green .circle-inner-white i,
.step-circle.orange .circle-inner-white i,
.step-circle.red .circle-inner-white i,
.step-circle.purple .circle-inner-white i,
.step-circle.pink .circle-inner-white i {
    color: #1e3a5f;
}

/* Hover Effects */
.process-step:hover .step-circle {
    transform: scale(1.05);
}

.process-step:hover .circle-outer-ring {
    animation-play-state: paused;
}

.process-step:hover .step-title {
    color: var(--primary);
    transform: scale(1.05);
}

.process-step:hover .step-description {
    color: var(--gray-700);
}

.process-step:hover .circle-outer-ring::before {
    animation-play-state: paused;
}



/* Animations */
@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }
    50% {
        text-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsive Design */
@media (max-width: 1200px) {
    .flow-container {
        gap: var(--space-md);
        padding: var(--space-xl) var(--space-lg);
    }
    
    .step-circle {
        width: 100px;
        height: 100px;
    }
    
    .circle-inner-white {
        width: 70px;
        height: 70px;
    }
    
    .circle-inner-white i {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .flow-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xl);
    }
    
    .process-step {
        flex: 0 0 calc(33.333% - var(--space-lg));
        max-width: 200px;
    }
    

    

}

@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        gap: var(--space-xl);
        padding: var(--space-lg);
    }
    
    .process-step {
        flex: none;
        max-width: 280px;
        width: 100%;
    }
    
    .step-circle {
        width: 90px;
        height: 90px;
    }
    
    .circle-inner-white {
        width: 60px;
        height: 60px;
    }
    
    .circle-inner-white i {
        font-size: 1.75rem;
    }
    
    .step-info {
        max-width: 100%;
    }
    
    /* Mobile: Show circle first, then text */
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-info-above,
    .step-info-below {
        order: 2;
        margin-top: var(--space-md);
        margin-bottom: 0;
    }
    
    .step-circle {
        order: 1;
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .flow-container {
        padding: var(--space-md);
        gap: var(--space-lg);
    }
    
    .step-circle {
        width: 80px;
        height: 80px;
    }
    
    .circle-inner-white {
        width: 50px;
        height: 50px;
    }
    
    .circle-inner-white i {
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: var(--text-base);
    }
    
    .step-description {
        font-size: var(--text-xs);
    }
}

/* === NEW CIRCLE CONTAINER STYLES === */
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");

.circle-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.outer-circle {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.inner-circle {
    width: 200px;
    height: 200px;
    box-sizing: content-box;
    border: 60px solid var(--primary);
    transform: rotate(45deg);
    border-radius: 50%;
}

.inner-circle-content {
    background: #ffffff;
    border: 5px solid #ffffff;
    box-sizing: border-box;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: inset 0px 0px 25px rgba(0, 0, 0, 0.3);
}

.inner-circle-content span {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 8px;
}

.inner-circle-content svg {
    margin-top: 5px;
}

.outer-circle svg path {
    stroke: var(--primary);
    fill: var(--primary);
}

.outer-circle:not(:first-child) {
    margin-left: -59px;
}

.outer-circle:nth-child(odd) .inner-circle {
    border-top-color: transparent;
    border-left-color: transparent;
}

.outer-circle:nth-child(even) {
    margin-top: 1px;
}

.outer-circle:nth-child(even) .inner-circle {
    border-bottom-color: transparent;
    border-right-color: transparent;
}

.outer-circle:first-child .inner-circle {
    border-left-color: var(--primary);
}

.outer-circle:last-child .inner-circle {
    border-right-color: var(--primary);
}

/* Fix right-side overflow on tablets: shrink timeline circles */
@media (min-width: 768px) and (max-width: 1213px) {
    .section.section-light-bg { overflow-x: hidden; }
    .blue-card-container { overflow: hidden; }
    .circle-container { gap: 0; }
    .outer-circle {
        width: 260px;
        height: 260px;
    }
    .inner-circle {
        width: 160px;
        height: 160px;
        border-width: 14px;
    }
    .outer-circle:not(:first-child) {
        margin-left: -48px;
    }
}

/* Tablet layout (enhanced): fluid sizing to preserve design without overflow */
@media (min-width:768px) and (max-width:1213px){
    :root{
        --how-outer: clamp(220px, 24vw, 300px);
        --how-inner: calc(var(--how-outer) * 0.625);
        /* Thicker ring and greater negative overlap to intersect next circle */
        --how-border: clamp(16px, 3.6vw, 34px);
        --how-gap: calc(var(--how-outer) * -0.26);
    }
    .outer-circle{ width:var(--how-outer); height:var(--how-outer); }
    .inner-circle{ width:var(--how-inner); height:var(--how-inner); border-width:var(--how-border); }
    .outer-circle:not(:first-child) /*{ margin-left: calc(--how-gap); }*/
        .section.section-light-bg, .blue-card-container{ overflow:hidden; }
    .inner-circle-content span{ font-size: clamp(0.8rem, 1.6vw, 1rem); }
    .inner-circle-content svg{ width: clamp(26px, 3vw, 35px); height:auto; }
}

/* ===== Project Details: Contact tab card styling (all screens) ===== */
#contact-tab .card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 6px 18px rgba(26, 54, 93, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    min-height: 180px;
}

#contact-tab .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(26, 54, 93, 0.16);
    border-color: var(--primary-light);
}

#contact-tab .card-body {
    padding: 1.75rem 1.5rem;
}

#contact-tab .card-body i {
    background: radial-gradient(circle at 30% 30%, rgba(26, 54, 93, 0.15), rgba(26, 54, 93, 0.05));
    color: var(--primary);
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem !important;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.04), 0 4px 12px rgba(26,54,93,0.12);
    margin-bottom: 0.75rem !important;
}

#contact-tab .card-title {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--gray-700);
    margin-bottom: 0.35rem;
}

#contact-tab .card-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

#contact-tab .card-text a:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    #contact-tab .card { min-height: 150px; }
    #contact-tab .card-body { padding: 1.25rem 1rem; }
    #contact-tab .card-body i { width: 46px; height: 46px; line-height: 46px; font-size: 1.1rem !important; }
}


/* Professional Circle Effects */
        .outer-circle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    will-change: transform;
}

.outer-circle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(45, 90, 123, 0.08) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.outer-circle:hover::after {
    opacity: 1;
}

.outer-circle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px rgba(26, 54, 93, 0.12),
        0 4px 16px rgba(26, 54, 93, 0.08);
}

.inner-circle {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.outer-circle:hover .inner-circle {
    border-color: var(--primary);
}

.inner-circle-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.outer-circle:hover .inner-circle-content {
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        inset 0 0 0 1px rgba(26, 54, 93, 0.12),
        inset 0 0 25px rgba(0, 0, 0, 0.08);
}

.inner-circle-content span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', var(--font-heading);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.outer-circle:hover .inner-circle-content span {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transform: translateY(-1px);
}

.inner-circle-content svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.outer-circle:hover svg {
    filter: brightness(1.05) contrast(1.05);
    transform: translateY(-1px);
}

.outer-circle:hover svg path {
    fill: var(--primary-dark);
    stroke: var(--primary-dark);
}

/* Subtle Professional Animation */
.outer-circle:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.outer-circle:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.outer-circle:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.outer-circle:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Professional Focus States */
.outer-circle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.outer-circle:active {
    transform: translateY(0);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Typography on Hover */
/* Removed individual hover effects for unified card interaction */

/* Enhanced Heading Styles */
.inner-circle-content span {
    position: relative;
}

.inner-circle-content span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

/* Removed individual hover effects for unified card interaction */

/* Mobile Responsive */
@media (max-width: 767px) {
    .circle-container {
        flex-direction: column;
        align-items: center;
    }
    
    .outer-circle .inner-circle {
        transform: rotate(135deg);
    }
    
    .outer-circle .inner-circle .inner-circle-content {
        transform: rotate(225deg);
    }
    
    .outer-circle:not(:first-child) {
        margin-left: 0px;
        margin-top: -59px;
    }
    
    .outer-circle:last-child {
        margin-bottom: 0;
    }
}

/* Step Number Styling */
.step-number {
    position: relative;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.3);
    border: 2px solid white;
    margin: 0 auto 8px auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Removed individual hover effects for unified card interaction */

/* Adjust inner-circle-content layout for step numbers */
.inner-circle-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Mobile responsive adjustments for step numbers */
@media (max-width: 767px) {
    .step-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .inner-circle-content {
        gap: 3px;
    }
}

/* ==========================================
   INTERACTIVE SECTION HEADER ANIMATIONS
   ========================================== */

.interactive-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(45, 90, 123, 0.05) 100%);
    border-radius: 20px;
    margin-bottom: 4rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Removed individual hover effects for unified card interaction */

/* Animated Subtitle */
.animated-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.subtitle-icon {
    font-size: 1.2rem;
    color: var(--primary);
    animation: rotate 3s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(26, 54, 93, 0.2));
}

.subtitle-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    position: relative;
    transition: all 0.3s ease;
}

/* Removed individual hover effects for unified card interaction */

.subtitle-underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

/* Removed individual hover effects for unified card interaction */

/* Animated Title */
.animated-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.title-word {
    display: inline-block;
    position: relative;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-word::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Removed individual hover effects for unified card interaction */

.title-word-1 { animation-delay: 0.4s; }
.title-word-2 { animation-delay: 0.6s; }
.title-word-3 { animation-delay: 0.8s; }

/* Animated Description */
.animated-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.description-line {
    display: block;
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

.description-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

/* Removed individual hover effects for unified card interaction */

/* Header Decoration */
.header-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.interactive-header:hover .header-decoration {
    opacity: 0.2;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-radius: 1px;
}

.decoration-line.right {
    background: linear-gradient(90deg, transparent 0%, var(--primary) 100%);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .interactive-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .animated-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 4px;
    }
    
    .title-word {
        font-size: 1.8rem;
    }
    
    .animated-description {
        gap: 6px;
    }
    
    .description-line {
        font-size: 1rem;
    }
    
    .header-decoration {
        gap: 15px;
    }
    
    .decoration-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .animated-title {
        font-size: 1.8rem;
    }
    
    .title-word {
        font-size: 1.6rem;
    }
    
    .animated-subtitle {
        flex-direction: column;
        gap: 8px;
    }
    
    .subtitle-icon {
        font-size: 1rem;
    }
}

/* ==========================================
   BLUE CARD CONTAINER EFFECTS
   ========================================== */

.blue-card-container {
    position: relative;
    padding: 2rem 0;
}

.blue-card-content {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(26, 54, 93, 0.03) 0%, 
        rgba(45, 90, 123, 0.06) 25%,
        rgba(127, 179, 211, 0.08) 50%,
        rgba(45, 90, 123, 0.06) 75%,
        rgba(26, 54, 93, 0.03) 100%);
    padding: 2rem 2rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(26, 54, 93, 0.08),
        0 4px 20px rgba(127, 179, 211, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.blue-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 54, 93, 0.1) 0%, 
        rgba(45, 90, 123, 0.15) 50%,
        rgba(127, 179, 211, 0.2) 100%);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.blue-card-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(127, 179, 211, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
    animation: cardGlow 4s ease-in-out infinite;
}

/* Hover Effects */
.blue-card-container:hover .blue-card-content {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(26, 54, 93, 0.2);
    box-shadow: 
        0 25px 80px rgba(26, 54, 93, 0.15),
        0 12px 40px rgba(127, 179, 211, 0.2),
        0 8px 25px rgba(45, 90, 123, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.blue-card-container:hover .blue-card-content::before {
    opacity: 1;
}

.blue-card-container:hover .blue-card-content::after {
    opacity: 1;
}

/* Enhanced Interactive Header within Blue Card */
.blue-card-container .interactive-header {
    background: transparent;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* Enhanced Circle Container within Blue Card */
.blue-card-container .circle-container {
    position: relative;
    z-index: 2;
}

.blue-card-container .outer-circle {
    position: relative;
    z-index: 2;
}

/* Enhanced Button within Blue Card */
.blue-card-container .btn-primary {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    box-shadow: 
        0 8px 25px rgba(26, 54, 93, 0.3),
        0 4px 15px rgba(127, 179, 211, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.blue-card-container .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.blue-card-container .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(26, 54, 93, 0.4),
        0 8px 25px rgba(127, 179, 211, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.blue-card-container .btn-primary:hover::before {
    left: 100%;
}

.blue-card-container .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* Floating Elements Animation */
.blue-card-content::before {
    animation: float 6s ease-in-out infinite;
}

/* Card Glow Animation */
@keyframes cardGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive for Blue Card */
@media (max-width: 768px) {
    .blue-card-content {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .blue-card-container:hover .blue-card-content {
        transform: translateY(-4px) scale(1.01);
    }
    
    .blue-card-container .interactive-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .blue-card-content {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .blue-card-container:hover .blue-card-content {
        transform: translateY(-2px) scale(1.005);
    }
}

/* ===== PROJECTS PAGE INLINE STYLE REPLACEMENTS ===== */




/* Stats Grid */
.stats-grid-projects {
    margin-bottom: 2rem;
}

/* Search & Filter Container */
.search-filter-container {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Search Form Grid Layout */
.search-form-grid {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 1rem;
    align-items: center;
}

/* Form Group No Margin */
.form-group-no-margin {
    margin-bottom: 0;
}

/* Search Input Container */
.search-input-container {
    position: relative;
}

/* Search Input with Icon */
.search-input-with-icon {
    padding-left: 50px;
}

/* Search Icon */
.search-icon-absolute {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Date Status Colors */
.date-status-warning {
    color: var(--warning);
}

.date-status-danger {
    color: var(--danger);
}

.date-status-muted {
    color: var(--text-muted);
}

/* Closing Soon Badge */
.badge-closing-soon {
    background: var(--danger);
    color: white;
}

.badge-date {
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

.badge-closed {
    background: linear-gradient(135deg, var(--gray-500) 0%, var(--gray-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    opacity: 0.8;
}

/* Budget TBD */
.budget-tbd {
    color: var(--text-muted);
}

/* Pagination Container */
.pagination-container {
    margin-top: 3rem;
}

/* Pagination List */
.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pagination Link */
.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-weight: 600;
}

/* No Results Container */
.no-results-container {
    padding: 4rem 2rem;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

/* No Results Icon */
.no-results-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* No Results Text */
.no-results-title {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-results-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Action Buttons Container */
.action-buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* CTA Section */
.cta-section-projects {
    margin-top: 30px;
    padding: 30px 0 30px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

/* CTA Text */
.cta-title-white {
    color: white;
    margin-bottom: 1rem;
    font-size:1.7rem;
}

.cta-description-white {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons Container */
.cta-buttons-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Button Transparent */
.btn-cta-transparent {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-transparent:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for Projects page */
@media (max-width: 768px) {
    .search-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== ABOUT PAGE INLINE STYLE REPLACEMENTS ===== */

/* Mission Text Styling */
.mission-text {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.mission-text-spaced {
    color: var(--text-light);
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
}

/* Values Section */
.values-section-header {
    margin-bottom: 3rem;
}

/* Value Icon Gradients */
.value-icon-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.value-icon-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.value-icon-success {
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%);
}

/* Contact Section */
.contact-title-white {
    color: white;
}

.contact-description-white {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ==========================================
   PROJECT DETAILS PAGE - SIMPLE SIDEBAR TABS
   ========================================== */

/* Sidebar Navigation */
.project-sidebar {
    min-height: 100vh;
    padding: 0;
    position: sticky;
    top: 0;
}

.sidebar-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title {
/*    color: white;*/
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Sidebar Tab Buttons */
.project-sidebar .nav-link {
/*    color: rgba(255, 255, 255, 0.8);*/
    padding: 0.75rem 1rem;
    border-radius: 0;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.project-sidebar .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.project-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.project-sidebar .nav-link i {
    font-size: 0.9rem;
    width: 18px;
}

.project-sidebar .badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

/* Main Content Area */
.project-content {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .project-sidebar {
        min-height: auto;
        position: static;
    }
    
    .project-sidebar .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .project-content {
        padding: 1rem;
    }
}

/* ==========================================
   PROJECT DETAILS PAGE - MINIMAL CUSTOM STYLES
   Most styling uses Bootstrap classes
   ========================================== */

/* Plans Section */
.plans-section-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.plans-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(40px, -40px);
}

.plans-section-title {
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 750;
    position: relative;
    z-index: 2;
}

.plans-section-icon {
    margin-right: 1rem;
    font-size: 1.25rem;
}

.plans-section-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.plans-toggle-btn {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.plans-toggle-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plans-content {
/*    background: var(--gray-50);*/
    max-height: 700px;
    overflow-y: auto;
    border-radius: 8px;
}

/* Custom scrollbar for plans content */
.plans-content::-webkit-scrollbar {
    width: 8px;
}

.plans-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.plans-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.plans-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox scrollbar */
.plans-content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

/* Plan Items */
.plan-title {
    font-weight: 600;
    font-size: 1rem;
}

.plan-description {
    line-height: 1.15;
}

/* Empty States */
.empty-plans-container {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-plans-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-plans-title {
    margin-bottom: 0.5rem;
}

.empty-plans-text {
    margin: 0;
}

/* Plan Holders Section */
.plan-holders-container {
    display: none;
    margin-top: 2rem;
}

.plan-holders-header {
    margin-bottom: 2rem;
}

.plan-holders-content {
    border: 1px solid var(--secondary);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 1rem;
    background: #f8f9fa;
}

.plan-holders-grid {
    display: grid;
    gap: 1rem;
}

.plan-holder-item {
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: white;
}

.plan-holder-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.plan-holder-content {
    flex: 1;
}

.plan-holder-title {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.plan-holder-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.plan-holder-actions {
    text-align: right;
}

/* Bid Status Badge */
.bid-status-badge {
    background: var(--bid-status-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Bid Details Grid */
.bid-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.bid-detail-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.bid-detail-value {
    font-weight: 600;
}

.bid-detail-value-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.bid-detail-value-completion {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Empty Plan Holders */
.empty-plan-holders-container {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-plan-holders-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-plan-holders-title {
    margin-bottom: 0.5rem;
}

.empty-plan-holders-text {
    margin: 0;
}

/* Timeline Section (Commented out but included for completeness) */
.timeline-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.timeline-header {
    background: var(--secondary);
    color: white;
    padding: 1.5rem;
}

.timeline-title {
    color: white;
    margin: 0;
}

.timeline-body {
    padding: 2rem;
}

.timeline-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-item {
    flex: 1 1 calc(50% - 0.5rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon-success {
    background: var(--success);
}

.timeline-icon-info {
    background: var(--info);
}

.timeline-icon-warning {
    background: var(--warning);
}

.timeline-icon-danger {
    background: var(--danger);
}

.timeline-icon i {
    color: white;
}

.timeline-content {
    flex: 1;
}

.timeline-label {
    font-weight: 600;
}

.timeline-date {
    color: var(--text-light);
}

.timeline-remaining {
    color: var(--warning);
    font-weight: 600;
}

/* Contact Information */
.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.contact-info-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-info-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(20px, -20px);
}

.contact-info-title {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.contact-info-body {
    padding: 1.5rem;
}

.contact-info-item {
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid #111827;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.contact-info-label {
    font-weight: 700;
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.contact-info-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.contact-info-email:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Responsive adjustments for Project Details */
@media (max-width: 768px) {
    
    .project-title-hero {
        font-size: var(--text-3xl);
    }
    
    .project-meta-row,
    .project-meta-row-dates {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .project-hero .project-meta-item {
        width: 100%;
        justify-content: flex-start;
    }
    
    .project-details-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Merged Info Card Mobile Styles */
    .merged-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .merged-info-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .merged-info-item {
        padding: 1.25rem;
    }
    
    .merged-info-header {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .merged-info-header i {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    
    .merged-info-header h4 {
        font-size: 0.95rem;
    }
    
    .merged-info-content .info-value {
        font-size: 1rem;
    }
    
    .plans-section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1.5rem;
    }
    
    .plans-section-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .bidding-card {
        margin-top: 1rem;
    }
    
    .contact-info-item,
    .project-info-value,
    .project-info-value-budget {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .project-title-hero {
        font-size: var(--text-2xl);
    }
    
    .project-hero .project-meta-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .project-description-hero {
        font-size: var(--text-base);
        padding: 1rem;
    }
    
    .bidding-card .fs-2 {
        font-size: 2.5rem !important;
    }
}

/* ===== REMAINING PROJECT DETAILS CLASSES ===== */

/* Quick Actions */
.quick-actions-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
}

.quick-actions-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quick-actions-title {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: center;
}

/* Quick Links */
.quick-links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .quick-link:hover {
        background: var(--primary);
        color: #1a365d;
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
    }

/* Project Stats */
.project-stats-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.project-stats-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-stats-title {
    margin-bottom: 1rem;
}

.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.project-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.project-stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-stat-value {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.125rem;
}

/* Unified Planholders Card */
.planholders-unified-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.planholders-unified-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.planholders-unified-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.planholders-unified-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(20px, -20px);
}

.planholders-unified-title {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.planholders-unified-body {
    padding: 1.5rem;
}

.planholders-unified-content {
    max-height: 300px;
    overflow-y: auto;
}

.planholder-unified-item {
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.planholder-unified-item:last-child {
    border-bottom: none;
}

.planholder-unified-company {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.planholder-unified-contact {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.planholder-unified-date {
    color: var(--gray-500);
    font-size: 0.75rem;
}

.planholder-unified-set {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* Related Projects Footer Section */
.related-projects-footer {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

.related-projects-content {
    max-width: 800px;
    margin: 0 auto;
}

.related-projects-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.related-projects-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.related-projects-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Project Statistics Row */
.project-stats-planholders-row {
    margin-bottom: 1.5rem;
}

/* Bid Status Badge */
.bid-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    background-color: var(--bid-status-color, var(--info));
    transition: all 0.2s ease;
}

.bid-status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Plans Toggle Button States */
.plans-toggle-btn-active {
    background: rgba(255, 255, 255, 0.3) !important;
}

.plans-toggle-btn-inactive {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Bid Card Hover Effects */
.bid-card-hover {
    transition: all 0.3s ease;
}

.bid-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Plan Holders List */
.plan-holders-list-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.plan-holders-list-header {
    background: var(--info);
    color: white;
    padding: 1.5rem;
}

.plan-holders-list-title {
    color: white;
    margin: 0;
}

.plan-holders-list-body {
    padding: 1.5rem;
}

.plan-holders-scroll {
    max-height: 300px;
    overflow-y: auto;
}

.plan-holder-list-item {
    border-bottom: 1px solid #e1e5e9;
    padding: 0.75rem 0;
}

.plan-holder-list-name {
    font-weight: 600;
    color: var(--text);
}

.plan-holder-list-info {
    color: var(--text-light);
    font-size: 0.875rem;
}

.plan-holder-list-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.plan-holder-list-status {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.empty-plan-holders-list {
    text-align: center;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}



/* Mission Section Enhancements */
.mission-card {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.mission-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    position: relative;
}

.mission-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* Values Section Enhancements */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.value-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.02) 0%, rgba(74, 144, 164, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 2.5rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-icon::before {
    opacity: 0.6;
    transform: scale(1.1);
}

.value-icon-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
}

.value-icon-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    box-shadow: 0 10px 25px rgba(74, 144, 164, 0.3);
}

.value-icon-success {
    background: linear-gradient(135deg, var(--success) 0%, #10b981 100%);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.value-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.value-card:nth-child(2) .value-icon {
    animation-delay: 2s;
}

.value-card:nth-child(3) .value-icon {
    animation-delay: 4s;
}

/* Enhanced Values Section - Professional & Stunning */
.values-section-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.values-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

/* Removed decorative line below values section headers */

.values-section-header .lead {
    font-size: 1.3rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section Enhancements */



.contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-enhanced {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-primary-enhanced {
    background: #06396c;
    color: white;
    border: none;
}

.btn-outline-enhanced {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-enhanced:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* About Page Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* About Page Responsive Design */
@media (max-width: 768px) {
    .mission-card {
        padding: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .values-section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header.featured-projects h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .value-card {
        /* Make card roughly half the previous visual height */
        padding: 0.75rem 0.75rem;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.75rem;
        row-gap: 0.25rem;
        align-items: center;
    }
    
    .value-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        grid-row: 1 / span 2; /* icon on left spanning both text rows */
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        /* equal top/bottom spacing to center vertically within the card */
        margin-top: auto;
        margin-bottom: auto;
    }
    .value-card h4 {
        font-size: 1rem;
        margin: 0;
        grid-column: 2;
        grid-row: 1;
        line-height: 1.2;
        text-align: justify;
        text-justify: inter-word;
    }
    .value-card p {
        font-size: 0.85rem;
        margin: 0;
        grid-column: 2;
        grid-row: 2;
        line-height: 1.4;
        text-align: justify;
        text-justify: inter-word;
    }
    .value-card h4 { font-size: 1.05rem; }
    .value-card p { font-size: 0.9rem; }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-enhanced {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Old variant-specific styles removed - using unified hero section */
/* ===== PROFESSIONAL SECTIONS STYLING ===== */

/* Section Headers */


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    color: var(--primary);
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
/*    max-width: 600px;
    margin: 0 auto;*/
    line-height: 1.6;
    white-space: nowrap;
}

.section-subtitle-white {
    color: white !important;
}

.section-title-white {
    color: white !important;
}

.section-title-white i {
    color: white !important;
}

/* More specific selector for contact actions section */
.contact-actions-section .section-title-white {
    color: white !important;
}

.contact-actions-section .section-title-white i {
    color: white !important;
}

/* Override the general section-title i rule */
.contact-actions-section .section-title-white i.fas {
    color: white !important;
}

/* Even more specific to ensure it overrides */
.contact-actions-section .section-header .section-title-white {
    color: white !important;
}

.contact-actions-section .section-header .section-title-white i {
    color: white !important;
}

/* Project Details Actions Section - White Text */
.actions-section .section-title-white {
    color: white !important;
}

.actions-section .section-title-white i {
    color: white !important;
}

.actions-section .section-subtitle-white {
    color: white !important;
}

/* New Project Actions Header Styling */
.project-actions-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-actions-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-actions-title i {
    color: white !important;
    font-size: 2rem;
}

.project-actions-subtitle {
    font-size: 1.1rem;
    color: white !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

/* Project Information Section */
.project-info-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-bottom: 30px;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Merged Info Card Styles */
.project-info-single-card {
    max-width: 1000px;
    margin: 0 auto;
}

.merged-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.merged-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.merged-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.merged-info-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.merged-info-item:hover {
    background: rgba(248, 250, 252, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.merged-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.merged-info-header i {
    font-size: 1.25rem;
    color: var(--primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
}

.merged-info-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0;
}

.merged-info-content {
    text-align: left;
}

.merged-info-content .info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-800);
}

.merged-info-content .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card-header i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 8px;
}

.info-card-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.info-card-content {
    text-align: left;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-900);
}

.budget-value {
    color: var(--success);
    font-size: 1.4rem;
}

/* Plans Section */
.plans-section {
    background: white;
    padding: 2rem 0;
}

.plans-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.plans-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.plans-tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    background: white;
    color: #1a365d !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.plans-tab-btn.active,
.plans-tab-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

/* Contact & Actions Section */
.contact-actions-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
}

.contact-actions-section .section-title {
    color: white;
}

.contact-actions-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-actions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: -59px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.contact-info-content p {
    margin: 0;
    color: var(--gray-700);
    font-weight: 500;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Actions Section */
.actions-content {
    display: flex;
    flex-direction: column;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.action-card.warning {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.1);
}

.action-card.pending {
    border-color: rgba(13, 202, 240, 0.5);
    background: rgba(13, 202, 240, 0.1);
}

.action-card.success {
    border-color: rgba(25, 135, 84, 0.5);
    background: rgba(25, 135, 84, 0.1);
}

.action-card.closed {
    border-color: rgba(220, 53, 69, 0.5);
    background: rgba(220, 53, 69, 0.1);
}

.action-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.action-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-links {
    margin-top: 2rem;
}

.quick-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-links-grid .quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-links-grid .quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.quick-links-grid .quick-link i {
    font-size: 1.5rem;
}

.quick-links-grid .quick-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-actions-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plans-tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
}

/* ==========================================
   RIPPLE EFFECT STYLES
   ========================================== */

/* Ripple effect for enhanced buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================
   PROJECT DETAILS PAGE STYLES
   ========================================== */

/* Professional Plan Cards Styling */
.plans-grid {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
}

.plans-grid.single-plan {
    display: flex;
    justify-content: center;
}

.plans-grid.single-plan .row {
    width: auto;
    max-width: 450px;
}

.plans-grid.single-plan .col-12.col-md-6.col-lg-6 {
    width: 100%;
    max-width: 450px;
}

.plans-grid.has-multiple-plans {
    max-height: 420px;
    overflow-y: auto;
    padding-right: .5rem;
}

.plans-grid.has-multiple-plans .row {
    width: 100%;
}

/* Enhanced Product Card Styling */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

/* Professional Preview Section */
.product-card .preview {
    height: 180px;
    display: block;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3498db 100%);
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-card .preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(52, 73, 94, 0.3) 0%, transparent 50%), linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 100% 100%, 100% 100%, 20px 20px;
}

.product-card .preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.product-card .preview .file-info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    width: 100%;
    padding: 0 1rem;
}

.product-card .preview .file-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    flex-shrink: 0;
}

.product-card .preview .file-name {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: white;
    text-align: left;
    flex: 1;
    word-break: break-word;
}

/* Blur Overlay Styling */
.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px 8px 0 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.blur-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.01);
}

.blur-content {
    text-align: center;
    color: white;
    padding: 0.75rem;
    width: 100%;
    max-width: 180px;
}

.blur-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.blur-text h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
    line-height: 1.2;
}

.blur-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.2;
}

/* Download Section Styling */
.download-section {
    display: inline-block;
}

/* Enhanced Card Body */
.product-card .card-body {
    padding: 1.25rem;
    background: white;
}

.product-card .plan-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.product-card .plan-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.product-card .plan-date {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.product-card .plan-description {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.75rem 0;
    font-style: italic;
}

/* Professional Meta Table */
.product-card .meta-table {
    margin: 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.product-card .meta-table th {
    width: 38%;
    font-weight: 600;
    font-size: 0.85rem;
    vertical-align: middle;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .meta-table td {
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border: none;
    color: #2c3e50;
    font-weight: 500;
    background: white;
}

.product-card .meta-table .price-value {
    color: #27ae60;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(39,174,96,0.1);
}

.product-card .meta-table .format-badge {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(52,152,219,0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .meta-table .format-badge.format-badge-na {
    background: #6c757d;
    box-shadow: 0 2px 4px rgba(108,117,125,0.2);
}

.product-card .meta-table .set-number {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(149,165,166,0.2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card .meta-table tr:hover td {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

/* Enhanced Actions Section */
.product-card .actions {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.product-card .btn-purchase {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .btn-purchase:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.4);
    color: white !important;
    text-decoration: none;
}

.product-card .btn-purchase i {
    color: white !important;
    font-size: 0.9rem;
}

.product-card .btn-download {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white !important;
    transition: all 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
    text-decoration: none;
    display: none;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.product-card .btn-download:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
    color: white !important;
    text-decoration: none;
}

.product-card .btn-download i {
    color: white !important;
    font-size: 0.9rem;
}

/* Project Details Responsive Design */
@media (min-width: 992px) {
    .product-card .preview {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .product-card .preview {
        height: 140px;
    }

    .product-card .card-body {
        padding: 1rem;
    }

    .product-card .actions {
        padding: 0.75rem 1rem;
    }
}

/* Ensure all card header icons are visible */
.project-info-title i,
.contact-info-title i,
.quick-actions-title i,
.related-projects-title i {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 0.5rem !important;
    color: inherit !important;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

/* Enhanced Contact Page Styling */

/* Contact Section Enhancements */
.contact-section {
    border-radius:15px;
    position: relative;
    background: linear-gradient(135deg, var(--accent) 0%, var(--white) 100%);
}



.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Enhanced Contact Form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-form-container:hover::before {
    left: 100%;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Enhanced Form Controls */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*.form-control {
    width: 100%;
    padding: 1rem 2.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    position: relative;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--gray-400);
    transition: color 0.3s ease;
}

.form-control:focus::placeholder {
    color: var(--gray-500);
}*/

/* Form Grid Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: -0.5rem;
}

/* Enhanced Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Enhanced Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1s both;
}

.contact-info-card:nth-child(2) {
    animation-delay: 1.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 1.4s;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

.contact-info-card:hover::before {
    width: 8px;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

    .contact-info-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-dark);
        display: flex;
        justify-content: center;
        align-items: center;
/*        align-items: center;*/
        gap: 0.75rem;
    }

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
/*    padding: 1rem;*/
/*    border-radius: 12px;*/
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gray-50);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.contact-icon.primary { background: var(--primary-gradient); }
.contact-icon.secondary { background: var(--secondary-gradient); }
.contact-icon.success { background: linear-gradient(135deg, var(--success) 0%, #047857 100%); }
.contact-icon.info { background: linear-gradient(135deg, var(--info) 0%, #0369a1 100%); }

.contact-details-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-details-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.contact-details-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-details-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details-content a:hover {
    color: var(--primary-dark);
}

.contact-details-content small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Quick Links Card */
.quick-links-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1.6s both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.quick-links-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.quick-links-card .quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.quick-links-card .quick-link {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-links-card .quick-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.1), transparent);
    transition: left 0.4s ease;
}

.quick-links-card .quick-link:hover::before {
    left: 100%;
}

.quick-links-card .quick-link:hover {
    background: rgba(26, 54, 93, 0.05);
    transform: translateX(5px);
}

.quick-links-card .quick-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Success Alert Enhancement */
.alert-success {
    background: linear-gradient(135deg, var(--success) 0%, #047857 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInDown 0.5s ease-out;
}

.alert-success i {
    font-size: 1.1rem;
}

/* Security Notice */
.security-notice {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.security-notice p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-notice i {
    color: var(--success);
}

/* Form Check Styling */
.form-check {
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.75rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-form-container,
    .contact-info-card {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/* ==========================================
   EXTRACTED INLINE STYLES FROM PUBLIC VIEWS
   ========================================== */

/* Empty Projects State Styling */
.empty-projects-container {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.empty-projects-icon {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.empty-projects-title {
    color: var(--gray-700);
}

.empty-projects-text {
    color: var(--gray-500);
}

/* Light Background Section */
.section-light-bg {
    background: var(--gray-100);
}

/* CTA Section with Gradient Background */
.cta-gradient-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 30px 0 30px 0;
}

.cta-title-white {
    color: white;
    margin-bottom: 1rem;
}

.cta-description-white {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-flex {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-transparent-white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-transparent-white:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Loading Projects Spinner */
.projects-loading-text {
    margin-top: 1rem;
    color: var(--gray-600);
}

/* Modal Cancel Button Styling (from ProjectDetails) */
.modal-footer .btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.modal-footer .btn-secondary:hover,
.modal-footer .btn-secondary:focus,
.modal-footer .btn-secondary:active {
    background-color: #5a6268 !important;
    background: #5a6268 !important;
    border-color: #545b62 !important;
    color: white !important;
    background-image: none !important;
}

/* Plans & Documents Cards Styling */
.card-plan-document {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .card-plan-document:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .card-plan-document .card-img-container {
        width: 100%;
        padding-top: 100%; /* Makes it square */
        position: relative;
        background-color: #f8f9fa;
    }

    .card-plan-document .card-img-top {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-plan-document .pdf-placeholder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    }

    .card-plan-document .pdf-icon {
        font-size: 4.5rem;
        color: #d32f2f;
        margin-bottom: 1rem;
        transition: transform 0.3s ease;
    }

    .card-plan-document:hover .pdf-icon {
        transform: scale(1.1);
    }

    .card-plan-document .card-body {
        padding: 1.25rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .card-plan-document .card-title {
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .card-plan-document .card-text {
        color: #6c757d;
        font-size: 0.9rem;
        flex-grow: 1;
    }

    .card-plan-document .card-footer {
        background-color: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.75rem 1.25rem;
    }

/* Badge styling */
.badge-plan-type {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 4px;
    font-size: 0.8rem;
}

.badge-digital {
    background-color: #e3f2fd;
    color: #1565c0;
}

.badge-print {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* my Plan Cards Styling */
.plan-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.plan-card-header {
    padding: 1rem 1.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.plan-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .plan-type-badge.digital {
        background: var(--accent-blue);
        color: var(--primary);
    }

    .plan-type-badge.print {
        background: var(--gray-100);
        color: var(--gray-700);
    }

.plan-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .plan-status-badge.completed {
        background: #d1fae5;
        color: #065f46;
    }

.plan-card-body {
    padding: 0 1.5rem 1rem;
    flex-grow: 1;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.plan-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.plan-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 0.5rem;
    min-width: 80px;
}

.detail-value {
    color: var(--gray-600);
    flex-grow: 1;
}

.plan-features {
    margin-bottom: 1rem;
}

.features-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background: var(--accent-blue);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.plan-set-info {
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.plan-card-footer {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 12px 12px;
}

.purchase-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.purchase-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.purchase-date {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.contact-info {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.contact-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-details > div {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

    .contact-details a:hover {
        text-decoration: underline;
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.empty-state-description {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .plan-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .purchase-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
}