/* ========================================
   MODERN UI/UX ENHANCEMENTS - UDHYOG JOB PORTAL
   ======================================== */

/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #00c0ef;
    --primary-dark: #0099cc;
    --primary-light: #33d1ff;
    --secondary-color: #667eea;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== GLOBAL RESETS & BASE STYLES ========== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure consistent link colors */
a {
    color: var(--primary-color);
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* ========== MODERN BUTTON SYSTEM ========== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    box-shadow: var(--shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Primary Button */
.btn-primary,
.seeub-btn,
.seub-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    border-color: var(--primary-color);
}

.btn-primary:hover,
.seeub-btn:hover,
.seub-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white !important;
    box-shadow: 0 8px 20px rgba(0, 192, 239, 0.4);
}

/* Browse Button */
.brows-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #764ba2 100%);
    color: white !important;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.brows-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

/* Secondary Button */
.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Button Sizes */
.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* ========== MODERN FORM SYSTEM ========== */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-base);
    outline: none;
}

.form-control:hover,
input:hover,
textarea:hover,
select:hover {
    border-color: var(--primary-light);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 192, 239, 0.1);
    background-color: #fafbff;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Select Dropdown Enhancement */
select.form-control,
.selectpicker {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

/* Input Icons */
.input-group {
    position: relative;
}

.input-group-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.input-group input {
    padding-left: 44px;
}

/* ========== HEADER & NAVIGATION ========== */
#header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

#header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Top Bar */
#topbar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

#topbar .contact-info a {
    color: var(--text-secondary);
    transition: color var(--transition-base);
    font-weight: 500;
}

#topbar .contact-info a:hover {
    color: var(--primary-color);
}

#topbar .contact-info i {
    margin-right: 6px;
    color: var(--primary-color);
}

/* Social Links */
#topbar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    border-radius: 50%;
    background: white;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

#topbar .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#topbar .social-links a.twitter:hover {
    background: #1da1f2;
    color: white;
}

#topbar .social-links a.facebook:hover {
    background: #1877f2;
    color: white;
}

#topbar .social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

#topbar .social-links a.linkedin:hover {
    background: #0077b5;
    color: white;
}

#topbar .social-links a.telegram:hover {
    background: #0088cc;
    color: white;
}

#topbar .social-links a.youtube:hover {
    background: #ff0000;
    color: white;
}

/* Logo */
#logo img {
    transition: transform var(--transition-base);
}

#logo:hover img {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > li {
    position: relative;
    margin: 0 4px;
}

.nav-menu a {
    position: relative;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: 6px;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-base); 
    transform: translateX(-50%);
}

.nav-menu > li:hover > a,
.nav-menu .menu-active > a {
    color: var(--primary-color) !important;
    background: rgba(0, 192, 239, 0.08);
}

.nav-menu > li:hover > a::after {
    width: 60%;
    /* height:2px; */
}

/* Dropdown Menus */
.nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 8px 0 0 0;
    padding: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu ul li {
    margin: 2px 0;
}

.nav-menu ul li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-menu ul li a:hover {
    background: linear-gradient(135deg, rgba(0, 192, 239, 0.1) 0%, rgba(0, 192, 239, 0.05) 100%);
    color: var(--primary-color) !important;
    padding-left: 20px;
}

/* Dropdown Headers */
.dropdown-header {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ========== BANNER SECTION ========== */
.main-banner {
    position: relative;
    padding: 100px 0;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.main-banner .container {
    position: relative;
    z-index: 2;
}

.main-banner .caption {
    text-align: center;
    margin-top: 40px;
}

.main-banner .caption h2 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    line-height: 1.2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Bar in Banner */
.main-banner form {
    background: white;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    animation: fadeInUp 1s ease;
}

.main-banner .searchBar,
.main-banner .exp,
.main-banner select {
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    transition: all var(--transition-base) !important;
    background: #f8f9fa !important;
}

.main-banner .searchBar:focus,
.main-banner .exp:focus,
.main-banner select:focus {
    background: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(0, 192, 239, 0.1) !important;
}

.main-banner .searchBtn {
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100%;
}

/* Banner Register Buttons */
.main-banner .seeub-btn {
    display: inline-block;
    margin: 10px;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 192, 239, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: none;
    text-decoration: none;
    animation: fadeInUp 0.6s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.main-banner .seeub-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 192, 239, 0.7);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.main-banner .seeub-btn i {
    margin-right: 8px;
    font-size: 20px;
}

/* Make buttons more visible on dark backgrounds */
.main-banner .row {
    position: relative;
    z-index: 10;
}

.main-banner .text-center {
    text-align: center;
}

/* Add glow effect to make buttons stand out */
@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 192, 239, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(0, 192, 239, 0.8);
    }
}

