/* ========================================
   GAJIRI FUTURISTIC THEME - CONSOLIDATED STYLESHEET
   Version: 3.0 - All Styles Unified
   Date: October 8, 2025
   Description: Complete futuristic styling system with all dependencies
   ======================================== */

/* ========================================
   EXTERNAL FONT IMPORTS
   ======================================== */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300i,400,400i,600,600i,700,700i,800,800i|Quicksand:300,400,500,700');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   CSS VARIABLES - ROOT DEFINITIONS
   ======================================== */
/* Prevent text from stretching containers */
h1, h2, h3, h4, h5, h6, p, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure containers don't overflow */
.container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    /* Primary Colors - Infradata Theme */
    --primary-color: #0E7490;
    --primary-gradient: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    --secondary-color: #6B7280;
    
    /* Accent Colors */
    --accent-teal: #0891B2;
    --accent-cyan: #06B6D4;
    --accent-light: #22D3EE;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #6B7280;
    
    /* Background Colors */
    --light-bg: #f8f9fa;
    --light-secondary: #e9ecef;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    
    /* Border Colors */
    --border-color: #dee2e6;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 0 20px rgba(14, 116, 144, 0.3);
    
    /* Gradients */
    --futuristic-gradient: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    
    /* Spacing */
    --section-padding: 5rem 0;
    --card-padding: 2rem;
}

/* ========================================
   ESSENTIAL BOOTSTRAP COMPONENTS
   ======================================== */
   
/* Bootstrap Grid System */
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    flex: 1 0 0%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-7 { flex: 0 0 auto; width: 58.33333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-1 { flex: 0 0 auto; width: 8.33333333%; }

/* Bootstrap Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-info {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-dark {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
}

/* Bootstrap Forms */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1rem;
}

/* Bootstrap Utilities */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

/* ========================================
   COLOR SCHEMES (from colors.css)
   ======================================== */

/* Primary Brand Colors */
.bg-color,
.account-popup>form button,
.layer.color::before,
.pricetable>a,
.pricetable.active,
.bottom-line.style2 {
    background-color: #141f72;
}

.text-color,
.pricetable-head h2,
.pricetable.active>a {
    color: #141f72;
}

/* Secondary Color Scheme */
.forsticky.sticky .post-job-btn {
    border: 2px solid #004269;
    background: transparent;
    color: #004269;
}

.post-job-btn {
    background-color: #004269;
    border: 2px solid #004269;
}

.bg-color,
.post-job-btn,
.account-popup .close-popup,
.blog-metas a::before {
    background-color: #004269;
}

/* Futuristic Theme Colors */
:root {
    --primary-color: #0E7490;
    --secondary-color: #141f72;
    --accent-color: #004269;
    --success-color: #51cf66;
    --warning-color: #0891B2;
    --danger-color: #ff6b6b;
    --info-color: #74c0fc;
    --light-color: #f8f9fa;
    --dark-color: #0f172a;
    --muted-color: #6c757d;
}

/* ========================================
   MODERN STYLE OVERRIDES (from modern-style.css)
   ======================================== */

/* Override global .theme-layout float that breaks modern flexbox layouts */
html .theme-layout,
body .theme-layout {
    float: none !important;
    overflow: visible !important;
    width: 100% !important;
}

/* Override section/block floats - CRITICAL for Bootstrap grid to work */
html section,
body section,
html .block,
body .block {
    float: none !important;
    clear: both !important;
    width: auto !important;
}

/* Specific overrides for all modern page sections */
.page-header,
.hero-section,
.job-search-section,
.about-content-section,
.services-overview,
.contact-section,
.faq-content,
.terms-section,
.privacy-section,
.cta-section,
.how-it-works-section,
.categories-section,
.stats-section,
.features-section {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Ensure Bootstrap container/row/col work correctly */
html .container,
body .container,
html .container-fluid,
body .container-fluid,
html .row,
body .row,
html [class*="col-"],
body [class*="col-"] {
    float: none !important;
    clear: none !important;
    /* width: auto !important; */  /* COMMENTED OUT - was breaking Bootstrap grid widths */
    overflow: visible !important;
}

/* Fix any remaining float issues in modern sections */
.modern-section,
.futuristic-section,
.page-section {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    overflow: visible !important;
}

/* ========================================
   UI ENHANCEMENTS (from enhancements.css)
   ======================================== */

/* Smooth transitions & animations */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Skeleton loaders */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Enhanced button animations */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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%;
}

/* Improved form focus states */
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced modal animations */
.modal.fade .modal-dialog {
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0E7490;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   HOLOGRAPHIC TEXT EFFECTS
   ======================================== */

.holographic-text {
    background: linear-gradient(
        90deg,
        #0E7490,
        #0891B2,
        #6B7280,
        #0E7490
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographic 3s linear infinite;
    font-weight: 700;
    filter: brightness(1.1) contrast(1.1); /* Improved visibility */
}

@keyframes holographic {
    to { 
        background-position: 200% center; 
    }
}

/* ========================================
   FUTURISTIC BUTTONS
   ======================================== */

.btn-futuristic {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border: none;
    color: white !important;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 176, 0.3);
}

.btn-futuristic::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.5s;
}

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

.btn-futuristic:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 210, 176, 0.5);
    color: white !important;
}

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

/* ========================================
   CYBER BUTTONS
   ======================================== */

.btn-cyber {
    background: transparent;
    border: 2px solid #0E7490;
    color: #0E7490 !important;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-cyber::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0E7490;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-cyber:hover::before {
    width: 100%;
}

.btn-cyber:hover {
    color: white !important;
    border-color: #0891B2;
}

/* ========================================
   FUTURISTIC CARDS
   ======================================== */

.card-futuristic {
    background: rgba(255, 255, 255, 0.98); /* Increased opacity for better text contrast */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 210, 176, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: #333; /* Ensure dark text for readability */
}

/* Modal-specific card styling - Attractive Design */
.modal-content .card-futuristic {
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    color: #333333;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.modal-content .card-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0E7490, #0E7490, #0891B2);
}

.modal-content .card-futuristic::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0E7490, #0E7490, #0891B2, #0E7490);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content .card-futuristic:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.card-futuristic:hover {
    border-color: rgba(0, 210, 176, 0.5);
    box-shadow: 0 10px 40px rgba(0, 210, 176, 0.2);
    transform: translateY(-5px);
}

/* ========================================
   GLOW EFFECTS
   ======================================== */

.neon-glow {
    box-shadow: 0 0 20px rgba(0, 210, 176, 0.3),
                0 0 40px rgba(0, 210, 176, 0.2),
                inset 0 0 20px rgba(0, 210, 176, 0.05);
}

.neon-glow:hover {
    box-shadow: 0 0 30px rgba(0, 210, 176, 0.5),
                0 0 60px rgba(0, 210, 176, 0.3),
                inset 0 0 30px rgba(0, 210, 176, 0.1);
}

.purple-glow {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
                0 0 40px rgba(139, 92, 246, 0.2),
                inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.purple-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5),
                0 0 60px rgba(139, 92, 246, 0.3),
                inset 0 0 30px rgba(139, 92, 246, 0.1);
}

.gold-glow {
    box-shadow: 0 0 20px rgba(254, 196, 73, 0.3),
                0 0 40px rgba(254, 196, 73, 0.2),
                inset 0 0 20px rgba(254, 196, 73, 0.05);
}

.red-glow {
    box-shadow: 0 0 20px rgba(224, 32, 32, 0.3),
                0 0 40px rgba(224, 32, 32, 0.2),
                inset 0 0 20px rgba(224, 32, 32, 0.05);
}

/* ========================================
   CYBER GRID BACKGROUND
   ======================================== */

.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 210, 176, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 176, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    position: relative;
}

.cyber-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

