@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --brand-red: #cc0000;
  --brand-red-dark: #a30000;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif !important;
    background: var(--bg-body) !important;
    color: var(--text-dark) !important;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   Specific Layouts
   ========================================================================== */
.global-layout-container {
    max-width: 100% !important;
    padding: 20px 40px !important;
}

#content, .container {
    max-width: 1400px !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
}

#BTK_Page {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.global-content {
    max-width: 1400px !important;
}

#BTK_Profile,
#BTK_Profile p,
#BTK_Profile div,
#BTK_Profile span {
    text-align: justify !important;
}

#banner_inner,
#banner_inner_wrapp {
    width: 100% !important;
    height: auto !important;
    background: none !important; /* Remove legacy background shadow */
    padding: 0 !important;
    margin-bottom: 30px !important;
    position: relative;
    border-radius: var(--radius-md);
    overflow: visible !important; /* Prevent cropping of image */
}

#banner_inner_wrapp img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
    object-fit: contain; /* Ensure image fits nicely and isn't cut off */
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: #000; /* In case the image doesn't fill the space entirely */
}

#banner_inner_wrapp h1 {
    position: absolute;
    width: 100% !important;
    box-sizing: border-box;
    left: 0 !important;
    bottom: 0 !important;
    padding: 20px 25px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    background: linear-gradient(to right, rgba(204, 0, 0, 0.95), rgba(163, 0, 0, 0.85)) !important;
    color: white !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-align: center;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.4) !important;
    border-bottom-left-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
    opacity: 1 !important; /* Override legacy style.css opacity */
    letter-spacing: normal !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.modern-header {
    background: var(--brand-red);
    border-top: 4px solid var(--brand-red-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: white;
    line-height: 1.2;
}

.logo-text .subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}
#BTK_MemberProfile {
    margin-top: 40px;
}

@media (min-width: 768px) {
    #BTK_MemberProfile {
        display: flex;
        gap: 30px;
        flex-wrap: nowrap;
    }

    #BTK_MemberProfile > .span3 {
        width: 280px !important;
        flex: 0 0 280px;
        margin-left: 0 !important;
    }

    #BTK_MemberProfile > .span9 {
        flex: 1;
        width: auto !important;
        margin-left: 0 !important;
    }
}

.header-nav-wrapper {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
}

.main-nav {
    flex-grow: 1;
    margin-left: 40px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-links li {
    display: inline-block;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-links li a:hover, .nav-links li.active a {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-info {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    color: white;
}

.auth-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-links li {
    display: inline-block;
}

.btn-auth {
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-full) !important;
    transition: var(--transition) !important;
    display: inline-flex !important;
    align-items: center !important;
}

.btn-register {
    background: transparent !important;
    color: white !important;
    border: 1px solid white !important;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.btn-login {
    background: white !important;
    color: var(--brand-red) !important;
    border: 1px solid white !important;
    box-shadow: var(--shadow-sm) !important;
}

.btn-login:hover {
    background: #f8fafc !important;
    transform: translateY(-1px) !important;
    color: var(--brand-red) !important;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.user-name {
    font-weight: 600;
    color: white;
}

.user-dropdown > a {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: var(--transition);
}

.user-dropdown > a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: transparent;
}

/* Header Dropdowns */
.nav-links .dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    margin-top: 10px;
    background: white;
}

.nav-links .dropdown-menu > li > a {
    padding: 8px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
    display: block;
    clear: both;
    white-space: nowrap;
}

.nav-links .dropdown-menu > li > a:hover {
    background-color: rgba(204, 0, 0, 0.05);
    color: var(--brand-red);
}

/* ==========================================================================
   Career Day / Event Page Styles
   ========================================================================== */
.event-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 100%);
    padding: 80px 0 120px;
    color: white;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=') repeat;
    opacity: 0.6;
}

.event-hero .hero-logo {
    height: 100px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    position: relative;
    z-index: 2;
}

.event-hero h1 {
    color: white !important;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.event-hero .hero-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.event-stats-container {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(204,0,0,0.15);
}

.stat-card-modern .stat-value {
    font-size: 52px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--brand-red);
    line-height: 1.2;
    padding: 5px 0;
    margin-bottom: 5px;
    text-shadow: 0 4px 10px rgba(204, 0, 0, 0.1);
}

.stat-card-modern .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.event-time-badge {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--brand-red);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
}

.event-time-badge i {
    margin-right: 12px;
    font-size: 22px;
}

.program-showcase-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.program-showcase-card:hover {
    border-color: rgba(204,0,0,0.2);
    box-shadow: var(--shadow-lg);
}

.program-showcase-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--brand-red) 0%, #ff4d4d 100%);
}

.program-showcase-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.program-showcase-card h3 i {
    color: var(--brand-red);
    margin-right: 15px;
    background: rgba(204,0,0,0.1);
    padding: 12px;
    border-radius: var(--radius-md);
}

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

