/* ═══════════════════════════════════════════════════════════════
   TPP.uz Clone — Custom CSS
   Design: Corporate portal for "ISSIQLIK ELEKTR STANSIYALARI" AJ
   Colors: Deep blue (#003087), Red-orange (#E6850F), White, Gray
   ═══════════════════════════════════════════════════════════════ */

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

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
    --primary-blue: #00369c;
    --primary-dark: #002366;
    --accent-orange: #ff8c00;
    --accent-red: #ef4444;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f1f5f9;
    --bg-gray: #e2e8f0;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-blue: #3b82f6;
    --primary-dark: #1e3a8a;
    --bg-white: #0f172a;
    --bg-light: #1e293b;
    --bg-gray: #334155;
    --text-dark: #f1f5f9;
    --text-gray: #94a3b8;
    --text-light: #64748b;
    --border-light: #334155;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
}

/* BVI (Visually Impaired) Mode Variables and Overrides */
[data-bvi="true"] {
    --primary-blue: #000000;
    --primary-dark: #000000;
    --accent-orange: #000000;
    --accent-red: #000000;
    --bg-white: #ffffff;
    --bg-light: #ffffff;
    --bg-gray: #ffffff;
    --text-dark: #000000;
    --text-gray: #000000;
    --text-light: #000000;
    --border-light: #000000;
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    filter: contrast(150%) saturate(0) !important;
}

[data-bvi="true"] * {
    font-size: 110% !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

[data-bvi="true"] img,
[data-bvi="true"] .hero-slide::before {
    filter: grayscale(100%);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 6px 0;
    font-size: 13px;
}

.top-bar .top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.top-bar-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-icons a,
.theme-toggle {
    color: var(--text-gray);
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.top-bar-icons a:hover,
.theme-toggle:hover {
    color: var(--primary-blue);
}

.lang-switcher {
    display: flex;
    gap: 2px;
    border-left: 1px solid var(--border-light);
    padding-left: 15px;
}

.lang-switcher a {
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-blue);
    background: rgba(0, 54, 156, 0.1);
}

/* ─── MAIN HEADER ─────────────────────────────────────────── */
.main-header {
    background: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.logo-area .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-area:hover .logo-icon {
    transform: scale(1.05);
}

.logo-area .logo-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-area .company-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
    max-width: 280px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-phone {
    text-align: right;
}

.trust-phone .label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.phone-number-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.trust-phone .phone-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.trust-phone .phone-number:hover {
    color: var(--accent-orange);
    transform: translateX(-5px);
}

.trust-phone .phone-number i {
    font-size: 14px;
    color: var(--accent-orange);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 16px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.social-icons a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ─── NAVIGATION ──────────────────────────────────────────── */
.main-nav {
    background: var(--primary-blue);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 84px;
    /* header height */
    z-index: 999;
}

.main-nav .navbar {
    padding: 0;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.08);
}

.main-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: var(--transition);
}

.main-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

.main-nav .dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    min-width: 260px;
    margin-top: 0;
    background: var(--bg-white) !important;
}

.main-nav .dropdown-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav .dropdown-item:hover {
    background: var(--bg-light) !important;
    color: var(--primary-blue) !important;
    padding-left: 20px;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
}

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

.nav-search-btn {
    color: white;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 14px 16px;
    transition: var(--transition);
}

.nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ─── HERO / BANNER CAROUSEL ─────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 48, 135, 0.85) 0%,
            rgba(0, 31, 92, 0.7) 40%,
            rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.hero-pattern {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.08;
    z-index: 1;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
    width: 30px;
    height: 4px;
    border-radius: 4px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-orange) !important;
    width: 50px;
}

/* ─── FLOATING SIDEBAR WIDGETS ────────────────────────────── */
.floating-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.floating-sidebar a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: white;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.floating-sidebar a:hover {
    width: 56px;
    box-shadow: var(--shadow-lg);
}

