
:root {
    --bg-main: #0E1117;
    --bg-surface: #171C24;
    --accent-primary: #D4AF37; /* Gold */
    --accent-secondary: #1E4FFF; /* Blue */
    --text-main: #FFFFFF;
    --text-muted: #CBD5E1;
    --border-glass: rgba(255, 255, 255, 0.15);
    --gold-glow: rgba(212, 175, 55, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .row {
        margin-left: -12px;
        margin-right: -12px;
    }
    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Utilities */
.bg-main { background-color: var(--bg-main); }
.bg-surface { background-color: var(--bg-surface); }
.border-glass { border-color: var(--border-glass) !important; }
.text-gold { color: var(--accent-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-danger { color: #FF453A !important; } /* Premium Red */
.text-success { color: #32D74B !important; } /* Premium Green */
.text-warning { color: #FF9F0A !important; } /* Premium Orange */
.bg-gold { background-color: var(--accent-primary) !important; }
.bg-glass { background-color: rgba(255,255,255,0.05) !important; }
.tracking-wide { letter-spacing: 0.05em; }
.fs-sm { font-size: 0.875rem; }
.fs-xs { font-size: 0.75rem; }
.hover-gold:hover { color: var(--accent-primary) !important; transition: color 0.2s; }
.hover-white:hover { color: #fff !important; transition: color 0.2s; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Logo Adaptation for Dark Theme */
.theme-logo {
    filter: brightness(0) invert(1);
    opacity: 0.95;
    object-fit: contain;
}

.display-hero {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.display-4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.display-5 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.display-6 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }

.premium-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
}
.section-padding { padding: 120px 0; }
@media (max-width: 991.98px) {
    .section-padding { padding: 80px 0; }
}
@media (max-width: 767.98px) {
    .section-padding { padding: 60px 0; }
}

/* Micro-interactions */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.05) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    z-index: 2;
}

/* Premium Focus States */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
    border-color: var(--accent-primary) !important;
}

/* Header */
.premium-header {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    border-top: none;
    top: -1px;\n    margin-top: 0;
    padding: 1rem 0;
}
.premium-header.scrolled {
    background: rgba(14, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    border-top: none;
    padding: 0.5rem 0;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #fff;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 4px;
    transition: color 0.2s;
}
.lang-switcher a.active, .lang-switcher a:hover {
    color: #fff;
}

/* Buttons */
.btn-gold-solid {
    background-color: var(--accent-primary);
    color: #000;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-gold-solid:hover {
    background-color: #f2ce5c;
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-glass {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-outline-glass:hover, .btn-outline-glass.active {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: radial-gradient(circle at 100% 0%, rgba(30, 79, 255, 0.08) 0%, var(--bg-main) 60%);
}
.hero-highlight {
    position: relative;
    display: inline-block;
}
.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0; width: 100%; height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    animation: lineGrow 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}

@keyframes lineGrow {
    to { transform: scaleX(1); transform-origin: left; }
}

/* Hero Dashboard */
.hero-dashboard {
    background: rgba(23, 28, 36, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Diagnostic Cards */
.diagnostic-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}
.diagnostic-card:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

/* Before / After Transformation */
.transformation-container {
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    background: var(--bg-main);
    overflow: hidden;
}
.before-side { background: rgba(255,0,0,0.02); }
.after-side { background: rgba(0,255,0,0.02); }
.transition-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0; width: 1px;
    background: var(--border-glass);
    transform: translateX(-50%);
    z-index: 2;
}
.glowing-orb {
    width: 3px; height: 50px;
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-primary);
    position: absolute;
    left: -1px;
    animation: orbMove 4s infinite linear;
}
@keyframes orbMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.chaos-list li, .structured-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
}
.chaos-list li:last-child, .structured-list li:last-child { border: none; }
.chaos-list li { opacity: 0.6; }

/* Solution Cards */
.solution-card {
    transition: all 0.4s ease;
    overflow: hidden;
}
.solution-card:hover {
    background: var(--bg-surface) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-5px);
}

/* Two Team Layout */
.custom-bullets li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    padding-left: 20px;
}
.dropdown-item {
    white-space: nowrap !important;
}
.mega-menu .dropdown-item {
    white-space: normal !important;
}
.custom-bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 20px; width: 4px; height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
}
.custom-bullets li:last-child { border: none; }

/* Interactive Audit */
.audit-radio input[type="radio"] { display: none; }
.audit-radio span {
    display: block;
    padding: 1rem;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.audit-radio input[type="radio"]:checked + span {
    border-color: var(--accent-primary);
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}
.audit-radio span:hover {
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.premium-input {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid var(--border-glass) !important;
    color: #fff !important;
    padding: 1rem 1.25rem !important;
    border-radius: 8px !important;
}
.premium-input:focus {
    box-shadow: none !important;
    border-color: var(--accent-primary) !important;
}

/* Industries Cards */
.industry-card.premium {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--border-glass);
}
.industry-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.industry-card .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(14,17,23,0.95) 0%, rgba(14,17,23,0.8) 50%, transparent 100%);
    padding: 2rem 1.5rem;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}
