/* ============================================
   MINISTÈRE DES TRANSPORTS - TSHOPO
   Couleurs du drapeau RDC: Bleu, Rouge, Jaune
   ============================================ */

:root {
    --primary: #007bff;
    --primary-dark: #003d80;
    --primary-light: #e8f0fe;
    --secondary: #CE1126;
    --accent: #F7D618;
    --accent-dark: #d4b800;
    --text: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #95a5a6;
    --bg: #f8f9fa;
    --bg-alt: #eef2f7;
    --white: #ffffff;
    --dark: #1a1a2e;
    --border: #dee2e6;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; color: var(--text); font-weight: 700; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === FLAG STRIPE === */
.flag-stripe {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 33.33%, var(--secondary) 33.33%, var(--secondary) 66.66%, var(--accent) 66.66%);
    position: relative;
    z-index: 1001;
}

/* === NAVBAR === */
.navbar {
    background: var(--primary-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-brand img {
    height: 45px;
    width: auto;
    border-radius: 4px;
}
.navbar-brand span { white-space: nowrap; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar-brand-title { font-size: 0.95rem; font-weight: 700; }
.navbar-brand-subtitle { font-size: 0.68rem; opacity: 0.7; font-weight: 300; letter-spacing: 0.5px; }
.navbar-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
}
.navbar-toggle:hover,
.navbar-toggle.active { background: rgba(255,255,255,0.1); border-color: var(--accent); }
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.navbar-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    color: rgba(255,255,255,0.9);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.navbar-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}
.navbar-menu > li > a:hover,
.navbar-menu > li > a:focus { color: var(--white); background: rgba(255,255,255,0.08); }
.navbar-menu > li > a:hover::after { width: 100%; }
.dropdown-arrow { font-size: 0.7rem; margin-left: 3px; transition: var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-top: 3px solid var(--accent);
}
.has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text);
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }
.dropdown-menu li a i { width: 18px; color: var(--primary); }

/* === HERO === */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,61,128,0.88), rgba(0,123,255,0.75)), url('') center/cover no-repeat;
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto 35px;
    font-weight: 300;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    border: none;
}
.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}
.hero-buttons .btn-outline-light {
    background: #fff;
    border: 2px solid #fff;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.hero-buttons .btn-outline-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; position: relative; }
.hero-slides { position: relative; }
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider-prev { left: 30px; }
.hero-slider-next { right: 30px; }
.hero-slider-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-dark); }
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.2); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,123,255,0.3); }
.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: #a80d1e; border-color: #a80d1e; color: var(--white); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); font-weight: 700; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-gray { background: var(--bg-alt); }
.section-blue { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); }
.section-blue h2, .section-blue h3, .section-blue p { color: var(--white); }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: -30px auto 50px;
    font-size: 1.05rem;
}

/* === STATS === */
.stats-section { padding: 70px 0; background: var(--white); margin-top: -40px; position: relative; z-index: 3; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    padding: 35px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--accent);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.stat-card:hover .stat-icon { background: var(--primary); color: var(--white); }
.stat-number { font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); display: block; }
.stat-label { font-size: 0.9rem; color: var(--text-light); font-weight: 500; margin-top: 4px; }

/* === CARDS === */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.card:hover .card-img { transform: scale(1.03); }
.card-img-wrapper { overflow: hidden; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-category {
    display: inline-block;
    padding: 3px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* === SERVICE CARDS === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    text-align: center;
    padding: 45px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover h3, .service-card:hover p { color: var(--white); }
.service-card:hover .service-icon { background: var(--accent); color: var(--primary-dark); }
.service-card:hover .btn-outline { color: var(--white); border-color: var(--white); }
.service-card:hover .btn-outline:hover { background: var(--white); color: var(--primary-dark); }
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; transition: var(--transition); }
.service-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 22px; transition: var(--transition); }

/* === BREADCRUMB === */
.breadcrumb-bar {
    background: var(--primary-dark);
    padding: 15px 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.7); }
.breadcrumb .breadcrumb-sep { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb .separator { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.breadcrumb .current { color: var(--white); font-weight: 600; font-size: 0.9rem; }

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 30px 20px 80px;
    text-align: center;
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header .breadcrumb { justify-content: center; margin-bottom: 15px; }
.page-header h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; font-weight: 700; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* === PAGE CONTENT === */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}
.page-content img { border-radius: var(--radius); margin: 20px 0; }
.page-content h2 { font-size: 1.6rem; margin: 35px 0 15px; color: var(--primary-dark); padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.page-content h3 { font-size: 1.3rem; margin: 25px 0 12px; color: var(--primary); }
.page-content p { margin-bottom: 16px; color: var(--text); }
.page-content ul, .page-content ol { margin: 15px 0; padding-left: 25px; }
.page-content li { margin-bottom: 8px; }
.page-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}
.page-image { width: 100%; border-radius: var(--radius-lg); margin-bottom: 30px; box-shadow: var(--shadow); }

/* === ARTICLE / NEWS === */
.article-header { margin-bottom: 30px; }
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.article-meta i { color: var(--primary); margin-right: 5px; }
.article-content { line-height: 1.8; }
.related-section { margin-top: 60px; padding-top: 40px; border-top: 2px solid var(--border); }

/* Category filters */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; justify-content: center; }
.filter-btn {
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 500;
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* === DOCUMENTS === */
.doc-list { display: flex; flex-direction: column; gap: 16px; }
.doc-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}
.doc-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.doc-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info h3 { font-size: 1.05rem; margin-bottom: 5px; }
.doc-info p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 5px; }
.doc-meta { display: flex; gap: 15px; font-size: 0.8rem; color: var(--text-muted); }
.doc-meta span { display: flex; align-items: center; gap: 4px; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}
.form-group textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.info-item p { color: var(--text-light); font-size: 0.92rem; }
.map-placeholder {
    height: 250px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === ALERT === */
.alert {
    padding: 14px 22px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* === FOOTER === */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding-top: 0;
}
.footer-flag {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 33.33%, var(--secondary) 33.33%, var(--secondary) 66.66%, var(--accent) 66.66%);
}
.footer-main { padding: 60px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.footer-col h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(247,214,24,0.3);
}
.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}
.footer-col p i {
    width: 20px;
    color: var(--accent);
    margin-right: 8px;
}
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; margin-top: 10px; }
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom .rdc-text { font-weight: 600; color: var(--accent); }