.main-banner .seeub-btn {
    animation: fadeInUp 0.6s ease, buttonGlow 3s ease-in-out infinite;
}

/* ========== CARD SYSTEM ========== */
.job-card,
.card,
.box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.job-card::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: height var(--transition-base);
}

.job-card:hover,
.card:hover,
.box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.job-card:hover::before,
.card:hover::before {
    height: 100%;
}

/* Card Headers */
.card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    font-weight: 700;
    color: var(--text-primary);
}

/* Card Body */
.card-body {
    padding: 20px;
}

.card-body h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.card-body h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-base);
}

.card-body h4 a:hover {
    color: var(--primary-dark);
}

/* ========== COUNTER SECTION ========== */
.counter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.counter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.counter::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.counter .container {
    position: relative;
    z-index: 1;
}

.counter-text {
    text-align: center;
    color: white;
    padding: 20px;
}

.counter-text h3 {
    font-size: 56px;
    font-weight: 800;
    margin: 15px 0;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    animation: countUp 1s ease;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.counter-text p {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.counter .col-md-3 {
    position: relative;
}

.counter .col-md-3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.counter .col-md-3:last-child::after {
    display: none;
}

/* ========== JOB LISTINGS ========== */
#jobs {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.job-list-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.job-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-details {
    flex: 1;
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.job-company {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.job-meta-item i {
    color: var(--primary-color);
}

/* ========== BADGES & TAGS ========== */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
    transition: all var(--transition-base);
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--accent-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

/* Job Type Badge */
.full-time {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    margin-left: 10px;
    transition: all var(--transition-base);
}

.full-time:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 192, 239, 0.3);
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-info {
    background: rgba(0, 192, 239, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--success-color);
    color: #065f46;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-color);
    color: #92400e;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert i {
    font-size: 20px;
}

/* ========== LOADING STATES ========== */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

/* ========== ACCESSIBILITY ========== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    z-index: 999;
    cursor: pointer;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 192, 239, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.pagination a:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination .active a,
.pagination .active span {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ========== MODAL ENHANCEMENTS ========== */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 24px;
}

.modal-header .close {
    color: white;
    opacity: 0.9;
    text-shadow: none;
    transition: all var(--transition-base);
}

.modal-header .close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px 24px;
}

.modal-footer {
    border-top: 2px solid var(--border-color);
    padding: 20px 24px;
}

/* ========== TABLES ========== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 16px;
    border-bottom: 2px solid var(--border-color);
}

.table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.table tbody tr {
    transition: all var(--transition-base);
}

.table tbody tr:hover {
    background: rgba(0, 192, 239, 0.03);
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

/* ========== FOOTER ========== */
#footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #9ca3af;
    padding: 60px 0 20px;
}

#footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

#footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
}

#footer a {
    color: #9ca3af;
    transition: all var(--transition-base);
    text-decoration: none;
}

#footer a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

#footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

#footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    padding-left: 0;
}

/* ========== COMPANY LOGOS / CLIENTS ========== */
#clients {
    padding: 60px 0;
    background: white;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    height: 120px;
}