.program-list > li {
    margin-bottom: 20px;
}

.program-list > li > strong {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.program-list > li > span {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 12px 15px;
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-red);
    transition: var(--transition);
}

.program-list > li > span:hover {
    background: rgba(204,0,0,0.05);
    transform: translateX(5px);
}

/* ==========================================================================
   Job Listing Page (/job)
   ========================================================================== */

#job-listing-page {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.btk-breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
}

.btk-breadcrumbs a {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 500;
}

.job-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 90px;
}

.job-sidebar .sidebar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-sidebar .sidebar-title i {
    color: var(--brand-red);
}

.filter-group .group-title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

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

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

.filter-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-weight: 500;
}

.filter-list li a:hover {
    background: var(--bg-body);
    color: var(--brand-red);
    transform: translateX(4px);
}

.filter-list li a .count {
    background: rgba(204, 0, 0, 0.1);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.content-header {
    margin-bottom: 30px;
}

.content-header h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.content-header .description {
    color: var(--text-muted);
    font-size: 15px;
}

/* Job Cards Container */
#job-items-container .job-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.job-item-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.job-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-red) 0%, #ff6b6b 100%);
    opacity: 0;
    transition: var(--transition);
}

.job-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(204,0,0,0.08);
    border-color: rgba(204, 0, 0, 0.2);
}

.job-item-card:hover::before {
    opacity: 1;
}