/* === 404 PAGE === */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}
.error-page h1 { font-size: 6rem; color: var(--accent); margin-bottom: 10px; }
.error-page h2 { font-size: 1.5rem; margin-bottom: 15px; color: var(--white); }
.error-page p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* === BADGE === */
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-primary { background: var(--primary-light); color: var(--primary); }

/* === ANIMATIONS === */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
}

@media (max-width: 1024px) {
    .card-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 2.2rem; }
    .navbar-content { padding: 0 15px; }
    .navbar-brand img { height: 40px; }
}

@media (max-width: 900px) {
    /* Navbar mobile */
    .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
    .navbar-toggle { 
        display: flex; 
        align-items: center; 
        justify-content: center;
        z-index: 10000;
    }
    .navbar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .navbar-overlay.active {
        display: block;
        opacity: 1;
    }
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary-dark) 0%, #001a3e 100%);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-top: none;
        z-index: 1000;
        padding-top: 70px;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
    }
    .navbar-menu.active {
        display: flex;
        right: 0;
    }
    .navbar-menu > li {
        width: 100%;
    }
    .navbar-menu > li > a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1rem;
    }
    .navbar-menu > li > a::after { display: none; }
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        display: none;
        background: rgba(0,0,0,0.2);
    }
    .has-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu li a { color: rgba(255,255,255,0.8); padding: 14px 36px; border-bottom-color: rgba(255,255,255,0.05); font-size: 0.95rem; }
    .dropdown-menu li a:hover { background: rgba(255,255,255,0.1); color: var(--accent); }

    /* Hero */
    main { padding-top: 0; }
    main > .page-header:first-child { margin-top: -60px; padding-top: 80px; }
    .hero { min-height: 50vh; padding-top: 80px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    .hero-slider { min-height: 50vh; }
    .hero-slider-btn { width: 36px; height: 36px; }
    .hero-slider-prev { left: 10px; }
    .hero-slider-next { right: 10px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }

    /* Sections */
    .section { padding: 40px 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 25px; padding-bottom: 12px; }
    
    /* Grids */
    .card-grid, .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    
    /* Cards */
    .card { margin-bottom: 20px; }
    .card-body { padding: 20px; }
    .card-img { height: 200px; }
    
    /* Page header */
    .page-header { padding: 20px 15px 70px; }
    .page-header h1 { font-size: 1.5rem; }
    
    /* Forms */
    .form-group { margin-bottom: 15px; }
    .form-control { padding: 10px 12px; }
    
    /* Doc items */
    .doc-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    /* Tables */
    .table-responsive { overflow-x: auto; }
    .admin-table { font-size: 0.85rem; }
    .admin-table th, .admin-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
    body { font-size: 14px; }
    .container { padding: 0 12px; }
    
    /* Navbar */
    .navbar-brand img { height: 35px; }
    .navbar-brand-text { display: none; }
    
    /* Page header */
    .page-header { padding: 15px 12px 60px; }
    .page-header h1 { font-size: 1.3rem; }
    
    /* Hero */
    .hero { min-height: 45vh; padding-top: 70px; }
    .hero-content h1 { font-size: 1.4rem; }
    .hero-content p { font-size: 0.85rem; margin-bottom: 20px; }
    .hero-buttons .btn { padding: 12px 20px; font-size: 0.85rem; }
    
    /* Stats */
    .stats-section { margin-top: 0; }
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { padding: 15px; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 0.8rem; }
    
    /* Cards */
    .card-img { height: 180px; }
    .card-body { padding: 15px; }
    .card-title { font-size: 1.1rem; }
    
    /* Section titles */
    .section-title { font-size: 1.3rem; }
    
    /* Footer */
    .footer { padding: 30px 0 15px; }
    .footer-col h3 { font-size: 1rem; }
    .footer-col p { font-size: 0.85rem; }
    
    /* Forms */
    .contact-form-card { padding: 20px; }
    .btn { padding: 10px 18px; font-size: 0.85rem; }
}