/* ========================================
   GLASS MORPHISM
   ======================================== */

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   ANIMATED GRADIENT BACKGROUNDS
   ======================================== */

.gradient-animated {
    background: linear-gradient(
        -45deg,
        #0E7490,
        #0891B2,
        #0891B2,
        #0E7490
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   FUTURISTIC STAT CARDS
   ======================================== */

.stat-card-futuristic {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95) 0%, rgba(50, 50, 80, 0.95) 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 210, 176, 0.3);
    position: relative;
    overflow: hidden;
    color: white; /* White text for dark background */
}

.stat-card-futuristic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0E7490, #0891B2);
}

.stat-card-futuristic:hover {
    border-color: rgba(0, 210, 176, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 210, 176, 0.2);
}

.stat-card-futuristic .category-icon-futuristic {
    color: #0E7490;
}

.stat-number-futuristic {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    filter: brightness(1.2);
}

/* ========================================
   FUTURISTIC FORM INPUTS
   ======================================== */

.form-control-futuristic {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 210, 176, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.form-control-futuristic:focus {
    border-color: #0E7490;
    box-shadow: 0 0 20px rgba(0, 210, 176, 0.2);
    background: white;
}

/* ========================================
   CATEGORY CARDS
   ======================================== */

.category-card-futuristic {
    background: #ffffff !important;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: #333333 !important;
}

.category-card-futuristic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 210, 176, 0.1) 0%, rgba(254, 196, 73, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.category-card-futuristic:hover::before {
    opacity: 1;
}

.category-card-futuristic:hover {
    border-color: #0E7490;
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 210, 176, 0.3);
    background: #ffffff !important;
}

.category-card-futuristic .category-name {
    color: #333333 !important;
    font-weight: 600;
}

.category-card-futuristic .category-jobs {
    color: #666666 !important;
}

.category-card-futuristic .category-icon {
    color: #0E7490 !important;
}

.category-icon-futuristic {
    font-size: 3rem;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
}

/* ========================================
   PULSE ANIMATION
   ======================================== */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

/* ========================================
   SHINE EFFECT
   ======================================== */

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    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.5s;
}

.shine-effect:hover::after {
    left: 100%;
}

/* ========================================
   TESTIMONIAL CARDS
   ======================================== */

.testimonial-futuristic {
    background: linear-gradient(135deg, rgba(30, 30, 50, 0.95) 0%, rgba(50, 50, 80, 0.95) 100%);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    border: 2px solid rgba(0, 210, 176, 0.3);
    transition: all 0.3s ease;
    color: white; /* White text for dark background */
}