.position-title {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.position-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.position-title a:hover {
    color: var(--brand-red);
}

.company-name {
    color: var(--brand-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-name i {
    color: var(--brand-red);
    opacity: 0.8;
}

.job-details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.job-detail-icon-item {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.job-detail-icon-item:hover {
    background: white;
    border-color: var(--brand-red);
    box-shadow: 0 2px 8px rgba(204,0,0,0.05);
}

.job-detail-icon-item .label {
    display: none;
}

.job-detail-icon-item .value {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
}

.job-detail-icon-item .value i {
    color: var(--brand-red);
    opacity: 0.8;
    margin-right: 8px;
    font-size: 14px;
}

.job-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.posted-status {
    font-weight: 500;
}

.deadline-badge {
    background: rgba(204, 0, 0, 0.08);
    color: var(--brand-red);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Nav Tabs & Sorting */
.job-nav-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.nav-tabs {
    border: none !important;
    margin: 0 !important;
    display: flex;
    gap: 10px;
}

.nav-tabs > li > a {
    border: none !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-full) !important;
    transition: var(--transition) !important;
}

.nav-tabs > li > a:hover {
    background: var(--bg-body) !important;
    color: var(--text-dark) !important;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover {
    background: var(--brand-red) !important;
    color: white !important;
    box-shadow: var(--shadow-sm) !important;
}

.sort-dropdown .dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: white;
}

/* Pager */
.yiiPager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px !important;
    padding: 0;
    list-style: none;
}

.yiiPager li {
    display: inline-block;
}

.yiiPager li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.yiiPager li a:hover {
    background: #f8fafc;
    color: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(204,0,0,0.1);
}

.yiiPager li.selected a {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
    box-shadow: 0 4px 10px rgba(204,0,0,0.2);
}

.yiiPager li.hidden {
    display: none;
}

/* ==========================================================================
   Responsive Header (Mobile)
   ========================================================================== */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: block;
        color: white !important;
    }
    
    .header-nav-wrapper {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background: #ffffff;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        padding: 20px;
        box-sizing: border-box;
        z-index: 9999;
    }

    .header-nav-wrapper.active {
        display: flex;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .main-nav {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links li {
        display: block;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 12px 16px !important;
        background: #f1f5f9 !important;
        color: #1e293b !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        text-decoration: none !important;
    }

    .nav-links li a:hover, .nav-links li.active a {
        background: var(--brand-red) !important;
        color: #ffffff !important;
        border-color: var(--brand-red) !important;
    }

    .nav-links .dropdown-menu {
        position: static !important;
        float: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 5px !important;
        padding: 0 0 0 15px !important;
    }

    .nav-links .dropdown-menu > li > a {
        color: #334155 !important;
        padding: 8px 12px !important;
        background: transparent !important;
        border-radius: 6px !important;
    }

    .nav-links .dropdown-menu > li > a:hover {
        background: rgba(204, 0, 0, 0.08) !important;
        color: var(--brand-red) !important;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .auth-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .auth-links li {
        display: block;
        width: 100%;
    }

    .btn-auth {
        width: 100%;
        justify-content: center;
    }

    .btn-register {
        background: transparent !important;
        color: var(--brand-red) !important;
        border: 1px solid var(--brand-red) !important;
    }

    .btn-register:hover {
        background: var(--brand-red) !important;
        color: #ffffff !important;
    }

    .btn-login {
        background: var(--brand-red) !important;
        color: #ffffff !important;
        border: 1px solid var(--brand-red) !important;
    }

    .btn-login:hover {
        background: var(--brand-red-dark) !important;
        color: #ffffff !important;
    }

    .user-name {
        color: #1e293b !important;
    }

    .user-avatar {
        background: var(--brand-red) !important;
        color: #ffffff !important;
    }

    .user-dropdown > a {
        color: #1e293b !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
    }

    .hidden-phone {
        display: none !important;
    }
}

/* ==========================================================================
   Profile Card Components
   ========================================================================== */
.profile-cards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    margin-top: 30px;
}

.profile-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    width: 100%;
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(204,0,0,0.2);
}

.profile-card .card-header {
    background: #f8fafc;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.profile-card .card-title i {
    color: var(--brand-red);
    margin-right: 12px;
    background: rgba(204,0,0,0.1);
    padding: 8px;
    border-radius: var(--radius-md);
}

.profile-card .card-body {
    padding: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Increased gap for more distance */
    width: 100%;
}

.info-group {
    background: #f8fafc;
    padding: 30px 20px; /* Increased padding */
    border-radius: var(--radius-lg); /* Rounded corners */
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: center; /* Center horizontally */
    justify-content: center;
    text-align: center; /* Center text */
    gap: 15px; /* Distance between icon and text */
}

.info-group:last-child {
    border-bottom: 1px solid var(--border-color);
}

.info-group:hover {
    background: white;
    border-color: rgba(204, 0, 0, 0.3);
    box-shadow: 0 10px 25px rgba(204, 0, 0, 0.05);
    transform: translateY(-4px);
}

.info-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.08);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 0;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.info-label i {
    display: none;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(204, 0, 0, 0.08);
    color: var(--brand-red);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin: 4px 6px 4px 0;
    border: 1px solid rgba(204, 0, 0, 0.1);
    transition: var(--transition);
}

.badge-modern:hover {
    background: var(--brand-red);
    color: white;
}

.badge-modern i {
    margin-right: 6px;
    opacity: 0.8;
}

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

.resume-list li {
    padding: 12px 15px;
    background: var(--bg-body);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border-left: 3px solid var(--brand-red);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.resume-list li:hover {
    transform: translateX(5px);
    background: rgba(204,0,0,0.05);
}

.resume-list li i {
    color: var(--brand-red);
    font-size: 20px;
    margin-right: 15px;
}

.resume-list li a {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.resume-list li a:hover {
    color: var(--brand-red);
}

/* ==========================================================================
   Modern Profile Header (Adviser Style)
   ========================================================================== */
.modern-profile-header {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.profile-cover {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-header-info {
    position: relative;
    padding: 20px 30px 30px;
    display: flex;
    align-items: flex-end;
}

.profile-avatar-container {
    position: absolute;
    top: -80px; /* Overlap the banner */
    left: 40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: var(--shadow-md);
    background: white;
    z-index: 10;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
}

.profile-avatar-container:hover .avatar-edit-btn {
    opacity: 1;
}

.avatar-edit-btn:hover {
    background: #e60000;
    transform: scale(1.1);
    color: white;
}

.profile-details {
    margin-left: 200px; /* Space for the absolute avatar */
    padding-top: 10px;
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.profile-headline {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.profile-meta {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
}

.profile-meta i {
    margin-right: 5px;
    color: var(--brand-red);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .profile-header-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 80px; /* Space for avatar above */
    }
    
    .profile-avatar-container {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .profile-details {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .profile-meta .ms-3 {
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   Modern Profile Menu Sidebar (LinkedIn Style)
   ========================================================================== */
#BTK_ProfileLeft {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: none;
    padding: 12px 0;
    border: 1px solid var(--border-color);
}

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

.BTK_ProfileMenu li {
    margin: 0;
}

.BTK_ProfileMenu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.2s ease;
    background: transparent !important; /* Override bootstrap default hover */
}

/* Override default Bootstrap 2 active state */
.nav-list > .active > a, 
.nav-list > .active > a:hover, 
.nav-list > .active > a:focus,
.BTK_ProfileMenu li.active > a {
    background: transparent !important;
    color: var(--text-dark) !important;
    text-shadow: none !important;
    border-left: none !important;
    padding-left: 20px !important;
    font-weight: 700;
}

.BTK_ProfileMenu li > a:hover {
    background: #f3f2ef !important; /* LinkedIn hover gray */
    color: var(--text-dark) !important;
    transform: none; /* No shifting */
}

.BTK_ProfileMenu li a i {
    font-size: 18px;
    margin-right: 12px;
    color: var(--text-muted);
    transition: color 0.2s ease;
    width: 24px;
    text-align: center;
}

.nav-list > .active > a i,
.BTK_ProfileMenu li.active > a i,
.BTK_ProfileMenu li > a:hover i {
    color: var(--text-dark);
}