.industry-card .overlay p { opacity: 0; transition: opacity 0.4s ease; }
.industry-card:hover img { transform: scale(1.05); }
.industry-card:hover .overlay { transform: translateY(0); }
.industry-card:hover .overlay p { opacity: 1; }

/* Horizontal Timeline */
.process-timeline-horizontal {
    position: relative;
    padding: 40px 0;
}
.timeline-line {
    position: absolute;
    top: 52px; left: 0; width: 100%; height: 1px;
    background: var(--border-glass);
    z-index: 0;
}
.timeline-step {
    position: relative;
    z-index: 1;
}
.step-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--border-glass);
    margin-bottom: 2rem;
    transition: border-color 0.3s;
}
.step-dot.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background: var(--accent-primary);
}
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Dashboard UI */
.mock-dashboard {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
}
.dash-card {
    transition: transform 0.3s ease;
}
.dash-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.15) !important;
}

/* Why TAJSOFT */
.glowing-orb-large {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.15;
    animation: pulseLarge 6s infinite alternate;
}
@keyframes pulseLarge {
    0% { transform: scale(0.8); opacity: 0.1; }
    100% { transform: scale(1.1); opacity: 0.2; }
}

/* Footer / CTA */
.cta-bg-grid {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
}
.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex; justify-content: center; align-items: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: var(--accent-primary);
    color: #000;
}

/* Scroll Reveals */
.reveal {
    /* opacity: 0; removed for LCP */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .display-hero { font-size: 3.5rem; }
    .display-4, .display-5 { font-size: 2.5rem; }
    .hero-dashboard { margin-top: 3rem; transform: none !important; }
}
@media (max-width: 768px) {
    .display-hero { font-size: 2.5rem; }
    .section-padding { padding: 80px 0; }
    .transformation-container .before-side, .transformation-container .after-side { padding: 2rem 1.5rem !important; }
    .transformation-container { text-align: left; }
    .timeline-step { min-width: 280px; }
    .two-team-row::before { display: none; }
}

/* =========================================================================
   INTERNAL PAGES & MEGA MENU EXTENSIONS 
   ========================================================================= */