.floating-sidebar .reception-btn {
    background: var(--accent-orange);
}

.floating-sidebar .telegram-btn {
    background: #0088cc;
}

.floating-sidebar .chat-btn {
    background: var(--accent-red);
}

/* ─── SECTION BASE STYLES ─────────────────────────────────── */
.section {
    padding: 70px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 4px;
}

.section-title p {
    color: var(--text-gray);
    margin-top: 10px;
    font-size: 15px;
}

/* ─── QUICK LINKS GRID ────────────────────────────────────── */
.quick-links {
    padding: 50px 0;
    background: var(--bg-white);
}

.quick-link-item {
    text-align: center;
    padding: 25px 15px;
    transition: var(--transition);
    cursor: pointer;
}

.quick-link-item:hover {
    transform: translateY(-5px);
}

.quick-link-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 48, 135, 0.3);
}

.quick-link-item:hover .quick-link-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 48, 135, 0.4);
    background: linear-gradient(135deg, var(--accent-orange), #d47a0e);
}

.quick-link-item h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ─── NEWS / PRESS CENTER ─────────────────────────────────── */
.press-center {
    padding: 70px 0;
    background: var(--bg-light);
}

.press-tabs .nav-tabs {
    border: none;
    margin-bottom: 30px;
    gap: 5px;
}

.press-tabs .nav-link {
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-gray);
    background: var(--bg-white);
    transition: var(--transition);
}

.press-tabs .nav-link:hover {
    color: var(--primary-blue);
}

.press-tabs .nav-link.active {
    background: var(--primary-blue);
    color: white;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.news-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

.news-card-img .news-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.news-card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 50px;
}

.news-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-body .category-badge {
    display: inline-block;
    background: rgba(0, 48, 135, 0.08);
    color: var(--primary-blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start;
}

.news-card-body h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body .read-more {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 13px;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-card-body .read-more:hover {
    gap: 10px;
}

/* ─── STATISTICS / KEY INDICATORS ─────────────────────────── */
.statistics-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/pattern-grid.svg') center / 300px repeat;
    opacity: 0.05;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-orange);
    font-size: 28px;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* ─── HISTORY TIMELINE ────────────────────────────────────── */
.history-section {
    padding: 70px 0;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--border-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--accent-orange);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 4px rgba(230, 133, 15, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ─── BRANCHES MAP ────────────────────────────────────────── */
.branches-section {
    padding: 70px 0;
    background: var(--bg-light);
}

.branch-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.branch-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.branch-card h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.branch-card .branch-info {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.branch-card .branch-info i {
    color: var(--accent-orange);
    width: 16px;
}

/* ─── SURVEY ──────────────────────────────────────────────── */
.survey-section {
    padding: 70px 0;
}

.survey-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.survey-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.survey-option {
    padding: 12px 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.survey-option:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 48, 135, 0.03);
}

.survey-option input[type="radio"] {
    accent-color: var(--primary-blue);
    width: 18px;
    height: 18px;
}

.survey-option label {
    cursor: pointer;
    font-weight: 500;
    flex-grow: 1;
}

.survey-result-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.survey-result-bar .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 4px;
    transition: width 1s ease;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.3);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-orange), #d47a0e);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 133, 15, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-blue);
    color: white;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark), #000d2b);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/footer-pattern.svg') center / cover no-repeat;
    opacity: 0.03;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon-sm {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h5 {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-section h6 {
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-section ul li a i {
    font-size: 12px;
    color: var(--accent-orange);
}

.footer-contact-info {
    font-size: 13px;
    line-height: 1.8;
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact-info p i {
    color: var(--accent-orange);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 18px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ─── PAGE HEADER / BREADCRUMB ────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/static/images/pattern-grid.svg') center / 200px repeat;
    opacity: 0.05;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.page-header .breadcrumb-item.active {
    color: var(--accent-orange);
    font-size: 13px;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ─── DETAIL PAGES ────────────────────────────────────────── */
.detail-content {
    padding: 50px 0;
}

.detail-content .article-body {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.detail-content .article-body img {
    border-radius: var(--radius-md);
    margin: 15px 0;
}

.detail-content .article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-gray);
}

.detail-content .article-meta i {
    color: var(--accent-orange);
    margin-right: 5px;
}

/* ─── LEADER CARDS ────────────────────────────────────────── */
.leader-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.leader-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.leader-card-photo {
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card-photo .photo-placeholder {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
}

.leader-card-body {
    padding: 25px;
}

.leader-card-body h5 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.leader-card-body .position {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 500;
}

/* ─── TENDER & VACANCY CARDS ─────────────────────────────── */
.listing-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-blue);
}

.listing-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-orange);
}

.listing-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.listing-card .meta {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.listing-card .meta i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.listing-card .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

/* ─── FAQ ACCORDION ───────────────────────────────────────── */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-white);
    padding: 18px 24px;
    font-size: 15px;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 48, 135, 0.03);
    color: var(--primary-blue);
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003087'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ─── VIDEO CARDS ─────────────────────────────────────────── */
.video-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.video-card .video-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 24px;
    transition: var(--transition);
}