.company-logo:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.company-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========== TESTIMONIALS ========== */
.testimonial-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-info p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== SECTIONS ========== */
section {
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========== SIDEBAR SECTIONS ========== */

/* Top Brand, Hot Jobs, Candidates Sidebar */
.companies {
    margin-bottom: 20px;
}

.company-list {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.company-list:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.company-logo1 {
    text-align: center;
}

.company-logo1 img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.company-logo1 img:hover {
    transform: scale(1.05);
}

.section-headers h2 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.center-block {
    display: block;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.center-block1 {
    display: block;
    padding: 12px;
    background: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
}

.center-block1:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Sidebar Headings */
.col-lg-3 h4,
.col-lg-6 h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.col-lg-3 h4::after,
.col-lg-6 h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

/* Ensure proper spacing on all devices */
.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*='col-'] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Make sure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets */
@media (max-width: 991px) {
    .main-banner .caption h2 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .counter-text h3 {
        font-size: 42px;
    }

    /* Sidebar Responsive - Tablets */
    .col-lg-3,
    .col-lg-6 {
        margin-bottom: 30px;
    }

    .companies {
        margin-bottom: 15px;
    }

    .company-logo1 img {
        max-height: 100px;
        width: auto;
    }

    .company-list {
        padding: 12px;
    }

    .section-headers h2 {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .main-banner {
        padding: 60px 0;
    }

    .main-banner .caption h2 {
        font-size: 28px;
    }

    .main-banner form {
        padding: 8px;
    }

    .main-banner .seeub-btn {
        padding: 12px 24px;
        font-size: 15px;
        margin: 5px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .counter-text h3 {
        font-size: 36px;
    }

    .counter-text p {
        font-size: 16px;
    }

    .job-list-item {
        flex-direction: column;
        text-align: center;
    }

    .job-meta {
        justify-content: center;
    }

    .card,
    .box,
    .job-card {
        padding: 16px;
    }

    #topbar .social-links a {
        width: 32px;
        height: 32px;
        margin-left: 4px;
    }

    /* Sidebar Responsive - Mobile */
    .col-lg-3,
    .col-lg-6 {
        margin-bottom: 25px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-lg-3 h4,
    .col-lg-6 h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .companies {
        margin-bottom: 12px;
    }

    .company-list {
        padding: 10px;
        margin-bottom: 10px;
    }

    .company-logo1 img {
        max-height: 80px;
        width: auto;
    }

    .section-headers h2 {
        font-size: 14px;
        margin: 15px 0;
    }

    .center-block1 {
        padding: 10px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .main-banner .caption h2 {
        font-size: 24px;
    }

    .counter-text h3 {
        font-size: 32px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }

    /* Sidebar Responsive - Small Mobile */
    .col-lg-3 h4,
    .col-lg-6 h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .company-logo1 img {
        max-height: 70px;
    }

    .section-headers h2 {
        font-size: 13px;
        margin: 12px 0;
    }

    .center-block1 {
        padding: 8px;
        font-size: 13px;
    }

    .company-list {
        padding: 8px;
        margin-bottom: 8px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

.pulse {
    animation: pulse 2s ease infinite;
}

.bounce {
    animation: bounce 1s ease infinite;
}

/* ========== UTILITY CLASSES ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.rounded {
    border-radius: 8px;
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-xl {
    border-radius: 16px;
}

.rounded-full {
    border-radius: 9999px;
}

/* ========== HOVER EFFECTS ========== */
.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 192, 239, 0.5);
}

/* ========== GRADIENT BACKGROUNDS ========== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

/* ========== SELECTION ========== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ========== FOCUS VISIBLE ========== */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .no-print,
    #header,
    #topbar,
    #footer,
    .back-to-top,
    .btn {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}

/* ========== DARK MODE SUPPORT (Optional) ========== */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode support
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --border-color: #374151;
        --light-color: #1f2937;
    }

    body {
        background: #111827;
        color: #f9fafb;
    }

    .card,
    .box,
    .job-card {
        background: #1f2937;
        border-color: #374151;
    }
    */
}

/* ========== PERFORMANCE OPTIMIZATIONS ========== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* GPU Acceleration */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ========== END OF MODERN UI ENHANCEMENTS ========== */