/* Mega Menu & Dropdowns */
.navbar .dropdown-menu {
    background: rgba(23, 28, 36, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    margin-top: 0;
    transition: all 0.3s ease;
}
.navbar .dropdown-menu.mega-menu {
    padding: 2rem;
    min-width: 650px;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeUp 0.3s ease;
    }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu .dropdown-header {
    color: var(--accent-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 0 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}
.dropdown-menu .dropdown-item {
    color: var(--text-muted);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    background: transparent !important;
    white-space: normal;
}
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus {
    color: #fff;
    padding-left: 8px;
    background: rgba(255,255,255,0.05) !important;
}
@media (max-width: 991px) {
    .navbar .dropdown-menu {
        min-width: 100%;
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 1rem 0;
        backdrop-filter: none;
    }
}

/* Internal Page Hero */
.internal-hero {
    padding: 160px 0 80px;
    background: radial-gradient(circle at 50% 0%, rgba(30, 79, 255, 0.1) 0%, var(--bg-main) 70%);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}
.breadcrumb-item a:hover {
    color: var(--accent-primary);
}
.breadcrumb-item.active {
    color: #fff;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
    padding: 0;
}

/* Transformation Diagram (Vertical Flow) */
.transformation-flow {
    position: relative;
}
.transformation-flow-step {
    position: relative;
    z-index: 2;
}
.transformation-flow-connector {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--border-glass), var(--accent-primary));
    margin: 0 auto;
    position: relative;
}
.transformation-flow-connector::after {
    content: '↓';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Schema Hidden */
.schema-hidden { display: none; }

/* Input Placeholders */
::placeholder,
::-webkit-input-placeholder,
:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}

.form-control::placeholder,
.form-select::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}

/* Dashboard Widget Chart Bars */
.chart-bars .bar {
    width: 12%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

/* Step Animations */
@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.booking-step, .audit-step {
    opacity: 0;
}
.booking-step.active, .audit-step.active {
    animation: fadeInStep 0.4s ease forwards;
}

 / *   A n c h o r   O f f s e t   f o r   F i x e d   H e a d e r   * / 
 [ i d ]   {   s c r o l l - m a r g i n - t o p :   1 2 0 p x ;   } 
  
 
 . b r e a d c r u m b   {   a l i g n - i t e m s :   c e n t e r ;   } 
 . b r e a d c r u m b - i t e m   {   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   } 
 . b r e a d c r u m b - i t e m   +   . b r e a d c r u m b - i t e m : : b e f o r e   {   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   m a r g i n - t o p :   2 p x ;   } 
  
 
/* ============================================
   ADMIN FORM STYLES - Dark Input Fields
   ============================================ */

.form-control-dark,
.form-select-dark {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-dark:focus,
.form-select-dark:focus {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: var(--gold, #C9A84C) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15) !important;
    color: #fff !important;
    outline: none;
}

.form-control-dark::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-select-dark option {
    background: #1a1f2e;
    color: #fff;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

 
/* Tajik System Font Fallback */
html[lang="tg"], html[lang="tj"] {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ========================================
   TEAM SLIDER — Complete Styles v4
   ======================================== */

/* Slider Track */
/* overflow:visible so hover translateY(-8px) is not clipped */
.team-slider-track { overflow: visible; width: 100%; }

/* Animated Page Grid */
.team-page-grid {
    display: grid;
    gap: 20px;
    animation: teamFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes teamFadeIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
.team-slide { min-height: 1px; }

/* === Card === */
.team-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(180deg, rgba(26,26,34,1) 0%, rgba(16,16,22,1) 100%);
    overflow: visible;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    min-height: 240px;
    padding: 0 0 20px 0;
}
.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234,182,49,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(234,182,49,0.06);
}

/* === Photo Header Band === */
.team-card-photo {
    width: 100%;
    padding: 24px 0 16px;
    position: relative;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, rgba(234,182,49,0.10) 0%, rgba(234,182,49,0.02) 60%, transparent 100%);
    margin-bottom: 0;
}

/* Subtle top line accent */
.team-card-photo::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(234,182,49,0.5), transparent);
    border-radius: 2px;
}

/* === Avatar === */
.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2.5px solid rgba(234,182,49,0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.7), 0 0 0 4px rgba(234,182,49,0.06);
    display: block;
    margin: 0 auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.team-card:hover .team-avatar {
    border-color: rgba(234,182,49,0.85);
    box-shadow: 0 6px 28px rgba(234,182,49,0.28), 0 0 0 5px rgba(234,182,49,0.1);
    transform: scale(1.05);
}

/* === Avatar Placeholder === */
.team-avatar-placeholder {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 2.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    color: rgba(255,255,255,0.25);
}

/* Divider line between photo and text */
.team-card-divider {
    width: 40px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(234,182,49,0.6), transparent);
    border-radius: 2px;
    margin: 14px auto 12px;
}