.video-card:hover .video-play-btn {
    transform: scale(1.1);
    background: var(--accent-orange);
    color: white;
}

.video-card-body {
    padding: 15px 20px;
    background: var(--bg-white);
}

.video-card-body h6 {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

/* ─── CONTACT PAGE ────────────────────────────────────────── */
.contact-info-cards .info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.contact-info-cards .info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-info-cards .info-card i {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-info-cards .info-card h6 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-info-cards .info-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ─── FORM STYLES ─────────────────────────────────────────── */
.form-section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-control,
.form-select {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

/* ─── DOCUMENTS TABLE ─────────────────────────────────────── */
.doc-table {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.doc-table .table {
    margin: 0;
}

.doc-table .table th {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-table .table td {
    padding: 14px 20px;
    font-size: 14px;
    vertical-align: middle;
    border-color: var(--bg-gray);
}

.doc-table .download-btn {
    color: var(--primary-blue);
    font-size: 18px;
    transition: var(--transition);
}

.doc-table .download-btn:hover {
    color: var(--accent-orange);
    transform: scale(1.2);
}

/* ─── NEWSLETTER ──────────────────────────────────────────── */
.newsletter-section {
    background: linear-gradient(135deg, var(--accent-orange), #d47a0e);
    padding: 50px 0;
}

.newsletter-section h4 {
    color: white;
    font-weight: 700;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ─── SEARCH MODAL ────────────────────────────────────────── */
.search-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
}

.search-modal .search-input {
    border: none;
    font-size: 18px;
    padding: 20px;
}

.search-modal .search-input:focus {
    box-shadow: none;
}

/* ─── PAGINATION ──────────────────────────────────────────── */
.pagination .page-link {
    border: 1px solid var(--border-light);
    color: var(--primary-blue);
    padding: 10px 16px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin: 0 3px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ─── MESSAGES / ALERTS ───────────────────────────────────── */
.alert-custom {
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success-custom {
    background: #d4edda;
    color: #155724;
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .hero-slide {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .header-contact {
        display: none;
    }

    .company-name {
        display: none;
    }

    .floating-sidebar {
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
        text-align: left;
    }

    .timeline-item .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .stat-value {
        font-size: 2rem;
    }

    .main-nav {
        top: 0;
        position: relative;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: 320px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .quick-link-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* ─── ALBUMS / GALLERY ────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .gallery-overlay {
    background: var(--bg-white);
    padding: 15px 20px;
}

.gallery-item .gallery-overlay h6 {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.gallery-item .gallery-overlay .photo-count {
    font-size: 12px;
    color: var(--text-gray);
}

/* ─── COUNTER ANIMATION ───────────────────────────────────── */
.counter {
    font-variant-numeric: tabular-nums;
}