.testimonial-futuristic::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 80px;
    color: rgba(0, 210, 176, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-futuristic:hover {
    border-color: #0E7490;
    box-shadow: 0 10px 30px rgba(0, 210, 176, 0.2);
    transform: translateY(-5px);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header-futuristic {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header-futuristic::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0E7490, #0891B2);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

@media (max-width: 768px) {
    .holographic-text {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number-futuristic {
        font-size: 2rem;
    }
    
    .stat-card-futuristic {
        padding: 20px;
    }
    
    .stat-card-futuristic .h1 {
        font-size: 2rem;
    }
    
    .category-icon-futuristic {
        font-size: 2.5rem;
    }
    
    .btn-futuristic,
    .btn-cyber {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .testimonial-futuristic {
        padding: 20px;
    }
    
    .testimonial-futuristic::before {
        font-size: 50px;
        top: -10px;
        left: 15px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .holographic-text,
    .gradient-animated,
    .pulse-animation {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */

footer a.text-light {
    transition: all 0.3s ease;
}

footer a.text-light:hover {
    color: #0E7490 !important;
    text-decoration: none;
    transform: translateX(5px);
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: #0E7490;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 176, 0.4);
}

/* Footer Styles - Based on original GitHub version */
footer {
    float: none !important;
    width: 100% !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(191, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-brand {
    display: flex;
    align-items: center;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--neon-blue, #0E7490);
    transform: translateY(-3px);
}

/* Footer Links */
footer .text-light {
    color: #e8e8e8 !important;
}

footer .text-light:hover {
    color: #ffffff !important;
    text-decoration: none;
}

footer a {
    transition: color 0.3s ease;
}

footer h5 {
    color: #ffffff !important;
}

footer .contact-info-list {
    color: #f0f0f0 !important;
}

footer .contact-info-list li {
    color: #f0f0f0 !important;
    margin-bottom: 0.5rem;
}

footer .contact-info-list i {
    color: #0E7490 !important;
}

/* ========================================
   DARK MODE SUPPORT (Future Enhancement)
   ======================================== */

@media (prefers-color-scheme: dark) {
    .card-futuristic {
        background: rgba(30, 30, 30, 0.95);
        border-color: rgba(0, 210, 176, 0.3);
    }
    
    .stat-card-futuristic,
    .category-card-futuristic,
    .testimonial-futuristic {
        background: rgba(30, 30, 30, 0.9);
        color: #f0f0f0;
    }
}

/* ========================================
   Common Page Styles (About, Services, Contact, FAQ, Terms, Privacy)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    color: white;
    padding: 100px 0 80px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* About Page Specific */
.about-content-section {
    padding: 80px 0;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.value-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

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

.team-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 80px 0;
}

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

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Services Page Specific */
.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0E7490;
    font-weight: bold;
}

/* Contact Page Specific */
.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
}

.info-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.info-content p {
    margin-bottom: 0;
    color: #6c757d;
}

.info-content a {
    color: #0E7490;
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.social-links h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 2rem;
    }
    
    .team-card {
        margin-bottom: 2rem;
    }
    
    .feature-item,
    .value-card {
        margin-bottom: 2rem;
    }
}

/* Tablet responsiveness */
/* ========================================
   FUTURISTIC MODAL STYLING SYSTEM
   ======================================== */

/* Base Modal Styling - Attractive Design */
.modal-content {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 50%, #0E7490 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4), 0 0 40px rgba(0, 210, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

/* Modal Text Contrast Improvements - Dark Theme */
.modal-content .card-title {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-content .card-text {
    color: #e0e0e0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-content .feature-item {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-content .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #333333;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-content .form-control::placeholder {
    color: #666666;
    font-weight: 400;
}

.modal-content .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #0E7490;
    color: #333333;
    box-shadow: 0 0 0 4px rgba(0, 210, 176, 0.2), 0 8px 25px rgba(0, 0, 0, 0.15);
    outline: none;
}

.futuristic-modal {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 50%, #0E7490 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4), 0 0 40px rgba(0, 210, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.futuristic-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 210, 176, 0.8), 
        rgba(191, 0, 255, 0.8), 
        rgba(0, 210, 176, 0.8), 
        transparent
    );
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Futuristic Header Styling */
.futuristic-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px 25px 0 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Login Header Content */
.login-header-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.login-icon-wrapper {
    margin-bottom: 1rem;
}

.login-icon {
    font-size: 2.5rem;
    color: #0E7490;
    background: linear-gradient(135deg, #0E7490, #0E7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 210, 176, 0.3));
}

/* Login Content Wrapper */
.login-content-wrapper {
    position: relative;
    z-index: 2;
}

.futuristic-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Header Content */
.login-header-content,
.signup-header-content,
.forgot-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Modal Icons */
.login-icon-wrapper,
.signup-icon-wrapper,
.forgot-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 210, 176, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.login-icon-wrapper::before,
.signup-icon-wrapper::before,
.forgot-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(0, 210, 176, 0.3) 0%, 
        rgba(191, 0, 255, 0.3) 50%, 
        rgba(0, 210, 176, 0.3) 100%
    );
    z-index: -1;
    animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.login-icon,
.signup-icon,
.forgot-icon {
    font-size: 2.5rem;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(0, 210, 176, 0.3));
}

/* Modal Titles and Subtitles */
.futuristic-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.3rem;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 3px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.4;
}

/* Futuristic Body Styling */
.futuristic-body {
    padding: 1.5rem;
    background: transparent;
    position: relative;
}

.login-content-wrapper,
.signup-content-wrapper,
.forgot-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Futuristic Title Styling */
.futuristic-title {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-subtitle {
    color: #e0e0e0 !important;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Futuristic Close Button */
.futuristic-close {
    filter: none;
    opacity: 0.7;
}

.futuristic-close:hover {
    opacity: 1;
}

/* Account Type Selector Styling */
.account-type-selector .selector-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.account-type-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.account-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0E7490, #0E7490);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-type-card:hover::before {
    opacity: 1;
}

.account-type-card:hover {
    border-color: #0E7490;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.account-type-card.selected {
    border-color: #0E7490;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.account-type-card.selected::before {
    opacity: 1;
}

/* Login Modal Specific Styling */
.forgot-password-wrapper {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.forgot-password-link {
    color: #0E7490;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 210, 176, 0.5);
}

.register-link-wrapper {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-text {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.9rem;
}

.register-link {
    color: #0E7490;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 210, 176, 0.5);
}

/* Login User Type Selection Styling */
.service-provider-option,
.work-provider-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-provider-option:hover,
.work-provider-option:hover {
    transform: translateY(-2px);
}

.type-radio:checked + .service-provider-option,
.type-radio:checked + .work-provider-option {
    border-color: #0E7490;
    background: linear-gradient(135deg, rgba(0, 210, 176, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.type-radio:checked + .service-provider-option::before,
.type-radio:checked + .work-provider-option::before {
    opacity: 1;
}

.modal-body {
    padding: 30px 40px;
    background: rgba(30, 41, 59, 0.95);
}

.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
}

.modal-dialog.modal-md {
    max-width: 520px;
}

.modal-dialog.modal-sm {
    max-width: 400px;
}

/* Responsive Modal Adjustments */
@media (max-width: 576px) {
    .modal-body {
        padding: 20px 25px;
    }
    
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .futuristic-title {
        font-size: 1.1rem !important;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
    }
    
    .login-icon-wrapper,
    .signup-icon-wrapper,
    .forgot-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .login-icon,
    .signup-icon,
    .forgot-icon {
        font-size: 2rem;
    }
    
    .form-group-futuristic {
        margin-bottom: 20px;
    }
    
    .futuristic-input {
        padding: 12px 15px;
    }
    
    .signup-features,
    .login-features,
    .forgot-features {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .feature-item {
        flex: 0 0 30%;
    }
}

/* Futuristic Form Styling */
.futuristic-form {
    position: relative;
}

.form-group-futuristic {
    margin-bottom: 30px;
    position: relative;
}

.futuristic-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.label-icon {
    color: #0E7490;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 176, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 210, 176, 0.2);
    text-shadow: 0 0 10px rgba(0, 210, 176, 0.3);
}

.input-wrapper-futuristic {
    position: relative;
}

.futuristic-input {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 210, 176, 0.4);
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.futuristic-input:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: #0E7490;
    color: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(0, 210, 176, 0.3),
        0 0 25px rgba(0, 210, 176, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.futuristic-input:hover {
    border-color: rgba(0, 210, 176, 0.6);
    background: rgba(0, 0, 0, 0.35);
}

.futuristic-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    font-weight: 400;
    opacity: 1;
}

.futuristic-input:-webkit-autofill,
.futuristic-input:-webkit-autofill:hover,
.futuristic-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.3) inset;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(45deg, 
        rgba(0, 210, 176, 0.1) 0%, 
        rgba(191, 0, 255, 0.1) 50%, 
        rgba(0, 210, 176, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.futuristic-input:focus + .input-glow {
    opacity: 1;
}

.modal .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0E7490;
    box-shadow: 0 0 0 0.2rem rgba(0, 210, 176, 0.25);
    color: white;
}

.modal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.modal .form-label {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

.modal .input-group-text {
    background: rgba(0, 210, 176, 0.2);
    border: 1px solid rgba(0, 210, 176, 0.3);
    color: #0E7490;
    border-radius: 10px 0 0 10px;
}

/* Futuristic Close Button */
.futuristic-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.futuristic-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Features Sections */
.login-features,
.signup-features,
.forgot-features {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 210, 176, 0.2);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.feature-item i {
    color: #0E7490;
    font-size: 1.6rem;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 210, 176, 0.3);
    filter: drop-shadow(0 0 5px rgba(0, 210, 176, 0.2));
}

.feature-item span {
    font-weight: 600;
}

/* Links */
.forgot-password-wrapper {
    text-align: center;
    margin-top: 25px;
}

.forgot-password-link {
    color: #0E7490;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 210, 176, 0.1);
    border: 1px solid rgba(0, 210, 176, 0.2);
}

.forgot-password-link:hover {
    color: #ffffff;
    background: rgba(0, 210, 176, 0.2);
    border-color: rgba(0, 210, 176, 0.4);
    text-shadow: 
        0 0 15px rgba(0, 210, 176, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 210, 176, 0.2);
}

/* Error and Success Messages */
.error-message {
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid rgba(255, 107, 107, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 2px 4px rgba(255, 107, 107, 0.2),
        0 0 10px rgba(255, 107, 107, 0.2);
}

.success-message {
    background: rgba(81, 207, 102, 0.15);
    border: 2px solid rgba(81, 207, 102, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
    color: #51cf66;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 2px 4px rgba(81, 207, 102, 0.2),
        0 0 10px rgba(81, 207, 102, 0.2);
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 210, 176, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.registrationFormAlert {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.selector-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* Futuristic Button Styling */
.submit-wrapper {
    margin-top: 40px;
    position: relative;
}

.futuristic-submit {
    background: linear-gradient(135deg, #0E7490 0%, #00B894 50%, #00A085 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 12px 35px rgba(0, 210, 176, 0.4),
        0 0 25px rgba(0, 210, 176, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.futuristic-submit:hover {
    background: linear-gradient(135deg, #00B894 0%, #00A085 50%, #0E7490 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 210, 176, 0.4),
        0 0 30px rgba(0, 210, 176, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-glow {
    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 ease;
}

.futuristic-submit:hover .btn-glow {
    left: 100%;
}

/* Account Type Selector */
.account-type-selector {
    margin-bottom: 40px;
}

.selector-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.type-radio {
    display: none;
}

.type-option {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 210, 176, 0.4);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.1);
}

.type-option:hover {
    border-color: rgba(0, 210, 176, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.type-radio:checked + .type-option {
    border-color: #0E7490;
    background: linear-gradient(135deg, rgba(0, 210, 176, 0.1) 0%, rgba(191, 0, 255, 0.1) 100%);
    box-shadow: 0 0 20px rgba(0, 210, 176, 0.3);
}

.option-icon {
    font-size: 2.2rem;
    color: #0E7490;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(0, 210, 176, 0.4);
    filter: drop-shadow(0 0 8px rgba(0, 210, 176, 0.3));
}

.option-content h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.option-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.option-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(45deg, 
        rgba(0, 210, 176, 0.1) 0%, 
        rgba(191, 0, 255, 0.1) 50%, 
        rgba(0, 210, 176, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.type-radio:checked + .type-option .option-glow {
    opacity: 1;
}

.modal .btn-primary:hover {
    background: linear-gradient(135deg, #00B894 0%, #00A085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 210, 176, 0.4);
}

.modal .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 210, 176, 0.3);
}

.modal .form-check-input:checked {
    background-color: #0E7490;
    border-color: #0E7490;
}

.modal .form-check-label {
    color: white;
}

.modal .text-danger {
    color: #ff6b6b !important;
    font-size: 0.875rem;
}

.modal .text-success {
    color: #51cf66 !important;
    font-size: 0.875rem;
}

/* Enhanced signup modal styling */
.modal .btn-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 5px;
    border: 1px solid rgba(0, 210, 176, 0.3);
}

.modal .btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #0E7490 0%, #00B894 100%);
    border-color: #0E7490;
    color: white;
}

.modal .btn-outline-primary {
    color: #0E7490;
    border-color: rgba(0, 210, 176, 0.3);
    background: transparent;
    transition: all 0.3s ease;
}

.modal .btn-outline-primary:hover {
    background: rgba(0, 210, 176, 0.1);
    border-color: #0E7490;
    color: white;
}

/* Form group spacing - GitHub style */
.modal .mb-3 {
    margin-bottom: 2rem !important;
}

.modal .mb-4 {
    margin-bottom: 2.5rem !important;
}

.modal .form-check {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form validation styling */
.modal .text-danger {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 0.9rem;
    display: block;
}

.modal .text-success {
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 0.9rem;
    display: block;
}

/* Enhanced input group styling */
.modal .input-group {
    margin-bottom: 25px;
}

.modal .input-group .form-control {
    margin-bottom: 0;
}

/* Mobile responsiveness for modals */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 400px;
        margin: 10px;
    }
    
    .futuristic-header {
        padding: 1rem 1rem 0.5rem 1rem;
    }
    
    .futuristic-body {
        padding: 1rem;
    }
    
    .futuristic-title {
        font-size: 1.1rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .login-icon-wrapper,
    .signup-icon-wrapper,
    .forgot-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .login-icon,
    .signup-icon,
    .forgot-icon {
        font-size: 2rem;
    }
    
    .futuristic-input {
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .futuristic-submit {
        padding: 16px 35px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .type-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .type-option {
        padding: 20px 15px;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .feature-item i {
        font-size: 1.4rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .stat-card-futuristic {
        padding: 25px;
    }
    
    
    .modal-header {
        padding: 30px 50px;
    }
    
    .modal-body {
        padding: 50px 60px;
    }
    
    .modal .form-control {
        padding: 18px 22px;
        margin-bottom: 22px;
    }
    
    .modal .btn-primary {
        padding: 18px 45px;
        margin-top: 28px;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE STYLES (from responsive.css)
   ======================================== */

@media (max-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1300px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .page-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .job-search-sec {
        width: 95%;
    }
    
    .error-sec {
        width: 100%;
        padding: 0 100px;
    }
    
    .error-sec > img {
        width: 180px;
    }
    
    .error-sec > span {
        margin-top: 14px;
        font-size: 19px;
    }
    
    .error-sec > p {
        float: left;
        width: 100%;
        font-size: 13px;
        margin: 13px 0;
    }
    
    .error-sec form > input {
        height: 47px;
        padding: 0 20px;
        width: 300px;
    }
    
    .error-sec form button {
        height: 46px;
        font-size: 23px;
        padding: 0 0;
        width: 48px;
        position: relative;
        top: 3px;
    }
    
    .error-sec h6 a {
        font-size: 13px;
        padding: 10px 20px;
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-card-futuristic {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card-futuristic {
        padding: 15px;
        text-align: center;
    }
    
    .btn-futuristic {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-futuristic {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-card-futuristic {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .btn-futuristic {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .stat-card-futuristic {
        padding: 8px;
    }
}

/* Additional responsive utilities */
@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 769px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (max-width: 576px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

@media (min-width: 577px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

/* ========================================
   HEADER INLINE CSS EXTRACTION
   Critical styles from header_modern.php
   ======================================== */

/* Additional CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --futuristic-gradient: linear-gradient(135deg, #0E7490 0%, #0891B2 50%, #f093fb 100%);
    --neon-blue: #0E7490;
    --neon-purple: #0891B2;
    --cyber-green: #06B6D4;
    --light-bg: #ffffff;
    --dark-bg: #0a0a0a;
    --light-secondary: #f8f9fa;
    --light-tertiary: #e9ecef;
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-primary: #1a202c;
    --text-secondary: #2d3748;
    --text-muted: #4a5568;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-neon: 0 0 20px rgba(0, 245, 255, 0.3);
    --shadow-purple: 0 0 20px rgba(191, 0, 255, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ========================================
   NAVBAR MODERN (CRITICAL)
   ======================================== */

.navbar-modern {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #475569;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

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

.navbar-nav .nav-link:hover {
    color: #60a5fa !important;
    transform: translateY(-1px);
}

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

.navbar-nav .nav-link.btn {
    background: var(--primary-gradient);
    border: none;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   PAGE CONTENT SPACING (CRITICAL)
   ======================================== */

.page-content {
    margin-top: 120px;
    padding-top: 2rem;
}

/* Ensure all pages have proper spacing below header */
body > section:first-child,
body > div:first-child {
    margin-top: 120px;
}

/* ========================================
   HERO & PAGE HEADERS
   ======================================== */

.hero-section {
    background: linear-gradient(to bottom, var(--light-bg), var(--light-secondary));
    padding: 12rem 0 8rem;
    color: var(--text-primary);
    margin-top: 120px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .row {
    display: flex;
    align-items: center;
}

.hero-section .col-lg-6:first-child {
    order: 1;
}

.hero-section .col-lg-6:last-child {
    order: 2;
    text-align: center;
}

.page-header {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    color: white;
    margin-top: 80px;
    padding: 120px 0 80px;
    min-height: 45vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-dots.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-with-image {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.95) 0%, rgba(8, 145, 178, 0.95) 100%);
}

.page-header-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

@media (max-width: 991px) {
    .page-header-image {
        width: 100%;
        opacity: 0.2;
    }
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ffffff !important;
    opacity: 0.95;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #374151 !important;
    font-weight: 500;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.hero-buttons .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid #0E7490;
    color: #0E7490;
}

.hero-buttons .btn-outline-primary:hover {
    background-color: #0E7490;
    color: white;
    transform: translateY(-3px);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ========================================
   FUTURISTIC BUTTONS (from inline CSS)
   ======================================== */

.btn-futuristic {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple)) !important;
    border: 2px solid var(--neon-blue) !important;
    color: white !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-futuristic::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.5s ease;
}

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

.btn-futuristic:hover {
    box-shadow: var(--shadow-neon) !important;
    transform: scale(1.05);
    color: white !important;
}

.btn-cyber {
    background: linear-gradient(45deg, var(--cyber-green), var(--neon-blue)) !important;
    border: 2px solid var(--cyber-green) !important;
    color: white !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-cyber:hover {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6) !important;
    transform: scale(1.05);
    color: white !important;
}

/* ========================================
   SECTIONS & CONTENT
   ======================================== */

.about-content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #374151 !important;
    margin-bottom: 3rem;
    font-weight: 500;
}

.page-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ========================================
   JOB SEARCH SECTION
   ======================================== */

.job-search-section {
    padding: 5rem 0;
    background-color: var(--light-secondary);
}

.job-search-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.search-title {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.job-search-form .mb-3 {
    position: relative;
    margin-bottom: 1.5rem;
}

.job-search-form .form-control,
.job-search-form .form-select {
    height: 55px;
    border-radius: 0.5rem;
    padding-left: 3rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.job-search-form .form-control::placeholder {
    color: var(--text-secondary);
}

.job-search-form .form-control:focus,
.job-search-form .form-select:focus {
    border-color: #0E7490;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    background-color: var(--light-bg);
    color: var(--text-primary);
}

.job-search-form .mb-3 i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.job-search-form .btn-primary {
    height: 55px;
    border-radius: 0.5rem;
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
}

.job-search-form .btn-primary:hover {
    opacity: 0.9;
}

/* ========================================
   FUTURISTIC CARDS
   ======================================== */

.card-futuristic {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--futuristic-gradient);
}

.card-futuristic:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--neon-blue);
}

/* Neon Glow Effects */
.neon-glow {
    box-shadow: 0 0 5px var(--neon-blue),
                0 0 10px var(--neon-blue),
                0 0 15px var(--neon-blue);
}

.purple-glow {
    box-shadow: 0 0 5px var(--neon-purple),
                0 0 10px var(--neon-purple),
                0 0 15px var(--neon-purple);
}

.gold-glow {
    box-shadow: 0 0 5px #0891B2,
                0 0 10px #0891B2,
                0 0 15px #0891B2;
}

.red-glow {
    box-shadow: 0 0 5px #6B7280,
                0 0 10px #6B7280,
                0 0 15px #6B7280;
}

/* Cyber Grid Background */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Holographic Text Effect */
.holographic-text {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--cyber-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographic 3s ease-in-out infinite;
}

@keyframes holographic {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(180deg); }
}

/* Loading Animation */
.cyber-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 245, 255, 0.3);
    border-top: 3px solid var(--neon-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   SERVICE & FEATURE CARDS
   ======================================== */

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

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

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   STEP CARDS (How It Works)
   ======================================== */

.step-card {
    background: white;
    padding: 3rem 2rem 2rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    position: relative;
    margin-top: 2rem;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 10;
}

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

.step-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
}

.how-it-works-section {
    padding: 80px 0;
    overflow: visible;
}

.how-it-works-section .row {
    margin-top: 2rem;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */

.categories-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.category-link {
    text-decoration: none;
    color: var(--text-primary);
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.category-jobs {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.category-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.category-content ul li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.category-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========================================
   MISSION & VALUE CARDS
   ======================================== */

.mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
}

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

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.value-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 50%;
}

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

.team-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 80px 0;
    text-align: center;
}

.cta-section .section-subtitle,
.cta-section .hero-subtitle,
.cta-section .page-subtitle {
    color: #666666 !important;
}

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

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666666 !important;
    opacity: 0.95;
}

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

.cta-section .btn-primary {
    background-color: #0E7490;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   PRICING CARDS
   ======================================== */

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: var(--primary-gradient);
    color: white;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0.5rem;
}

.period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 0.9rem;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
    color: var(--text-primary);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-link {
    color: #0E7490;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #0891B2;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.info-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   FAQ STYLES
   ======================================== */

.faq-accordion {
    margin-top: 2rem;
}

.accordion-item {
    margin-bottom: 1rem !important;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    background: white;
    border: none;
    color: var(--text-primary);
}

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

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.accordion-body {
    padding: 1.5rem !important;
    background: #f8f9fa;
    line-height: 1.7;
    font-size: 1rem;
}

.accordion-body p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-search {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.search-box i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.category-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.category-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-buttons .btn.active,
.category-buttons .btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
}

/* ========================================
   AI FEATURES SECTION
   ======================================== */

.ai-features-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.ai-features-section .row {
    justify-content: center !important;
}

.ai-features-section .ai-feature-card {
    margin: 0 auto;
    max-width: 350px;
}

.ai-features-section h1,
.ai-features-section h2,
.ai-features-section h3,
.ai-features-section h4,
.ai-features-section h5,
.ai-features-section h6 {
    color: #ffffff !important;
}

.ai-features-section p {
    color: #e5e7eb !important;
}

.ai-features-section .text-muted {
    color: #9ca3af !important;
}

.ai-features-section .section-subtitle,
.ai-features-section .hero-subtitle,
.ai-features-section .page-subtitle {
    color: #e5e7eb !important;
}

.ai-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(191, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 65, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.ai-feature-card:hover::before {
    left: 100%;
}

.ai-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.ai-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.ai-stats {
    margin-top: 1rem;
}

.ai-stats .badge {
    margin: 0.25rem;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Enhanced Stats Cards */
.stats-trend {
    margin-top: 0.5rem;
}

.stats-trend small {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   SOCIAL & FOOTER STYLES
   ======================================== */

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link i {
    font-size: 16px;
}

.footer-brand {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.footer-social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 210, 176, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(191, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-futuristic {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 210, 176, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 176, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonial-futuristic:hover::before {
    left: 100%;
}

.testimonial-futuristic:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 210, 176, 0.2);
    border-color: rgba(0, 210, 176, 0.4);
}

.testimonial-futuristic .testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

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

.testimonial-futuristic .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0E7490, #0891B2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial-futuristic .author-info h6 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.testimonial-futuristic .author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.partner-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 245, 255, 0.3);
    border-color: var(--neon-blue);
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

.ngo-card {
    height: 100%;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(191, 0, 255, 0.2);
}

.ngo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(191, 0, 255, 0.3);
    border-color: var(--neon-purple);
}

.ngo-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--neon-purple);
}

.ngo-stats {
    margin-top: 20px;
}

.ngo-stats .badge {
    margin: 5px;
    padding: 8px 15px;
    font-size: 0.85rem;
}

.impact-stats {
    padding: 40px 20px;
    text-align: center;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.impact-stat {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyber-green);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   MODAL OVERRIDES (for non-futuristic modals)
   ======================================== */

.modal-content {
    background-color: var(--light-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.modal-title {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body {
    background: transparent;
    color: #ffffff;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Modal Button Styling */
.modal-content .btn-primary {
    background: linear-gradient(135deg, #0E7490 0%, #0E7490 50%, #0891B2 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 210, 176, 0.4), 0 0 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-content .btn-primary::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 ease;
}

.modal-content .btn-primary:hover::before {
    left: 100%;
}

.modal-content .btn-primary:hover {
    background: linear-gradient(135deg, #00B8A3 0%, #5a6fd8 50%, #6b46c1 100%);
    box-shadow: 0 12px 35px rgba(0, 210, 176, 0.5), 0 0 30px rgba(102, 126, 234, 0.4);
}

.modal-content .btn-outline-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    border-radius: 15px;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-content .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Fix text contrast in modals */
.modal-content .text-muted {
    color: #b0b0b0 !important;
}

.modal-content .text-white {
    color: #ffffff !important;
}

.modal-content .text-light {
    color: #e0e0e0 !important;
}

/* Modal-specific holographic text sizing */
.modal-content .holographic-text {
    font-size: 1.3rem !important;
    font-weight: 700;
}

/* Modal Icon Styling */
.modal-content .login-icon i,
.modal-content .register-icon i {
    color: #0E7490;
    background: linear-gradient(135deg, #0E7490, #0E7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Feature Items */
.modal-content .feature-item {
    color: #555555 !important;
    font-size: 13px;
    margin-bottom: 8px;
}

.modal-content .feature-item i {
    color: #0E7490;
    background: rgba(0, 210, 176, 0.1);
    border-radius: 4px;
    padding: 2px;
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 280px;
        margin: 10px;
    }
    
    .modal-content .card-futuristic {
        padding: 15px;
    }
    
    .modal-content .holographic-text {
        font-size: 1rem !important;
    }
}

/* Modal Size Adjustments - Better Proportions */
.modal-dialog {
    max-width: 450px !important;
    width: auto !important;
}

.modal-dialog.modal-sm {
    max-width: 350px !important;
    width: auto !important;
}

.modal-dialog.modal-md {
    max-width: 500px !important;
    width: auto !important;
}

.modal-dialog.modal-lg {
    max-width: 600px !important;
    width: auto !important;
}

.modal-dialog.modal-xl {
    max-width: 700px !important;
    width: auto !important;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.input-group-text {
    background-color: var(--light-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal .form-control,
.modal .form-select {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.modal .form-control:focus,
.modal .form-select:focus {
    border-color: #0E7490;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.btn-group .btn-outline-primary {
    color: #0E7490;
    border-color: #0E7490;
}

.btn-group .btn-outline-primary:hover {
    background-color: #0E7490;
    color: white;
}

.btn-group .btn-check:checked + .btn-outline-primary {
    background: var(--primary-gradient);
    color: white;
    border-color: #0891B2;
}

.weak-password { color: red; }
.medium-password { color: orange; }
.strong-password { color: green; }
.registrationFormAlert { font-size: 0.875em; margin-top: 0.25rem; }

/* ========================================
   RESPONSIVE - NAVBAR & MOBILE
   ======================================== */

@media (max-width: 991.98px) {
    .navbar-nav.me-auto {
        margin-bottom: 1rem;
    }
    .navbar-nav {
        align-items: center;
    }
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    /* Mobile menu styling */
    .navbar-collapse {
        background: rgba(30, 41, 59, 0.98);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(15px);
    }
    
    .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 10px 15px;
        margin: 5px 0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #60a5fa !important;
    }
    
    .navbar-nav .nav-link.btn {
        background: var(--primary-gradient);
        border: none;
        color: white !important;
        padding: 10px 20px;
        border-radius: 8px;
        margin: 5px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Additional responsive for inline styles */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section {
        padding: 8rem 0 6rem;
        min-height: 70vh;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .category-card {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .ai-feature-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ai-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .partner-logo {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .ngo-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .ai-feature-card {
        padding: 1rem;
    }
    
    .ai-icon {
        font-size: 2rem;
    }
}


/* ========================================
   FORM & CARD ENHANCEMENTS (from modern-style.css)
   ======================================== */

/* Job Search Form Enhancements */
.job-search-card {
    background: white;
    padding: 40px !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.job-search-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.job-search-form .form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* Step Card Enhancements */
.steps-container {
    margin-top: 60px;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0891B2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Section Enhancements */
.contact-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #0891B2;
    text-decoration: underline;
}

/* Brand Utility Overrides */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }
.link-primary { color: var(--primary-color) !important; }
.link-primary:hover, .link-primary:focus { color: #0891B2 !important; }

/* Override legacy blue references */
.giveFeedback {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.giveFeedback:hover {
    background-color: #0891B2 !important;
    border-color: #0891B2 !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

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

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

/* ========================================
   RESPONSIVE STYLES (from responsive.css)
   ======================================== */

@media (max-width:1200px){
    .job-search-sec{
        width: 95%;
    }
    
    header {
        display: none !important;
    }
    .responsive-header {
        display: block;
    }
    
    .blogpost.style2 .blog-postdetail {
        padding-left: 30px;
    }
    
    .how-work-box {
        padding: 57px 60px;
    }
    
    .job-search-sec .job-search > h3 {
        font-size: 30px;
    }
}


/* ========================================
   UI ENHANCEMENTS (from enhancements.css)
   ======================================== */

/* Smooth Transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

/* Enhanced Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Skeleton Loaders */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #0E7490;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Enhanced Form Inputs */
.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* ========================================
   LEGACY OVERRIDES (critical for compatibility)
   ======================================== */

/* Override global .theme-layout float that breaks modern flexbox layouts */
html .theme-layout,
body .theme-layout {
    float: none !important;
    overflow: visible !important;
    width: 100% !important;
}

/* Override section/block floats - CRITICAL for Bootstrap grid to work */
html section,
body section,
html .block,
body .block {
    float: none !important;
    clear: both !important;
    width: auto !important;
}

/* Ensure Bootstrap container/row/col work correctly */
html .container,
body .container,
html .row,
body .row {
    float: none !important;
}

html [class*="col-"],
body [class*="col-"] {
    float: none !important;
}


/* ========================================
   RESPONSIVE FIXES FOR WIDE SCREENS
   Fixed: Hero overflow, stats, categories, footer alignment
   ======================================== */

/* Ensure all sections are contained and centered on wide screens */
section {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hero Section - Fix overflow and alignment */
.hero-section {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.hero-section .row {
    margin-left: 0;
    margin-right: 0;
}

.hero-section .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Stats Section - Fix alignment on wide screens */
.stats-section {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
}

.stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.stats-section .row {
    margin-left: -15px;
    margin-right: -15px;
    justify-content: center;
}

.stats-section [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Categories Section - Fix alignment */
.categories-section {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
}

.categories-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.categories-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.categories-section [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer - Fix alignment on wide screens */
footer {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

footer .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

footer [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Community Impact / Partners Section */
.partners-section,
.community-impact-section {
    width: 100% !important;
    max-width: 100vw;
    overflow-x: hidden !important;
}

.partners-section .container,
.community-impact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Wide Screen Specific Fixes (1400px+) */
@media (min-width: 1400px) {
    .hero-section .container,
    .stats-section .container,
    .categories-section .container,
    .partners-section .container,
    footer .container {
        max-width: 1320px;
    }
}

/* Ultra Wide Screen Fixes (1920px+) */
@media (min-width: 1920px) {
    .hero-section .container,
    .stats-section .container,
    .categories-section .container,
    .partners-section .container,
    footer .container {
        max-width: 1600px;
    }
}

/* Ensure body doesn't overflow */
body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

html {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Fix any rogue elements pushing content left */
* {
    box-sizing: border-box;
}

*:not(.container):not(.container-fluid) {
    max-width: 100%;
}

/* =====================================================
   WORKER/WORKPROVIDER PORTAL STYLES
   ===================================================== */

/* Fix theme-layout overflow issue for portal pages */
.theme-layout {
    overflow: visible !important;
    float: none !important;
    width: 100% !important;
}

/* Reset legacy style.css conflicts for portal pages */
.py-4 .row,
.portal-header-strip ~ section .row {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.py-4 [class*="col-"],
.portal-header-strip ~ section [class*="col-"] {
    float: none !important;
    position: relative !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

/* Fix sidebar border-right class override */
.py-4 .border-right,
.portal-header-strip ~ section .border-right {
    padding: 0 !important;
    border-right: none !important;
}

/* Fix aside/column styling */
aside.col-lg-3 {
    float: none !important;
}

/* Ensure container is centered */
.py-4 .container,
.portal-header-strip ~ section .container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Reset button float from style.css */
.py-4 button,
.portal-header-strip ~ section button {
    float: none !important;
}

/* Portal Header Strip */
.portal-header-strip {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    padding: 1.5rem 0;
    margin-bottom: 0;
}

.portal-header-strip .portal-welcome h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-header-strip .portal-welcome h3 i {
    font-size: 1.75rem;
}

/* Portal Sidebar */
.widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tree_widget-sec ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree_widget-sec ul li {
    margin-bottom: 0.25rem;
}

.tree_widget-sec ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.tree_widget-sec ul li a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #0E7490;
    transform: translateX(4px);
}

.tree_widget-sec ul li.active a {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    color: #ffffff;
}

.tree_widget-sec ul li a i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

/* Portal Cards */
.card {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Portal Tables */
.table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

/* Portal Buttons */
.btn-default {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-default:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Portal Form Controls */
.portal-header-strip ~ section .form-control,
.py-4 .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.portal-header-strip ~ section .form-control:focus,
.py-4 .form-control:focus {
    border-color: #0E7490;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    outline: none;
}

/* Portal Labels */
.py-4 label,
.portal-header-strip ~ section label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Portal Section Spacing */
.py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Portal Page Titles */
.py-4 h3,
.portal-header-strip ~ section h3 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Portal Badges */
.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-info {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Portal Responsive */
@media (max-width: 991px) {
    .portal-header-strip .portal-welcome h3 {
        font-size: 1.25rem;
    }
    
    .tree_widget-sec ul li a {
        padding: 0.625rem 0.875rem;
    }
}

@media (max-width: 767px) {
    .portal-header-strip {
        padding: 1rem 0;
    }
    
    .widget {
        padding: 1rem;
    }
}

/* =====================================================
   WORKER PORTAL - COMPREHENSIVE STYLING
   ===================================================== */

/* Base Typography for Portal */
body {
    font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #374151;
    line-height: 1.6;
    background-color: #f3f4f6;
}

/* Page Background */
.py-4,
section.py-4 {
    background-color: #f3f4f6;
}

/* All Text Colors */
h1, h2, h3, h4, h5, h6 {
    color: #1f2937;
    font-weight: 600;
}

p {
    color: #4b5563;
    line-height: 1.7;
}

a {
    color: #0E7490;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #5a67d8;
    text-decoration: none;
}

/* Form Controls - Comprehensive */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="url"],
textarea,
select {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    color: #374151 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #0E7490 !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #9ca3af !important;
}

/* Select Dropdowns */
select.form-control,
select {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    background-color: #ffffff !important;
    cursor: pointer;
}

/* Textarea */
textarea.form-control,
textarea {
    min-height: 120px;
    resize: vertical;
}

/* Labels */
label,
.form-group label,
.form-label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
    display: block;
}

/* Buttons - Primary */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* Buttons - Secondary/Default */
.btn-secondary,
.btn-default,
button.btn-secondary {
    background: #f3f4f6 !important;
    border: 2px solid #d1d5db !important;
    color: #374151 !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.btn-default:hover,
button.btn-secondary:hover {
    background: #e5e7eb !important;
    border-color: #9ca3af !important;
}

/* Buttons - Success */
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Buttons - Danger */
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Buttons - Warning */
.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Buttons - Info */
.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Small Buttons */
.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* Icons - Line Awesome & Font Awesome */
.la, .fa, .fas, .far, .fab {
    color: inherit;
}

.tree_widget-sec .la,
.tree_widget-sec .fa {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    color: #0E7490;
}

.tree_widget-sec ul li.active .la,
.tree_widget-sec ul li.active .fa {
    color: #ffffff;
}

/* Card Icons */
.card .la,
.card .fa,
.display-6 {
    color: #0E7490 !important;
}

/* Alert Styling */
.alert {
    border-radius: 10px !important;
    border: none !important;
    padding: 1rem 1.25rem !important;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%) !important;
    color: #065f46 !important;
    border-left: 4px solid #10b981 !important;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%) !important;
    color: #991b1b !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%) !important;
    color: #92400e !important;
    border-left: 4px solid #f59e0b !important;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%) !important;
    color: #1e40af !important;
    border-left: 4px solid #3b82f6 !important;
}

/* Tables - Enhanced */
.table {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.table thead th {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 1rem !important;
    text-transform: uppercase !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.5px !important;
}

.table tbody td {
    padding: 1rem !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #374151 !important;
}

.table tbody tr:hover {
    background-color: #f9fafb !important;
}

.table tbody tr:last-child td {
    border-bottom: none !important;
}

/* DataTables Styling */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.75rem !important;
    color: #374151 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

/* Pagination */
.pagination .page-link {
    border: 2px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 8px !important;
    margin: 0 2px !important;
    padding: 0.5rem 0.875rem !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* Chosen Select Styling */
.chosen-container {
    width: 100% !important;
}

.chosen-container-single .chosen-single {
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.5 !important;
    padding: 0.625rem 1rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #374151 !important;
    font-size: 0.9375rem !important;
    box-shadow: none !important;
}

.chosen-container-single .chosen-single span {
    color: #374151 !important;
}

.chosen-container-active .chosen-single {
    border-color: #0E7490 !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

.chosen-container .chosen-drop {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
}

.chosen-container .chosen-results li {
    padding: 0.625rem 1rem !important;
    color: #374151 !important;
}

.chosen-container .chosen-results li.highlighted {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
}

/* Modal Styling */
.modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
}

.modal-header {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: none !important;
}

.modal-header .modal-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1) !important;
}

.modal-body {
    padding: 1.5rem !important;
}

.modal-footer {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #e5e7eb !important;
}

/* Box/Panel Styling */
.box,
.panel {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
}

.box-header,
.panel-heading {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
    padding: 1rem 1.25rem !important;
    border-radius: 12px 12px 0 0 !important;
    border-bottom: none !important;
}

.box-header .box-title,
.panel-heading .panel-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.box-body,
.panel-body {
    padding: 1.25rem !important;
}

/* Status Labels */
.label,
.badge {
    padding: 0.375rem 0.75rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
}

.label-success,
.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.label-danger,
.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
}

.label-warning,
.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

.label-info,
.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
}

.label-primary,
.badge-primary {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
}

/* Text Utilities */
.text-primary {
    color: #0E7490 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-info {
    color: #3b82f6 !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Links in Tables and Lists */
.table a,
.list-group a {
    color: #0E7490 !important;
    font-weight: 500 !important;
}

.table a:hover,
.list-group a:hover {
    color: #5a67d8 !important;
}

/* List Groups */
.list-group-item {
    border: 1px solid #e5e7eb !important;
    padding: 1rem 1.25rem !important;
    color: #374151 !important;
}

.list-group-item:first-child {
    border-radius: 12px 12px 0 0 !important;
}

.list-group-item:last-child {
    border-radius: 0 0 12px 12px !important;
}

.list-group-item.active {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* Progress Bars */
.progress {
    height: 10px !important;
    border-radius: 10px !important;
    background-color: #e5e7eb !important;
}

.progress-bar {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    border-radius: 10px !important;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
}

.breadcrumb-item a {
    color: #0E7490 !important;
}

.breadcrumb-item.active {
    color: #6b7280 !important;
}

/* Nav Tabs */
.nav-tabs .nav-link {
    border: none !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px 8px 0 0 !important;
}

.nav-tabs .nav-link:hover {
    color: #0E7490 !important;
    background: rgba(102, 126, 234, 0.1) !important;
}

.nav-tabs .nav-link.active {
    color: #0E7490 !important;
    background: #ffffff !important;
    border-bottom: 3px solid #0E7490 !important;
}

/* Tab Content */
.tab-content {
    background: #ffffff !important;
    padding: 1.5rem !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    padding: 0.625rem 1rem !important;
    border-radius: 8px !important;
    color: #374151 !important;
    font-weight: 500 !important;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    color: #0E7490 !important;
}

.dropdown-item i {
    color: #0E7490 !important;
    margin-right: 0.5rem !important;
}

/* Navbar Styling */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

.navbar .nav-link {
    color: #374151 !important;
    font-weight: 500 !important;
}

.navbar .nav-link:hover {
    color: #0E7490 !important;
}

/* Footer Styling for Portal */
.footer-modern {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
}

/* =====================================================
   WHITE TEXT VISIBILITY FIXES
   ===================================================== */

/* Ensure text on dark backgrounds is visible */
.footer-modern,
.footer-modern p,
.footer-modern span,
.footer-modern li,
.footer-modern a {
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-modern h1,
.footer-modern h2,
.footer-modern h3,
.footer-modern h4,
.footer-modern h5,
.footer-modern h6 {
    color: #ffffff !important;
}

.footer-modern a:hover {
    color: #ffffff !important;
}

/* Portal Header Strip Text */
.portal-header-strip,
.portal-header-strip h1,
.portal-header-strip h2,
.portal-header-strip h3,
.portal-header-strip h4,
.portal-header-strip p,
.portal-header-strip span {
    color: #ffffff !important;
}

/* Table Header Text */
.table thead th,
.table thead th a {
    color: #ffffff !important;
}

/* Modal Header Text */
.modal-header,
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header .modal-title,
.modal-header .close {
    color: #ffffff !important;
}

/* Box/Panel Header Text */
.box-header,
.box-header h1,
.box-header h2,
.box-header h3,
.box-header h4,
.box-header .box-title,
.panel-heading,
.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading .panel-title {
    color: #ffffff !important;
}

/* Button Text */
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    color: #ffffff !important;
}

/* Badge/Label Text */
.badge,
.label,
.badge-primary,
.badge-success,
.badge-danger,
.badge-warning,
.badge-info,
.label-primary,
.label-success,
.label-danger,
.label-warning,
.label-info {
    color: #ffffff !important;
}

/* Active Sidebar Item Text */
.tree_widget-sec ul li.active a,
.tree_widget-sec ul li.active a i,
.tree_widget-sec ul li.active a span {
    color: #ffffff !important;
}

/* Pagination Active */
.pagination .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #ffffff !important;
}

/* Alert Text on Colored Backgrounds */
.alert-success {
    color: #065f46 !important;
}

.alert-danger {
    color: #991b1b !important;
}

.alert-warning {
    color: #92400e !important;
}

.alert-info {
    color: #1e40af !important;
}

/* =====================================================
   SIDEBAR MENU CONSISTENCY
   ===================================================== */

/* Sidebar Container */
aside.col-lg-3,
.sidebar,
.col-lg-3.column {
    padding-right: 15px !important;
}

/* Widget Container */
.widget {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    border: none !important;
}

/* Sidebar Menu List */
.tree_widget-sec ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tree_widget-sec ul li {
    margin-bottom: 0.25rem !important;
    list-style: none !important;
}

/* Sidebar Menu Links */
.tree_widget-sec ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    color: #374151 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    font-size: 0.9375rem !important;
    background: transparent !important;
    border: none !important;
}

.tree_widget-sec ul li a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    color: #0E7490 !important;
    transform: translateX(4px) !important;
    text-decoration: none !important;
}

/* Active Sidebar Item */
.tree_widget-sec ul li.active a {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.tree_widget-sec ul li.active a:hover {
    transform: none !important;
}

/* Sidebar Icons */
.tree_widget-sec ul li a i {
    font-size: 1.25rem !important;
    width: 24px !important;
    text-align: center !important;
    color: #0E7490 !important;
    flex-shrink: 0 !important;
}

.tree_widget-sec ul li.active a i {
    color: #ffffff !important;
}

.tree_widget-sec ul li a:hover i {
    color: #0E7490 !important;
}

/* Main Content Area */
.col-lg-9 {
    padding-left: 15px !important;
}

/* Ensure proper spacing between sidebar and content */
.row.g-4 {
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 1.5rem !important;
}

/* =====================================================
   LEGACY LAYOUT COMPATIBILITY OVERRIDES
   These styles ensure old layout classes work with new styling
   ===================================================== */

/* Legacy block container */
.block {
    background-color: #f3f4f6 !important;
}

.block.no-padding {
    padding: 0 !important;
}

/* Legacy row no-gape */
.row.no-gape {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
}

.row.no-gape > [class*="col-"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    float: none !important;
}

/* Legacy column class */
.col-lg-9.column {
    float: none !important;
}

/* Legacy padding-left wrapper */
.padding-left {
    padding: 0 !important;
}

/* Legacy manage-jobs-sec - convert to card style */
.manage-jobs-sec {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.manage-jobs-sec h3 {
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #e5e7eb !important;
}

/* Legacy extra-job-info */
.extra-job-info {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.extra-job-info span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

.extra-job-info span strong {
    color: #0E7490 !important;
    font-weight: 700 !important;
}

.extra-job-info span i {
    color: #0E7490 !important;
    margin-right: 0.5rem !important;
}

/* Legacy table styling in manage-jobs-sec */
.manage-jobs-sec table {
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border-collapse: collapse !important;
}

.manage-jobs-sec table thead tr {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
}

.manage-jobs-sec table thead td,
.manage-jobs-sec table thead th {
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem !important;
    text-transform: uppercase !important;
    font-size: 0.8125rem !important;
    letter-spacing: 0.5px !important;
    border: none !important;
}

.manage-jobs-sec table tbody td {
    padding: 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #374151 !important;
    vertical-align: middle !important;
}

.manage-jobs-sec table tbody tr:hover {
    background-color: #f9fafb !important;
}

.manage-jobs-sec table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Legacy table-list-title */
.table-list-title h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 0 0.25rem 0 !important;
    color: #1f2937 !important;
}

.table-list-title h3 a {
    color: #0E7490 !important;
    text-decoration: none !important;
}

.table-list-title h3 a:hover {
    color: #5a67d8 !important;
}

.table-list-title span {
    font-size: 0.875rem !important;
    color: #6b7280 !important;
}

/* Legacy action_job buttons */
.action_job {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
}

.action_job li {
    display: inline-block !important;
}

.action_job li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    color: #0E7490 !important;
    transition: all 0.2s ease !important;
}

.action_job li a:hover {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
}

.action_job li span {
    display: none !important;
}

/* Legacy search padding */
.searchPadding {
    margin-bottom: 1.5rem !important;
}

.searchPadding .form-control {
    margin-bottom: 0.5rem !important;
}

.searchPadding .btn {
    margin-right: 0.5rem !important;
}

/* Legacy pf-title and pf-field (profile forms) */
.pf-title {
    display: block !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9375rem !important;
}

.pf-field {
    margin-bottom: 1rem !important;
}

.pf-field input,
.pf-field select,
.pf-field textarea {
    width: 100% !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem !important;
    color: #374151 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus {
    border-color: #0E7490 !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
    outline: none !important;
}

/* Legacy change-password section */
.change-password {
    background: transparent !important;
}

/* Legacy section without py-4 */
section:not(.py-4):not(.py-5) {
    padding: 2rem 0 !important;
    background-color: #f3f4f6 !important;
}

/* Legacy inputerrormessage */
.inputerrormessage {
    color: #ef4444 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

/* Legacy successmessage */
.successmessage {
    color: #10b981 !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
}

/* Legacy errormessage */
.errormessage {
    color: #ef4444 !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
}

/* =====================================================
   JOB LISTING PAGE SPECIFIC STYLES
   ===================================================== */

/* Hero Section with Gradient Background */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
}

/* Ensure text-white class works */
.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white label {
    color: #ffffff !important;
}

/* Job Listing Filter Sidebar */
.col-lg-3 aside,
aside.col-lg-3 {
    background: transparent !important;
}

/* Card Headers in Filter Sidebar */
.card-header {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    border-bottom: none !important;
    padding: 1rem 1.25rem !important;
}

.card-header h5,
.card-header .card-title {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* Card Body */
.card-body {
    padding: 1.25rem !important;
}

/* Form Select in Cards */
.card-body .form-select,
.card-body .form-control {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.625rem 1rem !important;
    color: #374151 !important;
    background-color: #ffffff !important;
}

.card-body .form-select:focus,
.card-body .form-control:focus {
    border-color: #0E7490 !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
}

/* Form Check Labels */
.form-check-label {
    color: #374151 !important;
    font-size: 0.9375rem !important;
}

/* Form Check Input */
.form-check-input:checked {
    background-color: #0E7490 !important;
    border-color: #0E7490 !important;
}

/* Job Cards */
.card.shadow-sm {
    border: none !important;
    border-radius: 12px !important;
}

.card.shadow-sm .card-body {
    background: #ffffff !important;
}

/* Job Card Title Links */
.card-title a {
    color: #0E7490 !important;
    font-weight: 600 !important;
}

.card-title a:hover {
    color: #5a67d8 !important;
}

/* Dropdown Selects in Job Listing */
.form-select-sm {
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 0.375rem 2rem 0.375rem 0.75rem !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
}

/* Pagination Styling */
.pagination {
    gap: 0.25rem !important;
}

.pagination .page-link {
    border: none !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    color: #374151 !important;
    background: #f3f4f6 !important;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%) !important;
    color: #ffffff !important;
}

.pagination .page-link:hover {
    background: #e5e7eb !important;
    color: #0E7490 !important;
}