/* === Text === */
.team-card-body {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    padding: 0 16px;
}
.team-card-name {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}
.team-card-role {
    color: #eab631;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.85;
}

/* === Footer icons === */
.team-card-footer {
    position: relative; z-index: 1;
    margin-top: 14px; padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: center; gap: 10px;
    width: calc(100% - 32px);
}

/* === Nav Buttons === */
.team-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(14,14,18,0.92); backdrop-filter: blur(10px);
    color: rgba(255,255,255,0.75);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.team-slider-btn:hover:not(:disabled) {
    background: #eab631; border-color: #eab631; color: #111;
    box-shadow: 0 6px 24px rgba(234,182,49,0.4);
    transform: translateY(-50%) scale(1.1);
}
.team-slider-btn:disabled { opacity: 0.18; cursor: not-allowed; }
.team-slider-prev { left: 0; }
.team-slider-next { right: 0; }

/* === Dots === */
.team-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.team-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.18); padding: 0; cursor: pointer; transition: all 0.35s ease;
}
.team-dot.active {
    background: #eab631; width: 26px; border-radius: 4px;
    box-shadow: 0 0 12px rgba(234,182,49,0.55);
}

/* Ensure slider wrapper does not clip hover effects */
#leadershipSection .position-relative {
    overflow: visible !important;
}
/* === Team Social Buttons — Gold Theme === */
.team-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* LinkedIn — dark bg, blue accent → gold on hover */
.team-social-linkedin {
    background: rgba(10, 102, 194, 0.12);
    border: 1.5px solid rgba(10, 102, 194, 0.3);
    color: rgba(255, 255, 255, 0.65);
}
.team-social-linkedin:hover {
    background: #eab631;
    border-color: #eab631;
    color: #111;
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 182, 49, 0.45);
}

/* Email — dark bg, subtle → gold on hover */
.team-social-email {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
}
.team-social-email:hover {
    background: #eab631;
    border-color: #eab631;
    color: #111;
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 182, 49, 0.45);
}
/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%; width: 2px;
    background: linear-gradient(180deg, rgba(234,182,49,0.1), rgba(234,182,49,0.6), rgba(234,182,49,0.1));
}
.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 25px; top: 35px;
    transform: translateX(-50%);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #101016;
    border: 3px solid #eab631;
    box-shadow: 0 0 15px rgba(234,182,49,0.4);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}
.timeline-item:hover .timeline-dot {
    background: #eab631;
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 25px rgba(234,182,49,0.8), 0 0 0 5px rgba(234,182,49,0.15);
}
.timeline-content {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.35s ease;
    position: relative;
}
.timeline-item:hover .timeline-content {
    background: rgba(255,255,255,0.04);
    border-color: rgba(234,182,49,0.3);
    transform: translateX(10px);
}
.timeline-year {
    color: #eab631;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1;
    opacity: 0.95;
    letter-spacing: -1px;
}
.timeline-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .timeline-container::before { left: 50%; transform: translateX(-50%); }
    .timeline-item { width: 50%; padding-left: 0; padding-right: 60px; }
    .timeline-item:nth-child(even) { margin-left: 50%; padding-left: 60px; padding-right: 0; }
    .timeline-dot { left: 100%; top: 40px; }
    .timeline-item:nth-child(even) .timeline-dot { left: 0; }
    .timeline-item:hover .timeline-content { transform: translateX(-10px); box-shadow: -10px 10px 30px rgba(0,0,0,0.3); }
    .timeline-item:nth-child(even):hover .timeline-content { transform: translateX(10px); box-shadow: 10px 10px 30px rgba(0,0,0,0.3); }
    .timeline-content { text-align: right; }
    .timeline-item:nth-child(even) .timeline-content { text-align: left; }
}